2
0
forked from Wavyzz/dolibarr
Commit Graph

2658 Commits

Author SHA1 Message Date
Laurent Destailleur
61921f0364 Merge branch '19.0' of git@github.com:Dolibarr/dolibarr.git into develop 2024-02-01 12:24:00 +01:00
Laurent Destailleur
4cba87129c Merge branch '18.0' of git@github.com:Dolibarr/dolibarr.git into 19.0 2024-02-01 12:22:54 +01:00
Laurent Destailleur
9dd1646818 Merge branch '17.0' of git@github.com:Dolibarr/dolibarr.git into 18.0 2024-02-01 12:20:12 +01:00
thibdrev
4ad9e9b828 qual: phpstan for htdocs/core/class/commonobject.class.php
htdocs/core/class/commonobject.class.php	1032	Method CommonObject::getLastMainDocLink() should return string but returns int.
htdocs/core/class/commonobject.class.php	1550	Method CommonObject::liste_type_contact() should return array but returns null.
htdocs/core/class/commonobject.class.php	1638	Method CommonObject::listeTypeContacts() should return array but returns null.
htdocs/core/class/commonobject.class.php	1708	Method CommonObject::getIdContact() should return array but returns null.
htdocs/core/class/commonobject.class.php	2011	Method CommonObject::fetchObjectFrom() should return int but returns false.
htdocs/core/class/commonobject.class.php	2891	Property CommonObject::$retained_warranty_fk_cond_reglement (string) does not accept int.
htdocs/core/class/commonobject.class.php	4868	Method CommonObject::getTotalDiscount() should return float|string but returns null.
htdocs/core/class/commonobject.class.php	9557	Property CommonObject::$ref (string) does not accept int.
htdocs/core/class/commonobject.class.php	10407	Method CommonObject::fetchComments() should return bool but returns int.
htdocs/core/class/commonobject.class.php	10411	Method CommonObject::fetchComments() should return bool but returns int<0, max>.
2024-01-31 21:04:08 +01:00
Laurent Destailleur
cd7bab52ea Reduce the size of an export of website template. Removed useless files. 2024-01-31 18:08:50 +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
079b2aa3a0 Debug webportal 2024-01-27 17:58:19 +01:00
Laurent Destailleur
25a91c63cf Debug webportal module 2024-01-27 17:23:03 +01:00
Laurent Destailleur
3a22fb28e3 Merge pull request #27784 from thibdrev/patch-3
qual: phpstan for htdocs/compta/facture/class/facture.class.php
2024-01-26 02:27:43 +01:00
EchoLoGeek
67db158278 Fix PHPCS error 2024-01-25 12:53:23 +01:00
EchoLoGeek
2275dd9610 Add morecss properties to common textarea 2024-01-25 12:27:07 +01:00
thibdrev
3f7e51f448 Update commonobject.class.php - defineBuyPrice() return type 2024-01-24 21:04:02 +01:00
Laurent Destailleur
b7f50fe0d9 Merge pull request #27752 from Daoud-mohamed/Technical-debts-7
Fix some warnings -Technical debts-
2024-01-24 14:29:01 +01:00
Laurent Destailleur
99fee99a52 Merge pull request #27769 from thibdrev/patch-4
qual: phpdoc
2024-01-24 10:48:41 +01:00
thibdrev
d0224e0714 fix conflict with last commit 2024-01-24 07:45:37 +01:00
thibdrev
1a0639662f typo 2024-01-24 07:42:35 +01:00
MDW
565fe09cb5 Qual: Fix translation keys.
# Qual: Fix translation keys

