Skip to content

chore(ci): use phpstan on tests folder too, initially with baseline #186

chore(ci): use phpstan on tests folder too, initially with baseline

chore(ci): use phpstan on tests folder too, initially with baseline #186

Triggered via pull request February 24, 2025 16:20
Status Failure
Total duration 40s
Artifacts

main.yml

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

Annotations

21 errors
tests (8.4): tests/_support/FunctionalTester.php#L1
Ignored error pattern #^Method tests\\FunctionalTester\:\:amOnRoute\(\) has parameter \$params with no value type specified in iterable type array\.$# (missingType.iterableValue) in path /home/runner/work/module-yii2/module-yii2/tests/_support/FunctionalTester.php was not matched in reported errors.
tests (8.4): tests/_support/FunctionalTester.php#L1
Ignored error pattern #^Method tests\\FunctionalTester\:\:getInternalDomains\(\) return type has no value type specified in iterable type array\.$# (missingType.iterableValue) in path /home/runner/work/module-yii2/module-yii2/tests/_support/FunctionalTester.php was not matched in reported errors.
tests (8.4): tests/_support/FunctionalTester.php#L1
Ignored error pattern #^Method tests\\FunctionalTester\:\:getInternalDomains\(\) should return array but returns mixed\.$# (return.type) in path /home/runner/work/module-yii2/module-yii2/tests/_support/FunctionalTester.php was not matched in reported errors.
tests (8.4): tests/_support/FunctionalTester.php#L1
Ignored error pattern #^Method tests\\FunctionalTester\:\:grabComponent\(\) should return object\|null but returns mixed\.$# (return.type) in path /home/runner/work/module-yii2/module-yii2/tests/_support/FunctionalTester.php was not matched in reported errors.
tests (8.4): tests/_support/FunctionalTester.php#L1
Ignored error pattern #^Method tests\\FunctionalTester\:\:grabFixture\(\) has parameter \$index with no type specified\.$# (missingType.parameter) in path /home/runner/work/module-yii2/module-yii2/tests/_support/FunctionalTester.php was not matched in reported errors.
tests (8.4): tests/_support/FunctionalTester.php#L1
Ignored error pattern #^Method tests\\FunctionalTester\:\:grabFixture\(\) has parameter \$name with no type specified\.$# (missingType.parameter) in path /home/runner/work/module-yii2/module-yii2/tests/_support/FunctionalTester.php was not matched in reported errors.
tests (8.4): tests/_support/FunctionalTester.php#L1
Ignored error pattern #^Method tests\\FunctionalTester\:\:grabFixtures\(\) return type has no value type specified in iterable type array\.$# (missingType.iterableValue) in path /home/runner/work/module-yii2/module-yii2/tests/_support/FunctionalTester.php was not matched in reported errors.
tests (8.4): tests/_support/FunctionalTester.php#L1
Ignored error pattern #^Method tests\\FunctionalTester\:\:grabFixtures\(\) should return array but returns mixed\.$# (return.type) in path /home/runner/work/module-yii2/module-yii2/tests/_support/FunctionalTester.php was not matched in reported errors.
tests (8.4): tests/_support/FunctionalTester.php#L1
Ignored error pattern #^Method tests\\FunctionalTester\:\:grabLastSentEmail\(\) should return object but returns mixed\.$# (return.type) in path /home/runner/work/module-yii2/module-yii2/tests/_support/FunctionalTester.php was not matched in reported errors.
tests (8.4): tests/_support/FunctionalTester.php#L1
Ignored error pattern #^Method tests\\FunctionalTester\:\:grabRecord\(\) should return array\|yii\\db\\ActiveRecord\|null but returns mixed\.$# (return.type) in path /home/runner/work/module-yii2/module-yii2/tests/_support/FunctionalTester.php was not matched in reported errors.
tests (8.3)
The job was canceled because "_8_4" failed.
tests (8.3): tests/_support/FunctionalTester.php#L1
Ignored error pattern #^Method tests\\FunctionalTester\:\:amOnRoute\(\) has parameter \$params with no value type specified in iterable type array\.$# (missingType.iterableValue) in path /home/runner/work/module-yii2/module-yii2/tests/_support/FunctionalTester.php was not matched in reported errors.
tests (8.3): tests/_support/FunctionalTester.php#L1
Ignored error pattern #^Method tests\\FunctionalTester\:\:getInternalDomains\(\) return type has no value type specified in iterable type array\.$# (missingType.iterableValue) in path /home/runner/work/module-yii2/module-yii2/tests/_support/FunctionalTester.php was not matched in reported errors.
tests (8.3): tests/_support/FunctionalTester.php#L1
Ignored error pattern #^Method tests\\FunctionalTester\:\:getInternalDomains\(\) should return array but returns mixed\.$# (return.type) in path /home/runner/work/module-yii2/module-yii2/tests/_support/FunctionalTester.php was not matched in reported errors.
tests (8.3): tests/_support/FunctionalTester.php#L1
Ignored error pattern #^Method tests\\FunctionalTester\:\:grabComponent\(\) should return object\|null but returns mixed\.$# (return.type) in path /home/runner/work/module-yii2/module-yii2/tests/_support/FunctionalTester.php was not matched in reported errors.
tests (8.3): tests/_support/FunctionalTester.php#L1
Ignored error pattern #^Method tests\\FunctionalTester\:\:grabFixture\(\) has parameter \$index with no type specified\.$# (missingType.parameter) in path /home/runner/work/module-yii2/module-yii2/tests/_support/FunctionalTester.php was not matched in reported errors.
tests (8.3): tests/_support/FunctionalTester.php#L1
Ignored error pattern #^Method tests\\FunctionalTester\:\:grabFixture\(\) has parameter \$name with no type specified\.$# (missingType.parameter) in path /home/runner/work/module-yii2/module-yii2/tests/_support/FunctionalTester.php was not matched in reported errors.
tests (8.3): tests/_support/FunctionalTester.php#L1
Ignored error pattern #^Method tests\\FunctionalTester\:\:grabFixtures\(\) return type has no value type specified in iterable type array\.$# (missingType.iterableValue) in path /home/runner/work/module-yii2/module-yii2/tests/_support/FunctionalTester.php was not matched in reported errors.
tests (8.3): tests/_support/FunctionalTester.php#L1
Ignored error pattern #^Method tests\\FunctionalTester\:\:grabFixtures\(\) should return array but returns mixed\.$# (return.type) in path /home/runner/work/module-yii2/module-yii2/tests/_support/FunctionalTester.php was not matched in reported errors.
tests (8.3): tests/_support/FunctionalTester.php#L1
Ignored error pattern #^Method tests\\FunctionalTester\:\:grabLastSentEmail\(\) should return object but returns mixed\.$# (return.type) in path /home/runner/work/module-yii2/module-yii2/tests/_support/FunctionalTester.php was not matched in reported errors.
tests (8.3): tests/_support/FunctionalTester.php#L1
Ignored error pattern #^Method tests\\FunctionalTester\:\:grabRecord\(\) should return array\|yii\\db\\ActiveRecord\|null but returns mixed\.$# (return.type) in path /home/runner/work/module-yii2/module-yii2/tests/_support/FunctionalTester.php was not matched in reported errors.