HomePhabricator

Add a linter rule for spacing after a cast

Description

Add a linter rule for spacing after a cast

Summary: Ref T7409. Add a linter rule to ensure that a cast is not followed by a space. This is largely based on Generic_Sniffs_Formatting_NoSpaceAfterCastSniff.

Test Plan: Added unit tests.

Reviewers: epriestley, Blessed Reviewers

Reviewed By: epriestley, Blessed Reviewers

Subscribers: Korvin, epriestley

Maniphest Tasks: T7409

Differential Revision: https://secure.phabricator.com/D12321

Details

Provenance
joshuaspenceAuthored on
joshuaspencePushed on May 17 2015, 10:16 PM
Reviewer
Blessed Reviewers
Differential Revision
D12321: Add a linter rule for spacing after a cast
Parents
rARCe1a057b4d938: Add a linter rule for alias functions
Branches
Unknown
Tags
Unknown
Tasks
T7409: Implement PHPCS lints