modernize php code #120
static.yml
on: pull_request
PHPStan
20s
PHP-CS-Fixer
17s
Annotations
10 errors
PHPStan:
lib/Doctrine/ODM/PHPCR/Mapping/ClassMetadataFactory.php#L24
Private property Doctrine\ODM\PHPCR\Mapping\ClassMetadataFactory::$cacheSalt overriding protected property Doctrine\Persistence\Mapping\AbstractClassMetadataFactory<Doctrine\Persistence\Mapping\ClassMetadata>::$cacheSalt should be protected or public.
|
PHPStan:
lib/Doctrine/ODM/PHPCR/Query/Builder/ConstraintAndx.php#L17
Return type mixed of method Doctrine\ODM\PHPCR\Query\Builder\ConstraintAndx::getNodeType() is not covariant with return type string of method Doctrine\ODM\PHPCR\Query\Builder\ConstraintFactory::getNodeType().
|
PHPStan:
lib/Doctrine/ODM/PHPCR/Query/Builder/ConstraintAndx.php#L22
Return type mixed of method Doctrine\ODM\PHPCR\Query\Builder\ConstraintAndx::getCardinalityMap() is not covariant with return type array of method Doctrine\ODM\PHPCR\Query\Builder\ConstraintFactory::getCardinalityMap().
|
PHPStan:
lib/Doctrine/ODM/PHPCR/Query/Builder/ConstraintChild.php#L30
Return type mixed of method Doctrine\ODM\PHPCR\Query\Builder\ConstraintChild::getNodeType() is not covariant with return type string of method Doctrine\ODM\PHPCR\Query\Builder\AbstractNode::getNodeType().
|
PHPStan:
lib/Doctrine/ODM/PHPCR/Query/Builder/ConstraintNot.php#L13
Return type mixed of method Doctrine\ODM\PHPCR\Query\Builder\ConstraintNot::getCardinalityMap() is not covariant with return type array of method Doctrine\ODM\PHPCR\Query\Builder\ConstraintFactory::getCardinalityMap().
|
PHPStan:
lib/Doctrine/ODM/PHPCR/Query/Builder/ConstraintNot.php#L20
Return type mixed of method Doctrine\ODM\PHPCR\Query\Builder\ConstraintNot::getNodeType() is not covariant with return type string of method Doctrine\ODM\PHPCR\Query\Builder\ConstraintFactory::getNodeType().
|
PHPStan:
lib/Doctrine/ODM/PHPCR/Query/Builder/ConstraintOrx.php#L16
Return type mixed of method Doctrine\ODM\PHPCR\Query\Builder\ConstraintOrx::getCardinalityMap() is not covariant with return type array of method Doctrine\ODM\PHPCR\Query\Builder\ConstraintFactory::getCardinalityMap().
|
PHPStan:
lib/Doctrine/ODM/PHPCR/Query/Builder/ConstraintOrx.php#L23
Return type mixed of method Doctrine\ODM\PHPCR\Query\Builder\ConstraintOrx::getNodeType() is not covariant with return type string of method Doctrine\ODM\PHPCR\Query\Builder\ConstraintFactory::getNodeType().
|
PHPStan:
lib/Doctrine/ODM/PHPCR/Query/Builder/From.php#L13
Return type mixed of method Doctrine\ODM\PHPCR\Query\Builder\From::getCardinalityMap() is not covariant with return type array of method Doctrine\ODM\PHPCR\Query\Builder\SourceFactory::getCardinalityMap().
|
PHPStan:
lib/Doctrine/ODM/PHPCR/Query/Builder/From.php#L20
Return type mixed of method Doctrine\ODM\PHPCR\Query\Builder\From::getNodeType() is not covariant with return type string of method Doctrine\ODM\PHPCR\Query\Builder\AbstractNode::getNodeType().
|