File tree Expand file tree Collapse file tree 1 file changed +3
-4
lines changed Expand file tree Collapse file tree 1 file changed +3
-4
lines changed Original file line number Diff line number Diff line change @@ -302,17 +302,16 @@ whenever you want to update the existing file):
302
302
303
303
.. code-block :: terminal
304
304
305
- $ SYMFONY_DEPRECATIONS_HELPER='generateBaseline=true&baselineFile=tests/allowed.json' ./vendor/bin/simple-phpunit
305
+ $ SYMFONY_DEPRECATIONS_HELPER='generateBaseline=true&baselineFile=./ tests/allowed.json' ./vendor/bin/simple-phpunit
306
306
307
307
This command stores all the deprecations reported while running tests in the
308
- given file and encoded in JSON. The file path defined in ``baselineFile `` can
309
- be absolute or relative to your project root.
308
+ given file path and encoded in JSON.
310
309
311
310
Then, you can run the following command to use that file and ignore those deprecations:
312
311
313
312
.. code-block :: terminal
314
313
315
- $ SYMFONY_DEPRECATIONS_HELPER='baselineFile=tests/allowed.json' ./vendor/bin/simple-phpunit
314
+ $ SYMFONY_DEPRECATIONS_HELPER='baselineFile=./ tests/allowed.json' ./vendor/bin/simple-phpunit
316
315
317
316
.. versionadded :: 5.2
318
317
You can’t perform that action at this time.
0 commit comments