]> khamidou — GitHub mirrors - arcanist.git/commit
Improve the "inline HTML" linter rule
authorJoshua Spence <josh@joshuaspence.com>
Wed, 19 Aug 2015 05:34:43 +0000 (15:34 +1000)
committerJoshua Spence <josh@freelancer.com>
Wed, 19 Aug 2015 05:34:43 +0000 (15:34 +1000)
commit4404e66735c470cddd7f1cdb8aef05d9f322ad66
tree6dc90c621aedb8aa261d4cb41043c5d044d68bb4
parentfe8ed2a6f8b09b8c56e476ed1f9624d35732b776
Improve the "inline HTML" linter rule

Summary: Improve `ArcanistInlineHTMLXHPASTLinterRule` such that it doesn't raise duplicate warnings. Also be a bit more lax with whitespace.

Test Plan: Unit tests now pass.

Reviewers: #blessed_reviewers, epriestley

Reviewed By: #blessed_reviewers, epriestley

Subscribers: Korvin

Differential Revision: https://secure.phabricator.com/D13896
src/lint/linter/ArcanistInlineHTMLXHPASTLinterRule.php
src/lint/linter/__tests__/xhpast/embedded-tags.lint-test
src/lint/linter/__tests__/xhpast/php-tags-bad.lint-test