2
0
forked from Wavyzz/dolibarr
Commit Graph

34632 Commits

Author SHA1 Message Date
Laurent Destailleur
d12eedd7d1 Merge pull request #27916 from mdeweerd/qual/fix_typing_user
Qual: Fix annotation
2024-01-31 12:03:40 +01:00
Laurent Destailleur
e1802306e9 Merge pull request #27920 from mdeweerd/fix/dol_eval
Fix: dol_eval - return value in case of exception.
2024-01-31 12:01:59 +01:00
Laurent Destailleur
3b2e0f7408 Merge pull request #27919 from mdeweerd/fix/doActions
Fix: Always return value as suggested
2024-01-31 11:59:30 +01:00
Laurent Destailleur
16accb3460 Fix missing due date 2024-01-31 11:19:52 +01:00
MDW
23b73eb714 Fix: dol_eval - return value in case of exception.
# Fix: dol_eval - return value in case of exception.

dol_eval did not return a value in case of exception.  Fixed.
2024-01-31 09:28:08 +01:00
Laurent Destailleur
dc961b46ca Merge branch '19.0' of git@github.com:Dolibarr/dolibarr.git into develop 2024-01-31 03:51:47 +01:00
Laurent Destailleur
70444b75f4 Fix title 2024-01-31 03:13:54 +01:00
Laurent Destailleur
4c0fa340f5 Merge branch 'develop' of git@github.com:Dolibarr/dolibarr.git into develop 2024-01-31 02:48:14 +01:00
Laurent Destailleur
a48a399b31 FIX Add a limit in nb of element in view event/message 2024-01-31 02:47:49 +01:00
Laurent Destailleur
280a7a24e4 Rename page 2024-01-31 01:56:24 +01:00
MDW
485dec120f Fix: Always return value as suggested
# Fix: Always return value as suggested

Always return a value in doAction (as per PHPDoc type hint).
2024-01-31 01:42:15 +01:00
MDW
5655eb387c Qual: Fix annotation
# Qual: Fix annotation

The typing hint was incorrect, corrected.
2024-01-31 00:41:06 +01:00
Eric Seigne
1f21e1a945 fix #27883 : zero could be a value stored 2024-01-30 21:42:57 +01:00
Eric Seigne
8d9ddf4a51 fix comment about datehour -> datetime 2024-01-30 21:35:19 +01:00
thibdrev
3d5fd010b4 Update cgenericdic.class.php
htdocs/core/class/cgenericdic.class.php	100	Property CGenericDic::$active (int) does not accept string.
htdocs/core/class/cgenericdic.class.php	324	Property CGenericDic::$active (int) does not accept string.
2024-01-30 21:25:01 +01:00
thibdrev
7546063a8e Update ccountry.class.php
htdocs/core/class/ccountry.class.php	76	Property CommonDict::$active (int) does not accept string.
htdocs/core/class/ccountry.class.php	198	Property CommonDict::$active (int) does not accept string.
2024-01-30 21:22:21 +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
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
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
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
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
27a6a61827 Merge branch 'develop' into setTemplateForEachModel 2024-01-30 17:07:36 +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
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
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
atm-florian
101c5a2dca FIX 17.0 - php8 warnings: test for $field existence before checking if it is null or empty 2024-01-30 16:21:51 +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
6d6f1acec0 Merge branch 'develop' into typing/files.lib 2024-01-30 16:06:08 +01:00
Lamrani Abdel
9ef70a70be fix orthographe 2024-01-30 15:51:38 +01:00
Lamrani Abdel
11d985e24f generate html model for each box 2024-01-30 15:37:52 +01:00
Laurent Destailleur
63c5b65592 Allow the page for website account by default 2024-01-30 13:22:53 +01:00
thibdrev
736a26a527 phpcs 2024-01-29 23:00:53 +01:00
thibdrev
1aef35e96d qual: phpdoc for htdocs/core/class/translate.class.php 2024-01-29 22:59:31 +01:00
thibdrev
c0d8da34d4 qual: phpdoc for htdocs/core/class/utils.class.php 2024-01-29 22:36:23 +01:00
thibdrev
3da8970a09 qual: phpdoc for htdocs/core/class/cstate.class.php 2024-01-29 22:20:18 +01:00
thibdrev
60a2c30f87 qual: phpdoc for htdocs/core/class/cregion.class.php 2024-01-29 22:05:05 +01:00
MDW
044d342956 Fix: LABEL is required on the db classes.
# Fix: LABEL is required on the db classes.

Define const in parent type so that it is required in the subclasses.
2024-01-29 18:56:17 +01:00
MDW
f0cb078378 Qual: Fix typing in files.lib
Fix several typing hints in files.lib .
Fixed some initialisers.
Simplified some expressions.
Cast some `return $result` statements  (could be null).
2024-01-29 18:34:28 +01:00
thibdrev
2fe5347d66 qual: phpstan for htdocs/core/lib/functions.lib.php
htdocs/core/lib/functions.lib.php	128	Function getMultidirOutput() should return string|void but returns null.
htdocs/core/lib/functions.lib.php	9889	Function getLanguageCodeFromCountryCode() should return string but returns null.
htdocs/core/lib/functions.lib.php	10105	Function getLanguageCodeFromCountryCode() should return string but returns null.
htdocs/core/lib/functions.lib.php	11372	Function roundUpToNextMultiple() should return int but returns float.
2024-01-29 18:22:54 +01:00