feat: allow selenium server with internal webserver #520
ci.yml
on: pull_request
Coding Standards
17s
Static Analysis
26s
PHP 8.3 (lowest) Test on ubuntu-latest
6m 30s
PHP 8.3 Test on windows-latest
5m 23s
PHP 8.3 Test on macos-latest
7m 16s
Matrix: phpunit-10
Matrix: phpunit-dev
Matrix: phpunit
Annotations
11 errors and 2 warnings
Coding Standards
Process completed with exit code 1.
|
Static Analysis:
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.
|
Static Analysis:
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.
|
Static Analysis:
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.
|
Static Analysis:
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.
|
Static Analysis:
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.
|
Static Analysis:
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.
|
Static Analysis:
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.
|
Static Analysis:
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.
|
Static Analysis:
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.
|
Static Analysis:
tests/DomCrawler/CrawlerTest.php#L290
Call to function method_exists() with Symfony\Component\DomCrawler\Crawler and 'ancestors' will always evaluate to true.
|
Coding Standards:
src/PantherTestCaseTrait.php#L1
Found violation(s) of type: braces
|
PHP 8.3 Test on macos-latest
macOS's Gatekeeper has been disabled for this Cask
|