Écritures Pods centralisées (class-pods-storage), catégories par slug et IDs Pods par nom, tests

This commit is contained in:
2026-06-10 21:30:41 +02:00
parent 20e2158612
commit c38f8b4d7e
5 changed files with 308 additions and 186 deletions

17
phpcs.xml.dist Normal file
View File

@@ -0,0 +1,17 @@
<?xml version="1.0"?>
<ruleset name="THALIM thalim-hal-importer">
<description>WordPress Coding Standards pour thalim-hal-importer.</description>
<!-- Installation : composer global require wp-coding-standards/wpcs dealerdirect/phpcodesniffer-composer-installer
Exécution depuis ce dossier : phpcs -->
<file>.</file>
<exclude-pattern>tests/*</exclude-pattern>
<arg name="extensions" value="php"/>
<arg value="sp"/>
<rule ref="WordPress-Core">
<exclude name="Universal.Arrays.DisallowShortArraySyntax"/>
<exclude name="WordPress.WhiteSpace.PrecisionAlignment"/>
<exclude name="Generic.WhiteSpace.DisallowSpaceIndent"/>
</rule>
<rule ref="WordPress.Security"/>
<rule ref="WordPress.DB.PreparedSQL"/>
</ruleset>