You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: src/Symfony/Component/ClassLoader/ApcUniversalClassLoader.php
+4-1
Original file line number
Diff line number
Diff line change
@@ -11,6 +11,8 @@
11
11
12
12
namespaceSymfony\Component\ClassLoader;
13
13
14
+
trigger_error('The '.__NAMESPACE__.'\ApcUniversalClassLoader class is deprecated since version 2.7 and will be removed in 3.0. Use the Symfony\Component\ClassLoader\ApcClassLoader class instead.', E_USER_DEPRECATED);
15
+
14
16
/**
15
17
* ApcUniversalClassLoader implements a "universal" autoloader cached in APC for PHP 5.3.
16
18
*
@@ -60,7 +62,8 @@
60
62
*
61
63
* @api
62
64
*
63
-
* @deprecated Deprecated since version 2.4, to be removed in 3.0. Use the ApcClassLoader class instead.
65
+
* @deprecated since version 2.4, to be removed in 3.0.
66
+
* Use the {@link ClassLoader} class instead.
64
67
*/
65
68
class ApcUniversalClassLoader extends UniversalClassLoader
Copy file name to clipboardExpand all lines: src/Symfony/Component/ClassLoader/DebugUniversalClassLoader.php
+4-1
Original file line number
Diff line number
Diff line change
@@ -11,12 +11,15 @@
11
11
12
12
namespaceSymfony\Component\ClassLoader;
13
13
14
+
trigger_error('The '.__NAMESPACE__.'\DebugUniversalClassLoader class is deprecated since version 2.4 and will be removed in 3.0. Use the Symfony\Component\Debug\DebugClassLoader class instead.', E_USER_DEPRECATED);
15
+
14
16
/**
15
17
* Checks that the class is actually declared in the included file.
16
18
*
17
19
* @author Fabien Potencier <fabien@symfony.com>
18
20
*
19
-
* @deprecated Deprecated since version 2.4, to be removed in 3.0. Use the DebugClassLoader provided by the Debug component instead.
21
+
* @deprecated since version 2.4, to be removed in 3.0.
22
+
* Use the {@link \Symfony\Component\Debug\DebugClassLoader} class instead.
20
23
*/
21
24
class DebugUniversalClassLoader extends UniversalClassLoader
trigger_error('The '.__NAMESPACE__.'\LegacyPdoSessionHandler class is deprecated since version 2.6 and will be removed in 3.0. Use the Symfony\Component\HttpFoundation\Session\Storage\Handler\PdoSessionHandler class instead.', E_USER_DEPRECATED);
15
+
14
16
/**
15
17
* Session handler using a PDO connection to read and write data.
16
18
*
@@ -77,8 +79,6 @@ public function __construct(\PDO $pdo, array $dbOptions = array())
77
79
thrownew \InvalidArgumentException(sprintf('"%s" requires PDO error mode attribute be set to throw Exceptions (i.e. $pdo->setAttribute(PDO::ATTR_ERRMODE, PDO::ERRMODE_EXCEPTION))', __CLASS__));
78
80
}
79
81
80
-
trigger_error('"Symfony\Component\HttpFoundation\Session\Storage\Handler\LegacyPdoSessionHandler" is deprecated since version 2.6 and will be removed in 3.0. Use "Symfony\Component\HttpFoundation\Session\Storage\Handler\PdoSessionHandler" instead.', E_USER_DEPRECATED);
0 commit comments