Skip to content

Commit

Permalink
Merge pull request #56 from jlaso/master
Browse files Browse the repository at this point in the history
Fix the needle for PHPLint in order to avoid other php.*** endings
  • Loading branch information
bruli committed Apr 27, 2016
2 parents 08fbde6 + e6feb12 commit 0e2cf89
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/PhpGitHooks/Infrastructure/PhpLint/PhpLintHandler.php
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@
*/
class PhpLintHandler extends ToolHandler implements FilesToolHandlerInterface
{
const NEEDLE = '/(\.php)|(\.inc)$/';
const NEEDLE = "/[(\.php)|(\.inc)]$/";
/** @var array */
private $files;

Expand Down

0 comments on commit 0e2cf89

Please sign in to comment.