dolibarr/dev/setup/codesniffer
MDW 42a0d05b63
Qual: Spelling outside htdocs (#27448)
* Qual: Spelling outside htdocs

# Qual: Fix spelling of files not in the htdocs subdirectory.

Highlight:
- Change in email test from unvalid to invalid that should give the same test result.

* Update Dolibarr-soapui-project.xml

---------

Co-authored-by: Laurent Destailleur <eldy@destailleur.fr>
2024-01-12 17:14:13 +01:00
..
php.ini Qual: Spelling outside htdocs (#27448) 2024-01-12 17:14:13 +01:00
README Fix phpcs 2021-05-12 23:08:52 +02:00
ruleset.dtd Fix remove a lot of warnings on Eclipse 2020-02-21 17:47:36 +01:00
ruleset.xml Qual: Spelling outside htdocs (#27448) 2024-01-12 17:14:13 +01:00

README (English)
--------------------------------

This directory contains ruleset files to use to develop Dolibarr EPR & CRM.

To install/upgrade phpcs:
> sudo pear upgrade PHP_CodeSniffer

To run phpcs:
> cd dolibarrgitrepo
> phpcs --standard=dev/setup/codesniffer/ruleset.xml --extensions=php --parallel=8 .

To fix with phpcbf:
> cd dolibarrgitrepo
> phpcbf --standard=dev/setup/codesniffer/ruleset.xml --extensions=php --parallel=8 .


Note with Eclipse: You must setup the PTI plugin of Eclipse into PHPCodeSniffer menu with:
* tab value to 4
* path of code sniffer standard to dev/codesniffer