dolibarr/htdocs/core/modules
MDW 42bb4fbf3e
Qual: Enable & fix or ignore Invalid DimOffset (#31176)
* Qual: Enable & fix or ignore Invalid DimOffset

# Qual: Enable & fix or ignore Invalid DimOffset

The Invalid DimOffset notices occur when array keys are defined and
the index used is not amongst the known array keys.

This PR enables these notices and fixes array definitions when needed,
or ignores the notices locally if it's a false positive, or in the
baseline.txt when it does not seem to be a false positive so that
it can be fixed later

* Nullable object typing in function signature not ok for 7.0/8.4

Can't user '?User' as argument type for PHP7.0 which is required by PHP8.4.
Therefore, removing the typing specification in the function definition

---------

Co-authored-by: Laurent Destailleur <eldy@destailleur.fr>
2024-09-29 21:52:31 +02:00
..
action add phpdoc (#31175) 2024-09-29 03:10:45 +02:00
asset fix phpstan (#30881) 2024-09-09 02:28:35 +02:00
bank fix ignored phpstan (most of expects string, int given) (#30649) 2024-09-05 16:05:37 +02:00
barcode fix phpstan (#31177) 2024-09-29 02:49:34 +02:00
bom fix phpstan (#30881) 2024-09-09 02:28:35 +02:00
cheque Qual: Fix PhanPluginUnknownObjectMethodCall where is the only phan notice (#30957) 2024-09-16 01:49:38 +02:00
commande fix phpstan (#31075) 2024-09-23 01:59:14 +02:00
contract fix phpstan (#30881) 2024-09-09 02:28:35 +02:00
delivery Fix phan 2024-09-04 20:17:31 +02:00
dons Qual: Apply PhanPluginDuplicateExpressionAssignmentOperation as phan suggests (#30544) 2024-08-07 02:53:45 +02:00
expedition Merge branch 'develop' of git@github.com:Dolibarr/dolibarr.git into 2024-09-12 21:50:31 +02:00
expensereport fix phpstan (#31146) 2024-09-26 22:21:57 +02:00
export Qual: Improve typing in Export class (#30859) 2024-09-09 03:15:26 +02:00
facture FIX List of payment must be visible event they exists even if total=0 2024-09-29 20:32:09 +02:00
fichinter Qual: Enable & fix or ignore Invalid DimOffset (#31176) 2024-09-29 21:52:31 +02:00
holiday Fix phan 2024-09-04 19:44:01 +02:00
hrm Fix phan 2024-09-04 19:44:01 +02:00
import Qual: Fix phan notices in classes related to class using getNextValue. (#30925) 2024-09-12 21:16:42 +02:00
mailings Qual: Fix PhanUndeclaredMethod (#30661) 2024-08-19 02:05:27 +02:00
member fix phpstan (#31177) 2024-09-29 02:49:34 +02:00
movement fix phpstan (#31093) 2024-09-25 22:56:28 +02:00
mrp fix phpstan (#31075) 2024-09-23 01:59:14 +02:00
oauth add missing translations (#31037) 2024-09-19 21:07:50 +02:00
openid_connect NEW Module to setup OpenID Connect module (#30317) 2024-07-21 02:12:03 +02:00
payment Fix phan warnings 2024-09-04 21:55:59 +02:00
printing Qual: Fix PhanPluginUnknownObjectMethodCall where is the only phan notice (#30957) 2024-09-16 01:49:38 +02:00
printsheet
product fix phpstan (#31177) 2024-09-29 02:49:34 +02:00
product_batch Fix phan 2024-09-04 22:10:33 +02:00
project Qual: Fix notices for FormSms, RssParser, ExpenseReportIk and related (#31086) 2024-09-23 00:37:30 +02:00
propale fix phpstan (#31075) 2024-09-23 01:59:14 +02:00
rapport fix ignored phpstan (most of expects string, int given) (#30649) 2024-09-05 16:05:37 +02:00
reception fix phpstan (#30881) 2024-09-09 02:28:35 +02:00
security WIP Captcha 2024-09-27 19:31:28 +02:00
societe fix phpstan (#31177) 2024-09-29 02:49:34 +02:00
stock fix phpstan (#30881) 2024-09-09 02:28:35 +02:00
stocktransfer Qual: Fix notices for FormSms, RssParser, ExpenseReportIk and related (#31086) 2024-09-23 00:37:30 +02:00
supplier_invoice fix phpstan (#31161) 2024-09-28 11:16:05 +02:00
supplier_order fix phpstan (#31075) 2024-09-23 01:59:14 +02:00
supplier_payment Fix phan warnings 2024-09-04 21:55:59 +02:00
supplier_proposal fix phpstan (#31075) 2024-09-23 01:59:14 +02:00
syslog NEW Can force log file name using a define('SYSLOG_FILE_ADDSUFFIX') 2024-09-18 13:27:30 +02:00
takepos Fix phan 2024-09-04 22:10:33 +02:00
ticket fix phpstan (#30881) 2024-09-09 02:28:35 +02:00
user fix phpstan (#30881) 2024-09-09 02:28:35 +02:00
usergroup fix phpstan (#30881) 2024-09-09 02:28:35 +02:00
workstation Fix phan warnings 2024-09-04 21:55:59 +02:00
DolibarrModules.class.php Qual: Fix multiple phan notifications (#31151) 2024-09-28 12:09:35 +02:00
modAccounting.class.php NEW auto-determine piece number in FEC import (#29672) 2024-05-15 18:10:21 +02:00
modAdherent.class.php Debug v20 2024-05-17 12:53:21 +02:00
modAgenda.class.php add phpdoc (#31175) 2024-09-29 03:10:45 +02:00
modAi.class.php fix phpstan (#31075) 2024-09-23 01:59:14 +02:00
modApi.class.php
modAsset.class.php Small review of asset module (#30213) 2024-07-01 13:02:08 +02:00
modBanque.class.php
modBarcode.class.php
modBlockedLog.class.php
modBom.class.php fix phpstan (#31075) 2024-09-23 01:59:14 +02:00
modBookCal.class.php Update modBookCal.class.php (#29827) 2024-06-04 10:59:54 +02:00
modBookmark.class.php
modCategorie.class.php Debug v20 - export service if module product not enabled 2024-09-09 12:00:40 +02:00
modClickToDial.class.php
modCollab.class.php Clean phan warnings 2024-05-30 13:37:17 +02:00
modCommande.class.php fix phpstan (#31075) 2024-09-23 01:59:14 +02:00
modComptabilite.class.php
modContrat.class.php fix phpstan (#31075) 2024-09-23 01:59:14 +02:00
modCron.class.php
modDataPolicy.class.php Merge branch '20.0' of git@github.com:Dolibarr/dolibarr.git into develop 2024-08-30 16:44:24 +02:00
modDav.class.php
modDebugBar.class.php
modDeplacement.class.php
modDocumentGeneration.class.php
modDon.class.php
modDynamicPrices.class.php
modECM.class.php Clean phan warnings 2024-05-30 13:37:17 +02:00
modEmailCollector.class.php
modEventOrganization.class.php fix phpstan (#31075) 2024-09-23 01:59:14 +02:00
modExpedition.class.php fix phpstan (#31075) 2024-09-23 01:59:14 +02:00
modExpenseReport.class.php replace old syntax, rename pdf models with same class name (#30271) 2024-07-06 02:59:40 +02:00
modExport.class.php
modExternalRss.class.php
modExternalSite.class.php Clean phan warnings 2024-05-30 13:37:17 +02:00
modFacture.class.php fix phpstan (#31075) 2024-09-23 01:59:14 +02:00
modFckeditor.class.php Update codespell-dict.txt (#29644) 2024-05-10 12:34:08 +02:00
modFicheinter.class.php
modFournisseur.class.php fix phpstan (#31075) 2024-09-23 01:59:14 +02:00
modFTP.class.php
modGeoIPMaxmind.class.php
modGravatar.class.php Clean phan warnings 2024-05-30 13:37:17 +02:00
modHoliday.class.php Fix 20 missing entity filter (#30466) 2024-07-25 14:30:07 +02:00
modHRM.class.php Fix permission 2024-09-09 11:51:35 +02:00
modImport.class.php
modIncoterm.class.php Clean phan warnings 2024-05-30 13:37:17 +02:00
modIntracommreport.class.php Fix position 2024-05-13 12:03:08 +02:00
modKnowledgeManagement.class.php fix phpstan (#31075) 2024-09-23 01:59:14 +02:00
modLabel.class.php
modLdap.class.php
modLoan.class.php
modMailing.class.php
modMailmanSpip.class.php Fix bad property 2024-05-17 12:59:09 +02:00
modMargin.class.php Clean phan warnings 2024-05-30 13:37:17 +02:00
modModuleBuilder.class.php
modMrp.class.php NEW Add export profile to export MO and lines of consumption/production 2024-09-27 15:33:30 +02:00
modMultiCurrency.class.php Debug v20 2024-06-15 18:55:17 +02:00
modNotification.class.php
modOauth.class.php Clean phan warnings 2024-05-30 13:37:17 +02:00
modOpenIDConnect.class.php NEW Module to setup OpenID Connect module (#30317) 2024-07-21 02:12:03 +02:00
modOpenSurvey.class.php Fix menu link 2024-06-12 15:44:54 +02:00
modPartnership.class.php fix phpstan (#31075) 2024-09-23 01:59:14 +02:00
modPaybox.class.php Clean phan warnings 2024-05-30 13:37:17 +02:00
modPaymentByBankTransfer.class.php Clean phan warnings 2024-05-30 13:37:17 +02:00
modPaypal.class.php Clean phan warnings 2024-05-30 13:37:17 +02:00
modPrelevement.class.php
modPrinting.class.php
modProduct.class.php Clean phan warnings 2024-05-30 13:37:17 +02:00
modProductBatch.class.php Clean phan warnings 2024-05-30 13:37:17 +02:00
modProjet.class.php fix phpstan (#31075) 2024-09-23 01:59:14 +02:00
modPropale.class.php fix phpstan (#31075) 2024-09-23 01:59:14 +02:00
modReceiptPrinter.class.php
modReception.class.php fix phpstan (#31075) 2024-09-23 01:59:14 +02:00
modRecruitment.class.php fix phpstan (#31075) 2024-09-23 01:59:14 +02:00
modResource.class.php Clean phan warnings 2024-05-30 13:37:17 +02:00
modSalaries.class.php
modService.class.php Clean phan warnings 2024-05-30 13:37:17 +02:00
modSocialNetworks.class.php Fix tabs must appears only on setup of module 2024-08-13 23:34:21 +02:00
modSociete.class.php fix phpstan (#31075) 2024-09-23 01:59:14 +02:00
modStock.class.php Merge branch '20.0' of git@github.com:Dolibarr/dolibarr.git into develop 2024-09-23 22:09:24 +02:00
modStockTransfer.class.php Clean phan warnings 2024-05-30 13:37:17 +02:00
modStripe.class.php Clean phan warnings 2024-05-30 13:37:17 +02:00
modSupplierProposal.class.php fix phpstan (#31075) 2024-09-23 01:59:14 +02:00
modSyslog.class.php
modTakePos.class.php Cleanaccount (#29271) 2024-04-20 21:53:40 +01:00
modTax.class.php
modTicket.class.php fix phpstan (#31075) 2024-09-23 01:59:14 +02:00
modUser.class.php Debug v20 2024-04-20 13:17:53 +02:00
modVariants.class.php Debug v20 2024-08-31 12:12:59 +02:00
modWebhook.class.php
modWebPortal.class.php Debug v20 2024-05-30 13:59:16 +02:00
modWebServices.class.php
modWebsite.class.php fix phpstan (#31075) 2024-09-23 01:59:14 +02:00
modWorkflow.class.php Clean phan warnings 2024-05-30 13:37:17 +02:00
modWorkstation.class.php fix phpstan (#31075) 2024-09-23 01:59:14 +02:00
modZapier.class.php