Skip to content

[Attribute] Component and Contract #353

[Attribute] Component and Contract

[Attribute] Component and Contract #353

Triggered via pull request July 30, 2024 17:20
Status Cancelled
Total duration 1m 35s
Artifacts

static-analysis.yml

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

Annotations

11 errors
Psalm (8.1)
Canceling since a higher priority waiting request for 'Static Analysis-attribute' exists
UndefinedVariable: src/SonsOfPHP/Bard/src/Console/Command/MergeCommand.php#L87
src/SonsOfPHP/Bard/src/Console/Command/MergeCommand.php:87:69: UndefinedVariable: Cannot find referenced variable $packageComposerFile (see https://psalm.dev/024)
InvalidArgument: src/SonsOfPHP/Bridge/Doctrine/Collections/Pager/Tests/ArrayCollectionAdapterTest.php#L34
src/SonsOfPHP/Bridge/Doctrine/Collections/Pager/Tests/ArrayCollectionAdapterTest.php:34:47: InvalidArgument: Argument 1 of SonsOfPHP\Bridge\Doctrine\Collections\Pager\ArrayCollectionAdapter::__construct expects Doctrine\Common\Collections\ArrayCollection<array-key, mixed>, but Doctrine\Common\Collections\ArrayCollection<int<0, max>, int> provided (see https://psalm.dev/004)
InvalidArgument: src/SonsOfPHP/Bridge/Doctrine/Collections/Pager/Tests/ArrayCollectionAdapterTest.php#L44
src/SonsOfPHP/Bridge/Doctrine/Collections/Pager/Tests/ArrayCollectionAdapterTest.php:44:47: InvalidArgument: Argument 1 of SonsOfPHP\Bridge\Doctrine\Collections\Pager\ArrayCollectionAdapter::__construct expects Doctrine\Common\Collections\ArrayCollection<array-key, mixed>, but Doctrine\Common\Collections\ArrayCollection<int<0, max>, int> provided (see https://psalm.dev/004)
DuplicateClass: src/SonsOfPHP/Bridge/Doctrine/Collections/Pager/vendor/composer/ClassLoader.php#L43
src/SonsOfPHP/Bridge/Doctrine/Collections/Pager/vendor/composer/ClassLoader.php:43:7: DuplicateClass: Class Composer\Autoload\ClassLoader has already been defined in /home/runner/work/sonsofphp/sonsofphp/vendor/composer/ClassLoader.php (see https://psalm.dev/071)
DuplicateClass: src/SonsOfPHP/Bridge/Doctrine/Collections/Pager/vendor/composer/InstalledVersions.php#L27
src/SonsOfPHP/Bridge/Doctrine/Collections/Pager/vendor/composer/InstalledVersions.php:27:7: DuplicateClass: Class Composer\InstalledVersions has already been defined in /home/runner/work/sonsofphp/sonsofphp/tools/psalm/vendor/composer/InstalledVersions.php (see https://psalm.dev/071)
UnusedVariable: src/SonsOfPHP/Bridge/Doctrine/Collections/Pager/vendor/composer/autoload_namespaces.php#L6
src/SonsOfPHP/Bridge/Doctrine/Collections/Pager/vendor/composer/autoload_namespaces.php:6:1: UnusedVariable: $baseDir is never referenced or the value is not used (see https://psalm.dev/077)
InaccessibleProperty: src/SonsOfPHP/Bridge/Doctrine/Collections/Pager/vendor/composer/autoload_static.php#L76
src/SonsOfPHP/Bridge/Doctrine/Collections/Pager/vendor/composer/autoload_static.php:76:13: InaccessibleProperty: Cannot access private property Composer\Autoload\ClassLoader::$prefixLengthsPsr4 from context Composer\Autoload\ComposerStaticInit2fe45c24865cd37ef253319d68ac5847 (see https://psalm.dev/054)
InaccessibleProperty: src/SonsOfPHP/Bridge/Doctrine/Collections/Pager/vendor/composer/autoload_static.php#L77
src/SonsOfPHP/Bridge/Doctrine/Collections/Pager/vendor/composer/autoload_static.php:77:13: InaccessibleProperty: Cannot access private property Composer\Autoload\ClassLoader::$prefixDirsPsr4 from context Composer\Autoload\ComposerStaticInit2fe45c24865cd37ef253319d68ac5847 (see https://psalm.dev/054)
InaccessibleProperty: src/SonsOfPHP/Bridge/Doctrine/Collections/Pager/vendor/composer/autoload_static.php#L78
src/SonsOfPHP/Bridge/Doctrine/Collections/Pager/vendor/composer/autoload_static.php:78:13: InaccessibleProperty: Cannot access private property Composer\Autoload\ClassLoader::$classMap from context Composer\Autoload\ComposerStaticInit2fe45c24865cd37ef253319d68ac5847 (see https://psalm.dev/054)
PossiblyUnusedProperty: src/SonsOfPHP/Bridge/Doctrine/Collections/Pager/vendor/doctrine/collections/src/AbstractLazyCollection.php#L27
src/SonsOfPHP/Bridge/Doctrine/Collections/Pager/vendor/doctrine/collections/src/AbstractLazyCollection.php:27:31: PossiblyUnusedProperty: Cannot find any references to property Doctrine\Common\Collections\AbstractLazyCollection::$collection (see https://psalm.dev/149)