Skip to content

Commit fe9ec83

Browse files
Fix more bad tests
1 parent 8098e30 commit fe9ec83

File tree

2 files changed

+25
-8
lines changed

2 files changed

+25
-8
lines changed

Tests/AbstractCrawlerTest.php

Lines changed: 0 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -1238,11 +1238,3 @@ protected function createNodeList()
12381238
return $domxpath->query('//div');
12391239
}
12401240
}
1241-
1242-
class ClassThatInheritCrawler extends Crawler
1243-
{
1244-
public function children()
1245-
{
1246-
parent::children();
1247-
}
1248-
}

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)