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
The ``ignoreFile`` feature was introduced in Symfony 6.1.
298
+
299
+
If your application has some deprecations that you can't fix for some reasons,
300
+
you can tell Symfony to ignore them.
301
+
302
+
You need first to create a simple text file with a list of ignore patterns. Each
303
+
pattern is a regular expression.
304
+
305
+
Lines beginning with an hash (#) will be considered comments:
306
+
307
+
.. code-block:: terminal
308
+
309
+
# This file contains patterns to be ignored while testing for use of
310
+
# deprecated code.
311
+
312
+
%The "Symfony\\Component\\Validator\\Context\\ExecutionContextInterface::.*\(\)" method is considered internal Used by the validator engine\. (Should not be called by user\W+code\. )?It may change without further notice\. You should not extend it from "[^"]+"\.%
313
+
%The "PHPUnit\\Framework\\TestCase::addWarning\(\)" method is considered internal%
314
+
315
+
Then, you can run the following command to use that file and ignore those deprecations:
0 commit comments