Closed dependabot[bot] closed 3 months ago
Doctrine 3 is not supported yet.
% composer phpstan
> phpstan analyse
Note: Using configuration file /home/christian/demos-projects/edt/phpstan.neon.
355/355 [▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓] 100%
------ --------------------------------------------------------------------------------------------------------------------------
Line dql/src/PropertyAccessors/ProxyPropertyAccessor.php
------ --------------------------------------------------------------------------------------------------------------------------
39 Class Doctrine\ORM\Mapping\ClassMetadataInfo not found.
💡 Learn more at https://phpstan.org/user-guide/discovering-symbols
40 Access to property $associationMappings on an unknown class Doctrine\ORM\Mapping\ClassMetadataInfo.
💡 Learn more at https://phpstan.org/user-guide/discovering-symbols
40 Cannot access offset 'type' on mixed.
40 Cannot access offset non-empty-string on mixed.
42 Access to constant MANY_TO_MANY on an unknown class Doctrine\ORM\Mapping\ClassMetadataInfo.
💡 Learn more at https://phpstan.org/user-guide/discovering-symbols
42 Access to constant ONE_TO_MANY on an unknown class Doctrine\ORM\Mapping\ClassMetadataInfo.
💡 Learn more at https://phpstan.org/user-guide/discovering-symbols
69 Class Doctrine\ORM\Mapping\ClassMetadataInfo not found.
💡 Learn more at https://phpstan.org/user-guide/discovering-symbols
73 Access to property $rootEntityName on an unknown class Doctrine\ORM\Mapping\ClassMetadataInfo.
💡 Learn more at https://phpstan.org/user-guide/discovering-symbols
75 Method EDT\DqlQuerying\PropertyAccessors\ProxyPropertyAccessor::getClass() should return class-string but returns mixed.
------ --------------------------------------------------------------------------------------------------------------------------
------ --------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
Line dql/src/Utilities/JoinFinder.php
------ --------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
58 Parameter $classMetadata of method EDT\DqlQuerying\Utilities\JoinFinder::findNecessaryJoins() has invalid type Doctrine\ORM\Mapping\ClassMetadataInfo.
58 Parameter $classMetadata of method EDT\DqlQuerying\Utilities\JoinFinder::findNecessaryJoins() has invalid type Doctrine\ORM\Mapping\ClassMetadataInfo.
93 Parameter $classMetadata of method EDT\DqlQuerying\Utilities\JoinFinder::findJoinsRecursive() has invalid type Doctrine\ORM\Mapping\ClassMetadataInfo.
93 Parameter $classMetadata of method EDT\DqlQuerying\Utilities\JoinFinder::findJoinsRecursive() has invalid type Doctrine\ORM\Mapping\ClassMetadataInfo.
100 Call to method getName() on an unknown class Doctrine\ORM\Mapping\ClassMetadataInfo.
💡 Learn more at https://phpstan.org/user-guide/discovering-symbols
100 Parameter #1 $name of static method EDT\DqlQuerying\Contracts\MappingException::disallowedToMany() expects class-string, mixed given.
132 Call to method getName() on an unknown class Doctrine\ORM\Mapping\ClassMetadataInfo.
💡 Learn more at https://phpstan.org/user-guide/discovering-symbols
132 Part $classMetadata->getName() (mixed) of encapsed string cannot be cast to string.
154 Parameter $tableInfo of method EDT\DqlQuerying\Utilities\JoinFinder::createTableAlias() has invalid type Doctrine\ORM\Mapping\ClassMetadataInfo.
154 Parameter $tableInfo of method EDT\DqlQuerying\Utilities\JoinFinder::createTableAlias() has invalid type Doctrine\ORM\Mapping\ClassMetadataInfo.
156 Call to method getTableName() on an unknown class Doctrine\ORM\Mapping\ClassMetadataInfo.
💡 Learn more at https://phpstan.org/user-guide/discovering-symbols
156 Part $tableInfo->getTableName() (mixed) of encapsed string cannot be cast to string.
166 Method EDT\DqlQuerying\Utilities\JoinFinder::getTargetClassMetadata() has invalid return type Doctrine\ORM\Mapping\ClassMetadataInfo.
166 Method EDT\DqlQuerying\Utilities\JoinFinder::getTargetClassMetadata() has invalid return type Doctrine\ORM\Mapping\ClassMetadataInfo.
166 Parameter $metadata of method EDT\DqlQuerying\Utilities\JoinFinder::getTargetClassMetadata() has invalid type Doctrine\ORM\Mapping\ClassMetadataInfo.
166 Parameter $metadata of method EDT\DqlQuerying\Utilities\JoinFinder::getTargetClassMetadata() has invalid type Doctrine\ORM\Mapping\ClassMetadataInfo.
169 Call to method getAssociationTargetClass() on an unknown class Doctrine\ORM\Mapping\ClassMetadataInfo.
💡 Learn more at https://phpstan.org/user-guide/discovering-symbols
170 Parameter #1 $className of method Doctrine\Persistence\Mapping\AbstractClassMetadataFactory<Doctrine\ORM\Mapping\ClassMetadata>::getMetadataFor() expects class-string, mixed given.
171 Class Doctrine\ORM\Mapping\ClassMetadataInfo not found.
💡 Learn more at https://phpstan.org/user-guide/discovering-symbols
178 Call to method getName() on an unknown class Doctrine\ORM\Mapping\ClassMetadataInfo.
💡 Learn more at https://phpstan.org/user-guide/discovering-symbols
178 Parameter #2 $entityName of static method EDT\DqlQuerying\Contracts\MappingException::relationshipUnavailable() expects string, mixed given.
187 Parameter $classMetadata of method EDT\DqlQuerying\Utilities\JoinFinder::isToManyRelationship() has invalid type Doctrine\ORM\Mapping\ClassMetadataInfo.
187 Parameter $classMetadata of method EDT\DqlQuerying\Utilities\JoinFinder::isToManyRelationship() has invalid type Doctrine\ORM\Mapping\ClassMetadataInfo.
189 Call to method getAssociationMapping() on an unknown class Doctrine\ORM\Mapping\ClassMetadataInfo.
💡 Learn more at https://phpstan.org/user-guide/discovering-symbols
191 Access to constant TO_MANY on an unknown class Doctrine\ORM\Mapping\ClassMetadataInfo.
💡 Learn more at https://phpstan.org/user-guide/discovering-symbols
191 Cannot access offset 'type' on mixed.
198 Parameter $classMetadata of method EDT\DqlQuerying\Utilities\JoinFinder::isRelationship() has invalid type Doctrine\ORM\Mapping\ClassMetadataInfo.
198 Parameter $classMetadata of method EDT\DqlQuerying\Utilities\JoinFinder::isRelationship() has invalid type Doctrine\ORM\Mapping\ClassMetadataInfo.
200 Call to method hasAssociation() on an unknown class Doctrine\ORM\Mapping\ClassMetadataInfo.
💡 Learn more at https://phpstan.org/user-guide/discovering-symbols
200 Method EDT\DqlQuerying\Utilities\JoinFinder::isRelationship() should return bool but returns mixed.
207 Parameter $classMetadata of method EDT\DqlQuerying\Utilities\JoinFinder::isAttribute() has invalid type Doctrine\ORM\Mapping\ClassMetadataInfo.
207 Parameter $classMetadata of method EDT\DqlQuerying\Utilities\JoinFinder::isAttribute() has invalid type Doctrine\ORM\Mapping\ClassMetadataInfo.
209 Call to method hasField() on an unknown class Doctrine\ORM\Mapping\ClassMetadataInfo.
💡 Learn more at https://phpstan.org/user-guide/discovering-symbols
209 Method EDT\DqlQuerying\Utilities\JoinFinder::isAttribute() should return bool but returns mixed.
------ --------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
------ ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
Line dql/src/Utilities/QueryBuilderPreparer.php
------ ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
65 Property EDT\DqlQuerying\Utilities\QueryBuilderPreparer::$mainClassMetadata has unknown class Doctrine\ORM\Mapping\ClassMetadataInfo as its type.
💡 Learn more at https://phpstan.org/user-guide/discovering-symbols
65 Property EDT\DqlQuerying\Utilities\QueryBuilderPreparer::$mainClassMetadata has unknown class Doctrine\ORM\Mapping\ClassMetadataInfo as its type.
💡 Learn more at https://phpstan.org/user-guide/discovering-symbols
97 Property EDT\DqlQuerying\Utilities\QueryBuilderPreparer::$mainClassMetadata (Doctrine\ORM\Mapping\ClassMetadataInfo<object>) does not accept Doctrine\ORM\Mapping\ClassMetadata.
166 Call to method getName() on an unknown class Doctrine\ORM\Mapping\ClassMetadataInfo.
💡 Learn more at https://phpstan.org/user-guide/discovering-symbols
166 Parameter #1 $from of method Doctrine\ORM\QueryBuilder::from() expects class-string, mixed given.
184 Parameter #1 $parameters of method Doctrine\ORM\QueryBuilder::setParameters() expects Doctrine\Common\Collections\ArrayCollection<int, Doctrine\ORM\Query\Parameter>, array<int, mixed> given.
224 Call to method getTableName() on an unknown class Doctrine\ORM\Mapping\ClassMetadataInfo.
💡 Learn more at https://phpstan.org/user-guide/discovering-symbols
283 Parameter #2 $tableInfo of method EDT\DqlQuerying\Utilities\JoinFinder::createTableAlias() expects Doctrine\ORM\Mapping\ClassMetadataInfo<object>, Doctrine\ORM\Mapping\ClassMetadata given.
290 Call to method getTableName() on an unknown class Doctrine\ORM\Mapping\ClassMetadataInfo.
💡 Learn more at https://phpstan.org/user-guide/discovering-symbols
291 Parameter #2 $tableInfo of method EDT\DqlQuerying\Utilities\JoinFinder::createTableAlias() expects Doctrine\ORM\Mapping\ClassMetadataInfo<object>, Doctrine\ORM\Mapping\ClassMetadata given.
296 Parameter #3 $classMetadata of method EDT\DqlQuerying\Utilities\JoinFinder::findNecessaryJoins() expects Doctrine\ORM\Mapping\ClassMetadataInfo<object>,
Doctrine\ORM\Mapping\ClassMetadata|Doctrine\ORM\Mapping\ClassMetadataInfo<object> given.
298 Parameter #5 $tableAlias of method EDT\DqlQuerying\Utilities\JoinFinder::findNecessaryJoins() expects string, mixed given.
334 Part $entityAlias (mixed) of encapsed string cannot be cast to string.
------ ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
[ERROR] Found 56 errors
Script phpstan analyse handling the phpstan event returned with error code 1
composer phpstan 16.81s user 0.85s system 525% cpu 3.363 total
Superseded by #140.
Updates the requirements on doctrine/orm to permit the latest version.
Release notes
Sourced from doctrine/orm's releases.
Commits
716fc97
Merge branch '2.19.x' into 3.1.xa809a71
Prepare releases 2.19 and 3.1 (#11335)4617a5e
Merge branch '2.19.x' into 3.1.xe77c5a3
Merge branch '3.0.x' into 3.1.xc3cc0fd
Merge branch '2.18.x' into 3.0.xbd4449c
Merge branch '2.18.x' into 2.19.xe3e9674
Fix annotation12e0cef
Merge branch '2.18.x' into 2.19.x21221f7
Bump CI workflows (#11336)ab5e9e3
Fix SchemaTool::getSchemaFromMetadata() uniqueConstraint without a predefined...You can trigger a rebase of this PR by commenting
@dependabot rebase
.Dependabot commands and options
You can trigger Dependabot actions by commenting on this PR: - `@dependabot rebase` will rebase this PR - `@dependabot recreate` will recreate this PR, overwriting any edits that have been made to it - `@dependabot merge` will merge this PR after your CI passes on it - `@dependabot squash and merge` will squash and merge this PR after your CI passes on it - `@dependabot cancel merge` will cancel a previously requested merge and block automerging - `@dependabot reopen` will reopen this PR if it is closed - `@dependabot close` will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually - `@dependabot show