* Qual: fix commonstickergen..don.class
* Fix notifications for pdf_paiement...cronjob.class
* Qual: Fix notifications for emailcollector..price_parser.class
* Ensure that NULL is used in the database when fk's are 0/empty
* Fix notifications for pdf_paiement...cronjob.class
* Cope with updated phpstan, and make fk_origin_stock int in multiple locations
* Qual: Fix several phan & stan notices
# Qual: Fix several phan & stan notices
Several fixes in files while fixing UnknownClass notices
* Qual: Update prepare_head PHPDoc return types
# Qual: Update prepare_head PHPDoc return types
Provide detailed array return types for prepare_head functions.
* Fix new phan notice
* Better loadLangs typing and fix call to loadLangs
* Fix new issues (stats)
* Other fixes of new issues
* Qual: update phan baseline
* Qual: Fix getTooltipContentArray typing hints
# Qual: Fix getTooltipContentArray typing hints
This defines the aray type for all getTooltipContentArray occurences
* Ignore undeclared property ref_supplier (does not exist on OrderLine)
* Added event message
* Added CommonSignedObject trait. Updated LibStatut method. Removed unnecessary properties.
* Added SHIPPING_MODIFY notification
* Refactored to use setSignedStatus method
* Updated PHPDoc. Removed unnecessary properties. Added contributor details.
* Added signed status to shipping list
* Added signed status to fetch method
* Fixed type
* Added signed status to notification message
* Updated EN localization
* Fixed static property
* Added event message localization
* Updated EN localization
* Updated PHPDoc
* Added signed status for use in tooltip
---------
Co-authored-by: Laurent Destailleur <eldy@destailleur.fr>
* Qual: 🛟 Fix reference to $db with $this->db
# Qual: reference to $db with $this->db
$db was undeclared, use $this->db.
* Fix suspected issue with environment max size and md5sum working on limited files
* Qual: Fix LDAP typing
* Qual: Fix getNextValue related phan notices (part2)
* Update baseline
* Qual: Fix phan notice
* Qual: Fix PhanTypeMismatchProperty and some other phan notices
* Qual: Phan fixes for BOM
* Phan - fix fields
* fixup! Qual: Phan fixes for BOM
* Fix phpstan double array keys for syslog
* Fix $fields phpdoc
* Fix phan typing issues with intermediate var and ??
* Fix phan typing issue with ?? operator
* Ignore htdocs/install/install.forced.php for git
* Qual: Revert to original code, ignore notice
When changing the method to avoid one notice type, another one
appears. So simply ignoring this error.
* Qual: Revert to original code, ignore notice
When changing the method to avoid one notice type, another one
appears. So simply ignoring this error.
* Update baseline
* Qual: Phan fixes for BOM
* fixup! Qual: Phan fixes for BOM
* Fix phpstan double array keys for syslog
* Qual: Revert to original code, ignore notice
When changing the method to avoid one notice type, another one
appears. So simply ignoring this error.
* Ignore PhanTypeSuspiciousNonTraversableForeach to allow integration
* Fix typing hints (phpstan)
---------
Co-authored-by: Laurent Destailleur <eldy@destailleur.fr>
* Add facturation mass action to expedition: button created
* Add facturation mass action to expedition: form mass action settings
* Add facturation mass action to expedition: bills creation
* Add facturation mass action to expedition: Import class
* Add facturation mass action to expedition: Dont reset massaction when creating bills
* Add facturation mass action to expedition: Using right name for linked elements
* Add facturation mass action to expedition: Add linked command to expedition
* Add facturation mass action to expedition: Changed wrong variables names
* Add facturation mass action to expedition: Commentary adjustment
* Add facturation mass action to expedition: Added langs and french translations fur understandability
* Add facturation mass action to expedition: fixing warnings
* Add facturation mass action to expedition: add command to retrieve data
* Add facturation mass action to expedition: added fields when fetching expedition lines
* Add facturation mass action to expedition: fix wrong variable name
* Add facturation mass action to expedition: Avoid adding link between objects twice
* Add facturation mass action to expedition: Clean code + function call
* Add facturation mass action to expedition: added missing brace
* Add facturation mass action to expedition: changed duplicate lang key
* Add facturation mass action to expedition: resolve phan warnings
* Add facturation mass action to expedition: fix variable probably undefined
* Add facturation mass action to expedition: fix php codesniffer
* Add facturation mass action to expedition: fix using new methods
---------
Co-authored-by: Laurent Destailleur <eldy@destailleur.fr>
* New functionality for signed shipment
* Add attribute for check if was already signed
* Update expedition.class.php
* Update onlineSign.php
* Update expedition.class.php
---------
Co-authored-by: Laurent Destailleur <eldy@destailleur.fr>
# Fix $mybool |=... which is binary op, not boolean op
This fixes PhanTypeInvalidLeftOperandOfBitwiseOp.
Replace $var |= ... with $var = ... || $var .
Add cast before ... when needed (@include does not always return bool).
|= always evaluates expression, there for || $var, not $var ||