Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
215 changes: 215 additions & 0 deletions phpstan-baseline-dbal-4.neon
Original file line number Diff line number Diff line change
Expand Up @@ -30,4 +30,219 @@ parameters:
count: 1
path: src/Type/Doctrine/Query/QueryResultTypeWalker.php

-
rawMessage: '''
Call to method __construct() of deprecated class Doctrine\ORM\Mapping\Driver\AnnotationDriver:
This class will be removed in 3.0 without replacement.
Copyright (c) Doctrine Project
From https://github.com/doctrine/orm/blob/40fbbf4429b0d66517244051237a2bd0616a7a13/src/Mapping/Driver/AnnotationDriver.php
'''
identifier: method.deprecatedClass
count: 1
path: tests/Classes/entity-manager.php

-
rawMessage: '''
Instantiation of deprecated class Doctrine\ORM\Mapping\Driver\AnnotationDriver:
This class will be removed in 3.0 without replacement.
Copyright (c) Doctrine Project
From https://github.com/doctrine/orm/blob/40fbbf4429b0d66517244051237a2bd0616a7a13/src/Mapping/Driver/AnnotationDriver.php
'''
identifier: new.deprecatedClass
count: 1
path: tests/Classes/entity-manager.php

-
rawMessage: '''
Call to method __construct() of deprecated class Doctrine\ORM\Mapping\Driver\AnnotationDriver:
This class will be removed in 3.0 without replacement.
Copyright (c) Doctrine Project
From https://github.com/doctrine/orm/blob/40fbbf4429b0d66517244051237a2bd0616a7a13/src/Mapping/Driver/AnnotationDriver.php
'''
identifier: method.deprecatedClass
count: 1
path: tests/DoctrineIntegration/ORM/entity-manager.php

-
rawMessage: '''
Instantiation of deprecated class Doctrine\ORM\Mapping\Driver\AnnotationDriver:
This class will be removed in 3.0 without replacement.
Copyright (c) Doctrine Project
From https://github.com/doctrine/orm/blob/40fbbf4429b0d66517244051237a2bd0616a7a13/src/Mapping/Driver/AnnotationDriver.php
'''
identifier: new.deprecatedClass
count: 1
path: tests/DoctrineIntegration/ORM/entity-manager.php

-
rawMessage: '''
Call to method __construct() of deprecated class Doctrine\ORM\Mapping\Driver\AnnotationDriver:
This class will be removed in 3.0 without replacement.
Copyright (c) Doctrine Project
From https://github.com/doctrine/orm/blob/40fbbf4429b0d66517244051237a2bd0616a7a13/src/Mapping/Driver/AnnotationDriver.php
'''
identifier: method.deprecatedClass
count: 1
path: tests/Platform/QueryResultTypeWalkerFetchTypeMatrixTest.php

-
rawMessage: '''
Instantiation of deprecated class Doctrine\ORM\Mapping\Driver\AnnotationDriver:
This class will be removed in 3.0 without replacement.
Copyright (c) Doctrine Project
From https://github.com/doctrine/orm/blob/40fbbf4429b0d66517244051237a2bd0616a7a13/src/Mapping/Driver/AnnotationDriver.php
'''
identifier: new.deprecatedClass
count: 1
path: tests/Platform/QueryResultTypeWalkerFetchTypeMatrixTest.php

-
rawMessage: '''
Call to method __construct() of deprecated class Doctrine\ORM\Mapping\Driver\AnnotationDriver:
This class will be removed in 3.0 without replacement.
Copyright (c) Doctrine Project
From https://github.com/doctrine/orm/blob/40fbbf4429b0d66517244051237a2bd0616a7a13/src/Mapping/Driver/AnnotationDriver.php
'''
identifier: method.deprecatedClass
count: 1
path: tests/Rules/DeadCode/entity-manager.php

