We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents 08fbde6 + e6feb12 commit 0e2cf89Copy full SHA for 0e2cf89
src/PhpGitHooks/Infrastructure/PhpLint/PhpLintHandler.php
@@ -14,7 +14,7 @@
14
*/
15
class PhpLintHandler extends ToolHandler implements FilesToolHandlerInterface
16
{
17
- const NEEDLE = '/(\.php)|(\.inc)$/';
+ const NEEDLE = "/[(\.php)|(\.inc)]$/";
18
/** @var array */
19
private $files;
20
0 commit comments