Add PHP 8.4 to CI #535
Annotations
10 errors and 1 warning
PHPStan:
src/DomCrawler/Form.php#L215
Method Symfony\Component\Panther\DomCrawler\Form::get() never returns array<array<Symfony\Component\DomCrawler\Field\FormField>|Symfony\Component\DomCrawler\Field\FormField> so it can be removed from the return type.
|
PHPStan:
src/PantherTestCaseTrait.php (in context of class Symfony/Component/Panther/PantherTestCase)#L131
Call to function method_exists() with $this(Symfony\Component\Panther\PantherTestCase) and 'getStatus' will always evaluate to true.
|
PHPStan:
src/PantherTestCaseTrait.php (in context of class Symfony/Component/Panther/PantherTestCase)#L131
Call to function method_exists() with $this(Symfony\Component\Panther\PantherTestCase) and 'getStatus' will always evaluate to true.
|
PHPStan:
src/PantherTestCaseTrait.php (in context of class Symfony/Component/Panther/PantherTestCase)#L165
Call to function method_exists() with 'Symfony\\Component\\Panther\\PantherTestCase' and 'getClient' will always evaluate to true.
|
PHPStan:
src/PantherTestCaseTrait.php (in context of class Symfony/Component/Panther/PantherTestCase)#L165
Call to function method_exists() with 'Symfony\\Component\\Panther\\PantherTestCase' and 'getClient' will always evaluate to true.
|
PHPStan:
src/WebTestAssertionsTrait.php (in context of class Symfony/Component/Panther/PantherTestCase)#L42
Call to static method PHPUnit\Framework\Assert::assertNotNull() with Facebook\WebDriver\WebDriverElement and string will always evaluate to true.
|
PHPStan:
src/WebTestAssertionsTrait.php (in context of class Symfony/Component/Panther/PantherTestCase)#L47
Call to static method PHPUnit\Framework\Assert::assertNotEmpty() with Symfony\Component\DomCrawler\Crawler will always evaluate to true.
|
PHPStan:
src/WebTestAssertionsTrait.php (in context of class Symfony/Component/Panther/PantherTestCase)#L63
Call to static method PHPUnit\Framework\Assert::assertEmpty() with Symfony\Component\DomCrawler\Crawler will always evaluate to false.
|
PHPStan:
src/WebTestAssertionsTrait.php (in context of class Symfony/Component/Panther/PantherTestCase)#L94
Call to function method_exists() with 'Symfony\\Component\\Panther\\PantherTestCase' and 'assertStringContain…' will always evaluate to true.
|
PHPStan:
tests/DomCrawler/CrawlerTest.php#L290
Call to function method_exists() with Symfony\Component\DomCrawler\Crawler and 'ancestors' will always evaluate to true.
|
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
|
Loading