File tree 2 files changed +4
-2
lines changed
2 files changed +4
-2
lines changed Original file line number Diff line number Diff line change @@ -295,7 +295,7 @@ sweep: force
295
295
xargs -0 -n1 scripts/cleanfile
296
296
297
297
style : want-pear-PHP_CodeSniffer
298
- @ (phpcs --standard=ruleset.xml ${.CURDIR} /src/opnsense/mvc \
298
+ @ (phpcs --standard=ruleset.xml ${.CURDIR} /src/opnsense \
299
299
|| true) > ${.CURDIR} /.style.out
300
300
@echo -n " Total number of style warnings: "
301
301
@grep ' | WARNING' ${.CURDIR} /.style.out | wc -l
@@ -305,7 +305,7 @@ style: want-pear-PHP_CodeSniffer
305
305
@rm ${.CURDIR} /.style.out
306
306
307
307
style-fix : want-pear-PHP_CodeSniffer
308
- phpcbf --standard=ruleset.xml ${.CURDIR} /src/opnsense/mvc || true
308
+ phpcbf --standard=ruleset.xml ${.CURDIR} /src/opnsense || true
309
309
310
310
setup : force
311
311
${.CURDIR} /src/etc/rc.php_ini_setup
Original file line number Diff line number Diff line change 3
3
<description >Slightly enhanced version of the PSR2 standard</description >
4
4
<rule ref =" Squiz.WhiteSpace.SemicolonSpacing" />
5
5
<rule ref =" PSR2" />
6
+ <exclude-pattern >*.css</exclude-pattern >
7
+ <exclude-pattern >*.js</exclude-pattern >
6
8
</ruleset >
You can’t perform that action at this time.
0 commit comments