upgrades to support symfony 7.x #351
Annotations
10 errors and 1 warning
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)
|
Psalm (8.1)
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: actions/checkout@v3. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.
|