Then the page should not have PHP errors

Assert the page shows no PHP error: a fatal error, warning, notice or deprecation printed in PHP's "in <file> on line <n>" form, an uncaught exception, or core's "The website encountered an unexpected error" page. The quick health check for every page a scenario lands on.

Examples

Then the page should not have PHP errors
And the page should not have PHP errors
Then the page should have no PHP errors
And the page should have no PHP errors
Then the page should not have any PHP errors

Pattern

Then(/^(?:the )?page should (?:not have(?: any)?|have no) PHP errors$/, …)

Part of @webship-js/drupal-core-steps (github.com/webship/drupal-core-steps), a step pack for Webship-js 2.0.x.