This change to the workflow will run phpcs on all files in develop,
17.0, 18.0, ... (rule== branch ends in .0).
This ensures that phpcs is run in a github workflow for fast phpcs
issue detection in the develop and other main branches.
Ultimately, this means that the PHPCS action can be disabled
in branches where it is active. But I propose to verify that
the updated action does the job as expected (tested in a fork
it is ok).
Co-authored-by: Laurent Destailleur <eldy@destailleur.fr>
* NEW: FormSetupItem: show picto in front of confs applied across all entities
* Show globe picto only if multicompany is enabled + use img_picto instead of hard-coded HTML
* Update htdocs/core/class/html.formsetup.class.php
Missing assignment to $out
* QUAL Fix PDF generation to not ignore col align.
before fix, if you change a column's content's alignment in a hook - it is ignored.
* fix function documentation
* Update commondocgenerator.class.php
---------
Co-authored-by: Laurent Destailleur <eldy@destailleur.fr>
* qual: phpstan for htdocs/comm/propal/class/propal.class.php
htdocs/comm/propal/class/propal.class.php 75 Property Propal::$table_element_line (int) does not accept default value of type string.
htdocs/comm/propal/class/propal.class.php 1414 Property CommonObject::$fk_delivery_address (int) does not accept string.
htdocs/comm/propal/class/propal.class.php 1426 Property CommonObject::$fk_project (int) does not accept string.
htdocs/comm/propal/class/propal.class.php 1499 Property CommonObject::$user_author (User) does not accept int.
* Update propal.class.php
use $object->user_creation_id rather than $object->user_author
htdocs/fourn/class/fournisseur.product.class.php 898 Property ProductFournisseur::$fourn_price (float) does not accept string.
htdocs/fourn/class/fournisseur.product.class.php 899 Property ProductFournisseur::$fourn_qty (float) does not accept string.
htdocs/fourn/class/fournisseur.product.class.php 900 Property ProductFournisseur::$fourn_remise_percent (float) does not accept string.
htdocs/fourn/class/fournisseur.product.class.php 901 Property ProductFournisseur::$fourn_remise (float) does not accept string.
Co-authored-by: Laurent Destailleur <eldy@destailleur.fr>
* qual: phpstan for htdocs/compta/bank/class/account.class.php
htdocs/compta/bank/class/account.class.php 798 Property AccountLine::$fk_type (int) does not accept string.
htdocs/compta/bank/class/account.class.php 1290 Method Account::solde() should return int but returns string.
* phpcs
* qual: phpstan for htdocs/compta/paiement/class/cpaiement.class.php
htdocs/compta/paiement/class/cpaiement.class.php 98 Property Cpaiement::$active (int) does not accept string.
htdocs/compta/paiement/class/cpaiement.class.php 253 Property Cpaiement::$active (int) does not accept string.
htdocs/compta/paiement/class/cpaiement.class.php 373 Property Cpaiement::$active (int) does not accept string.
* Update commondict.class.php
htdocs/core/class/cunits.class.php 88 Property CommonDict::$active (int) does not accept string.
htdocs/core/class/cunits.class.php 415 Method CUnits::getUnitFromCode() should return int but returns string.
htdocs/core/class/cunits.class.php 88 Property CommonDict::$active (int) does not accept string.
htdocs/core/class/cunits.class.php 415 Method CUnits::getUnitFromCode() should return int but returns string.