Commit graph

11 commits

Author SHA1 Message Date
MDW
21ae10b566
Qual: Fix 'SqlInjection' notices (#39231)
* Fix(ci): Add exceptions for 'mouvement' (codespell)

* Qual: Fix 'SqlInjection' notices

# Qual: Fix 'SqlInjection' notices

Batch of 25 files with changes to fix 'SqlInjection' Notices
2026-07-20 15:28:15 +02:00
MDW
c4d8713b14
Qual: Fix phan notices (#38948)
* Qual: Add PHPDoc annotation for $num variable in list_print_total.tpl.php

# Qual: Add PHPDoc annotation for $num variable in list_print_total.tpl.php

Added PHPDoc annotation for the $num variable which is not localy declared.

* Fix: Ensure getDoliDBInstance() receives string for $name

# Fix: Ensure getDoliDBInstance() receives string for $name

Fixes: Argument 5 ($name) is $conf->db->name of type ?non-empty-string|?string but \getDoliDBInstance() takes string defined at htdocs/core/lib/functions.lib.php:591 (expected type to be non-nullable)

* Fix: Define $parameters before adding array items.

#Fix: Define $parameters before adding array items.

Fixes "Variable $parameters was undeclared, but array fields are being added to it.
2026-06-22 18:22:20 +02:00
Frédéric FRANCE
39f54ca1d0
test phpstan (#36069)
* test phpstan

* test phpstan

* test phpstan

* test phpstan

* test phpstan

* test phpstan

* test phpstan

* test phpstan

* test phpstan

* test phpstan

* test phpstan

* test phpstan

* clean baseline

* test

* test
2025-11-04 18:41:36 +01:00
ldestailleur
e013e1c1b4 Fix CI 2025-04-21 11:56:36 +02:00
ldestailleur
48bb878df5 Debug v22 2025-04-20 18:35:42 +02:00
ldestailleur
6ed5e7e175 Try some fixes 2025-04-20 13:36:11 +02:00
Alexandre SPANGARO
1558112e55
Fix phan (#31690)
* Fix phan

* Fix phan

* Fix phan

* Fix copyright

* Fix phan

* Fix phan

---------

Co-authored-by: Laurent Destailleur <eldy@destailleur.fr>
2024-11-05 15:10:27 +01:00
Laurent Destailleur
91fdfc7bf0 Fix phan 2024-11-05 14:25:49 +01:00
Laurent Destailleur
54216fc00d Fix phan 2024-11-05 14:16:32 +01:00
Laurent Destailleur
590ecf0243 Debug v21 2024-11-05 01:43:48 +01:00
Laurent Destailleur
a5da4bd054 Close #31494 2024-11-05 00:36:51 +01:00