Skip to content
Permalink
Browse files
Add example for PHPCS.
  • Loading branch information
epriestley committed Aug 28, 2013
1 parent 458beca commit 5bb919bc3a684d6654dcc28622de9a29ec08307d
Showing with 18 additions and 0 deletions.
  1. +8 −0 .arclint
  2. +10 −0 example.php
@@ -44,6 +44,14 @@
"generated" : {
"type" : "generated",
"include" : "(.*)"
},
"phpcs" : {
"type" : "phpcs",
"include" : "(\\.php)",
"severity.rules" : {
"(^PHPCS\\.E\\.)" : "warning",
"(^PHPCS\\.W\\.)" : "advice"
}
}
}
}
@@ -0,0 +1,10 @@
<?php

function f() {
$$g;

$x = $y;
$x = $y;

$h++;
}

0 comments on commit 5bb919b

Please sign in to comment.