Skip to content

Update symfony/phpunit-bridge requirement from ^5.2 || ^6.2 to ^5.2 || ^6.2 || ^7.0 #10

Update symfony/phpunit-bridge requirement from ^5.2 || ^6.2 to ^5.2 || ^6.2 || ^7.0

Update symfony/phpunit-bridge requirement from ^5.2 || ^6.2 to ^5.2 || ^6.2 || ^7.0 #10

Triggered via pull request December 12, 2023 10:28
Status Failure
Total duration 30s
Artifacts

static-code-analysis.yml

on: pull_request
Fit to window
Zoom out
Zoom in

Annotations

10 errors
PHPStan: src/MarkupAssertionsTrait.php (in context of class Tests/MarkupAssertionsTraitTest)#L32
Call to an undefined method Tests\MarkupAssertionsTraitTest::assertGreaterThan().
PHPStan: src/MarkupAssertionsTrait.php (in context of class Tests/MarkupAssertionsTraitTest)#L50
Call to an undefined method Tests\MarkupAssertionsTraitTest::assertEquals().
PHPStan: src/MarkupAssertionsTrait.php (in context of class Tests/MarkupAssertionsTraitTest)#L69
Call to an undefined method Tests\MarkupAssertionsTraitTest::assertCount().
PHPStan: src/MarkupAssertionsTrait.php (in context of class Tests/MarkupAssertionsTraitTest)#L244
PHPDoc tag @throws with type PHPUnit\Framework\RiskyTestError is not subtype of Throwable
PHPStan: src/MarkupAssertionsTrait.php (in context of class Tests/MarkupAssertionsTraitTest)#L247
Instantiated class PHPUnit\Framework\RiskyTestError not found.
PHPStan: src/MarkupAssertionsTrait.php (in context of class Tests/MarkupAssertionsTraitTest)#L247
Throwing object of an unknown class PHPUnit\Framework\RiskyTestError.
PHPStan: src/MarkupAssertionsTrait.php (in context of class Tests/MarkupAssertionsTraitTest)#L252
Strict comparison using === between null and bool|float|int|string will always evaluate to false.
PHPStan: tests/MarkupAssertionsTraitTest.php#L13
Class Tests\MarkupAssertionsTraitTest extends unknown class PHPUnit\Framework\TestCase.
PHPStan: tests/MarkupAssertionsTraitTest.php#L22
Method Tests\MarkupAssertionsTraitTest::assertContainsSelector_should_find_matching_selectors() has no return type specified.
PHPStan: tests/MarkupAssertionsTraitTest.php#L22
Method Tests\MarkupAssertionsTraitTest::assertContainsSelector_should_find_matching_selectors() has parameter $selector with no type specified.