Skip to content

Quality assurance #1612

Quality assurance

Quality assurance #1612

Triggered via schedule November 16, 2023 00:47
Status Failure
Total duration 1m 26s
Artifacts

qa.yaml

on: schedule
Fit to window
Zoom out
Zoom in

Annotations

13 errors
PHPStan: src/Block/LocaleSwitcherBlockService.php#L53
Call to function is_string() with string will always evaluate to true.
PHPStan
Internal error: Internal error: Call to a member function getConfiguration() on null while analysing file /home/runner/work/SonataTranslationBundle/SonataTranslationBundle/tests/App/Entity/KnpCategoryTranslation.php Run PHPStan with -v option and post the stack trace to: https://github.com/phpstan/phpstan/issues/new?template=Bug_report.yaml
PHPStan
Internal error: Internal error: Call to a member function getConfiguration() on null while analysing file /home/runner/work/SonataTranslationBundle/SonataTranslationBundle/tests/Fixtures/Traits/ORM/ArticlePersonalTranslatable.php Run PHPStan with -v option and post the stack trace to: https://github.com/phpstan/phpstan/issues/new?template=Bug_report.yaml
PHPStan
Internal error: Internal error: Call to a member function getConfiguration() on null while analysing file /home/runner/work/SonataTranslationBundle/SonataTranslationBundle/tests/Fixtures/Traits/ORM/Knplabs/Article.php Run PHPStan with -v option and post the stack trace to: https://github.com/phpstan/phpstan/issues/new?template=Bug_report.yaml
PHPStan
Internal error: Internal error: Call to a member function getConfiguration() on null while analysing file /home/runner/work/SonataTranslationBundle/SonataTranslationBundle/tests/Fixtures/Model/ModelTranslatable.php Run PHPStan with -v option and post the stack trace to: https://github.com/phpstan/phpstan/issues/new?template=Bug_report.yaml
PHPStan
Child process error (exit code 1):
PHPStan
Child process error (exit code 1):
PHPStan
Process completed with exit code 1.
InvalidArrayOffset: src/Admin/Extension/Gedmo/TranslatableAdminExtension.php#L82
src/Admin/Extension/Gedmo/TranslatableAdminExtension.php:82:20: InvalidArrayOffset: Cannot access value on variable $configuration using offset value of 'locale', expecting 'useObjectClass', 'referenceIntegrity', 'filePathField', 'uploadable', 'fileNameField', 'allowOverwrite', 'appendNumber', 'maxSize', 'path', 'pathMethod', 'allowedTypes', 'disallowedTypes', 'filenameGenerator', 'fileMimeTypeField', 'fileSizeField' or 'callback' (see https://psalm.dev/115)
RedundantCondition: src/Block/LocaleSwitcherBlockService.php#L53
src/Block/LocaleSwitcherBlockService.php:53:9: RedundantCondition: Type string for $template is always string (see https://psalm.dev/122)
RedundantCondition: src/Block/LocaleSwitcherBlockService.php#L53
src/Block/LocaleSwitcherBlockService.php:53:17: RedundantCondition: Type string for $template is always string (see https://psalm.dev/122)
UnusedPsalmSuppress: tests/App/AppKernel.php#L83
tests/App/AppKernel.php:83:24: UnusedPsalmSuppress: This suppression is never used (see https://psalm.dev/207)
Psalm
Process completed with exit code 2.