Compare commits

..

2 Commits
master ... 1.4

  1. 7
      .gitignore
  2. 18
      composer.json
  3. 6
      paquet.xml
  4. 15
      phpcs.xml.dist
  5. 12
      phpstan-baseline.neon
  6. 12
      phpstan.neon.dist

7
.gitignore vendored

@ -1,7 +0,0 @@
/vendor/
/composer.phar
/composer.lock
/phpcs.xml
/phpstan.neon
/.php_cs.cache
/.php_cs.txt

18
composer.json

@ -1,18 +0,0 @@
{
"require": {
"php": "^7.4 || ^8.0"
},
"require-dev": {
"dealerdirect/phpcodesniffer-composer-installer": "^0.7.1",
"phpstan/phpstan": "^1.4",
"spip/coding-standards": "^1.2"
},
"config": {
"allow-plugins": {
"dealerdirect/phpcodesniffer-composer-installer": true
},
"platform": {
"php": "7.4.27"
}
}
}

6
paquet.xml

@ -1,9 +1,9 @@
<paquet
prefix="squelettes_par_rubrique"
categorie="outil"
version="1.5.0-dev"
etat="dev"
compatibilite="[4.1.0-dev;4.1.*]"
version="1.4.2"
etat="stable"
compatibilite="[4.0.0;4.0.*]"
logo="squelettes_par_rubrique-32.png"
>

15
phpcs.xml.dist

@ -1,15 +0,0 @@
<?xml version="1.0"?>
<ruleset>
<file>.</file>
<exclude-pattern>vendor/*</exclude-pattern>
<exclude-pattern>lang/*</exclude-pattern>
<exclude-pattern>lib/*</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>

12
phpstan-baseline.neon

@ -1,12 +0,0 @@
parameters:
ignoreErrors:
-
message: "#^Function lang_select not found\\.$#"
count: 2
path: squelettes_par_rubrique_options.php
-
message: "#^Function quete_parent not found\\.$#"
count: 1
path: squelettes_par_rubrique_options.php

12
phpstan.neon.dist

@ -1,12 +0,0 @@
includes:
- phpstan-baseline.neon
parameters:
paths:
- .
excludePaths:
analyseAndScan:
- vendor
- lang
- lib
level: 0
Loading…
Cancel
Save