Skip to content

Fix deprecated testing methods: getTests is now provideTests and getV… #69

Fix deprecated testing methods: getTests is now provideTests and getV…

Fix deprecated testing methods: getTests is now provideTests and getV… #69

Triggered via push January 10, 2025 21:44
Status Failure
Total duration 30s
Artifacts
Fit to window
Zoom out
Zoom in

Annotations

10 errors and 2 warnings
lint-php
Process completed with exit code 2.
analyse-php: test/Node/MoTranslatorTransTest.php#L1
Ignored error pattern #^Parameter \#2 \.\.\.\$values of function sprintf expects bool\|float\|int\|string\|null, mixed given\.$# in path /home/runner/work/twig-i18n-extension/twig-i18n-extension/test/Node/MoTranslatorTransTest.php was not matched in reported errors.
analyse-php: test/Node/MoTranslatorTransTest.php#L1
Ignored error pattern #^Parameter \#3 \.\.\.\$values of function sprintf expects bool\|float\|int\|string\|null, mixed given\.$# in path /home/runner/work/twig-i18n-extension/twig-i18n-extension/test/Node/MoTranslatorTransTest.php was not matched in reported errors.
analyse-php: test/Node/MoTranslatorTransTest.php#L74
Method PhpMyAdmin\Tests\Twig\Extensions\Node\MoTranslatorTransTest::provideTests() has invalid return type PhpMyAdmin\Tests\Twig\Extensions\Node\Environment.
analyse-php: test/Node/MoTranslatorTransTest.php#L74
Return type (iterable<array{0: Twig\Node\Node, 1: string, 2?: PhpMyAdmin\Tests\Twig\Extensions\Node\Environment|null, 3?: bool}>) of method PhpMyAdmin\Tests\Twig\Extensions\Node\MoTranslatorTransTest::provideTests() should be covariant with return type (iterable<array{0: Twig\Node\Node, 1: string, 2?: Twig\Environment|null, 3?: bool}>) of method Twig\Test\NodeTestCase::provideTests()
analyse-php: test/Node/TransTest.php#L1
Ignored error pattern #^Parameter \#2 \.\.\.\$values of function sprintf expects bool\|float\|int\|string\|null, mixed given\.$# in path /home/runner/work/twig-i18n-extension/twig-i18n-extension/test/Node/TransTest.php was not matched in reported errors.
analyse-php: test/Node/TransTest.php#L1
Ignored error pattern #^Parameter \#3 \.\.\.\$values of function sprintf expects bool\|float\|int\|string\|null, mixed given\.$# in path /home/runner/work/twig-i18n-extension/twig-i18n-extension/test/Node/TransTest.php was not matched in reported errors.
analyse-php: test/Node/TransTest.php#L132
Method PhpMyAdmin\Tests\Twig\Extensions\Node\TransTest::provideTests() has invalid return type PhpMyAdmin\Tests\Twig\Extensions\Node\Environment.
analyse-php: test/Node/TransTest.php#L132
Return type (iterable<array{0: Twig\Node\Node, 1: string, 2?: PhpMyAdmin\Tests\Twig\Extensions\Node\Environment|null, 3?: bool}>) of method PhpMyAdmin\Tests\Twig\Extensions\Node\TransTest::provideTests() should be covariant with return type (iterable<array{0: Twig\Node\Node, 1: string, 2?: Twig\Environment|null, 3?: bool}>) of method Twig\Test\NodeTestCase::provideTests()
analyse-php
Process completed with exit code 1.
lint-php
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
analyse-php
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636