-
rawMessage: '''
Instantiation of deprecated class Doctrine\ORM\Mapping\Driver\AnnotationDriver:
This class will be removed in 3.0 without replacement.
Copyright (c) Doctrine Project
From https://github.com/doctrine/orm/blob/40fbbf4429b0d66517244051237a2bd0616a7a13/src/Mapping/Driver/AnnotationDriver.php
'''
identifier: new.deprecatedClass
count: 1
path: tests/Rules/DeadCode/entity-manager.php

-
rawMessage: 'Parameter #2 $type of static method Doctrine\DBAL\Types\Type::addType() expects class-string<Doctrine\DBAL\Types\Type>|Doctrine\DBAL\Types\Type, string given.'
identifier: argument.type
count: 1
path: tests/Rules/Doctrine/ORM/EntityColumnRuleTest.php

-
rawMessage: '''
Call to method __construct() of deprecated class Doctrine\ORM\Mapping\Driver\AnnotationDriver:
This class will be removed in 3.0 without replacement.
Copyright (c) Doctrine Project
From https://github.com/doctrine/orm/blob/40fbbf4429b0d66517244051237a2bd0616a7a13/src/Mapping/Driver/AnnotationDriver.php
'''
identifier: method.deprecatedClass
count: 1
path: tests/Rules/Properties/entity-manager.php

-
rawMessage: '''
Instantiation of deprecated class Doctrine\ORM\Mapping\Driver\AnnotationDriver:
This class will be removed in 3.0 without replacement.
Copyright (c) Doctrine Project
From https://github.com/doctrine/orm/blob/40fbbf4429b0d66517244051237a2bd0616a7a13/src/Mapping/Driver/AnnotationDriver.php
'''
identifier: new.deprecatedClass
count: 1
path: tests/Rules/Properties/entity-manager.php

-
rawMessage: '''
Call to method __construct() of deprecated class Doctrine\ORM\Mapping\Driver\AnnotationDriver:
This class will be removed in 3.0 without replacement.
Copyright (c) Doctrine Project
From https://github.com/doctrine/orm/blob/40fbbf4429b0d66517244051237a2bd0616a7a13/src/Mapping/Driver/AnnotationDriver.php
'''
identifier: method.deprecatedClass
count: 1
path: tests/Type/Doctrine/DBAL/mysqli.php

-
rawMessage: '''
Instantiation of deprecated class Doctrine\ORM\Mapping\Driver\AnnotationDriver:
This class will be removed in 3.0 without replacement.
Copyright (c) Doctrine Project
From https://github.com/doctrine/orm/blob/40fbbf4429b0d66517244051237a2bd0616a7a13/src/Mapping/Driver/AnnotationDriver.php
'''
identifier: new.deprecatedClass
count: 1
path: tests/Type/Doctrine/DBAL/mysqli.php

-
rawMessage: '''
Call to method __construct() of deprecated class Doctrine\ORM\Mapping\Driver\AnnotationDriver:
This class will be removed in 3.0 without replacement.
Copyright (c) Doctrine Project
From https://github.com/doctrine/orm/blob/40fbbf4429b0d66517244051237a2bd0616a7a13/src/Mapping/Driver/AnnotationDriver.php
'''
identifier: method.deprecatedClass
count: 1
path: tests/Type/Doctrine/DBAL/pdo.php

-
rawMessage: '''
Instantiation of deprecated class Doctrine\ORM\Mapping\Driver\AnnotationDriver:
This class will be removed in 3.0 without replacement.
Copyright (c) Doctrine Project
From https://github.com/doctrine/orm/blob/40fbbf4429b0d66517244051237a2bd0616a7a13/src/Mapping/Driver/AnnotationDriver.php
'''
identifier: new.deprecatedClass
count: 1
path: tests/Type/Doctrine/DBAL/pdo.php

-
rawMessage: 'Call to an undefined static method Doctrine\DBAL\Types\ConversionException::conversionFailed().'
identifier: staticMethod.notFound
count: 2
path: tests/Rules/Doctrine/ORM/FakeTestingSymfonyUlidType.php

