mirror of
https://github.com/doctrine/common.git
synced 2026-03-23 22:32:07 +01:00
Deprecate all symbols in the Doctrine\Common\Proxy namespace (#1002)
This commit is contained in:
@@ -25,23 +25,15 @@ parameters:
|
||||
-
|
||||
message: '#^Result of method Doctrine\\Tests\\Common\\Proxy\\LazyLoadableObjectWithVoid::(adding|incrementing)AndReturningVoid\(\) \(void\) is used\.$#'
|
||||
path: 'tests/Common/Proxy/ProxyLogicVoidReturnTypeTest.php'
|
||||
-
|
||||
message: '#^Property Doctrine\\Tests\\Common\\Proxy\\ProxyLogicTest::\$initializerCallbackMock \(callable\(\): mixed&PHPUnit\\Framework\\MockObject\\MockObject\) does not accept PHPUnit\\Framework\\MockObject\\MockObject&stdClass\.$#'
|
||||
path: 'tests/Common/Proxy/ProxyLogicTest.php'
|
||||
-
|
||||
message: '#.*LazyLoadableObject.*#'
|
||||
paths:
|
||||
- 'tests/Common/Proxy/ProxyLogicTest.php'
|
||||
- 'tests/Common/Proxy/ProxyLogicVoidReturnTypeTest.php'
|
||||
path: 'tests/Common/Proxy/ProxyLogicTest.php'
|
||||
-
|
||||
message: '#^Instantiated class Doctrine\\Tests\\Common\\ProxyProxy\\__CG__\\Doctrine\\Tests\\Common\\Proxy\\.* not found.$#'
|
||||
path: 'tests/Common/Proxy/ProxyLogicTest.php'
|
||||
-
|
||||
message: '#^Instantiated class Doctrine\\Tests\\Common\\ProxyProxy\\__CG__\\Doctrine\\Tests\\Common\\Proxy\\.* not found.$#'
|
||||
path: 'tests/Common/Proxy/ProxyLogicVoidReturnTypeTest.php'
|
||||
-
|
||||
message: '#^Property Doctrine\\Tests\\Common\\Proxy\\ProxyLogicVoidReturnTypeTest::\$initializerCallbackMock \(callable\(\): mixed&PHPUnit\\Framework\\MockObject\\MockObject\) does not accept PHPUnit\\Framework\\MockObject\\MockObject&stdClass\.$#'
|
||||
path: 'tests/Common/Proxy/ProxyLogicVoidReturnTypeTest.php'
|
||||
-
|
||||
message: '#^Method Doctrine\\Tests\\Common\\Proxy\\MagicIssetClassWithInteger::__isset\(\) should return bool but returns int\.$#'
|
||||
path: 'tests/Common/Proxy/MagicIssetClassWithInteger.php'
|
||||
|
||||
@@ -15,6 +15,8 @@ use function in_array;
|
||||
|
||||
/**
|
||||
* Abstract factory for proxy objects.
|
||||
*
|
||||
* @deprecated The AbstractProxyFactory class is deprecated since doctrine/common 3.5.
|
||||
*/
|
||||
abstract class AbstractProxyFactory
|
||||
{
|
||||
|
||||
@@ -21,6 +21,7 @@ use const DIRECTORY_SEPARATOR;
|
||||
* Special Autoloader for Proxy classes, which are not PSR-0 compliant.
|
||||
*
|
||||
* @internal
|
||||
* @deprecated The Autoloader class is deprecated since doctrine/common 3.5.
|
||||
*/
|
||||
class Autoloader
|
||||
{
|
||||
|
||||
@@ -13,7 +13,7 @@ use function sprintf;
|
||||
/**
|
||||
* Proxy Invalid Argument Exception.
|
||||
*
|
||||
* @link www.doctrine-project.org
|
||||
* @deprecated The InvalidArgumentException class is deprecated since doctrine/common 3.5.
|
||||
*/
|
||||
class InvalidArgumentException extends BaseInvalidArgumentException implements ProxyException
|
||||
{
|
||||
|
||||
@@ -9,7 +9,7 @@ use function sprintf;
|
||||
/**
|
||||
* Proxy Invalid Argument Exception.
|
||||
*
|
||||
* @link www.doctrine-project.org
|
||||
* @deprecated The OutOfBoundsException class is deprecated since doctrine/common 3.5.
|
||||
*/
|
||||
class OutOfBoundsException extends BaseOutOfBoundsException implements ProxyException
|
||||
{
|
||||
|
||||
@@ -5,7 +5,7 @@ namespace Doctrine\Common\Proxy\Exception;
|
||||
/**
|
||||
* Base exception interface for proxy exceptions.
|
||||
*
|
||||
* @link www.doctrine-project.org
|
||||
* @deprecated The ProxyException interface is deprecated since doctrine/common 3.5.
|
||||
*/
|
||||
interface ProxyException
|
||||
{
|
||||
|
||||
@@ -10,7 +10,7 @@ use function sprintf;
|
||||
/**
|
||||
* Proxy Unexpected Value Exception.
|
||||
*
|
||||
* @link www.doctrine-project.org
|
||||
* @deprecated The UnexpectedValueException class is deprecated since doctrine/common 3.5.
|
||||
*/
|
||||
class UnexpectedValueException extends BaseUnexpectedValueException implements ProxyException
|
||||
{
|
||||
|
||||
@@ -8,6 +8,8 @@ use Doctrine\Persistence\Proxy as BaseProxy;
|
||||
/**
|
||||
* Interface for proxy classes.
|
||||
*
|
||||
* @deprecated The Proxy interface is deprecated since doctrine/common 3.5.
|
||||
*
|
||||
* @template T of object
|
||||
* @template-extends BaseProxy<T>
|
||||
*/
|
||||
|
||||
@@ -6,6 +6,8 @@ use ReflectionProperty;
|
||||
|
||||
/**
|
||||
* Definition structure how to create a proxy.
|
||||
*
|
||||
* @deprecated The ProxyDefinition class is deprecated since doctrine/common 3.5.
|
||||
*/
|
||||
class ProxyDefinition
|
||||
{
|
||||
|
||||
@@ -67,6 +67,8 @@ use const PREG_SPLIT_DELIM_CAPTURE;
|
||||
/**
|
||||
* This factory is used to generate proxy classes.
|
||||
* It builds proxies from given parameters, a template and class metadata.
|
||||
*
|
||||
* @deprecated The ProxyGenerator class is deprecated since doctrine/common 3.5.
|
||||
*/
|
||||
class ProxyGenerator
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user