Deprecated
Table of Contents
Versions.php
| Line | Element | Reason |
|---|---|---|
| 20 | Versions | in favor of the Composer\InstalledVersions class provided by Composer 2. Require composer-runtime-api:^2 to ensure it is present. |
| 26 | Versions::ROOT_PACKAGE_NAME | please use self::rootPackageName() instead. This constant will be removed in version 2.0.0. |
AnnotationRegistry.php
| Line | Element | Reason |
|---|---|---|
| 65 | AnnotationRegistry::registerFile() | This method is deprecated and will be removed in doctrine/annotations 2.0. Annotations will be autoloaded in 2.0. |
| 82 | AnnotationRegistry::registerAutoloadNamespace() | This method is deprecated and will be removed in doctrine/annotations 2.0. Annotations will be autoloaded in 2.0. |
| 97 | AnnotationRegistry::registerAutoloadNamespaces() | This method is deprecated and will be removed in doctrine/annotations 2.0. Annotations will be autoloaded in 2.0. |
| 111 | AnnotationRegistry::registerLoader() | This method is deprecated and will be removed in doctrine/annotations 2.0. Annotations will be autoloaded in 2.0. |
| 124 | AnnotationRegistry::registerUniqueLoader() | This method is deprecated and will be removed in doctrine/annotations 2.0. Annotations will be autoloaded in 2.0. |
CachedReader.php
| Line | Element | Reason |
|---|---|---|
| 24 | CachedReader | the CachedReader is deprecated and will be removed in version 2.0.0 of doctrine/annotations. Please use the PsrCachedReader instead. |
FileCacheReader.php
| Line | Element | Reason |
|---|---|---|
| 38 | FileCacheReader | the FileCacheReader is deprecated and will be removed in version 2.0.0 of doctrine/annotations. Please use the PsrCachedReader instead. |
NamedArgumentConstructorAnnotation.php
| Line | Element | Reason |
|---|---|---|
| 12 | NamedArgumentConstructorAnnotation | Implementing this interface is deprecated Use the Annotation @NamedArgumentConstructor instead |
PhpParser.php
| Line | Element | Reason |
|---|---|---|
| 28 | PhpParser::parseClass() | use parseUseStatements instead |
SimpleAnnotationReader.php
| Line | Element | Reason |
|---|---|---|
| 17 | SimpleAnnotationReader | Deprecated in favour of using AnnotationReader |
Cache.php
| Line | Element | Reason |
|---|---|---|
| 22 | Cache::STATS_MEMORY_AVAILIABLE |
MultiDeleteCache.php
| Line | Element | Reason |
|---|---|---|
| 12 | MultiDeleteCache |
MultiGetCache.php
| Line | Element | Reason |
|---|---|---|
| 12 | MultiGetCache |
MultiPutCache.php
| Line | Element | Reason |
|---|---|---|
| 12 | MultiPutCache |
ClassLoader.php
| Line | Element | Reason |
|---|---|---|
| 35 | ClassLoader | The ClassLoader is deprecated and will be removed in version 4.0 of doctrine/common. |
CommonException.php
| Line | Element | Reason |
|---|---|---|
| 12 | CommonException | The doctrine/common package is deprecated, please use specific packages and their exceptions instead. |
Debug.php
| Line | Element | Reason |
|---|---|---|
| 38 | Debug | The Debug class is deprecated, please use symfony/var-dumper instead. |
QueryCacheProfile.php
| Line | Element | Reason |
|---|---|---|
| 77 | QueryCacheProfile::getResultCacheDriver() | Use getResultCache() instead. |
| 152 | QueryCacheProfile::setResultCacheDriver() | Use setResultCache() instead. |
Configuration.php
| Line | Element | Reason |
|---|---|---|
| 87 | Configuration::getResultCacheImpl() | Use getResultCache() instead. |
| 113 | Configuration::setResultCacheImpl() | Use setResultCache() instead. |
| 42 | Configuration::$resultCacheImpl | Use $resultCache instead. |
ServerInfoAwareConnection.php
| Line | Element | Reason |
|---|---|---|
| 11 | ServerInfoAwareConnection | The methods defined in this interface will be made part of the interface in the next major release. |
TableGenerator.php
| Line | Element | Reason |
|---|---|---|
| 58 | TableGenerator |
TableGeneratorSchemaVisitor.php
| Line | Element | Reason |
|---|---|---|
| 17 | TableGeneratorSchemaVisitor |
DebugStack.php
| Line | Element | Reason |
|---|---|---|
| 14 | DebugStack |
LoggerChain.php
| Line | Element | Reason |
|---|---|---|
| 12 | LoggerChain |
SQLLogger.php
| Line | Element | Reason |
|---|---|---|
| 13 | SQLLogger |
AbstractPlatform.php
DB2Platform.php
| Line | Element | Reason |
|---|---|---|
| 884 | DB2Platform::getReservedKeywordsClass() |
PostgreSQL94Keywords.php
| Line | Element | Reason |
|---|---|---|
| 10 | PostgreSQL94Keywords |
SQLServer2012Keywords.php
| Line | Element | Reason |
|---|---|---|
| 10 | SQLServer2012Keywords |
MariaDb1027Platform.php
| Line | Element | Reason |
|---|---|---|
| 28 | MariaDb1027Platform::getReservedKeywordsClass() |
MySQL57Platform.php
| Line | Element | Reason |
|---|---|---|
| 66 | MySQL57Platform::getReservedKeywordsClass() |
MySQL80Platform.php
| Line | Element | Reason |
|---|---|---|
| 17 | MySQL80Platform::getReservedKeywordsClass() |
MySQLPlatform.php
| Line | Element | Reason |
|---|---|---|
| 1104 | MySQLPlatform::getReservedKeywordsClass() |
OraclePlatform.php
| Line | Element | Reason |
|---|---|---|
| 48 | OraclePlatform::assertValidIdentifier() | |
| 74 | OraclePlatform::getNowExpression() | Generate dates within the application. |
| 1172 | OraclePlatform::getReservedKeywordsClass() |
PostgreSQL100Platform.php
| Line | Element | Reason |
|---|---|---|
| 18 | PostgreSQL100Platform::getReservedKeywordsClass() |
PostgreSQL94Platform.php
| Line | Element | Reason |
|---|---|---|
| 10 | PostgreSQL94Platform |
PostgreSQLPlatform.php
| Line | Element | Reason |
|---|---|---|
| 97 | PostgreSQLPlatform::getNowExpression() | Generate dates within the application. |
| 242 | PostgreSQLPlatform::getListNamespacesSQL() | |
| 1166 | PostgreSQLPlatform::getReservedKeywordsClass() |
SqlitePlatform.php
| Line | Element | Reason |
|---|---|---|
| 57 | SqlitePlatform::getNowExpression() | Generate dates within the application. |
| 595 | SqlitePlatform::udfSqrt() | |
| 610 | SqlitePlatform::udfMod() | |
| 624 | SqlitePlatform::udfLocate() | |
| 696 | SqlitePlatform::getReservedKeywordsClass() | |
| 803 | SqlitePlatform::canEmulateSchemas() | Sqlite Platform emulates schema by underscoring each dot and generating tables into the default database. This hack is implemented to be able to use SQLite as testdriver when using schema supporting databases. |
| 851 | SqlitePlatform::getCreateConstraintSQL() |
SQLServerPlatform.php
| Line | Element | Reason |
|---|---|---|
| 1090 | SQLServerPlatform::getListNamespacesSQL() | |
| 1486 | SQLServerPlatform::getReservedKeywordsClass() |
CompositeExpression.php
| Line | Element | Reason |
|---|---|---|
| 88 | CompositeExpression::addMultiple() | This class will be made immutable. Use with() instead. |
| 112 | CompositeExpression::add() | This class will be made immutable. Use with() instead. |
ExpressionBuilder.php
| Line | Element | Reason |
|---|---|---|
| 73 | ExpressionBuilder::andX() | Use |
| 92 | ExpressionBuilder::orX() | Use |
AbstractAsset.php
| Line | Element | Reason |
|---|---|---|
| 120 | AbstractAsset::getFullQualifiedName() |
AbstractSchemaManager.php
Comparator.php
| Line | Element | Reason |
|---|---|---|
| 184 | Comparator::compare() |
Constraint.php
| Line | Element | Reason |
|---|---|---|
| 12 | Constraint |
ForeignKeyConstraint.php
| Line | Element | Reason |
|---|---|---|
| 112 | ForeignKeyConstraint::getLocalTableName() | Use the table that contains the foreign key as part of its instead. |
| 127 | ForeignKeyConstraint::setLocalTable() | Use the table that contains the foreign key as part of its instead. |
| 137 | ForeignKeyConstraint::getLocalTable() | Use the table that contains the foreign key as part of its instead. |
| 203 | ForeignKeyConstraint::getColumns() | |
| 224 | ForeignKeyConstraint::getQuotedColumns() |
PostgreSQLSchemaManager.php
| Line | Element | Reason |
|---|---|---|
| 49 | PostgreSQLSchemaManager::getSchemaNames() | |
| 81 | PostgreSQLSchemaManager::getSchemaSearchPaths() | |
| 317 | PostgreSQLSchemaManager::getPortableNamespaceDefinition() |
Schema.php
| Line | Element | Reason |
|---|---|---|
| 96 | Schema::hasExplicitForeignKeyIndexes() | |
| 263 | Schema::getTableNames() | |
| 460 | Schema::getMigrateToSql() | |
| 474 | Schema::getMigrateFromSql() |
SchemaConfig.php
| Line | Element | Reason |
|---|---|---|
| 17 | SchemaConfig::$hasExplicitForeignKeyIndexes | |
| 51 | SchemaConfig::setExplicitForeignKeyIndexes() |
SqliteSchemaManager.php
| Line | Element | Reason |
|---|---|---|
| 47 | SqliteSchemaManager::dropDatabase() | Delete the database file using the filesystem. |
| 67 | SqliteSchemaManager::createDatabase() | The engine will create the database file automatically. |
| 113 | SqliteSchemaManager::dropAndCreateForeignKey() | |
| 596 | SqliteSchemaManager::getSchemaSearchPaths() |
SQLServerSchemaManager.php
| Line | Element | Reason |
|---|---|---|
| 232 | SQLServerSchemaManager::getPortableNamespaceDefinition() |
Statement.php
| Line | Element | Reason |
|---|---|---|
| 161 | Statement::execute() | Statement::execute() is deprecated, use Statement::executeQuery() or executeStatement() instead |
VersionAwarePlatformDriver.php
| Line | Element | Reason |
|---|---|---|
| 17 | VersionAwarePlatformDriver | All drivers will have to be aware of the server version in the next major release. |
ImportMappingDoctrineCommand.php
| Line | Element | Reason |
|---|---|---|
| 31 | ImportMappingDoctrineCommand |
ImportDoctrineCommand.php
| Line | Element | Reason |
|---|---|---|
| 17 | ImportDoctrineCommand | Use a database client application instead. |
RunSqlDoctrineCommand.php
| Line | Element | Reason |
|---|---|---|
| 18 | RunSqlDoctrineCommand | use Doctrine\DBAL\Tools\Console\Command\RunSqlCommand instead |
BlacklistSchemaAssetFilter.php
| Line | Element | Reason |
|---|---|---|
| 10 | BlacklistSchemaAssetFilter | Implement your own include/exclude mechanism |
WellKnownSchemaFilterPass.php
| Line | Element | Reason |
|---|---|---|
| 22 | WellKnownSchemaFilterPass | Implement your own include/exclude mechanism |
AbstractQuery.php
| Line | Element | Reason |
|---|---|---|
| 618 | AbstractQuery::setResultCacheDriver() | Use setResultCache() instead. |
| 668 | AbstractQuery::getResultCacheDriver() | |
| 689 | AbstractQuery::useResultCache() | Use enableResultCache and disableResultCache instead. |
| 768 | AbstractQuery::getResultCacheLifetime() | |
| 1043 | AbstractQuery::iterate() | Use toIterable instead. See https://github.com/doctrine/orm/issues/8463 |
| 1305 | AbstractQuery::getResultCacheId() |
InvalidResultCacheDriver.php
| Line | Element | Reason |
|---|---|---|
| 10 | InvalidResultCacheDriver |
Configuration.php
| Line | Element | Reason |
|---|---|---|
| 81 | Configuration::getProxyDir() | We're switch to |
| 95 | Configuration::getAutoGenerateProxyClasses() | We're switch to |
| 122 | Configuration::getProxyNamespace() | We're switch to |
| 291 | Configuration::getQueryCacheImpl() | Call getQueryCache() instead. |
| 310 | Configuration::setQueryCacheImpl() | Call setQueryCache() instead. |
| 347 | Configuration::getHydrationCacheImpl() | Call getHydrationCache() instead. |
| 366 | Configuration::setHydrationCacheImpl() | Call setHydrationCache() instead. |
| 397 | Configuration::getMetadataCacheImpl() | Deprecated in favor of getMetadataCache |
| 420 | Configuration::setMetadataCacheImpl() | Deprecated in favor of setMetadataCache |
EntityManager.php
| Line | Element | Reason |
|---|---|---|
| 726 | EntityManager::merge() | This method is being removed from the ORM and won't have any replacement |
EntityManagerInterface.php
| Line | Element | Reason |
|---|---|---|
| 90 | EntityManagerInterface::transactional() | |
| 232 | EntityManagerInterface::copy() | This method is being removed from the ORM and won't have any replacement |
| 288 | EntityManagerInterface::getHydrator() |
EntityRepository.php
| Line | Element | Reason |
|---|---|---|
| 102 | EntityRepository::createNamedQuery() | |
| 124 | EntityRepository::createNativeNamedQuery() | |
| 148 | EntityRepository::clear() | This method is being removed from the ORM and won't have any replacement |
TableGenerator.php
| Line | Element | Reason |
|---|---|---|
| 14 | TableGenerator | no replacement planned |
UuidGenerator.php
| Line | Element | Reason |
|---|---|---|
| 19 | UuidGenerator | use an application-side generator instead |
AbstractHydrator.php
| Line | Element | Reason |
|---|---|---|
| 117 | AbstractHydrator::iterate() |
IterableResult.php
| Line | Element | Reason |
|---|---|---|
| 16 | IterableResult |
FieldBuilder.php
| Line | Element | Reason |
|---|---|---|
| 134 | FieldBuilder::isPrimaryKey() | Use makePrimaryKey() instead |
ClassMetadataInfo.php
| Line | Element | Reason |
|---|---|---|
| 2240 | ClassMetadataInfo::isIdGeneratorTable() | |
| 2270 | ClassMetadataInfo::isIdentifierUuid() | |
| 2308 | ClassMetadataInfo::getTypeOfColumn() | remove this. this method is bogus and unreliable, since it cannot resolve the type of a column that is derived by a referenced field on a different entity. |
| 2560 | ClassMetadataInfo::setTableName() | |
| 2694 | ClassMetadataInfo::addNamedQuery() | |
| 2739 | ClassMetadataInfo::addNamedNativeQuery() | |
| 2946 | ClassMetadataInfo::invokeLifecycleCallbacks() | Deprecated since version 2.4 in favor of \Doctrine\ORM\Event\ListenersInvoker |
| 3475 | ClassMetadataInfo::getQuotedIdentifierColumnNames() | Deprecated since version 2.3 in favor of \Doctrine\ORM\Mapping\QuoteStrategy |
| 3515 | ClassMetadataInfo::getQuotedColumnName() | Deprecated since version 2.3 in favor of \Doctrine\ORM\Mapping\QuoteStrategy |
| 3531 | ClassMetadataInfo::getQuotedTableName() | Deprecated since version 2.3 in favor of \Doctrine\ORM\Mapping\QuoteStrategy |
| 3548 | ClassMetadataInfo::getQuotedJoinTableName() | Deprecated since version 2.3 in favor of \Doctrine\ORM\Mapping\QuoteStrategy |
| 142 | ClassMetadataInfo::GENERATOR_TYPE_TABLE | no replacement planned |
| 164 | ClassMetadataInfo::GENERATOR_TYPE_UUID | use an application-side generator instead |
| 471 | ClassMetadataInfo::$columnNames | Remove this. |
| 648 | ClassMetadataInfo::$tableGeneratorDefinition |
DriverChain.php
| Line | Element | Reason |
|---|---|---|
| 14 | DriverChain | this driver will be removed. Use Doctrine\Persistence\Mapping\Driver\MappingDriverChain instead |
PHPDriver.php
| Line | Element | Reason |
|---|---|---|
| 14 | PHPDriver | this driver will be removed. Use Doctrine\Persistence\Mapping\Driver\PHPDriver instead |
StaticPHPDriver.php
| Line | Element | Reason |
|---|---|---|
| 14 | StaticPHPDriver | this driver will be removed. Use Doctrine\Persistence\Mapping\Driver\StaticPHPDriver instead |
YamlDriver.php
| Line | Element | Reason |
|---|---|---|
| 33 | YamlDriver | This class is being removed from the ORM and won't have any replacement |
MappingException.php
| Line | Element | Reason |
|---|---|---|
| 377 | MappingException::propertyTypeIsRequired() | no longer in use |
ORMException.php
| Line | Element | Reason |
|---|---|---|
| 20 | ORMException | Use Doctrine\ORM\Exception\ORMException for catch and instanceof |
| 27 | ORMException::missingMappingDriverImpl() | Use Doctrine\ORM\Exception\MissingMappingDriverImplementation |
| 40 | ORMException::namedQueryNotFound() | Use Doctrine\ORM\Exception\NamedQueryNotFound |
| 52 | ORMException::namedNativeQueryNotFound() | Use Doctrine\ORM\Exception\NamedQueryNotFound |
| 64 | ORMException::unrecognizedField() | Use Doctrine\ORM\Persisters\Exception\UnrecognizedField |
| 79 | ORMException::unexpectedAssociationValue() | Use Doctrine\ORM\Exception\UnexpectedAssociationValue |
| 92 | ORMException::invalidOrientation() | Use Doctrine\ORM\Persisters\Exception\InvalidOrientation |
| 102 | ORMException::entityManagerClosed() | Use Doctrine\ORM\Exception\EntityManagerClosed |
| 114 | ORMException::invalidHydrationMode() | Use Doctrine\ORM\Exception\InvalidHydrationMode |
| 124 | ORMException::mismatchedEventManager() | Use Doctrine\ORM\Exception\MismatchedEventManager |
| 136 | ORMException::findByRequiresParameter() | Use Doctrine\ORM\Repository\Exception\InvalidMagicMethodCall::onMissingParameter() |
| 150 | ORMException::invalidMagicCall() | Doctrine\ORM\Repository\Exception\InvalidFindByCall |
| 166 | ORMException::invalidFindByInverseAssociation() | Use Doctrine\ORM\Repository\Exception\InvalidFindByCall::fromInverseSideUsage() |
| 179 | ORMException::invalidResultCacheDriver() | Use Doctrine\ORM\Cache\Exception\InvalidResultCacheDriver |
| 189 | ORMException::notSupported() | Doctrine\ORM\Tools\Exception\NotSupported |
| 199 | ORMException::queryCacheNotConfigured() | Use Doctrine\ORM\Cache\Exception\QueryCacheNotConfigured |
| 209 | ORMException::metadataCacheNotConfigured() | Use Doctrine\ORM\Cache\Exception\MetadataCacheNotConfigured |
| 219 | ORMException::queryCacheUsesNonPersistentCache() | Use Doctrine\ORM\Cache\Exception\QueryCacheUsesNonPersistentCache |
| 229 | ORMException::metadataCacheUsesNonPersistentCache() | Use Doctrine\ORM\Cache\Exception\MetadataCacheUsesNonPersistentCache |
| 239 | ORMException::proxyClassesAlwaysRegenerating() | Use Doctrine\ORM\Exception\ProxyClassesAlwaysRegenerating |
| 251 | ORMException::unknownEntityNamespace() | Use Doctrine\ORM\Exception\UnknownEntityNamespace |
| 265 | ORMException::invalidEntityRepository() | Use Doctrine\ORM\Exception\InvalidEntityRepository |
| 282 | ORMException::missingIdentifierField() | Use Doctrine\ORM\Exception\MissingIdentifierField |
| 295 | ORMException::unrecognizedIdentifierFields() | Use Doctrine\ORM\Exception\UnrecognizedIdentifierFields |
| 308 | ORMException::cantUseInOperatorOnCompositeKeys() | Use Doctrine\ORM\Persisters\Exception\CantUseInOperatorOnCompositeKeys |
Autoloader.php
| Line | Element | Reason |
|---|---|---|
| 12 | Autoloader | use \Doctrine\Common\Proxy\Autoloader instead |
Proxy.php
| Line | Element | Reason |
|---|---|---|
| 14 | Proxy | This interface is being removed from the ORM and won't have any replacement, proxies will no longer implement it. |
ProxyFactory.php
| Line | Element | Reason |
|---|---|---|
| 25 | ProxyFactory | This class is being removed from the ORM and won't have any replacement |
IndexBy.php
| Line | Element | Reason |
|---|---|---|
| 22 | IndexBy::$simpleStateFieldPathExpression |
Query.php
| Line | Element | Reason |
|---|---|---|
| 474 | Query::setQueryCacheDriver() | Call setQueryCache() instead. |
| 522 | Query::getQueryCacheDriver() | |
| 713 | Query::iterate() |
QueryBuilder.php
| Line | Element | Reason |
|---|---|---|
| 416 | QueryBuilder::getRootAlias() | Please use $qb->getRootAliases() instead. |
ConvertDoctrine1SchemaCommand.php
| Line | Element | Reason |
|---|---|---|
| 35 | ConvertDoctrine1SchemaCommand | This class is being removed from the ORM and won't have any replacement |
GenerateEntitiesCommand.php
| Line | Element | Reason |
|---|---|---|
| 29 | GenerateEntitiesCommand | This class is being removed from the ORM and won't have any replacement |
GenerateRepositoriesCommand.php
| Line | Element | Reason |
|---|---|---|
| 28 | GenerateRepositoriesCommand | This class is being removed from the ORM and won't have any replacement |
EntityGenerator.php
| Line | Element | Reason |
|---|---|---|
| 92 | EntityGenerator | This class is being removed from the ORM and won't have any replacement |
EntityRepositoryGenerator.php
| Line | Element | Reason |
|---|---|---|
| 32 | EntityRepositoryGenerator | This class is being removed from the ORM and won't have any replacement |
ClassMetadataExporter.php
| Line | Element | Reason |
|---|---|---|
| 17 | ClassMetadataExporter | This class is being removed from the ORM and won't have any replacement |
AbstractExporter.php
| Line | Element | Reason |
|---|---|---|
| 28 | AbstractExporter | This class is being removed from the ORM and won't have any replacement |
AnnotationExporter.php
| Line | Element | Reason |
|---|---|---|
| 20 | AnnotationExporter | This class is being removed from the ORM and won't have any replacement |
PhpExporter.php
| Line | Element | Reason |
|---|---|---|
| 27 | PhpExporter | This class is being removed from the ORM and won't have any replacement |
XmlExporter.php
| Line | Element | Reason |
|---|---|---|
| 25 | XmlExporter | This class is being removed from the ORM and won't have any replacement |
YamlExporter.php
| Line | Element | Reason |
|---|---|---|
| 20 | YamlExporter | This class is being removed from the ORM and won't have any replacement |
ExportException.php
| Line | Element | Reason |
|---|---|---|
| 14 | ExportException | This class is being removed from the ORM and won't have any replacement |
UnitOfWork.php
| Line | Element | Reason |
|---|---|---|
| 1910 | UnitOfWork::merge() | This method is being removed from the ORM and won't have any replacement |
Version.php
| Line | Element | Reason |
|---|---|---|
| 18 | Version | This class is being removed from the ORM and won't have any replacement |
PersistentObject.php
| Line | Element | Reason |
|---|---|---|
| 49 | PersistentObject | Deprecated |
LifecycleEventArgs.php
| Line | Element | Reason |
|---|---|---|
| 36 | LifecycleEventArgs::getEntity() |
AbstractClassMetadataFactory.php
| Line | Element | Reason |
|---|---|---|
| 74 | AbstractClassMetadataFactory::setCacheDriver() | setCacheDriver was deprecated in doctrine/persistence 2.2 and will be removed in 3.0. Use setCache instead |
| 101 | AbstractClassMetadataFactory::getCacheDriver() | getCacheDriver was deprecated in doctrine/persistence 2.2 and will be removed in 3.0. |
ObjectManager.php
| Line | Element | Reason |
|---|---|---|
| 67 | ObjectManager::merge() | Merge operation is deprecated and will be removed in Persistence 2.0. Merging should be part of the business domain of an application rather than a generic operation of ObjectManager. |
FileNotWritableException.php
| Line | Element | Reason |
|---|---|---|
| 21 | FileNotWritableException::fromInvalidMoveOperation() | |
| 34 | FileNotWritableException::fromNotWritableDirectory() |
RemoteObjectException.php
| Line | Element | Reason |
|---|---|---|
| 14 | RemoteObjectException | this exception is not in use anymore, and should not be relied upon |
FallbackValueHolderInterface.php
| Line | Element | Reason |
|---|---|---|
| 12 | FallbackValueHolderInterface | this interface is not in use anymore, and should not be relied upon |
SmartReferenceInterface.php
| Line | Element | Reason |
|---|---|---|
| 12 | SmartReferenceInterface | this interface is not in use anymore, and should not be relied upon |
Properties.php
| Line | Element | Reason |
|---|---|---|
| 91 | Properties::onlyPropertiesThatCanBeUnset() | Since PHP 7.4.1, all properties can be unset, regardless if typed or not |
AuthorTag.php
| Line | Element | Reason |
|---|---|---|
| 47 | AuthorTag::fromReflection() | Deprecated in 2.3. Use TagManager::createTagFromReflection() instead |
LicenseTag.php
| Line | Element | Reason |
|---|---|---|
| 47 | LicenseTag::fromReflection() | Deprecated in 2.3. Use TagManager::createTagFromReflection() instead |
ParamTag.php
| Line | Element | Reason |
|---|---|---|
| 42 | ParamTag::fromReflection() | Deprecated in 2.3. Use TagManager::createTagFromReflection() instead |
| 80 | ParamTag::setDatatype() | Deprecated in 2.3. Use setTypes() instead |
| 89 | ParamTag::getDatatype() | Deprecated in 2.3. Use getTypes() or getTypesAsString() instead |
| 99 | ParamTag::setParamName() | Deprecated in 2.3. Use setVariableName() instead |
| 108 | ParamTag::getParamName() | Deprecated in 2.3. Use getVariableName() instead |
ReturnTag.php
| Line | Element | Reason |
|---|---|---|
| 21 | ReturnTag::fromReflection() | Deprecated in 2.3. Use TagManager::createTagFromReflection() instead |
| 41 | ReturnTag::setDatatype() | Deprecated in 2.3. Use setTypes() instead |
| 50 | ReturnTag::getDatatype() | Deprecated in 2.3. Use getTypes() or getTypesAsString() instead |
Tag.php
| Line | Element | Reason |
|---|---|---|
| 17 | Tag | Deprecated in 2.3. Use GenericTag instead |
| 24 | Tag::fromReflection() | Deprecated in 2.3. Use TagManager::createTagFromReflection() instead |
| 36 | Tag::setDescription() | Deprecated in 2.3. Use GenericTag::setContent() instead |
| 45 | Tag::getDescription() | Deprecated in 2.3. Use GenericTag::getContent() instead |
MethodTag.php
| Line | Element | Reason |
|---|---|---|
| 83 | MethodTag::getReturnType() | use getTypes instead |
ParamTag.php
| Line | Element | Reason |
|---|---|---|
| 71 | ParamTag::getType() | use getTypes instead |
PropertyTag.php
| Line | Element | Reason |
|---|---|---|
| 69 | PropertyTag::getType() | use getTypes instead |
ReturnTag.php
| Line | Element | Reason |
|---|---|---|
| 58 | ReturnTag::getType() | use getTypes instead |
ThrowsTag.php
| Line | Element | Reason |
|---|---|---|
| 57 | ThrowsTag::getType() | use getTypes instead |
ElasticaFormatter.php
| Line | Element | Reason |
|---|---|---|
| 66 | ElasticaFormatter::getType() | since Elastica 7 type has no effect |
DateIntervalFilter.php
| Line | Element | Reason |
|---|---|---|
| 13 | DateIntervalFilter | Will be removed in 2.0. This filter will no longer be necessary in PHP 7.1+. |
SplDoublyLinkedList.php
| Line | Element | Reason |
|---|---|---|
| 8 | SplDoublyLinkedList | Use SplDoublyLinkedListFilter instead. |
Param.php
| Line | Element | Reason |
|---|---|---|
| 72 | Param::setTypeHint() | Use setType() instead |
Comment.php
| Line | Element | Reason |
|---|---|---|
| 107 | Comment::getLine() | Use getStartLine() instead |
| 118 | Comment::getFilePos() | Use getStartFilePos() instead |
| 129 | Comment::getTokenPos() | Use getStartTokenPos() instead |
StaticMethod.php
| Line | Element | Reason |
|---|---|---|
| 19 | StaticMethod | This contract is totally covered by Tag contract. Every class using StaticMethod also use Tag |
ArgumentNode.php
| Line | Element | Reason |
|---|---|---|
| 99 | ArgumentNode::getTypeHint() | use getArgumentTypeNode instead |
| 110 | ArgumentNode::setTypeHint() | use setArgumentTypeNode instead |
| 119 | ArgumentNode::isNullable() | use getArgumentTypeNode instead |
| 128 | ArgumentNode::setAsNullable() | use getArgumentTypeNode instead |
MethodNode.php
| Line | Element | Reason |
|---|---|---|
| 112 | MethodNode::hasReturnType() | use getReturnTypeNode instead |
| 126 | MethodNode::setReturnType() | use setReturnTypeNode instead |
| 135 | MethodNode::setNullableReturnType() | use setReturnTypeNode instead |
| 149 | MethodNode::getReturnType() | use getReturnTypeNode instead |
| 168 | MethodNode::hasNullableReturnType() | use getReturnTypeNode instead |
ReturnTypeNode.php
| Line | Element | Reason |
|---|---|---|
| 35 | ReturnTypeNode::isVoid() | use hasReturnStatement |
TypeHintReference.php
| Line | Element | Reason |
|---|---|---|
| 11 | TypeHintReference | in favour of Node\TypeNodeAbstract |
MethodProphecy.php
| Line | Element | Reason |
|---|---|---|
| 453 | MethodProphecy::shouldNotBeenCalled() |
Functions.php
| Line | Element | Reason |
|---|---|---|
| 778 | assertNotIsReadable() | https://github.com/sebastianbergmann/phpunit/issues/4062 |
| 833 | assertNotIsWritable() | https://github.com/sebastianbergmann/phpunit/issues/4065 |
| 888 | assertDirectoryNotExists() | https://github.com/sebastianbergmann/phpunit/issues/4068 |
| 943 | assertDirectoryNotIsReadable() | https://github.com/sebastianbergmann/phpunit/issues/4071 |
| 998 | assertDirectoryNotIsWritable() | https://github.com/sebastianbergmann/phpunit/issues/4074 |
| 1053 | assertFileNotExists() | https://github.com/sebastianbergmann/phpunit/issues/4077 |
| 1108 | assertFileNotIsReadable() | https://github.com/sebastianbergmann/phpunit/issues/4080 |
| 1163 | assertFileNotIsWritable() | https://github.com/sebastianbergmann/phpunit/issues/4083 |
| 2020 | assertRegExp() | https://github.com/sebastianbergmann/phpunit/issues/4086 |
| 2058 | assertNotRegExp() | https://github.com/sebastianbergmann/phpunit/issues/4089 |
| 2441 | assertEqualXMLStructure() | https://github.com/sebastianbergmann/phpunit/issues/4091 |
Assert.php
| Line | Element | Reason |
|---|---|---|
| 762 | Assert::assertNotIsReadable() | https://github.com/sebastianbergmann/phpunit/issues/4062 |
| 801 | Assert::assertNotIsWritable() | https://github.com/sebastianbergmann/phpunit/issues/4065 |
| 840 | Assert::assertDirectoryNotExists() | https://github.com/sebastianbergmann/phpunit/issues/4068 |
| 881 | Assert::assertDirectoryNotIsReadable() | https://github.com/sebastianbergmann/phpunit/issues/4071 |
| 923 | Assert::assertDirectoryNotIsWritable() | https://github.com/sebastianbergmann/phpunit/issues/4074 |
| 963 | Assert::assertFileNotExists() | https://github.com/sebastianbergmann/phpunit/issues/4077 |
| 1004 | Assert::assertFileNotIsReadable() | https://github.com/sebastianbergmann/phpunit/issues/4080 |
| 1046 | Assert::assertFileNotIsWritable() | https://github.com/sebastianbergmann/phpunit/issues/4083 |
| 1838 | Assert::assertRegExp() | https://github.com/sebastianbergmann/phpunit/issues/4086 |
| 1872 | Assert::assertNotRegExp() | https://github.com/sebastianbergmann/phpunit/issues/4089 |
| 2265 | Assert::assertEqualXMLStructure() | https://github.com/sebastianbergmann/phpunit/issues/4091 |
MockBuilder.php
| Line | Element | Reason |
|---|---|---|
| 209 | MockBuilder::setMethods() | https://github.com/sebastianbergmann/phpunit/pull/3687 |
| 310 | MockBuilder::setMethodsExcept() | https://github.com/sebastianbergmann/phpunit/pull/3687 |
TestCase.php
| Line | Element | Reason |
|---|---|---|
| 422 | TestCase::at() | https://github.com/sebastianbergmann/phpunit/issues/4297 |
| 139 | TestCase::$backupGlobalsBlacklist | Use $backupGlobalsExcludeList instead |
| 156 | TestCase::$backupStaticAttributesBlacklist | Use $backupStaticAttributesExcludeList instead |
TestListener.php
| Line | Element | Reason |
|---|---|---|
| 18 | TestListener | Use the |
| 25 | TestListener::addError() | Use |
| 32 | TestListener::addWarning() | Use |
| 39 | TestListener::addFailure() | Use |
| 46 | TestListener::addIncompleteTest() | Use |
| 53 | TestListener::addRiskyTest() | Use |
| 60 | TestListener::addSkippedTest() | Use |
| 77 | TestListener::startTest() | Use |
| 84 | TestListener::endTest() | Use |
TestListenerDefaultImplementation.php
| Line | Element | Reason |
|---|---|---|
| 18 | TestListenerDefaultImplementation | The |
TestSuiteLoader.php
| Line | Element | Reason |
|---|---|---|
| 19 | TestSuiteLoader | see https://github.com/sebastianbergmann/phpunit/issues/4039 |
Command.php
| Line | Element | Reason |
|---|---|---|
| 424 | Command::handleLoader() | see https://github.com/sebastianbergmann/phpunit/issues/4039 |
Blacklist.php
| Line | Element | Reason |
|---|---|---|
| 17 | Blacklist | Use ExcludeList instead |
FalseType.php
| Line | Element | Reason |
|---|---|---|
| 42 | FalseType::getReturnTypeDeclaration() |
NullType.php
| Line | Element | Reason |
|---|---|---|
| 34 | NullType::getReturnTypeDeclaration() |
Type.php
| Line | Element | Reason |
|---|---|---|
| 91 | Type::getReturnTypeDeclaration() |
TypeName.php
| Line | Element | Reason |
|---|---|---|
| 84 | TypeName::getNamespaceName() | Use namespaceName() instead |
| 94 | TypeName::getSimpleName() | Use simpleName() instead |
| 104 | TypeName::getQualifiedName() | Use qualifiedName() instead |
UnionType.php
| Line | Element | Reason |
|---|---|---|
| 55 | UnionType::getReturnTypeDeclaration() |
UnknownType.php
| Line | Element | Reason |
|---|---|---|
| 34 | UnknownType::getReturnTypeDeclaration() |
Method.php
| Line | Element | Reason |
|---|---|---|
| 24 | Method | since version 5.2 |
Route.php
| Line | Element | Reason |
|---|---|---|
| 24 | Route | since version 5.2 |
AnnotatedRouteControllerLoader.php
| Line | Element | Reason |
|---|---|---|
| 31 | AnnotatedRouteControllerLoader | since version 5.2 |
Client.php
| Line | Element | Reason |
|---|---|---|
| 32 | Client | since Symfony 4.3, use "\Symfony\Component\BrowserKit\AbstractBrowser" instead |
Response.php
| Line | Element | Reason |
|---|---|---|
| 74 | Response::buildHeader() | since Symfony 4.3 |
| 98 | Response::getStatus() | since Symfony 4.3, use getStatusCode() instead |
DoctrineAdapter.php
| Line | Element | Reason |
|---|---|---|
| 22 | DoctrineAdapter | Since Symfony 5.4, use Doctrine\Common\Cache\Psr6\CacheAdapter instead |
PdoAdapter.php
| Line | Element | Reason |
|---|---|---|
| 317 | PdoAdapter::configureSchema() | since symfony/cache 5.4 use DoctrineDbalAdapter instead |
DoctrineProvider.php
| Line | Element | Reason |
|---|---|---|
| 23 | DoctrineProvider | Use Doctrine\Common\Cache\Psr6\DoctrineProvider instead |
BaseNode.php
| Line | Element | Reason |
|---|---|---|
| 292 | BaseNode::getDeprecationMessage() | since Symfony 5.1, use "getDeprecation()" instead. |
Application.php
| Line | Element | Reason |
|---|---|---|
| 801 | Application::renderException() | since Symfony 4.4, use "renderThrowable()" instead |
| 844 | Application::doRenderException() | since Symfony 4.4, use "doRenderThrowable()" instead |
TableStyle.php
| Line | Element | Reason |
|---|---|---|
| 113 | TableStyle::setHorizontalBorderChar() | |
| 127 | TableStyle::getHorizontalBorderChar() | |
| 169 | TableStyle::setVerticalBorderChar() | |
| 183 | TableStyle::getVerticalBorderChar() | |
| 271 | TableStyle::setCrossingChar() |
BufferingLogger.php
| Line | Element | Reason |
|---|---|---|
| 25 | BufferingLogger | since Symfony 4.4, use Symfony\Component\ErrorHandler\BufferingLogger instead. |
Debug.php
| Line | Element | Reason |
|---|---|---|
| 23 | Debug | since Symfony 4.4, use Symfony\Component\ErrorHandler\Debug instead. |
DebugClassLoader.php
| Line | Element | Reason |
|---|---|---|
| 32 | DebugClassLoader | since Symfony 4.4, use Symfony\Component\ErrorHandler\DebugClassLoader instead. |
ErrorHandler.php
| Line | Element | Reason |
|---|---|---|
| 55 | ErrorHandler | since Symfony 4.4, use Symfony\Component\ErrorHandler\ErrorHandler instead. |
ClassNotFoundException.php
| Line | Element | Reason |
|---|---|---|
| 23 | ClassNotFoundException | since Symfony 4.4, use Symfony\Component\ErrorHandler\Error\ClassNotFoundError instead. |
FatalErrorException.php
| Line | Element | Reason |
|---|---|---|
| 23 | FatalErrorException | since Symfony 4.4, use Symfony\Component\ErrorHandler\Error\FatalError instead. |
FatalThrowableError.php
| Line | Element | Reason |
|---|---|---|
| 23 | FatalThrowableError | since Symfony 4.4 |
FlattenException.php
| Line | Element | Reason |
|---|---|---|
| 26 | FlattenException | since Symfony 4.4, use Symfony\Component\ErrorHandler\Exception\FlattenException instead. |
| 242 | FlattenException::setTraceFromException() | since 4.1, use setTraceFromThrowable() instead. |
OutOfMemoryException.php
| Line | Element | Reason |
|---|---|---|
| 23 | OutOfMemoryException | since Symfony 4.4, use Symfony\Component\ErrorHandler\Error\OutOfMemoryError instead. |
SilencedErrorContext.php
| Line | Element | Reason |
|---|---|---|
| 23 | SilencedErrorContext | since Symfony 4.4, use Symfony\Component\ErrorHandler\Exception\SilencedErrorContext instead. |
UndefinedFunctionException.php
| Line | Element | Reason |
|---|---|---|
| 23 | UndefinedFunctionException | since Symfony 4.4, use Symfony\Component\ErrorHandler\Error\UndefinedFunctionError instead. |
UndefinedMethodException.php
| Line | Element | Reason |
|---|---|---|
| 23 | UndefinedMethodException | since Symfony 4.4, use Symfony\Component\ErrorHandler\Error\UndefinedMethodError instead. |
ExceptionHandler.php
| Line | Element | Reason |
|---|---|---|
| 36 | ExceptionHandler | since Symfony 4.4, use Symfony\Component\ErrorHandler\ErrorHandler instead. |
ClassNotFoundFatalErrorHandler.php
| Line | Element | Reason |
|---|---|---|
| 29 | ClassNotFoundFatalErrorHandler | since Symfony 4.4, use Symfony\Component\ErrorHandler\FatalErrorHandler\ClassNotFoundFatalErrorHandler instead. |
FatalErrorHandlerInterface.php
| Line | Element | Reason |
|---|---|---|
| 25 | FatalErrorHandlerInterface | since Symfony 4.4, use Symfony\Component\ErrorHandler\FatalErrorHandler\FatalErrorHandlerInterface instead. |
UndefinedFunctionFatalErrorHandler.php
| Line | Element | Reason |
|---|---|---|
| 26 | UndefinedFunctionFatalErrorHandler | since Symfony 4.4, use Symfony\Component\ErrorHandler\ErrorEnhancer\UndefinedFunctionErrorEnhancer instead. |
UndefinedMethodFatalErrorHandler.php
| Line | Element | Reason |
|---|---|---|
| 26 | UndefinedMethodFatalErrorHandler | since Symfony 4.4, use Symfony\Component\ErrorHandler\ErrorEnhancer\UndefinedMethodErrorEnhancer instead. |
Alias.php
| Line | Element | Reason |
|---|---|---|
| 59 | Alias::setPrivate() | since Symfony 5.2, use setPublic() instead |
| 133 | Alias::getDeprecationMessage() | since Symfony 5.1, use "getDeprecation()" instead. |
ResolvePrivatesPass.php
| Line | Element | Reason |
|---|---|---|
| 23 | ResolvePrivatesPass | since Symfony 5.2 |
Definition.php
| Line | Element | Reason |
|---|---|---|
| 608 | Definition::setPrivate() | since Symfony 5.2, use setPublic() instead |
| 771 | Definition::getDeprecationMessage() | since Symfony 5.1, use "getDeprecation()" instead. |
ContainerConfigurator.php
| Line | Element | Reason |
|---|---|---|
| 111 | ref() | since Symfony 5.1, use service() instead. |
| 131 | inline() | since Symfony 5.1, use inline_service() instead. |
RegistryInterface.php
| Line | Element | Reason |
|---|---|---|
| 24 | RegistryInterface | since Symfony 4.4, use Doctrine\Persistence\ManagerRegistry instead |
FlattenException.php
| Line | Element | Reason |
|---|---|---|
| 308 | FlattenException::setTraceFromException() | since 4.1, use setTraceFromThrowable() instead. |
TraceableEventDispatcher.php
| Line | Element | Reason |
|---|---|---|
| 315 | TraceableEventDispatcher::preDispatch() | since Symfony 4.3, will be removed in 5.0, use beforeDispatch instead |
| 322 | TraceableEventDispatcher::postDispatch() | since Symfony 4.3, will be removed in 5.0, use afterDispatch instead |
TraceableEventDispatcherInterface.php
| Line | Element | Reason |
|---|---|---|
| 23 | TraceableEventDispatcherInterface | since Symfony 4.1 |
Event.php
| Line | Element | Reason |
|---|---|---|
| 17 | Event | since Symfony 4.3, use "Symfony\Contracts\EventDispatcher\Event" instead |
| 26 | Event::isPropagationStopped() | since Symfony 4.3, use "Symfony\Contracts\EventDispatcher\Event" instead |
| 34 | Event::stopPropagation() | since Symfony 4.3, use "Symfony\Contracts\EventDispatcher\Event" instead |
EventDispatcher.php
| Line | Element | Reason |
|---|---|---|
| 258 | EventDispatcher::doDispatch() | since Symfony 4.3, use callListeners() instead |
Comparator.php
| Line | Element | Reason |
|---|---|---|
| 49 | Comparator::setTarget() | set the target via the constructor instead |
| 73 | Comparator::setOperator() | set the operator via the constructor instead |
UnpackCommand.php
| Line | Element | Reason |
|---|---|---|
| 29 | UnpackCommand | since Flex 1.4 |
AbstractTypeExtension.php
| Line | Element | Reason |
|---|---|---|
| 55 | AbstractTypeExtension::getExtendedType() | since Symfony 4.2, use getExtendedTypes() instead. |
CountryType.php
| Line | Element | Reason |
|---|---|---|
| 81 | CountryType::loadChoiceList() | since Symfony 4.1 |
| 97 | CountryType::loadChoicesForValues() | since Symfony 4.1 |
| 115 | CountryType::loadValuesForChoices() | since Symfony 4.1 |
| 35 | CountryType::$choiceList | since Symfony 4.1 |
CurrencyType.php
| Line | Element | Reason |
|---|---|---|
| 78 | CurrencyType::loadChoiceList() | since Symfony 4.1 |
| 94 | CurrencyType::loadChoicesForValues() | since Symfony 4.1 |
| 112 | CurrencyType::loadValuesForChoices() | since Symfony 4.1 |
| 35 | CurrencyType::$choiceList | since Symfony 4.1 |
LanguageType.php
| Line | Element | Reason |
|---|---|---|
| 81 | LanguageType::loadChoiceList() | since Symfony 4.1 |
| 97 | LanguageType::loadChoicesForValues() | since Symfony 4.1 |
| 115 | LanguageType::loadValuesForChoices() | since Symfony 4.1 |
| 35 | LanguageType::$choiceList | since Symfony 4.1 |
LocaleType.php
| Line | Element | Reason |
|---|---|---|
| 78 | LocaleType::loadChoiceList() | since Symfony 4.1 |
| 94 | LocaleType::loadChoicesForValues() | since Symfony 4.1 |
| 112 | LocaleType::loadValuesForChoices() | since Symfony 4.1 |
| 35 | LocaleType::$choiceList | since Symfony 4.1 |
TemplatingExtension.php
| Line | Element | Reason |
|---|---|---|
| 29 | TemplatingExtension | since version 4.3, to be removed in 5.0; use Twig instead. |
TemplatingRendererEngine.php
| Line | Element | Reason |
|---|---|---|
| 25 | TemplatingRendererEngine | since version 4.3, to be removed in 5.0; use Twig instead. |
FormTypeExtensionInterface.php
| Line | Element | Reason |
|---|---|---|
| 62 | FormTypeExtensionInterface::getExtendedType() | since Symfony 4.2, use getExtendedTypes() instead. |
TemplateFinder.php
| Line | Element | Reason |
|---|---|---|
| 29 | TemplateFinder | since version 4.3, to be removed in 5.0; use Twig instead. |
TemplateFinderInterface.php
| Line | Element | Reason |
|---|---|---|
| 23 | TemplateFinderInterface | since version 4.3, to be removed in 5.0; use Twig instead. |
TemplatePathsCacheWarmer.php
| Line | Element | Reason |
|---|---|---|
| 27 | TemplatePathsCacheWarmer | since version 4.3, to be removed in 5.0; use Twig instead. |
Client.php
| Line | Element | Reason |
|---|---|---|
| 28 | Client | since Symfony 4.3, use KernelBrowser instead. |
ContainerAwareCommand.php
| Line | Element | Reason |
|---|---|---|
| 27 | ContainerAwareCommand | since Symfony 4.2, use Command instead. |
Controller.php
| Line | Element | Reason |
|---|---|---|
| 26 | Controller | since Symfony 4.2, use "Symfony\Bundle\FrameworkBundle\Controller\AbstractController" instead. |
ControllerNameParser.php
| Line | Element | Reason |
|---|---|---|
| 26 | ControllerNameParser | since Symfony 4.1 |
ControllerResolver.php
| Line | Element | Reason |
|---|---|---|
| 29 | ControllerResolver::$parser | since Symfony 4.4 |
RequestDataCollector.php
| Line | Element | Reason |
|---|---|---|
| 25 | RequestDataCollector | since Symfony 4.1 |
CacheCollectorPass.php
| Line | Element | Reason |
|---|---|---|
| 25 | CacheCollectorPass | since Symfony 4.2, use Symfony\Component\Cache\DependencyInjection\CacheCollectorPass instead. |
CachePoolClearerPass.php
| Line | Element | Reason |
|---|---|---|
| 23 | CachePoolClearerPass | since version 4.2, use Symfony\Component\Cache\DependencyInjection\CachePoolClearerPass instead. |
CachePoolPass.php
| Line | Element | Reason |
|---|---|---|
| 23 | CachePoolPass | since version 4.2, use Symfony\Component\Cache\DependencyInjection\CachePoolPass instead. |
CachePoolPrunerPass.php
| Line | Element | Reason |
|---|---|---|
| 23 | CachePoolPrunerPass | since Symfony 4.2, use Symfony\Component\Cache\DependencyInjection\CachePoolPrunerPass instead. |
TemplatingPass.php
| Line | Element | Reason |
|---|---|---|
| 24 | TemplatingPass | since version 4.3, to be removed in 5.0; use Twig instead. |
ResolveControllerNameSubscriber.php
| Line | Element | Reason |
|---|---|---|
| 28 | ResolveControllerNameSubscriber | since Symfony 4.1 |
DelegatingLoader.php
| Line | Element | Reason |
|---|---|---|
| 34 | DelegatingLoader::$parser | since Symfony 4.4 |
RedirectableUrlMatcher.php
| Line | Element | Reason |
|---|---|---|
| 23 | RedirectableUrlMatcher | since Symfony 4.3 |
DelegatingEngine.php
| Line | Element | Reason |
|---|---|---|
| 27 | DelegatingEngine | since version 4.3, to be removed in 5.0; use Twig instead. |
EngineInterface.php
| Line | Element | Reason |
|---|---|---|
| 26 | EngineInterface | since version 4.3, to be removed in 5.0; use Twig instead. |
GlobalVariables.php
| Line | Element | Reason |
|---|---|---|
| 28 | GlobalVariables | since version 4.3, to be removed in 5.0; use Twig instead. |
ActionsHelper.php
| Line | Element | Reason |
|---|---|---|
| 27 | ActionsHelper | since version 4.3, to be removed in 5.0; use Twig instead. |
AssetsHelper.php
| Line | Element | Reason |
|---|---|---|
| 26 | AssetsHelper | since version 4.3, to be removed in 5.0; use Twig instead. |
FormHelper.php
| Line | Element | Reason |
|---|---|---|
| 28 | FormHelper | since version 4.3, to be removed in 5.0; use Twig instead. |
RequestHelper.php
| Line | Element | Reason |
|---|---|---|
| 27 | RequestHelper | since version 4.3, to be removed in 5.0; use Twig instead. |
RouterHelper.php
| Line | Element | Reason |
|---|---|---|
| 26 | RouterHelper | since version 4.3, to be removed in 5.0; use Twig instead. |
SessionHelper.php
| Line | Element | Reason |
|---|---|---|
| 27 | SessionHelper | since version 4.3, to be removed in 5.0; use Twig instead. |
StopwatchHelper.php
| Line | Element | Reason |
|---|---|---|
| 26 | StopwatchHelper | since version 4.3, to be removed in 5.0; use Twig instead. |
TranslatorHelper.php
| Line | Element | Reason |
|---|---|---|
| 26 | TranslatorHelper | since version 4.3, to be removed in 5.0; use Twig instead. |
| 63 | TranslatorHelper::transChoice() | since Symfony 4.2, use the trans() method instead with a %count% parameter |
FilesystemLoader.php
| Line | Element | Reason |
|---|---|---|
| 28 | FilesystemLoader | since version 4.3, to be removed in 5.0; use Twig instead. |
TemplateLocator.php
| Line | Element | Reason |
|---|---|---|
| 26 | TemplateLocator | since version 4.3, to be removed in 5.0; use Twig instead. |
PhpEngine.php
| Line | Element | Reason |
|---|---|---|
| 29 | PhpEngine | since version 4.3, to be removed in 5.0; use Twig instead. |
TemplateFilenameParser.php
| Line | Element | Reason |
|---|---|---|
| 27 | TemplateFilenameParser | since version 4.3, to be removed in 5.0; use Twig instead. |
TemplateNameParser.php
| Line | Element | Reason |
|---|---|---|
| 29 | TemplateNameParser | since version 4.3, to be removed in 5.0; use Twig instead. |
TemplateReference.php
| Line | Element | Reason |
|---|---|---|
| 25 | TemplateReference | since version 4.3, to be removed in 5.0; use Twig instead. |
TimedPhpEngine.php
| Line | Element | Reason |
|---|---|---|
| 28 | TimedPhpEngine | since version 4.3, to be removed in 5.0; use Twig instead. |
BinaryFileResponse.php
| Line | Element | Reason |
|---|---|---|
| 71 | BinaryFileResponse::create() | since Symfony 5.2, use __construct() instead. |
JsonResponse.php
| Line | Element | Reason |
|---|---|---|
| 73 | JsonResponse::create() | since Symfony 5.1, use __construct() instead. |
RedirectResponse.php
| Line | Element | Reason |
|---|---|---|
| 59 | RedirectResponse::create() | since Symfony 5.1, use __construct() instead. |
RequestStack.php
| Line | Element | Reason |
|---|---|---|
| 90 | RequestStack::getMasterRequest() | since symfony/http-foundation 5.3, use getMainRequest() instead |
Response.php
| Line | Element | Reason |
|---|---|---|
| 235 | Response::create() | since Symfony 5.1, use __construct() instead. |
NamespacedAttributeBag.php
| Line | Element | Reason |
|---|---|---|
| 24 | NamespacedAttributeBag | since Symfony 5.3 |
StreamedResponse.php
| Line | Element | Reason |
|---|---|---|
| 53 | StreamedResponse::create() | since Symfony 5.1, use __construct() instead. |
Client.php
| Line | Element | Reason |
|---|---|---|
| 31 | Client | since Symfony 4.3, use HttpKernelBrowser instead. |
FileLocator.php
| Line | Element | Reason |
|---|---|---|
| 29 | FileLocator::$path | since Symfony 4.4 |
ConfigDataCollector.php
| Line | Element | Reason |
|---|---|---|
| 116 | ConfigDataCollector::getApplicationName() | since Symfony 4.2 |
| 126 | ConfigDataCollector::getApplicationVersion() | since Symfony 4.2 |
| 255 | ConfigDataCollector::getAppName() | since Symfony 4.2 |
DataCollector.php
| Line | Element | Reason |
|---|---|---|
| 44 | DataCollector::serialize() | since Symfony 4.3, store all the serialized state in the data property instead |
| 57 | DataCollector::unserialize() | since Symfony 4.3, store all the serialized state in the data property instead |
FilterControllerArgumentsEvent.php
| Line | Element | Reason |
|---|---|---|
| 20 | FilterControllerArgumentsEvent | since Symfony 4.3, use ControllerArgumentsEvent instead |
FilterControllerEvent.php
| Line | Element | Reason |
|---|---|---|
| 20 | FilterControllerEvent | since Symfony 4.3, use ControllerEvent instead |
FilterResponseEvent.php
| Line | Element | Reason |
|---|---|---|
| 21 | FilterResponseEvent | since Symfony 4.3, use ResponseEvent instead |
GetResponseEvent.php
| Line | Element | Reason |
|---|---|---|
| 19 | GetResponseEvent | since Symfony 4.3, use RequestEvent instead |
GetResponseForControllerResultEvent.php
| Line | Element | Reason |
|---|---|---|
| 20 | GetResponseForControllerResultEvent | since Symfony 4.3, use ViewEvent instead |
GetResponseForExceptionEvent.php
| Line | Element | Reason |
|---|---|---|
| 21 | GetResponseForExceptionEvent | since Symfony 4.3, use ExceptionEvent instead |
| 55 | GetResponseForExceptionEvent::getException() | since Symfony 4.4, use getThrowable instead |
| 67 | GetResponseForExceptionEvent::setException() | since Symfony 4.4, use setThrowable instead |
PostResponseEvent.php
| Line | Element | Reason |
|---|---|---|
| 21 | PostResponseEvent | since Symfony 4.3, use TerminateEvent instead |
ExceptionListener.php
| Line | Element | Reason |
|---|---|---|
| 30 | ExceptionListener | since Symfony 4.4, use ErrorListener instead |
SaveSessionListener.php
| Line | Element | Reason |
|---|---|---|
| 25 | SaveSessionListener | since Symfony 4.1, use AbstractSessionListener instead |
TranslatorListener.php
| Line | Element | Reason |
|---|---|---|
| 32 | TranslatorListener | since Symfony 4.3, use LocaleAwareListener instead |
Kernel.php
| Line | Element | Reason |
|---|---|---|
| 299 | Kernel::getName() | since Symfony 4.2 |
| 336 | Kernel::getRootDir() | since Symfony 4.2, use getProjectDir() instead |
| 888 | Kernel::serialize() | since Symfony 4.3 |
| 898 | Kernel::unserialize() | since Symfony 4.3 |
| 62 | Kernel::$rootDir | since Symfony 4.2 |
| 69 | Kernel::$name | since Symfony 4.2 |
KernelInterface.php
| Line | Element | Reason |
|---|---|---|
| 99 | KernelInterface::getName() | since Symfony 4.2 |
| 122 | KernelInterface::getRootDir() | since Symfony 4.2 |
Inflector.php
| Line | Element | Reason |
|---|---|---|
| 25 | Inflector | since Symfony 5.1, use Symfony\Component\String\Inflector\EnglishInflector instead. |
Intl.php
| Line | Element | Reason |
|---|---|---|
| 124 | Intl::getCurrencyBundle() | since Symfony 4.3, to be removed in 5.0. Use Currencies instead. |
| 146 | Intl::getLanguageBundle() | since Symfony 4.3, to be removed in 5.0. Use Languages or Scripts instead. |
| 172 | Intl::getLocaleBundle() | since Symfony 4.3, to be removed in 5.0. Use Locales instead. |
| 193 | Intl::getRegionBundle() | since Symfony 4.3, to be removed in 5.0. Use Countries instead. |
CurrencyBundleInterface.php
| Line | Element | Reason |
|---|---|---|
| 21 | CurrencyBundleInterface | since Symfony 4.3, to be removed in 5.0. |
LanguageBundleInterface.php
| Line | Element | Reason |
|---|---|---|
| 21 | LanguageBundleInterface | since Symfony 4.3, to be removed in 5.0. |
LocaleBundleInterface.php
| Line | Element | Reason |
|---|---|---|
| 21 | LocaleBundleInterface | since Symfony 4.3, to be removed in 5.0. |
RegionBundleInterface.php
| Line | Element | Reason |
|---|---|---|
| 21 | RegionBundleInterface | since Symfony 4.3, to be removed in 5.0. |
ResourceBundleInterface.php
| Line | Element | Reason |
|---|---|---|
| 21 | ResourceBundleInterface | since Symfony 4.3, to be removed in 5.0. |
MakerExtension.php
| Line | Element | Reason |
|---|---|---|
| 32 | MakerExtension::TEST_MAKER_DEPRECATION_MESSAGE | remove this block when removing make:unit-test and make:functional-test |
MakeFunctionalTest.php
| Line | Element | Reason |
|---|---|---|
| 34 | MakeFunctionalTest | since MakerBundle 1.29, use Symfony\Bundle\MakerBundle\Maker\MakeTest instead. |
MakeTest.php
| Line | Element | Reason |
|---|---|---|
| 61 | MakeTest::getCommandAliases() | remove this method when removing make:unit-test and make:functional-test |
| 212 | MakeTest::handleDeprecatedMakerCommands() |
MakeUnitTest.php
| Line | Element | Reason |
|---|---|---|
| 30 | MakeUnitTest | since MakerBundle 1.29, use Symfony\Bundle\MakerBundle\Maker\MakeTest instead. |
Address.php
| Line | Element | Reason |
|---|---|---|
| 135 | Address::fromString() | since Symfony 5.2, use "create()" instead. |
DebugHandlerPass.php
| Line | Element | Reason |
|---|---|---|
| 28 | DebugHandlerPass | since version 2.12, to be removed in 4.0. Use AddDebugLogProcessorPass in FrameworkBundle instead. |
OptionsResolverIntrospector.php
| Line | Element | Reason |
|---|---|---|
| 106 | OptionsResolverIntrospector::getDeprecationMessage() | since Symfony 5.1, use "getDeprecation()" instead. |
Normalizer.php
| Line | Element | Reason |
|---|---|---|
| 8 | Normalizer::NONE | since ICU 56 and removed in PHP 8 |
PhpProcess.php
| Line | Element | Reason |
|---|---|---|
| 66 | PhpProcess::setPhpBinary() | since Symfony 4.2, use the $php argument of the constructor instead. |
Process.php
| Line | Element | Reason |
|---|---|---|
| 1003 | Process::setCommandLine() | since Symfony 4.2. |
| 1226 | Process::inheritEnvironmentVariables() | since Symfony 4.4, env variables are always inherited |
RouteCollectionBuilder.php
| Line | Element | Reason |
|---|---|---|
| 28 | RouteCollectionBuilder | since Symfony 5.1, use RoutingConfigurator instead |
RouteCompiler.php
| Line | Element | Reason |
|---|---|---|
| 25 | RouteCompiler::REGEX_DELIMITER | since Symfony 5.1, to be removed in 6.0 |
SimpleFormFactory.php
| Line | Element | Reason |
|---|---|---|
| 24 | SimpleFormFactory | since Symfony 4.2, use Guard instead. |
SimplePreAuthenticationFactory.php
| Line | Element | Reason |
|---|---|---|
| 24 | SimplePreAuthenticationFactory | since Symfony 4.2, use Guard instead. |
SecurityUserValueResolver.php
| Line | Element | Reason |
|---|---|---|
| 31 | SecurityUserValueResolver |
LogoutUrlHelper.php
| Line | Element | Reason |
|---|---|---|
| 26 | LogoutUrlHelper | since version 4.3, to be removed in 5.0; use Twig instead. |
SecurityHelper.php
| Line | Element | Reason |
|---|---|---|
| 27 | SecurityHelper | since version 4.3, to be removed in 5.0; use Twig instead. |
SimpleAuthenticationProvider.php
| Line | Element | Reason |
|---|---|---|
| 29 | SimpleAuthenticationProvider | since Symfony 4.2, use Guard instead. |
SimpleAuthenticatorInterface.php
| Line | Element | Reason |
|---|---|---|
| 22 | SimpleAuthenticatorInterface | since Symfony 4.2, use Guard instead. |
TokenInterface.php
| Line | Element | Reason |
|---|---|---|
| 45 | TokenInterface::getRoles() | since Symfony 4.3, use the getRoleNames() method instead |
ExpressionVoter.php
| Line | Element | Reason |
|---|---|---|
| 64 | ExpressionVoter::addExpressionLanguageProvider() | since Symfony 4.1, register the provider directly on the injected ExpressionLanguage instance instead. |
Argon2iPasswordEncoder.php
| Line | Element | Reason |
|---|---|---|
| 26 | Argon2iPasswordEncoder | since Symfony 4.3, use SodiumPasswordEncoder instead |
BCryptPasswordEncoder.php
| Line | Element | Reason |
|---|---|---|
| 24 | BCryptPasswordEncoder | since Symfony 4.3, use NativePasswordEncoder instead |
Role.php
| Line | Element | Reason |
|---|---|---|
| 21 | Role | since Symfony 4.3, to be removed in 5.0. Use strings as roles instead. |
SwitchUserRole.php
| Line | Element | Reason |
|---|---|---|
| 24 | SwitchUserRole | since version 4.3, to be removed in 5.0. Use strings as roles instead. |
AdvancedUserInterface.php
| Line | Element | Reason |
|---|---|---|
| 39 | AdvancedUserInterface | since Symfony 4.1 |
LdapUserProvider.php
| Line | Element | Reason |
|---|---|---|
| 28 | LdapUserProvider | since Symfony 4.4, use "Symfony\Component\Ldap\Security\LdapUserProvider" instead |
SimpleAuthenticationHandler.php
| Line | Element | Reason |
|---|---|---|
| 34 | SimpleAuthenticationHandler | since Symfony 4.2, use Guard instead. |
SimpleFormAuthenticatorInterface.php
| Line | Element | Reason |
|---|---|---|
| 22 | SimpleFormAuthenticatorInterface | since Symfony 4.2, use Guard instead. |
SimplePreAuthenticatorInterface.php
| Line | Element | Reason |
|---|---|---|
| 22 | SimplePreAuthenticatorInterface | since Symfony 4.2, use Guard instead. |
ContextListener.php
| Line | Element | Reason |
|---|---|---|
| 90 | ContextListener::setLogoutOnUserChange() | since Symfony 4.1 |
ListenerInterface.php
| Line | Element | Reason |
|---|---|---|
| 23 | ListenerInterface | since Symfony 4.3, turn listeners into callables instead |
SimpleFormAuthenticationListener.php
| Line | Element | Reason |
|---|---|---|
| 39 | SimpleFormAuthenticationListener | since Symfony 4.2, use Guard instead. |
SimplePreAuthenticationListener.php
| Line | Element | Reason |
|---|---|---|
| 44 | SimplePreAuthenticationListener | since Symfony 4.2, use Guard instead. |
Firewall.php
| Line | Element | Reason |
|---|---|---|
| 136 | Firewall::handleRequest() | since Symfony 4.3, use callListeners instead |
XmlEncoder.php
| Line | Element | Reason |
|---|---|---|
| 221 | XmlEncoder::setRootNodeName() | since Symfony 4.2 |
| 235 | XmlEncoder::getRootNodeName() | since Symfony 4.2 |
| 57 | XmlEncoder::TYPE_CASE_ATTRIBUTES | The constant TYPE_CASE_ATTRIBUTES is deprecated since version 4.4 and will be removed in version 5. Use TYPE_CAST_ATTRIBUTES instead. |
AbstractNormalizer.php
| Line | Element | Reason |
|---|---|---|
| 197 | AbstractNormalizer::setCircularReferenceLimit() | since Symfony 4.2 |
| 213 | AbstractNormalizer::setCircularReferenceHandler() | since Symfony 4.2 |
| 233 | AbstractNormalizer::setCallbacks() | since Symfony 4.2 |
| 254 | AbstractNormalizer::setIgnoredAttributes() | since Symfony 4.2 |
| 128 | AbstractNormalizer::$circularReferenceLimit | since Symfony 4.2 |
| 135 | AbstractNormalizer::$circularReferenceHandler | since Symfony 4.2 |
| 150 | AbstractNormalizer::$callbacks | since Symfony 4.2 |
| 155 | AbstractNormalizer::$ignoredAttributes | since Symfony 4.2 |
| 160 | AbstractNormalizer::$camelizedAttributes | since Symfony 4.2 |
AbstractObjectNormalizer.php
| Line | Element | Reason |
|---|---|---|
| 308 | AbstractObjectNormalizer::setMaxDepthHandler() | since Symfony 4.2 |
| 103 | AbstractObjectNormalizer::$maxDepthHandler | since Symfony 4.2 |
DataCollectorTranslator.php
| Line | Element | Reason |
|---|---|---|
| 67 | DataCollectorTranslator::transChoice() | since Symfony 4.2, use the trans() method instead with a %count% parameter |
FileDumper.php
| Line | Element | Reason |
|---|---|---|
| 52 | FileDumper::setBackup() | since Symfony 4.1 |
ChoiceMessageFormatterInterface.php
| Line | Element | Reason |
|---|---|---|
| 19 | ChoiceMessageFormatterInterface | since Symfony 4.2, use MessageFormatterInterface::format() with a %count% parameter instead |
MessageFormatter.php
| Line | Element | Reason |
|---|---|---|
| 70 | MessageFormatter::choiceFormat() | since Symfony 4.2, use format() with a %count% parameter instead |
IdentityTranslator.php
| Line | Element | Reason |
|---|---|---|
| 62 | IdentityTranslator::transChoice() | since Symfony 4.2, use the trans() method instead with a %count% parameter |
Interval.php
| Line | Element | Reason |
|---|---|---|
| 39 | Interval | since Symfony 4.2, use IdentityTranslator instead |
LoggingTranslator.php
| Line | Element | Reason |
|---|---|---|
| 64 | LoggingTranslator::transChoice() | since Symfony 4.2, use the trans() method instead with a %count% parameter |
MessageSelector.php
| Line | Element | Reason |
|---|---|---|
| 26 | MessageSelector | since Symfony 4.2, use IdentityTranslator instead. |
PluralizationRules.php
| Line | Element | Reason |
|---|---|---|
| 21 | PluralizationRules | since Symfony 4.2, use IdentityTranslator instead |
Translator.php
| Line | Element | Reason |
|---|---|---|
| 246 | Translator::transChoice() | since Symfony 4.2, use the trans() method instead with a %count% parameter |
TranslatorInterface.php
| Line | Element | Reason |
|---|---|---|
| 24 | TranslatorInterface | since Symfony 4.2, use Symfony\Contracts\Translation\TranslatorInterface instead |
TranslationWriter.php
| Line | Element | Reason |
|---|---|---|
| 43 | TranslationWriter::disableBackup() | since Symfony 4.1 |
TranslationExtension.php
| Line | Element | Reason |
|---|---|---|
| 134 | TranslationExtension::transchoice() | since Symfony 4.2, use the trans() method instead with a %count% parameter |
TransChoiceTokenParser.php
| Line | Element | Reason |
|---|---|---|
| 32 | TransChoiceTokenParser | since Symfony 4.2, use the "trans" tag with a "%count%" parameter instead |
TwigEngine.php
| Line | Element | Reason |
|---|---|---|
| 34 | TwigEngine | since version 4.3, to be removed in 5.0; use Twig instead. |
TemplateCacheCacheWarmer.php
| Line | Element | Reason |
|---|---|---|
| 34 | TemplateCacheCacheWarmer | since version 4.4, to be removed in 5.0; use Twig instead. |
ExceptionController.php
| Line | Element | Reason |
|---|---|---|
| 34 | ExceptionController | since Symfony 4.4, use Symfony\Component\HttpKernel\Controller\ErrorController instead. |
PreviewErrorController.php
| Line | Element | Reason |
|---|---|---|
| 29 | PreviewErrorController | since Symfony 4.4, use the Symfony\Component\HttpKernel\Controller\ErrorController instead. |
FilesystemLoader.php
| Line | Element | Reason |
|---|---|---|
| 30 | FilesystemLoader | since version 4.3, to be removed in 5.0; use Twig notation for templates instead. |
TwigEngine.php
| Line | Element | Reason |
|---|---|---|
| 31 | TwigEngine | since version 4.3, to be removed in 5.0; use Twig instead. |
Email.php
| Line | Element | Reason |
|---|---|---|
| 36 | Email::MX_CHECK_FAILED_ERROR | since Symfony 4.2. |
| 41 | Email::HOST_CHECK_FAILED_ERROR | since Symfony 4.2. |
| 65 | Email::$checkMX | since Symfony 4.2. |
| 70 | Email::$checkHost | since Symfony 4.2. |
| 75 | Email::$strict | since Symfony 4.1, set mode to "strict" instead. |
Url.php
| Line | Element | Reason |
|---|---|---|
| 28 | Url::CHECK_DNS_TYPE_ANY | since Symfony 4.1 |
| 33 | Url::CHECK_DNS_TYPE_NONE | since Symfony 4.1 |
| 38 | Url::CHECK_DNS_TYPE_A | since Symfony 4.1 |
| 43 | Url::CHECK_DNS_TYPE_A6 | since Symfony 4.1 |
| 48 | Url::CHECK_DNS_TYPE_AAAA | since Symfony 4.1 |
| 53 | Url::CHECK_DNS_TYPE_CNAME | since Symfony 4.1 |
| 58 | Url::CHECK_DNS_TYPE_MX | since Symfony 4.1 |
| 63 | Url::CHECK_DNS_TYPE_NAPTR | since Symfony 4.1 |
| 68 | Url::CHECK_DNS_TYPE_NS | since Symfony 4.1 |
| 73 | Url::CHECK_DNS_TYPE_PTR | since Symfony 4.1 |
| 78 | Url::CHECK_DNS_TYPE_SOA | since Symfony 4.1 |
| 83 | Url::CHECK_DNS_TYPE_SRV | since Symfony 4.1 |
| 88 | Url::CHECK_DNS_TYPE_TXT | since Symfony 4.1 |
| 101 | Url::$dnsMessage | since Symfony 4.1 |
| 107 | Url::$checkDNS | since Symfony 4.1 |
CacheInterface.php
| Line | Element | Reason |
|---|---|---|
| 25 | CacheInterface | since Symfony 4.4. |
DoctrineCache.php
| Line | Element | Reason |
|---|---|---|
| 26 | DoctrineCache | since Symfony 4.4. |
Psr6Cache.php
| Line | Element | Reason |
|---|---|---|
| 26 | Psr6Cache | since Symfony 4.4. |
ValidatorBuilder.php
| Line | Element | Reason |
|---|---|---|
| 239 | ValidatorBuilder::setMetadataCache() | since Symfony 4.4. |
ValidatorBuilderInterface.php
| Line | Element | Reason |
|---|---|---|
| 27 | ValidatorBuilderInterface | since Symfony 4.2, use the ValidatorBuilder class instead |
ExceptionController.php
| Line | Element | Reason |
|---|---|---|
| 33 | ExceptionController | since Symfony 4.4, use the ExceptionPanelController instead. |
Assert.php
| Line | Element | Reason |
|---|---|---|
| 319 | Assert::isTraversable() | use "isIterable" or "isInstanceOf" instead |
Mixin.php
| Line | Element | Reason |
|---|---|---|
| 483 | Mixin::nullOrIsTraversable() | use "isIterable" or "isInstanceOf" instead |
| 501 | Mixin::allIsTraversable() | use "isIterable" or "isInstanceOf" instead |