Skip to content

Commit 0e2cf89

Browse files
committedApr 27, 2016
Merge pull request #56 from jlaso/master
Fix the needle for PHPLint in order to avoid other php.*** endings
2 parents 08fbde6 + e6feb12 commit 0e2cf89

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed
 

‎src/PhpGitHooks/Infrastructure/PhpLint/PhpLintHandler.php

+1-1
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@
1414
*/
1515
class PhpLintHandler extends ToolHandler implements FilesToolHandlerInterface
1616
{
17-
const NEEDLE = '/(\.php)|(\.inc)$/';
17+
const NEEDLE = "/[(\.php)|(\.inc)]$/";
1818
/** @var array */
1919
private $files;
2020

0 commit comments

Comments
 (0)