Skip to content

Commit

Permalink
PHPCodeSnifferBear: Add PSR-1 standard
Browse files Browse the repository at this point in the history
Adds `PSR-1` standard, so that the PHP
coding standard is respected.
  • Loading branch information
AsnelChristian committed Oct 28, 2016
1 parent 7ed56a3 commit 1e0469b
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions bears/php/PHPCodeSnifferBear.py
Original file line number Diff line number Diff line change
Expand Up @@ -112,6 +112,8 @@ class is on the next line, and that the closing brace for a class
configs = '''<?xml version="1.0"?>
<ruleset name="Custom Standard">
<description>A custom coding standard</description>
<!-- Include the whole PSR-1 standard -->
<rule ref="PSR1"/>
<rule ref="Generic.Files.LineLength">
<properties>
<property name="lineLimit" value="{max_line_length}"/>
Expand Down

0 comments on commit 1e0469b

Please sign in to comment.