Skip to content

add tests for cache flag #20

add tests for cache flag

add tests for cache flag #20

Triggered via push December 20, 2024 16:41
Status Failure
Total duration 26s
Artifacts

psalm.yml

on: push
Fit to window
Zoom out
Zoom in

Annotations

10 errors and 1 warning
UnusedClass: src/ArxyTranslationsBundle.php#L11
src/ArxyTranslationsBundle.php:11:7: UnusedClass: Class Arxy\TranslationsBundle\ArxyTranslationsBundle is never used (see https://psalm.dev/075)
PossiblyUnusedMethod: src/CacheFlag.php#L12
src/CacheFlag.php:12:21: PossiblyUnusedMethod: Cannot find any calls to method Arxy\TranslationsBundle\CacheFlag::__construct (see https://psalm.dev/087)
PossiblyUnusedMethod: src/CacheFlag.php#L28
src/CacheFlag.php:28:21: PossiblyUnusedMethod: Cannot find any calls to method Arxy\TranslationsBundle\CacheFlag::increment (see https://psalm.dev/087)
UnusedClass: src/Command/ImportTranslationsCommand.php#L20
src/Command/ImportTranslationsCommand.php:20:7: UnusedClass: Class Arxy\TranslationsBundle\Command\ImportTranslationsCommand is never used (see https://psalm.dev/075)
MissingPropertyType: src/Command/ImportTranslationsCommand.php#L22
src/Command/ImportTranslationsCommand.php:22:22: MissingPropertyType: Property Arxy\TranslationsBundle\Command\ImportTranslationsCommand::$defaultName does not have a declared type - consider string (see https://psalm.dev/045)
MissingPropertyType: src/Command/ImportTranslationsCommand.php#L23
src/Command/ImportTranslationsCommand.php:23:22: MissingPropertyType: Property Arxy\TranslationsBundle\Command\ImportTranslationsCommand::$defaultDescription does not have a declared type - consider string (see https://psalm.dev/045)
UnusedClass: src/DependencyInjection/ArxyTranslationsExtension.php#L20
src/DependencyInjection/ArxyTranslationsExtension.php:20:7: UnusedClass: Class Arxy\TranslationsBundle\DependencyInjection\ArxyTranslationsExtension is never used (see https://psalm.dev/075)
InternalClass: src/DependencyInjection/ArxyTranslationsExtension.php#L20
src/DependencyInjection/ArxyTranslationsExtension.php:20:41: InternalClass: Symfony\Component\HttpKernel\DependencyInjection\Extension is internal to Symfony but called from Arxy\TranslationsBundle\DependencyInjection\ArxyTranslationsExtension (see https://psalm.dev/174)
UndefinedInterfaceMethod: src/DependencyInjection/Configuration.php#L39
src/DependencyInjection/Configuration.php:39:19: UndefinedInterfaceMethod: Method Symfony\Component\Config\Definition\Builder\NodeParentInterface::scalarNode does not exist (see https://psalm.dev/181)
PossiblyUnusedMethod: src/Dumper/DatabaseDumper.php#L16
src/Dumper/DatabaseDumper.php:16:21: PossiblyUnusedMethod: Cannot find any calls to method Arxy\TranslationsBundle\Dumper\DatabaseDumper::__construct (see https://psalm.dev/087)
Psalm
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636