Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Check code for errors and warning #4

Open
Assignees
@mikeymike

Description

A users solution may trigger errors and warnings. This would be contained in the output and would obviously fail the StdOutCheck. However, could we provide more meaningful feedback?

PhpErrorCheck

We could grep the output for PHP Notice: and PHP Warning. This seems a bit flaky as that could be valid output.
We could lint the file first, check if it's valid PHP code, then parse the file and add in some code, like an error-handler which would exit with a non-zero error code.

Metadata

Metadata

Type

No type

Projects

No projects

Milestone

No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions

      AltStyle によって変換されたページ (->オリジナル) /