Feature #38686

Create sniff for Array-Declaration

Added by Andy Grunwald 11 months ago. Updated 19 days ago.

Status:Accepted Start date:2012-07-05
Priority:Should have Due date:
Assignee:- % Done:

0%

Category:Arrays Spent time: -
Target version:0.0.7
Branch:v4 Tags:
Votes: 0

Description

The CGL says about arrays:


Array declarations use the "array" keyword in lower case, with no blank between it and the opening bracket. Thus:

$a = array();


Related issues

related to PHP_CodeSniffer - Feature #38687: Create sniff for Array-Item-Declarations New 2012-07-05

History

Updated by Andy Grunwald 11 months ago

  • Subject changed from Create sniff for Array-Deklaration to Create sniff for Array-Declaration

Updated by Wouter Wolters 11 months ago

I will start on this one in the next days.

Updated by Andy Grunwald 11 months ago

  • Assignee deleted (Andy Grunwald)

Updated by Stefano Kowalke 8 months ago

  • Status changed from New to Accepted
  • Target version set to 0.0.4

Updated by Stefano Kowalke 8 months ago

  • Target version changed from 0.0.4 to 0.0.5

Updated by Stefano Kowalke 8 months ago

  • Target version changed from 0.0.5 to 0.0.6

Updated by Stefano Kowalke 19 days ago

  • Target version changed from 0.0.6 to 0.0.7

Also available in: Atom PDF