MDW
ec2a1928ba
Qual: Update fields phpdoc to include fields that are defined/used in some cases
...
# Qual: Update fields phpdoc to include fields that are defined/used in some cases
comment, copytoclipboard, autofocusoncreated are documented and used in some cases for the
$fields definition
2024-12-05 02:36:50 +01:00
MDW
178d748cad
Qual: Fix phan/phpstan notices in class files (part 5) ( #31617 )
...
* 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
2024-11-06 20:15:15 +01:00
MDW
32732d37d2
Qual: Improve typing in Export class ( #30859 )
...
* Update baseline
* Qual: Improve typing in Export class
* Add 'abstract' methods to help with typing
* Add some typing
* Improve typing in export modules
* Improve typing for AccountancyExport
* Qual: PHPDoc executeCLI (nullable arguments, range)
* PHPDoc for export function
* Fix $permissiontoClose -> $permissiontoclose
* PHPDoc - Improve AccountingJournal typing
* Improve export_journal tpl typing
* Improve html.formsetup typing
* Impove commonfieldsexport typing
* Improve extrafieldsinexport typing
* Fix typing, initialisation
* Fix typing intracommreport
* Ensure string in $error for CronJob
2024-09-09 03:15:26 +02:00
thibdrev
3dbd79dad8
qual: Method getKanbanView() has parameter $arraydata with no value type specified in iterable type array. ( #30712 )
...
* Update adherent.class.php
* Update adherent_type.class.php
* Update availabilities.class.php
* Update propal.class.php
* Update account.class.php
* Update paymentvarious.class.php
* Update cashcontrol.class.php
* Update localtax.class.php
* Update remisecheque.class.php
* Update bonprelevement.class.php
* Update chargesociales.class.php
* Update contact.class.php
* Update contrat.class.php
* Update commonorder.class.php
* Update timespent.class.php
* Update don.class.php
* Update conferenceorbooth.class.php
* Update expedition.class.php
* Update expensereport.class.php
* Update paymentexpensereport.class.php
* Update fichinter.class.php
* Update fournisseur.commande.class.php
* Update holiday.class.php
* Update evaluation.class.php
* Update job.class.php
* Update position.class.php
* Update skill.class.php
* Update intracommreport.class.php
* Update knowledgerecord.class.php
* Update loan.class.php
* Update mo.class.php
* Update partnership.class.php
* Update inventory.class.php
* Update entrepot.class.php
* Update project.class.php
* Update holiday.class.php - fix phan error
* Update task.class.php
* Update reception.class.php
* Update recruitmentcandidature.class.php
* Update recruitmentjobposition.class.php
* Update paymentsalary.class.php
* Update salary.class.php
* Update supplier_proposal.class.php
* Update ticket.class.php
* Update user.class.php
* Update usergroup.class.php
* Update webportalinvoice.class.php
* Update webportalorder.class.php
* Update webportalpropal.class.php
* Update workstation.class.php
* Update facture.class.php
2024-08-22 03:31:04 +02:00
MDW
ca414de526
Qual: Fix $fields related notices with Phan ( #30704 )
...
* Qual: Typing hints/ignore directives for phan notices
* Update field typing
2024-08-21 13:23:35 +02:00
MDW
b0087aaf61
Qual: Enable phan on modulebuilder ( #30652 )
...
* Allow null for buyer, and force '' for in printObjectLine(s)
* Allow null for Contact in show_actions_done
* Qual: Enable phan on modulebuilder
# Qual: Enable phan on modulebuilder
Most files of the modulebuilder template can be checked as regular files.
It will help improve the template
* Update baseline (enable modulebuilder notices)
* Add properties that are expected to exist on modules_boxes
* Qual: Ignore false positive (phan)
* Set phpdoc type to include null on formAddObjectLine
* Qual: Fixes for modulebuilder (phan, phpstan, bugs, format)
* Fix phpcs for intracom
* Make ModeleBoxes:showBox() signature match child class's
* Fix *box::showBox() phpdoc types
* Update index.php
---------
Co-authored-by: Laurent Destailleur <eldy@destailleur.fr >
2024-08-18 18:16:08 +02:00
Laurent Destailleur
be1ef19d3a
Fix phan warning
2024-08-18 00:26:04 +02:00
Laurent Destailleur
7ea04ab0af
Clean code
2024-08-17 23:59:08 +02:00
Laurent Destailleur
13d61527c9
Debug module intracommreport
2024-08-17 19:18:00 +02:00
Laurent Destailleur
31112fa467
Debug module intracommreport
2024-08-17 18:55:29 +02:00
Frédéric FRANCE
d0830b3159
fix phpstan ( #29602 )
...
* fix phpstan
* fix phpstan
* fix phpstan
* fix phpstan
* fix travis
* fix phpstan
* fix phpstan
* fix phan
* fix phpstan
* fix phpstan
* fix phpstan
* fix phpstan
fix phpstan
fix phpstan
fix phpstan
fix phpstan
* fix phpstan
* fix phpstan
* fix phpstan
* fix phpstan
* fix phpstan
* fix travis
* fix phpstan
* fix phpstan
* fix phpstan
---------
Co-authored-by: Laurent Destailleur <eldy@destailleur.fr >
2024-05-05 00:34:19 +02:00
Laurent Destailleur
fd9475be03
Use same doc comment eveywhere.
2024-04-07 12:26:27 +02:00
Laurent Destailleur
38fb00489d
PHPDoc
2024-04-05 13:44:59 +02:00
MDW
aae30ff64f
Fix arg type to SimpleXMLElement::addChild() with casts
2024-03-20 04:09:36 +01:00
MDW
1aa9f97897
Fix arguments to addChild() by casting to string
2024-03-19 02:59:29 +01:00
Laurent Destailleur
e6b2756c19
QUAL The signature for all ->delete() method has been modified to match
...
the modulebuilder template (so first param is now always $user), except
the delete for thirdparty (still accept the id of thirdparty to delete
as first parameter). Will probably be modified into another version.
2024-03-07 17:58:02 +01:00
Frédéric FRANCE
bc2f527e41
add phpdoc ( #28639 )
...
* add phpdoc
* add phpdoc
* add phpdoc
* add phpdoc
* add phpdoc
* add phpdoc
2024-03-05 17:11:46 +01:00
thibdrev
c6dfdf8791
qual: phpstan for htdocs/intracommreport/class/intracommreport.class.php ( #28118 )
...
htdocs/intracommreport/class/intracommreport.class.php 193 Method IntracommReport::getXML() should return int|SimpleXMLElement but returns string|false.
htdocs/intracommreport/class/intracommreport.class.php 225 Method IntracommReport::getXMLDes() should return int|SimpleXMLElement but returns string|false.
htdocs/intracommreport/class/intracommreport.class.php 466 Method IntracommReport::getNextDeclarationNumber() should return string but returns (float|int).
2024-02-12 02:09:49 +01:00
Frédéric FRANCE
d2aad48d18
fix phpstan ( #27502 )
2024-01-14 17:59:44 +01:00
MDW
bd002480ce
Qual: Spelling htdocs/[d-k]* ( #27427 )
...
Highlights:
- htdocs/install/doctemplates/websites/website_template-restaurant/containers/page249.tpl.php
Potential functional change (fix) because toekn was changed to token:
`<input type=hidden name=toekn`
- htdocs/install/upgrade2.php
$filles changed to $children
- htdocs/intracommreport/class/intracommreport.class.php
Local $enveloppe changed to $envelope.
Co-authored-by: Laurent Destailleur <eldy@destailleur.fr >
2024-01-13 19:48:41 +01:00
Laurent Destailleur
4501872f17
Clean code with rector 2
2024-01-05 04:33:58 +01:00
Laurent Destailleur
c7bce53c7f
Fix warning
2023-12-11 18:16:32 +01:00
Laurent Destailleur
e48f8c815c
Fix warning
2023-12-11 18:14:35 +01:00
Laurent Destailleur
b20e130dba
Debug v19
2023-12-11 18:04:39 +01:00
Laurent Destailleur
bd2e2c5c75
FIX #26944
2023-12-06 16:18:28 +01:00
Laurent Destailleur
1c9429643a
Fix php-cs
2023-12-04 13:46:42 +01:00
Frédéric FRANCE
53c8a3acf8
clean phpdoc for phpstan ( #26905 )
2023-12-01 19:51:32 +01:00
Laurent Destailleur
06736918de
Fix warning
2023-11-27 12:33:07 +01:00
Laurent Destailleur
7ce9bf6b23
Clean code
2023-08-05 15:44:28 +02:00
Laurent Destailleur
e9a3c37b89
Debug v17
2022-12-09 20:01:05 +01:00
UT from dolibit
2c38b8e5d4
Update intracommreport.class.php
2022-09-07 19:52:42 +02:00
Laurent Destailleur
7ff9c86817
Fix phpcs
2022-06-13 15:03:45 +02:00
Laurent Destailleur
e9d5ba5de3
Debug v16
2022-06-13 10:58:21 +02:00
Laurent Destailleur
6b88655213
Fix num_rows
2022-05-18 23:40:42 +02:00
Laurent Destailleur
3d72a21396
Clean code
2021-08-28 03:09:41 +02:00
Laurent Destailleur
8a62d97b89
Remove one thousand of useless files
2021-04-12 15:57:16 +02:00
Alexandre SPANGARO
f64d0377c5
Merge remote-tracking branch 'upstream/develop' into 14a22
2021-04-04 06:03:41 +02:00
Laurent Destailleur
fae3cca494
FIX #yogosha5746 - next step (work in progress)
2021-03-30 17:45:15 +02:00
Alexandre SPANGARO
94a861c1c8
Code enhanced - Standardize field name
2021-03-01 04:07:31 +01:00
Alexandre SPANGARO
da439ca0c1
Fix module Intracomm - Structure XML
2020-12-17 06:09:42 +01:00
Alexandre SPANGARO
440c9e4840
Fix module Intracomm
2020-12-17 06:02:28 +01:00
Frédéric FRANCE
44d3bc2e64
add work
2020-12-14 08:39:08 +01:00
Frédéric FRANCE
203fc77e9f
clean
2020-12-13 10:33:59 +01:00
Frédéric FRANCE
4c09e14c49
fix sql error
2020-12-13 10:32:23 +01:00
Frédéric FRANCE
4e18f46f28
doxygen
2020-12-05 23:53:55 +01:00
Scrutinizer Auto-Fixer
ab25e047c0
Scrutinizer Auto-Fixes
...
This commit consists of patches automatically generated for this project on https://scrutinizer-ci.com
2020-10-31 17:51:30 +00:00
Scrutinizer Auto-Fixer
7f52920716
Scrutinizer Auto-Fixes
...
This commit consists of patches automatically generated for this project on https://scrutinizer-ci.com
2020-10-31 13:32:18 +00:00
Frédéric FRANCE
c2ea4f063b
Update intracommreport.class.php
2020-10-22 23:50:20 +02:00
Frédéric FRANCE
2146ce2dee
Update intracommreport.class.php
2020-10-22 23:37:29 +02:00
Frédéric FRANCE
0db7847ba7
Update intracommreport.class.php
2020-10-22 23:24:11 +02:00