Skip to content

Remove parsing, selector logic from the trait; introduce custom constraints #6

Remove parsing, selector logic from the trait; introduce custom constraints

Remove parsing, selector logic from the trait; introduce custom constraints #6

Triggered via pull request December 12, 2023 01:54
Status Failure
Total duration 33s
Artifacts

static-code-analysis.yml

on: pull_request
Fit to window
Zoom out
Zoom in

Annotations

10 errors
PHPStan: tests/Integration/AssertionsTest.php#L33
Method Tests\Integration\MarkupAssertionsTraitTest::testPresenceOfSelectors() has no return type specified.
PHPStan: tests/Integration/AssertionsTest.php#L60
Method Tests\Integration\MarkupAssertionsTraitTest::testMatchingContentsOfSelectors() has no return type specified.
PHPStan: tests/Unit/Constraints/ContainsSelectorTest.php#L22
Method Tests\Unit\Constraints\ContainsSelectorTest::it_should_find_matching_selectors_in_content() has no return type specified.
PHPStan: tests/Unit/Constraints/ContainsSelectorTest.php#L34
Method Tests\Unit\Constraints\ContainsSelectorTest::it_should_not_find_unmatched_selectors_in_content() has no return type specified.
PHPStan: tests/Unit/Constraints/ContainsSelectorTest.php#L45
Method Tests\Unit\Constraints\ContainsSelectorTest::it_should_fail_with_a_useful_error_message() has no return type specified.
PHPStan: tests/Unit/Constraints/ElementContainsStringTest.php#L21
Method Tests\Unit\Constraints\ElementContainsStringTest::it_should_match_a_string_in_the_given_markup() has no return type specified.
PHPStan: tests/Unit/Constraints/ElementContainsStringTest.php#L32
Method Tests\Unit\Constraints\ElementContainsStringTest::it_should_match_in_a_case_sensitive_manner_by_default() has no return type specified.
PHPStan: tests/Unit/Constraints/ElementContainsStringTest.php#L46
Method Tests\Unit\Constraints\ElementContainsStringTest::it_should_be_able_to_ignore_case() has no return type specified.
PHPStan: tests/Unit/Constraints/ElementContainsStringTest.php#L60
Method Tests\Unit\Constraints\ElementContainsStringTest::it_should_fail_if_no_match_is_found() has no return type specified.
PHPStan: tests/Unit/Constraints/ElementContainsStringTest.php#L75
Method Tests\Unit\Constraints\ElementContainsStringTest::it_should_be_able_to_handle_various_character_sets() has no return type specified.