dolibarr/htdocs/core/triggers
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
..
dolibarrtriggers.class.php Debug v23 2025-12-21 14:33:25 +01:00
interface_20_all_Logevents.class.php
interface_20_modWorkflow_WorkflowManager.class.php Doc fix #37451 2026-03-21 01:27:30 +01:00
interface_50_modAgenda_ActionsAuto.class.php CI 2026-06-20 17:21:38 +02:00
interface_50_modEventOrganization_EventOrganization.class.php clean code (#36233) 2025-11-12 15:32:29 +01:00
interface_50_modLdap_Ldapsynchro.class.php Qual: Fix Phan notices observed in #38164 (#38231) 2026-05-18 03:08:39 +02:00
interface_50_modMailmanspip_Mailmanspipsynchro.class.php clean code (#36317) 2025-11-20 01:47:46 +01:00
interface_50_modNotification_Notification.class.php clean code (#36317) 2025-11-20 01:47:46 +01:00
interface_50_modTicket_TicketEmail.class.php Qual: Fix Phan notices observed in #38164 (#38231) 2026-05-18 03:08:39 +02:00
interface_80_modStripe_Stripe.class.php
interface_90_modSociete_ContactRoles.class.php
interface_95_modWebhook_WebhookTriggers.class.php Qual: Fix phan notices (#38948) 2026-06-22 18:22:20 +02:00
interface_95_modZapier_ZapierTriggers.class.php Fix picto module zapier 2025-10-19 18:11:00 +02:00
interface_99_modBlockedlog_ActionsBlockedLog.class.php Fix travis 2026-06-20 02:28:25 +02:00
README Fix set status with objectonoff 2026-03-24 18:05:52 +01:00

Directory content
--------------------------------------------------------
This directory contains all available Dolibarr triggers.

Trigger file name syntax is:
> interface_xx_modModule_Mytrigger.php[-NORUN]

where:
> modModule is part of module descriptor file name found in core/modules
            directory or value 'all' if not enabled by a particular module.
> Mytrigger is name of the trigger. The PHP class inside the trigger file
            would be named InterfaceMytrigger.
> -NORUN is optional and disable completely a trigger file if set. To use
            a trigger with such a name, rename file to remove the -NORUN part.