HomePhabricator

Add binary integers to `ArcanistPHPCompatibilityXHPASTLinterRule`

Description

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

Details