Install Phan for static code analysis #3
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.
|