Disable deprecation notices from command line #5765
RichardTMiles
started this conversation in
Show and tell
Replies: 2 comments 2 replies
|
@RichardTMiles do you know of a way of doing this if you haven't used composer and just used the standard install? |
2 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
If you've installed wp-cli using composer it is possible to invoke the command using:
php -d error_reporting=E_ALL&~E_DEPRECATED&~E_STRICT -f ./vendor/wp-cli/wp-cli/php/boot-fs.phpYou can extend this concept using composer scripts
Happy Hacking,
RM
All reactions