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
minor #7243 Removes duplicated Deprecated and adds an example. (dbrumann)
This PR was submitted for the master branch but it was merged into the 2.7 branch instead (closes#7243).
Discussion
----------
Removes duplicated Deprecated and adds an example.
Removes the duplicate "Deprecated" after `@deprecated` annotation as was asked in my PR symfony/symfony#20735. Also adds a randomly selected example that shows how the abstract `XXX` should look like and an edge case of `trigger_error()` when deprecating a whole class.
Commits
-------
a2c04e7 Deletes duplicate "Deprecated" and adds a more explicit example.
@trigger_error('The '.__NAMESPACE__.'\ArrayParserCache class is deprecated since version 3.2 and will be removed in 4.0. Use the Symfony\Component\Cache\Adapter\ArrayAdapter class instead.', E_USER_DEPRECATED);
121
+
122
+
use Symfony\Component\ExpressionLanguage\ParsedExpression;
123
+
124
+
/**
125
+
* @author Adrien Brault <adrien.brault@gmail.com>
126
+
*
127
+
* @deprecated ArrayParserCache class is deprecated since version 3.2 and will be removed in 4.0. Use the Symfony\Component\Cache\Adapter\ArrayAdapter class instead.
128
+
*/
129
+
class ArrayParserCache implements ParserCacheInterface
0 commit comments