Skip to content

feat: add replacements for deprecated assertContainsOnly() and assertNotContainsOnly() #5

feat: add replacements for deprecated assertContainsOnly() and assertNotContainsOnly()

feat: add replacements for deprecated assertContainsOnly() and assertNotContainsOnly() #5

Triggered via pull request December 19, 2025 14:14
Status Failure
Total duration 27s
Artifacts

main.yml

on: pull_request
Matrix: tests
Fit to window
Zoom out
Zoom in

Annotations

32 errors
tests (8.3): src/Codeception/Util/Shared/InheritedAsserts.php (in context of class PhpStanAssertContainer)#L122
Method PhpStanAssertContainer::assertContainsNotOnlyInt() has parameter $haystack with no value type specified in iterable type iterable.
tests (8.3): src/Codeception/Util/Shared/InheritedAsserts.php (in context of class PhpStanAssertContainer)#L122
Method PhpStanAssertContainer::assertContainsNotOnlyInt() has parameter $haystack with no value type specified in iterable type iterable.
tests (8.3): src/Codeception/Util/Shared/InheritedAsserts.php (in context of class PhpStanAssertContainer)#L117
Method PhpStanAssertContainer::assertContainsNotOnlyFloat() has parameter $haystack with no value type specified in iterable type iterable.
tests (8.3): src/Codeception/Util/Shared/InheritedAsserts.php (in context of class PhpStanAssertContainer)#L117
Method PhpStanAssertContainer::assertContainsNotOnlyFloat() has parameter $haystack with no value type specified in iterable type iterable.
tests (8.3): src/Codeception/Util/Shared/InheritedAsserts.php (in context of class PhpStanAssertContainer)#L112
Method PhpStanAssertContainer::assertContainsNotOnlyCallable() has parameter $haystack with no value type specified in iterable type iterable.
tests (8.3): src/Codeception/Util/Shared/InheritedAsserts.php (in context of class PhpStanAssertContainer)#L112
Method PhpStanAssertContainer::assertContainsNotOnlyCallable() has parameter $haystack with no value type specified in iterable type iterable.
tests (8.3): src/Codeception/Util/Shared/InheritedAsserts.php (in context of class PhpStanAssertContainer)#L107
Method PhpStanAssertContainer::assertContainsNotOnlyBool() has parameter $haystack with no value type specified in iterable type iterable.
tests (8.3): src/Codeception/Util/Shared/InheritedAsserts.php (in context of class PhpStanAssertContainer)#L107
Method PhpStanAssertContainer::assertContainsNotOnlyBool() has parameter $haystack with no value type specified in iterable type iterable.
tests (8.3): src/Codeception/Util/Shared/InheritedAsserts.php (in context of class PhpStanAssertContainer)#L102
Method PhpStanAssertContainer::assertContainsNotOnlyArray() has parameter $haystack with no value type specified in iterable type iterable.
tests (8.3): src/Codeception/Util/Shared/InheritedAsserts.php (in context of class PhpStanAssertContainer)#L102
Method PhpStanAssertContainer::assertContainsNotOnlyArray() has parameter $haystack with no value type specified in iterable type iterable.
tests (8.4)
The strategy configuration was canceled because "tests._8_3" failed
tests (8.4): src/Codeception/Util/Shared/InheritedAsserts.php (in context of class PhpStanAssertContainer)#L122
Method PhpStanAssertContainer::assertContainsNotOnlyInt() has parameter $haystack with no value type specified in iterable type iterable.
tests (8.4): src/Codeception/Util/Shared/InheritedAsserts.php (in context of class PhpStanAssertContainer)#L122
Method PhpStanAssertContainer::assertContainsNotOnlyInt() has parameter $haystack with no value type specified in iterable type iterable.
tests (8.4): src/Codeception/Util/Shared/InheritedAsserts.php (in context of class PhpStanAssertContainer)#L117
Method PhpStanAssertContainer::assertContainsNotOnlyFloat() has parameter $haystack with no value type specified in iterable type iterable.
tests (8.4): src/Codeception/Util/Shared/InheritedAsserts.php (in context of class PhpStanAssertContainer)#L117
Method PhpStanAssertContainer::assertContainsNotOnlyFloat() has parameter $haystack with no value type specified in iterable type iterable.
tests (8.4): src/Codeception/Util/Shared/InheritedAsserts.php (in context of class PhpStanAssertContainer)#L112
Method PhpStanAssertContainer::assertContainsNotOnlyCallable() has parameter $haystack with no value type specified in iterable type iterable.
tests (8.4): src/Codeception/Util/Shared/InheritedAsserts.php (in context of class PhpStanAssertContainer)#L112
Method PhpStanAssertContainer::assertContainsNotOnlyCallable() has parameter $haystack with no value type specified in iterable type iterable.
tests (8.4): src/Codeception/Util/Shared/InheritedAsserts.php (in context of class PhpStanAssertContainer)#L107
Method PhpStanAssertContainer::assertContainsNotOnlyBool() has parameter $haystack with no value type specified in iterable type iterable.
tests (8.4): src/Codeception/Util/Shared/InheritedAsserts.php (in context of class PhpStanAssertContainer)#L107
Method PhpStanAssertContainer::assertContainsNotOnlyBool() has parameter $haystack with no value type specified in iterable type iterable.
tests (8.4): src/Codeception/Util/Shared/InheritedAsserts.php (in context of class PhpStanAssertContainer)#L102
Method PhpStanAssertContainer::assertContainsNotOnlyArray() has parameter $haystack with no value type specified in iterable type iterable.
tests (8.4): src/Codeception/Util/Shared/InheritedAsserts.php (in context of class PhpStanAssertContainer)#L102
Method PhpStanAssertContainer::assertContainsNotOnlyArray() has parameter $haystack with no value type specified in iterable type iterable.
tests (8.2)
The strategy configuration was canceled because "tests._8_3" failed
tests (8.2): src/Codeception/Util/Shared/InheritedAsserts.php (in context of class PhpStanAssertContainer)#L122
Method PhpStanAssertContainer::assertContainsNotOnlyInt() has parameter $haystack with no value type specified in iterable type iterable.
tests (8.2): src/Codeception/Util/Shared/InheritedAsserts.php (in context of class PhpStanAssertContainer)#L122
Method PhpStanAssertContainer::assertContainsNotOnlyInt() has parameter $haystack with no value type specified in iterable type iterable.
tests (8.2): src/Codeception/Util/Shared/InheritedAsserts.php (in context of class PhpStanAssertContainer)#L117
Method PhpStanAssertContainer::assertContainsNotOnlyFloat() has parameter $haystack with no value type specified in iterable type iterable.
tests (8.2): src/Codeception/Util/Shared/InheritedAsserts.php (in context of class PhpStanAssertContainer)#L117
Method PhpStanAssertContainer::assertContainsNotOnlyFloat() has parameter $haystack with no value type specified in iterable type iterable.
tests (8.2): src/Codeception/Util/Shared/InheritedAsserts.php (in context of class PhpStanAssertContainer)#L112
Method PhpStanAssertContainer::assertContainsNotOnlyCallable() has parameter $haystack with no value type specified in iterable type iterable.
tests (8.2): src/Codeception/Util/Shared/InheritedAsserts.php (in context of class PhpStanAssertContainer)#L112
Method PhpStanAssertContainer::assertContainsNotOnlyCallable() has parameter $haystack with no value type specified in iterable type iterable.
tests (8.2): src/Codeception/Util/Shared/InheritedAsserts.php (in context of class PhpStanAssertContainer)#L107
Method PhpStanAssertContainer::assertContainsNotOnlyBool() has parameter $haystack with no value type specified in iterable type iterable.
tests (8.2): src/Codeception/Util/Shared/InheritedAsserts.php (in context of class PhpStanAssertContainer)#L107
Method PhpStanAssertContainer::assertContainsNotOnlyBool() has parameter $haystack with no value type specified in iterable type iterable.
tests (8.2): src/Codeception/Util/Shared/InheritedAsserts.php (in context of class PhpStanAssertContainer)#L102
Method PhpStanAssertContainer::assertContainsNotOnlyArray() has parameter $haystack with no value type specified in iterable type iterable.
tests (8.2): src/Codeception/Util/Shared/InheritedAsserts.php (in context of class PhpStanAssertContainer)#L102
Method PhpStanAssertContainer::assertContainsNotOnlyArray() has parameter $haystack with no value type specified in iterable type iterable.