Running a command similar to drush pm:security --fields=name --format=json gives me what I am looking for.

Is there a way to remove warnings and notices from the output?

I can't see anything in the documentation. I have written a regular expression for the purpose, but it's not an ideal solution.

  • Do you have error_reporting enabled in php.ini (or equivalent)? – Clive May 16 at 18:17

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Browse other questions tagged or ask your own question.