Commit Graph

12 Commits

Author SHA1 Message Date
MDW
073426d97e Qual: Fix multiple phan notices, update baseline (#36022)
* Qual: Fix phan notice with copy of attribute

* Qual: Fix phan notices with cast and updated param definition

* Qual: Fix phan notice with cast

* Qual: Update parameter type hint in utf8_check function

The parameter type hint for the $str parameter in the utf8_check function has been updated to include nullable types (string or int).

* Qual: Update User parameter type to nullable in call_trigger methods

The User parameter in call_trigger methods has been updated to be nullable to accommodate cases where the user object might not be available. This change ensures better flexibility and robustness in the codebase.

* Qual: Update phan baseline

* Qual: phpstan compatible type

* Qual: Add missing type hints for phan

- Add missing type hints for phan
- Fix indentation issues
- Improved consistency in code structure

* Qual: Update field configuration for backward compatibility

Enhanced the field configuration for backward compatibility by adding expected properties to the 'ref' field array.

---------

Co-authored-by: Laurent Destailleur <eldy@destailleur.fr>
2025-11-01 17:47:28 +01:00
ldestailleur
00143a8368 Fix constant 2025-10-03 11:59:27 +02:00
ldestailleur
6a009f95dc Add a error log but does not block if trigger name is wrong 2025-10-03 11:27:39 +02:00
ldestailleur
16ee8858b4 Fix trigger PAYMENTONLINE 2025-10-03 10:46:40 +02:00
ldestailleur
267871e805 Prepare code for simplification 2025-08-07 15:26:57 +02:00
ldestailleur
bd999c21a2 Fix CI 2025-08-06 19:49:31 +02:00
ldestailleur
d03af36d95 Fix use of const trigger to avoid compatibility pb in future. 2025-08-06 19:08:01 +02:00
ldestailleur
829054a653 Fix phan error 2025-08-06 14:30:59 +02:00
ldestailleur
fe8c21c2d4 Fix warnings 2025-08-06 13:46:55 +02:00
ldestailleur
2bd0ab34b4 Try to fix warning 2025-08-06 13:33:15 +02:00
ldestailleur
3298062561 Fix regression 2025-08-06 01:20:57 +02:00
ldestailleur
a486c64387 Move common trigger code into a dedicated file 2025-08-04 16:32:44 +02:00