Page MenuHomePhabricator

Minor improvements to `ArcanistPhpLinter`
ClosedPublic

Authored by joshuaspence on Jan 7 2015, 9:29 AM.
Tags
None
Referenced Files
F13279576: D11265.diff
Sat, Jun 1, 8:40 PM
F13274380: D11265.diff
Fri, May 31, 3:38 AM
F13263063: D11265.id27095.diff
Mon, May 27, 6:57 AM
F13261645: D11265.diff
Mon, May 27, 1:17 AM
F13259361: D11265.diff
Sun, May 26, 7:48 PM
F13259194: D11265.id27094.diff
Sun, May 26, 5:40 PM
F13213250: D11265.diff
Fri, May 17, 7:33 AM
Unknown Object (File)
Tue, May 7, 5:47 AM
Subscribers

Details

Summary

Various minor improvements to ArcanistPhpLinter.

Test Plan

arc unit

Diff Detail

Repository
rARC Arcanist
Branch
master
Lint
Lint Passed
Unit
Tests Passed
Build Status
Buildable 3679
Build 3689: [Placeholder Plan] Wait for 30 Seconds

Event Timeline

joshuaspence retitled this revision from to Minor improvements to `ArcanistPhpLinter`.
joshuaspence updated this object.
joshuaspence edited the test plan for this revision. (Show Details)
This revision is now accepted and ready to land.Jan 7 2015, 12:54 PM
epriestley edited edge metadata.

Oh, WIP + test failure.

This revision now requires changes to proceed.Jan 7 2015, 12:54 PM

FWIW, I do not get "PHP" in the output in 5.4.30:

epriestley@orbital ~/dev/phabricator $ php -v
PHP 5.4.30 (cli) (built: Jul 29 2014 23:43:29) 
Copyright (c) 1997-2014 The PHP Group
Zend Engine v2.4.0, Copyright (c) 1998-2014 Zend Technologies
epriestley@orbital ~/dev/phabricator $ php -l derp 

Parse error: parse error in derp on line 3
Errors parsing derp

Note "Parse error", not "PHP Parse error".

Don't allow linter severity to be customized

joshuaspence edited the test plan for this revision. (Show Details)
epriestley edited edge metadata.
This revision is now accepted and ready to land.Jan 8 2015, 8:38 AM
src/lint/linter/ArcanistPhpLinter.php
94

Maybe phutil_utf8_strtolower().

joshuaspence edited edge metadata.

Use getLintMessageName

This revision was automatically updated to reflect the committed changes.