tec: Add a make lint command in the Makefile (#2996)

This commit is contained in:
Marien Fressinaud
2020-05-25 19:06:23 +02:00
committed by GitHub
parent 0d74cb8a42
commit 97881628eb
4 changed files with 38 additions and 8 deletions
+3
View File
@@ -7,6 +7,9 @@
<exclude-pattern>./lib/PHPMailer/</exclude-pattern>
<exclude-pattern>./lib/http-conditional.php</exclude-pattern>
<exclude-pattern>./lib/lib_phpQuery.php</exclude-pattern>
<exclude-pattern>./data/config.php</exclude-pattern>
<exclude-pattern>./data/users/*/config.php</exclude-pattern>
<exclude-pattern>./extensions/</exclude-pattern>
<!-- Duplicate class names are not allowed -->
<rule ref="Generic.Classes.DuplicateClassName"/>
<!-- Statements must not be empty -->