Commit Graph

10 Commits

Author SHA1 Message Date
MDW
a0f515ef12 Qual: Improve write_file typing (part 2) (#30527)
* Qual: Add abstract write_file to ModeleDon

And update phpdoc for derived classes

* Qual: Add abstract write_file to ModeleChequeReceipts

And update phpdoc for derived classes

* Qual: Add abstract write_file to ModelePDFRecruitmentCandidature

And update phpdoc for derived classes

* Qual: Add abstract write_file to ModelePDFStock & ModelePDFStockTransfer

And update phpdoc for derived classes

* Qual: Update phpdoc write_file for CommonStickerGenerator classes

---------

Co-authored-by: Laurent Destailleur <eldy@destailleur.fr>
2024-11-13 23:58:32 +01:00
MDW
bd2f8e0255 Fix arg type to str_replace() with casts 2024-03-19 22:52:29 +01:00
lamrani abdelwadoud
7c36864ff9 FIX saveFile by adding null in return (#28508)
* FIX saveFile by adding null in return

* Update html_generic.modules.php

---------

Co-authored-by: Laurent Destailleur <eldy@destailleur.fr>
2024-02-28 20:03:26 +01:00
MDW
39769482b1 Qual: Fix typing hints for DoliDB (#27484)
# Qual: Fix typing hints for DoliDB

This should help the static tools for type and method checking.
2024-01-13 15:50:02 +01:00
Frédéric FRANCE
185b65712a Method should return null but return statement is missing. 2024-01-09 18:51:11 +01:00
Laurent Destailleur
b69059af76 Fix warning 2023-11-27 12:24:18 +01:00
Laurent Destailleur
53dab922fd Fix php8.2 warnings 2023-11-27 11:39:32 +01:00
Frédéric FRANCE
de1b8da5ed fix phpstan (#26814) 2023-11-23 15:12:13 +01:00
Lucas Marcouiller
88e9e091cf fix some php stan errors (#26747)
* fis some php stan errors

* fix dolchmod

* Update stats.class.php

---------

Co-authored-by: Hystepik <lucas.marcouiller@gmail.com>
Co-authored-by: Laurent Destailleur <eldy@destailleur.fr>
2023-11-22 00:23:16 +01:00
Benjamin Neumann
f7d77cbd7d NEW Generic doc template for donations (#26338)
* NEW Generic doc template for donations

Can be used to create written acknowledgments to substantiate a charitable
contribution in the United States, but it is not specific to the United
States.

Multi-lingual.

If the global setting DONATION_NOTE_PUBLIC is greater than 0, the public
note for the donation is also included. This can be used in the United
States to notate if a donation is not entirely deductible.

* FIX Style errors.

* FIX A new typo
2023-10-24 13:13:40 +02:00