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>
This commit is contained in:
MDW
2024-01-12 17:14:13 +01:00
committed by GitHub
parent 4cf62b9711
commit 42a0d05b63
51 changed files with 104 additions and 104 deletions

View File

@@ -240,7 +240,7 @@ class CodingPhpTest extends PHPUnit\Framework\TestCase
// Must not found $this->db->
$ok=true;
$matches=array();
// Check string $this->db-> into a non class.php file (it shoud be $db-> into such classes)
// Check string $this->db-> into a non class.php file (it should be $db-> into such classes)
preg_match_all('/'.preg_quote('$this->db->', '/').'/', $filecontent, $matches, PREG_SET_ORDER);
foreach ($matches as $key => $val) {
$ok=false;