Commit graph

129461 commits

Author SHA1 Message Date
thibdrev
e3ef3996db
qual: phpstan for htdocs/expedition/card.php
htdocs/expedition/card.php	761	Property ExpeditionLigne::$entrepot_id (int) does not accept array|string.
htdocs/expedition/card.php	762	Property ExpeditionLigne::$qty (float) does not accept array|string.
2024-01-30 22:19:43 +01:00
Laurent Destailleur
ebf5fd261b
Merge pull request #27900 from thibdrev/patch-3
qual: phpstan for htdocs/compta/tva/class/tva.class.php
2024-01-30 21:15:48 +01:00
thibdrev
83e90c65c2
qual: phpstan for htdocs/compta/tva/class/tva.class.php
htdocs/compta/tva/class/tva.class.php	88	PHPDoc type int|string of property Tva::$totalpaid is not covariant with PHPDoc type float of overridden property CommonObject::$totalpaid.
htdocs/compta/tva/class/tva.class.php	429	Property Tva::$fk_bank (int) does not accept string.
htdocs/compta/tva/class/tva.class.php	430	Property Tva::$fk_user_creat (int) does not accept string.
htdocs/compta/tva/class/tva.class.php	431	Property Tva::$fk_user_modif (int) does not accept string.
htdocs/compta/tva/class/tva.class.php	579	Property Tva::$datec (DateTime) does not accept int.
2024-01-30 21:12:19 +01:00
Laurent Destailleur
eafe3deeb3
Merge pull request #27899 from thibdrev/patch-2
qual: phpstan - Property CommonDict::$active (int) does not accept string.
2024-01-30 21:05:25 +01:00
Laurent Destailleur
8d68091d3a
Merge pull request #27895 from thibdrev/patch-1
qual: roundUpToNextMultiple()
2024-01-30 21:04:28 +01:00
thibdrev
0d395aa082
Update cunits.class.php
htdocs/core/class/cunits.class.php	88	Property CommonDict::$active (int) does not accept string.
htdocs/core/class/cunits.class.php	91	Property CommonDict::$active (int) does not accept string.
htdocs/core/class/cunits.class.php	321	Property CommonDict::$active (int) does not accept string.
2024-01-30 20:31:05 +01:00
thibdrev
fa21289257
Update ctyperesource.class.php
htdocs/core/class/ctyperesource.class.php	83	Property CommonDict::$active (int) does not accept string.
htdocs/core/class/ctyperesource.class.php	280	Property CommonDict::$active (int) does not accept string.
htdocs/core/class/ctyperesource.class.php	436	Property CommonDict::$active (int) does not accept string.
2024-01-30 20:27:07 +01:00
thibdrev
aa3085d7ad
Update ctypent.class.php
htdocs/core/class/ctypent.class.php	67	Property CommonDict::$id (int) does not accept string.
htdocs/core/class/ctypent.class.php	76	Property CommonDict::$active (int) does not accept string.
htdocs/core/class/ctypent.class.php	196	Property CommonDict::$activ
2024-01-30 20:25:46 +01:00
thibdrev
5df55a0c34
Update cstate.class.php
htdocs/core/class/cstate.class.php	87	Property CommonDict::$active (int) does not accept string.
htdocs/core/class/cstate.class.php	197	Property CommonDict::$active (int) does not accept string.
2024-01-30 20:22:55 +01:00
thibdrev
84e0909310
Update cregion.class.php
htdocs/core/class/cregion.class.php	97	Property CommonDict::$active (int) does not accept string.
htdocs/core/class/cregion.class.php	227	Property CommonDict::$active (int) does not accept string.
2024-01-30 20:20:52 +01:00
Laurent Destailleur
919eb2fcf7
Merge pull request #27802 from W1W1-M/qual-societe-phpstan-lvl3
Qual phpstan societe class
2024-01-30 18:44:56 +01:00
Laurent Destailleur
3e40f74463
Merge pull request #27897 from thibdrev/patch-2
qual: Update website.class.php - function replaceLineUsingNum()
2024-01-30 18:11:04 +01:00
Laurent Destailleur
bd1d7141e2
Merge pull request #27893 from thibdrev/patch-14
qual: phpdoc for htdocs/core/class/utils.class.php
2024-01-30 18:09:24 +01:00
thibdrev
f83e18f53b
qual: Update website.class.php - function replaceLineUsingNum()
function_exists('posix_getpwuid') is checked twice but not function_exists('posix_geteuid')
2024-01-30 18:06:11 +01:00
Laurent Destailleur
b8b60ac896
Merge pull request #27888 from lamrani002/setTemplateForEachModel
NEW get html template exemple for each model
2024-01-30 18:00:42 +01:00
Laurent Destailleur
68471a1c7e
Merge pull request #27894 from thibdrev/patch-6
qual: phpstan for htdocs/projet/tasks/task.php
2024-01-30 17:58:34 +01:00
thibdrev
bb2ca75c46
qual: Update FunctionsLibTest.php - add unit test for roundUpToNextMultiple()
see remarks from PR 27865
2024-01-30 17:49:58 +01:00
thibdrev
5ebc760e04
qual Update functions.lib.php - clearer return for roundUpToNextMultiple() 2024-01-30 17:36:55 +01:00
thibdrev
df60be8abc
phpcs 2024-01-30 17:34:40 +01:00
thibdrev
206f359c53
Merge branch 'Dolibarr:develop' into patch-6 2024-01-30 17:31:06 +01:00
thibdrev
91bc9dc057
Merge branch 'Dolibarr:develop' into patch-14 2024-01-30 17:29:40 +01:00
Laurent Destailleur
87e03b3fcc
Merge pull request #27854 from W1W1-M/new-export-order-client-code
NEW export order client code
2024-01-30 17:19:41 +01:00
Laurent Destailleur
1f528e5686
Merge pull request #27882 from atm-lucasmantegari/FIX_DefaultWorkstation_On_Bom
FIX - Default Workstation on bom
2024-01-30 17:12:06 +01:00
Laurent Destailleur
27a6a61827
Merge branch 'develop' into setTemplateForEachModel 2024-01-30 17:07:36 +01:00
Laurent Destailleur
5087e74a20
Merge pull request #27871 from thibdrev/patch-5
qual: phpstan for htdocs/projet/tasks/stats/index.php
2024-01-30 17:00:42 +01:00
Laurent Destailleur
94a8d9a0a8 Merge branch 'develop' of git@github.com:Dolibarr/dolibarr.git into develop 2024-01-30 17:00:07 +01:00
Laurent Destailleur
694739575c
Merge pull request #27878 from thibdrev/patch-12
qual: phpdoc for htdocs/core/class/cregion.class.php
2024-01-30 16:59:57 +01:00
Laurent Destailleur
ea6982f763 Fix sql to use int 2024-01-30 16:59:44 +01:00
Laurent Destailleur
2d988d48ff
Merge pull request #27874 from thibdrev/patch-9
qual: phspstan for htdocs/public/eventorganization/attendee_new.php
2024-01-30 16:49:05 +01:00
Laurent Destailleur
938e22e8cf
Merge pull request #27885 from mdeweerd/flow/add_yamlfix_config
Qual: Add yamlfix configuration
2024-01-30 16:46:23 +01:00
Laurent Destailleur
6420a5e945
Merge pull request #27865 from thibdrev/patch-3
qual: phpstan for htdocs/core/lib/functions.lib.php
2024-01-30 16:45:52 +01:00
MDW
e523fd58fa Qual: Add yamlfix configuration
Add a yamlfix configuration so that it can be adapted to
the project's preferences
2024-01-30 16:45:46 +01:00
ATM-Lucas
ae6a7a2052 trouble with jsonparse 2024-01-30 16:41:01 +01:00
Laurent Destailleur
3763abcce4
Merge pull request #27866 from thibdrev/patch-2
qual: phpstan for htdocs/expedition/dispatch.php
2024-01-30 16:38:35 +01:00
Laurent Destailleur
e30dc45635
Merge pull request #27872 from thibdrev/patch-7
qual: phpstan for htdocs/public/bookcal/index.php
2024-01-30 16:38:11 +01:00
Laurent Destailleur
52d5134754
Merge pull request #27867 from thibdrev/patch-1
qual: phpstan for htdocs/expedition/card.php
2024-01-30 16:35:51 +01:00
Laurent Destailleur
5e534d8c86
Merge pull request #27870 from thibdrev/patch-4
qual: phpstan for htdocs/projet/tasks.php
2024-01-30 16:35:25 +01:00
Laurent Destailleur
5736d0a66c
Merge pull request #27880 from thibdrev/patch-15
qual: phpdoc for htdocs/core/class/translate.class.php
2024-01-30 16:34:25 +01:00
Laurent Destailleur
5f0ff46619
Merge pull request #27879 from thibdrev/patch-13
qual: phpdoc for htdocs/core/class/cstate.class.php
2024-01-30 16:34:02 +01:00
Laurent Destailleur
0095229447
Merge pull request #27875 from thibdrev/patch-10
qual: phpstan for htdocs/public/members/new.php
2024-01-30 16:33:44 +01:00
Laurent Destailleur
7dc78fd986
Merge pull request #27873 from thibdrev/patch-8
qual: phpstan for htdocs/public/company/new.php
2024-01-30 16:33:22 +01:00
Laurent Destailleur
19d8b25134
Merge pull request #27886 from Hystepik/fix-some-php-warnings
Fix some php warnings
2024-01-30 16:25:19 +01:00
Laurent Destailleur
f51f911249
Merge pull request #27889 from W1W1-M/new-intervention-list-date-filter
NEW intervention list date filter
2024-01-30 16:24:48 +01:00
Laurent Destailleur
5abb87757d
Merge pull request #27860 from mdeweerd/phan/fix-hasRights
Fix: Typing hint for hasRights parameter.
2024-01-30 16:24:30 +01:00
Laurent Destailleur
31a6e490a5
Merge pull request #27857 from mdeweerd/pre-commit/phpcs-report-style
Qual: Make phpcs messages in pre-commit extractable.
2024-01-30 16:24:07 +01:00
Laurent Destailleur
c479a37c59
Merge pull request #27869 from mdeweerd/fix/dolidb_label_const
Fix: LABEL is required on the db classes.
2024-01-30 16:18:25 +01:00
Laurent Destailleur
1c7f5a7142
Merge pull request #27877 from thibdrev/patch-11
qual: phpstan for htdocs/societe/paymentmodes.php
2024-01-30 16:15:04 +01:00
Laurent Destailleur
2d5ea00803
Merge pull request #27868 from mdeweerd/typing/files.lib
Qual: Fix typing in files.lib
2024-01-30 16:12:48 +01:00
William Mead
5a5e8926c4 Refactored code 2024-01-30 16:06:31 +01:00
Laurent Destailleur
6d6f1acec0
Merge branch 'develop' into typing/files.lib 2024-01-30 16:06:08 +01:00