Modify some translation keys so that they correspond to each other,
use an existing key or fix the contents as it's not translated yet.
2024-01-23 23:56:20 +01:00
thibdrev
fcc3ecd455 phpcs 2024-01-23 22:31:12 +01:00
thibdrev
1f73c1110e phpdoc 2024-01-23 22:26:55 +01:00
Laurent Destailleur
ce21af7b6c Merge branch '19.0' of git@github.com:Dolibarr/dolibarr.git into develop 2024-01-23 22:17:46 +01:00
Laurent Destailleur
cca01cbda4 Merge branch '18.0' of git@github.com:Dolibarr/dolibarr.git into 18.0 2024-01-23 22:15:36 +01:00
mohamed daoud
0b4e02821f Fix some warnings -Technical debts- 2024-01-23 16:07:59 +01:00
Frédéric France
03e29c6960 fix param 2024-01-20 09:22:38 +01:00
Laurent Destailleur
4795c40601 Merge branch 'develop' of git@github.com:Dolibarr/dolibarr.git into
develop
2024-01-19 15:36:53 +01:00
Laurent Destailleur
f711d0d144 Typo doc 2024-01-19 12:36:07 +01:00
VESSILLER
26a05d3046 FIX update price extrafield on propal card 2024-01-19 10:15:42 +01:00
Frédéric FRANCE
17335b25b4 fix phpstan 2024-01-18 22:06:56 +01:00
Frédéric FRANCE
f03a8fdc65 fix phpstan 2024-01-15 09:20:57 +01:00
MDW
89004f7e03 Qual: Spelling htdocs/core (#27491)
Highlights:
- initialY in pdf_standard.modules.php was unused
  - remove (otherwise -> initially) (+same in other file)
2024-01-13 19:48:20 +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
Laurent Destailleur
f201692001 Fix phpstan 2024-01-12 19:50:22 +01:00
Laurent Destailleur
618a364064 FIX #27439 but using the opposite direction. int is bette as we can evolve to add a third value in a future. 2024-01-12 17:47:54 +01:00
MDW
58ba3e31fa Qual: Fix spelling for crypted and referer (#27408)
# Qual: Fix spelling for crypted and referer.

The proper spelling is encrypted and referrer, but the code has
some occurences where referer and crypted need to be maintained.

To make verification easier, this spelling correction is limited to
mostly these corrections and some minor translations and a only a
few other corrections.

crypted and referer are added as exceptions for spelling after this fix.

Co-authored-by: Laurent Destailleur <eldy@destailleur.fr>
2024-01-11 10:07:06 +01:00
MDW
d7fc7b408f Qual: Spelling commonobject (#27409)
# Qual: Fix spelling in commonobject.class.php.

Most corrections are in comments.
Variable  was changed to  and is local to the file.
Some comments were translated.
Variable  was changed to , used locally.
2024-01-11 10:00:48 +01:00
Laurent Destailleur
78601732d2 Merge branch '19.0' of git@github.com:Dolibarr/dolibarr.git into develop 2024-01-09 17:13:20 +01:00
Laurent Destailleur
cdf2e4408c Debug v19 2024-01-09 16:56:32 +01:00
Laurent Destailleur
27fc5a2f84 Merge branch '19.0' of git@github.com:Dolibarr/dolibarr.git into develop 2024-01-06 16:56:28 +01:00
Laurent Destailleur
76ee9e506d Debug v19 2024-01-06 16:43:01 +01:00
Laurent Destailleur
4501872f17 Clean code with rector 2 2024-01-05 04:33:58 +01:00
Laurent Destailleur
b28ae5d8d3 Clean code 2023-12-27 12:12:20 +01:00
Laurent Destailleur
1985d1fd4d Fix warnings 2023-12-23 20:00:57 +01:00
Lucas Marcouiller
06e17be0c0 Merge branch 'develop' into fix-php-stan-warnings 2023-12-21 13:44:41 +01:00
Hystepik
d08f91e4cb Fix some phpstan warnings 2023-12-21 13:43:19 +01:00
Laurent Destailleur
0db281a919 FIX SEC we must not propagate SQL requests as parameters. 2023-12-20 21:35:04 +01:00
Laurent Destailleur
1f738e5a7b Clean code 2023-12-19 17:46:39 +01:00
Laurent Destailleur
13e4fe7010 Merge pull request #27118 from frederic34/patch-3
fix phpdoc
2023-12-19 15:56:10 +01:00
Laurent Destailleur
0b0f05523e FIX #yogosha19628 2023-12-18 19:47:49 +01:00
Frédéric FRANCE
65e528f619 Merge branch 'develop' into patch-3 2023-12-18 09:22:56 +01:00
Frédéric FRANCE
e9aa68e3fa fix phpdoc 2023-12-15 20:36:10 +01:00
Frédéric FRANCE
ee7584425c fix phpdoc 2023-12-15 12:02:32 +01:00