Skip to content

Commit d80cdde

Browse files
Merge branch '4.3' into 4.4
* 4.3: Fix more bad tests Fix test fixtures with deprecated method signatures. Fix 4.3 tests forward compat [Messenger] fix empty amqp body returned as false Fix routing cache broken when using generator_class
2 parents acfe9e1 + fe9ec83 commit d80cdde

File tree

2 files changed

+25
-11
lines changed

2 files changed

+25
-11
lines changed

Tests/AbstractCrawlerTest.php

Lines changed: 0 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -1337,14 +1337,3 @@ protected function createNodeList()
13371337
return $domxpath->query('//div');
13381338
}
13391339
}
1340-
1341-
class ClassThatInheritCrawler extends Crawler
1342-
{
1343-
/**
1344-
* @return static
1345-
*/
1346-
public function children()
1347-
{
1348-
return parent::children();
1349-
}
1350-
}

Tests/ClassThatInheritCrawler.php

Lines changed: 25 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,25 @@
1+
<?php
2+
3+
/*
4+
* This file is part of the Symfony package.
5+
*
6+
* (c) Fabien Potencier <fabien@symfony.com>
7+
*
8+
* For the full copyright and license information, please view the LICENSE
9+
* file that was distributed with this source code.
10+
*/
11+
12+
namespace Symfony\Component\DomCrawler\Tests;
13+
14+
use Symfony\Component\DomCrawler\Crawler;
15+
16+
class ClassThatInheritCrawler extends Crawler
17+
{
18+
/**
19+
* @return static
20+
*/
21+
public function children()
22+
{
23+
return parent::children();
24+
}
25+
}

0 commit comments

Comments
 (0)