]> khamidou — GitHub mirrors - arcanist.git/commit
When a file doesn't begin "<?php", raise one warning, not one for each line
authorepriestley <git@epriestley.com>
Thu, 8 Mar 2012 01:52:46 +0000 (17:52 -0800)
committerepriestley <git@epriestley.com>
Thu, 8 Mar 2012 01:52:46 +0000 (17:52 -0800)
commit49b83927b8ca36e21b12ea93f8fe979cfd9fb510
treebdc6d07a6428a5ebdd04d8f01a2a80d63d03f513
parent54c3ad316e7d7f3e68339514e70d53047816f687
When a file doesn't begin "<?php", raise one warning, not one for each line

Summary: Linter flipped out on D1817; reign it in.

Test Plan: Ran "arc lint" on D1817, got one message.

Reviewers: btrahan

Reviewed By: btrahan

CC: aran, epriestley
Differential Revision: https://secure.phabricator.com/D1818
src/lint/linter/xhpast/ArcanistXHPASTLinter.php
src/lint/linter/xhpast/__tests__/data/php-tags-bad.lint-test