HomePhabricator

Adding php -l linter

Description

Adding php -l linter

Summary: Adds a linter that checks php files for syntax errors using php -l

Test Plan:
Add a section to your .arclint file similar to:

"php": {
  "type": "php",
  "include": "(\\.php$)"
}

Then run arc lint on a php file with a syntax error.

Reviewers: epriestley, Blessed Reviewers

Reviewed By: epriestley, Blessed Reviewers

Subscribers: epriestley, jacobwalker0814, Korvin

Differential Revision: https://secure.phabricator.com/D10370

Details

Provenance
bluehawkAuthored on
epriestleyCommitted on Aug 28 2014, 12:29 AM
epriestleyPushed on Aug 28 2014, 12:29 AM
Reviewer
Blessed Reviewers
Differential Revision
D10370: Adding php -l linter
Parents
rARCe4bbcaf8f7bf: Don't run "flake8" via stdin
Branches
Unknown
Tags
Unknown

Event Timeline