Browse Source
Co-authored-by: JamesRezo <james@rezo.net> Reviewed-on: #4777 Co-authored-by: JamesRezo <jamesrezo@noreply.git.spip.net> Co-committed-by: JamesRezo <jamesrezo@noreply.git.spip.net>pull/4779/head
6 changed files with 66 additions and 6 deletions
@ -0,0 +1,7 @@
|
||||
/vendor/ |
||||
/composer.phar |
||||
/composer.lock |
||||
/phpcs.xml |
||||
/phpstan.neon |
||||
/.php_cs.cache |
||||
/.php_cs.txt |
@ -0,0 +1,7 @@
|
||||
{ |
||||
"require-dev": { |
||||
"dealerdirect/phpcodesniffer-composer-installer": "^0.7.1", |
||||
"spip/coding-standards": "^1.2", |
||||
"phpstan/phpstan": "^0.12.98" |
||||
} |
||||
} |
@ -0,0 +1,16 @@
|
||||
<?xml version="1.0"?> |
||||
<ruleset> |
||||
<file>.</file> |
||||
<exclude-pattern>vendor/*</exclude-pattern> |
||||
<exclude-pattern>lang/*</exclude-pattern> |
||||
<exclude-pattern>lib/*</exclude-pattern> |
||||
<exclude-pattern>tests/*</exclude-pattern> |
||||
|
||||
<rule ref="SPIP41"/> |
||||
|
||||
<config name="ignore_warnings_on_exit" value="1"/> |
||||
<arg name="cache" value=".php_cs.cache"/> |
||||
<arg name="report-full" value=".php_cs.txt"/> |
||||
<arg name="report-summary"/> |
||||
<arg value="s"/> |
||||
</ruleset> |
@ -0,0 +1,17 @@
|
||||
parameters: |
||||
ignoreErrors: |
||||
- |
||||
message: "#^Class SafeHTML referenced with incorrect case\\: safehtml\\.$#" |
||||
count: 1 |
||||
path: inc/safehtml.php |
||||
|
||||
- |
||||
message: "#^Function entites_html not found\\.$#" |
||||
count: 1 |
||||
path: inc/safehtml.php |
||||
|
||||
- |
||||
message: "#^Function find_in_path not found\\.$#" |
||||
count: 1 |
||||
path: inc/safehtml.php |
||||
|
Loading…
Reference in new issue