Page MenuHomePhabricator

Add rule to lint for PSR2 spec spacing after use statements.
AbandonedPublic

Authored by lucaspickup on Nov 22 2015, 10:33 PM.
Tags
None
Referenced Files
Unknown Object (File)
Fri, May 3, 3:03 PM
Unknown Object (File)
Mon, Apr 22, 7:07 PM
Unknown Object (File)
Mon, Apr 15, 5:15 AM
Unknown Object (File)
Wed, Apr 10, 11:42 PM
Unknown Object (File)
Mon, Apr 8, 12:20 AM
Unknown Object (File)
Dec 17 2023, 6:02 PM
Unknown Object (File)
Nov 24 2023, 11:51 PM
Unknown Object (File)
Nov 14 2023, 10:45 PM
Subscribers
This revision can not be accepted until the required legal agreements have been signed.

Details

Summary

This rule detects when there is no blank newline after a signle or series of use statement.
This blank line is required under the PSR-2 Spec, 3.0.
Ref T20874

Test Plan

There are unti tests included and I tried the rule a few times in gaf on some modfied files.

Diff Detail

Repository
rARC Arcanist
Branch
newline-use-psr2
Lint
Lint Passed
Unit
Test Failures
Build Status
Buildable 8981
Build 10545: arc lint + arc unit

Event Timeline

lucaspickup retitled this revision from to Add rule to lint for PSR2 spec spacing after use statements..
lucaspickup updated this object.
lucaspickup edited the test plan for this revision. (Show Details)
lucaspickup added a reviewer: josh.

Forgot to set the conduit URI....

Content Hidden

The content of this revision is hidden until the author has signed all of the required legal agreements.