Skip to content

Improve tests to remove mocks of final classes #2265

Improve tests to remove mocks of final classes

Improve tests to remove mocks of final classes #2265

Triggered via pull request January 22, 2025 18:36
Status Failure
Total duration 1m 50s
Artifacts

ci.yaml

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

Annotations

15 errors and 8 warnings
phpunit (ubuntu-latest, 8.1, --prefer-lowest, stable)
Process completed with exit code 255.
phpunit (ubuntu-latest, 8.3, 7.1, stable)
Process completed with exit code 255.
phpunit (ubuntu-latest, 8.4, 7.1, stable)
Process completed with exit code 255.
phpunit (ubuntu-latest, 8.2, 6.4, stable)
Process completed with exit code 255.
phpunit (ubuntu-latest, 8.4, 7.2, stable)
Process completed with exit code 255.
phpstan: src/Intl/IntlFormatter.php#L123
Parameter #1 $number (float|int) of method EasyCorp\Bundle\EasyAdminBundle\Intl\IntlFormatter::formatNumber() should be contravariant with parameter $number (mixed) of method EasyCorp\Bundle\EasyAdminBundle\Contracts\Intl\IntlFormatterInterface::formatNumber()
phpstan: src/Intl/IntlFormatter.php#L152
Parameter #5 $timezone (DateTimeZone|string|false|null) of method EasyCorp\Bundle\EasyAdminBundle\Intl\IntlFormatter::formatDateTime() should be contravariant with parameter $timezone (bool|DateTimeZone|string|null) of method EasyCorp\Bundle\EasyAdminBundle\Contracts\Intl\IntlFormatterInterface::formatDateTime()
phpstan: src/Intl/IntlFormatter.php#L167
Parameter #4 $timezone (DateTimeZone|string|false|null) of method EasyCorp\Bundle\EasyAdminBundle\Intl\IntlFormatter::formatDate() should be contravariant with parameter $timezone (bool|DateTimeZone|string|null) of method EasyCorp\Bundle\EasyAdminBundle\Contracts\Intl\IntlFormatterInterface::formatDate()
phpstan: src/Intl/IntlFormatter.php#L175
Parameter #4 $timezone (DateTimeZone|string|false|null) of method EasyCorp\Bundle\EasyAdminBundle\Intl\IntlFormatter::formatTime() should be contravariant with parameter $timezone (bool|DateTimeZone|string|null) of method EasyCorp\Bundle\EasyAdminBundle\Contracts\Intl\IntlFormatterInterface::formatTime()
phpstan
Process completed with exit code 1.
phpunit (ubuntu-latest, 8.1, 5.4, stable)
Process completed with exit code 255.
phpunit (macos-latest, 8.4, 7.2, stable)
Process completed with exit code 255.
phpunit (windows-latest, 8.4, 6.4, stable)
Process completed with exit code 1.
phpunit (windows-latest, 8.4, 7.2, stable)
Process completed with exit code 1.
phpunit (macos-latest, 8.4, 6.4, stable)
Process completed with exit code 255.
phpunit (ubuntu-latest, 8.1, --prefer-lowest, stable)
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
phpunit (ubuntu-latest, 8.3, 7.1, stable)
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
phpunit (ubuntu-latest, 8.4, 7.1, stable)
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
phpunit (ubuntu-latest, 8.2, 6.4, stable)
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
phpunit (ubuntu-latest, 8.4, 7.2, stable)
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
phpstan
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
phpunit (ubuntu-latest, 8.1, 5.4, stable)
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
linter
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636