Compare commits
merge into: spip:master
spip:2.0
spip:3.0
spip:master
spip:spip-2.1
spip:spip-3.0
spip:spip-3.1
spip:spip-3.2
pull from: spip:2.0
spip:2.0
spip:3.0
spip:master
spip:spip-2.1
spip:spip-3.0
spip:spip-3.1
spip:spip-3.2
7 Commits
Author | SHA1 | Message | Date |
---|---|---|---|
|
a3bf4f3040 |
Version 2.0.4
|
4 months ago |
|
f587f9af75 |
Convert to UTF-8
|
5 months ago |
|
a676843070 |
Version 2.0.3
|
5 months ago |
|
8bca40a123 |
feat(dev-tools): Mise en place phpcs+phpstan (#4819)
Co-authored-by: JamesRezo <james@rezo.net>
Reviewed-on: #4819
Co-authored-by: JamesRezo <jamesrezo@noreply.git.spip.net>
Co-committed-by: JamesRezo <jamesrezo@noreply.git.spip.net>
(cherry picked from commit
|
8 months ago |
|
8c89a2ace2 |
passer tous les éléments de formulaires affichés dans la prévisu en disabled
retour sur
|
6 months ago |
|
eb612bf39a |
Version 2.0.2
|
10 months ago |
|
db93b8472f |
Compat [4.0.0;4.0.*]
|
10 months ago |
16 changed files with 382 additions and 191 deletions
-
7.gitignore
-
3action/porte_plume_previsu.php
-
288barre_outils/edition.php
-
6barre_outils/forum.php
-
13barre_outils/vide.php
-
7composer.json
-
4javascript/jquery.previsu_spip.js
-
1javascript/porte_plume_start.js_fonctions.php
-
4paquet.xml
-
15phpcs.xml.dist
-
137phpstan-baseline.neon
-
12phpstan.neon.dist
-
56porte_plume_fonctions.php
-
11porte_plume_pipelines.php
-
1prive/porte_plume_preview_fonctions.php
-
8prive/squelettes/contenu/aide_typo.html
@ -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,15 @@ |
|||
<?xml version="1.0"?> |
|||
<ruleset> |
|||
<file>.</file> |
|||
<exclude-pattern>vendor/*</exclude-pattern> |
|||
<exclude-pattern>lang/*</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,137 @@ |
|||
parameters: |
|||
ignoreErrors: |
|||
- |
|||
message: "#^Function autoriser not found\\.$#" |
|||
count: 1 |
|||
path: action/porte_plume_previsu.php |
|||
|
|||
- |
|||
message: "#^Function recuperer_fond not found\\.$#" |
|||
count: 1 |
|||
path: action/porte_plume_previsu.php |
|||
|
|||
- |
|||
message: "#^Function _T not found\\.$#" |
|||
count: 32 |
|||
path: barre_outils/edition.php |
|||
|
|||
- |
|||
message: "#^Function charger_fonction not found\\.$#" |
|||
count: 1 |
|||
path: barre_outils/forum.php |
|||
|
|||
- |
|||
message: "#^Function charger_fonction not found\\.$#" |
|||
count: 2 |
|||
path: porte_plume_fonctions.php |
|||
|
|||
- |
|||
message: "#^Function find_all_in_path not found\\.$#" |
|||
count: 1 |
|||
path: porte_plume_fonctions.php |
|||
|
|||
- |
|||
message: "#^Function find_in_path not found\\.$#" |
|||
count: 1 |
|||
path: porte_plume_fonctions.php |
|||
|
|||
- |
|||
message: "#^Function html2unicode not found\\.$#" |
|||
count: 1 |
|||
path: porte_plume_fonctions.php |
|||
|
|||
- |
|||
message: "#^Function include_spip not found\\.$#" |
|||
count: 5 |
|||
path: porte_plume_fonctions.php |
|||
|
|||
- |
|||
message: "#^Function pipeline not found\\.$#" |
|||
count: 3 |
|||
path: porte_plume_fonctions.php |
|||
|
|||
- |
|||
message: "#^Function propre not found\\.$#" |
|||
count: 2 |
|||
path: porte_plume_fonctions.php |
|||
|
|||
- |
|||
message: "#^Function protocole_implicite not found\\.$#" |
|||
count: 1 |
|||
path: porte_plume_fonctions.php |
|||
|
|||
- |
|||
message: "#^Function safehtml not found\\.$#" |
|||
count: 1 |
|||
path: porte_plume_fonctions.php |
|||
|
|||
- |
|||
message: "#^Function spip_log not found\\.$#" |
|||
count: 1 |
|||
path: porte_plume_fonctions.php |
|||
|
|||
- |
|||
message: "#^Function table_objet not found\\.$#" |
|||
count: 1 |
|||
path: porte_plume_fonctions.php |
|||
|
|||
- |
|||
message: "#^Function unicode2charset not found\\.$#" |
|||
count: 1 |
|||
path: porte_plume_fonctions.php |
|||
|
|||
- |
|||
message: "#^Function url_absolue not found\\.$#" |
|||
count: 1 |
|||
path: porte_plume_fonctions.php |
|||
|
|||
- |
|||
message: "#^Function _T not found\\.$#" |
|||
count: 1 |
|||
path: porte_plume_ieconfig.php |
|||
|
|||
- |
|||
message: "#^Function autoriser not found\\.$#" |
|||
count: 5 |
|||
path: porte_plume_pipelines.php |
|||
|
|||
- |
|||
message: "#^Function direction_css not found\\.$#" |
|||
count: 1 |
|||
path: porte_plume_pipelines.php |
|||
|
|||
- |
|||
message: "#^Function find_in_path not found\\.$#" |
|||
count: 5 |
|||
path: porte_plume_pipelines.php |
|||
|
|||
- |
|||
message: "#^Function include_spip not found\\.$#" |
|||
count: 5 |
|||
path: porte_plume_pipelines.php |
|||
|
|||
- |
|||
message: "#^Function lang_dir not found\\.$#" |
|||
count: 1 |
|||
path: porte_plume_pipelines.php |
|||
|
|||
- |
|||
message: "#^Function produire_fond_statique not found\\.$#" |
|||
count: 2 |
|||
path: porte_plume_pipelines.php |
|||
|
|||
- |
|||
message: "#^Function recuperer_fond not found\\.$#" |
|||
count: 1 |
|||
path: porte_plume_pipelines.php |
|||
|
|||
- |
|||
message: "#^Function test_espace_prive not found\\.$#" |
|||
count: 2 |
|||
path: porte_plume_pipelines.php |
|||
|
|||
- |
|||
message: "#^Function timestamp not found\\.$#" |
|||
count: 5 |
|||
path: porte_plume_pipelines.php |
|||
|
@ -0,0 +1,12 @@ |
|||
includes: |
|||
- phpstan-baseline.neon |
|||
|
|||
parameters: |
|||
paths: |
|||
- . |
|||
excludePaths: |
|||
analyseAndScan: |
|||
- vendor |
|||
- lang |
|||
- tests |
|||
level: 0 |
Write
Preview
Loading…
Cancel
Save
Reference in new issue