]> khamidou — GitHub mirrors - arcanist.git/commit
Add binary integers to `ArcanistPHPCompatibilityXHPASTLinterRule`
authorJoshua Spence <josh@freelancer.com>
Wed, 2 Dec 2015 21:30:29 +0000 (08:30 +1100)
committerJoshua Spence <josh@freelancer.com>
Wed, 2 Dec 2015 21:39:11 +0000 (08:39 +1100)
commitae3c2cb0e17296ed29ef9d09d02a9f5c0daa6791
treef05be114554c51b36b6722074bdfddde0bdc8cc9
parent560e4ae4919b9a7eb10b9625cb66b99ac50cee12
Add binary integers to `ArcanistPHPCompatibilityXHPASTLinterRule`

Summary: Binary integers (such as `0b1`) were added to PHP 5.4 and cannot be used in earlier versions.

Test Plan: Added a test case.

Reviewers: #blessed_reviewers, epriestley

Reviewed By: #blessed_reviewers, epriestley

Subscribers: Korvin

Differential Revision: https://secure.phabricator.com/D14643
src/lint/linter/xhpast/rules/ArcanistPHPCompatibilityXHPASTLinterRule.php
src/lint/linter/xhpast/rules/__tests__/php-compatibility/php54-features.lint-test