-
rawMessage: 'Call to an undefined static method Doctrine\DBAL\Types\ConversionException::conversionFailedInvalidType().'
identifier: staticMethod.notFound
count: 2
path: tests/Rules/Doctrine/ORM/FakeTestingSymfonyUlidType.php

-
rawMessage: 'Call to an undefined static method Doctrine\DBAL\Types\ConversionException::conversionFailed().'
identifier: staticMethod.notFound
count: 2
path: tests/Rules/Doctrine/ORM/FakeTestingSymfonyUuidType.php

-
rawMessage: 'Call to an undefined static method Doctrine\DBAL\Types\ConversionException::conversionFailedInvalidType().'
identifier: staticMethod.notFound
count: 2
path: tests/Rules/Doctrine/ORM/FakeTestingSymfonyUuidType.php

-
rawMessage: '''
Access to constant on deprecated class Doctrine\ORM\Mapping\Driver\AnnotationDriver:
This class will be removed in 3.0 without replacement.
Copyright (c) Doctrine Project
From https://github.com/doctrine/orm/blob/40fbbf4429b0d66517244051237a2bd0616a7a13/src/Mapping/Driver/AnnotationDriver.php
'''
identifier: classConstant.deprecatedClass
count: 1
path: src/Doctrine/Mapping/ClassMetadataFactory.php

-
rawMessage: '''
Call to method __construct() of deprecated class Doctrine\ORM\Mapping\Driver\AnnotationDriver:
This class will be removed in 3.0 without replacement.
Copyright (c) Doctrine Project
From https://github.com/doctrine/orm/blob/40fbbf4429b0d66517244051237a2bd0616a7a13/src/Mapping/Driver/AnnotationDriver.php
'''
identifier: method.deprecatedClass
count: 1
path: src/Doctrine/Mapping/ClassMetadataFactory.php

-
rawMessage: '''
Instantiation of deprecated class Doctrine\ORM\Mapping\Driver\AnnotationDriver:
This class will be removed in 3.0 without replacement.
Copyright (c) Doctrine Project
From https://github.com/doctrine/orm/blob/40fbbf4429b0d66517244051237a2bd0616a7a13/src/Mapping/Driver/AnnotationDriver.php
'''
identifier: new.deprecatedClass
count: 1
path: src/Doctrine/Mapping/ClassMetadataFactory.php
2 changes: 1 addition & 1 deletion tests/Rules/Doctrine/ORM/FakeTestingRamseyUuidType.php
Original file line number Diff line number Diff line change
Expand Up @@ -56,7 +56,7 @@ public function getName(): string
return self::NAME;
}

public function requiresSQLCommentHint(AbstractPlatform $platform): bool
public function requiresSQLCommentHint(AbstractPlatform $platform): bool // @phpstan-ignore return.tooWideBool
{
return true;
}
Expand Down
2 changes: 1 addition & 1 deletion tests/Rules/Doctrine/ORM/FakeTestingSymfonyUlidType.php
Original file line number Diff line number Diff line change
Expand Up @@ -100,7 +100,7 @@ public function convertToDatabaseValue($value, AbstractPlatform $platform): ?str
}
}

public function requiresSQLCommentHint(AbstractPlatform $platform): bool
public function requiresSQLCommentHint(AbstractPlatform $platform): bool // @phpstan-ignore return.tooWideBool
{
return true;
}
Expand Down
2 changes: 1 addition & 1 deletion tests/Rules/Doctrine/ORM/FakeTestingSymfonyUuidType.php
Original file line number Diff line number Diff line change
Expand Up @@ -100,7 +100,7 @@ public function convertToDatabaseValue($value, AbstractPlatform $platform): ?str
}
}

public function requiresSQLCommentHint(AbstractPlatform $platform): bool
public function requiresSQLCommentHint(AbstractPlatform $platform): bool // @phpstan-ignore return.tooWideBool
{
return true;
}
Expand Down
Loading