Commit graph

133821 commits

Author SHA1 Message Date
MDW
5ca5d67939
Improve phpdoc typing 2024-03-31 01:03:33 +01:00
MDW
aad8c3d3d2
Improve phpdoc for make_substitutions 2024-03-31 01:03:32 +01:00
MDW
13043be5c5
Improve phpdoc typing 2024-03-31 01:03:31 +01:00
MDW
a27b730090
Final elseif conditions is always true, optimize 2024-03-31 01:03:30 +01:00
MDW
a4d8ec3810
Remove useless test - empty('0') is also true 2024-03-31 01:03:29 +01:00
Laurent Destailleur
5c72441cc2
Merge pull request #29133 from mdeweerd/fix/related/fournisseur.facture
Fix phan notices related to fournisseur.facture.class.php
2024-03-30 23:46:01 +01:00
Laurent Destailleur
b8a1f02d8e
Merge pull request #29132 from mdeweerd/fix/global.inc/typing
Fix phan notices by adding phan typing
2024-03-30 23:41:23 +01:00
Laurent Destailleur
64729f78f7
Merge pull request #29129 from mdeweerd/fix/rss
Fix use $rssparser, not undefined $rss
2024-03-30 23:31:00 +01:00
Laurent Destailleur
fc87390867
Merge pull request #29130 from mdeweerd/fix/use/undefined_soc
Fix use $societe not undefined $soc
2024-03-30 23:30:32 +01:00
Laurent Destailleur
0e6a0ec699
Merge pull request #29127 from frederic34/discount_phpstan
fix phpstan phpdoc
2024-03-30 20:02:06 +01:00
Laurent Destailleur
56105667e7
Merge pull request #29128 from mdeweerd/fix/stan
Fix PHPdoc typing (to fix php stan notices)
2024-03-30 20:01:48 +01:00
Laurent Destailleur
becdab9deb
Merge pull request #29131 from mdeweerd/fix/obp
Fix typo $obp -> $objp
2024-03-30 20:00:47 +01:00
Laurent Destailleur
18916faf10
Merge pull request #29137 from mdeweerd/fix/htmlform/misplaced_false_test
Fix misplaced comparison to 'false' for strpos
2024-03-30 19:54:24 +01:00
Laurent Destailleur
bf5dff67ee
Merge pull request #29139 from mdeweerd/fix/related/html.form
Fix phan notices related to Html Form
2024-03-30 19:53:25 +01:00
Laurent Destailleur
d66061ba87
Merge pull request #29141 from defrance/patch-327
php error warning
2024-03-30 19:52:08 +01:00
Charlène Benke
6a6873ff73
Update replenish.php
php error warning
2024-03-30 19:11:29 +01:00
MDW
5c10ec533d
Typing improvements for html.form.class 2024-03-30 18:09:18 +01:00
MDW
4627a14186
Ensure $assignedtouser is an array (even after json_decode) 2024-03-30 18:03:12 +01:00
MDW
dce30779e1
Improve phpdoc typing 2024-03-30 18:03:11 +01:00
MDW
94796d90b8
Improve phpdoc typing ajax_autocompleter 2024-03-30 18:03:10 +01:00
MDW
7c465ede53
Fix select_dolusers selected user test when argument is User
# Fix select_dolusers selected user test when argument is User

$selected is always an array but was tested as if it was the object itself
2024-03-30 18:03:09 +01:00
MDW
8b2680e17c
Correct arguments to select_all_categories,multiselectarray 2024-03-30 18:03:08 +01:00
MDW
50bba8cdd8
Fix misplaced comparison to 'false' for strpos
# Fix misplaced comparison to 'false' for strpos

Phan indicated the expression could be optimised, but the !== false
test is misplaced
2024-03-30 15:35:37 +01:00
Laurent Destailleur
3d28163c2e Fix create dir if dir does not exist 2024-03-30 03:33:36 +01:00
Laurent Destailleur
94f7d2177a Fix for external server mode 2024-03-30 00:18:42 +01:00
Laurent Destailleur
44209434ca NEW Can force language of a page in website module with xx/pagename 2024-03-29 23:59:23 +01:00
MDW
9afe7dba59
Fix phan notices related to fournisseur.facture.class.php
# Fix phan notices related to fournisseur.facture.class.php

This fixes deprecations and phpdoc.
2024-03-29 23:48:40 +01:00
MDW
52ef6f937b
Fix use $societe not undefined $soc
# Fix use $societe not undefined $soc

Code is referencing undefined $soc, so using $societe instead
2024-03-29 21:19:39 +01:00
MDW
b7f420d5bd
Fix phan notices by adding phan typing 2024-03-29 21:17:16 +01:00
Laurent Destailleur
535d9de357 Translation 2024-03-29 20:58:48 +01:00
MDW
cb7e8f08d1
Fix typo $obp -> $objp
# Fix typo $obp -> $objp

Fix typo resulting in null var
2024-03-29 19:51:11 +01:00
MDW
1560ba2603
Fix use $rssparser, not undefined $rss 2024-03-29 18:47:36 +01:00
MDW
b871aa98e8
Reset Product->id to 0, not to null 2024-03-29 18:34:21 +01:00
MDW
04c3e80fc5
Fix typing 2024-03-29 18:26:48 +01:00
MDW
df0e663c13
Improve fetAllByProductAttribute phpdoc return type 2024-03-29 18:26:47 +01:00
MDW
9e892f4367
Improve dol_clone typing by using phpdoc template 2024-03-29 18:26:46 +01:00
MDW
0ccdbfe147
Correct/improve phpdoc typing 2024-03-29 18:26:45 +01:00
MDW
32cb705419
Fix phpdoc int return ranges 2024-03-29 18:26:44 +01:00
Frédéric France
f6f5d346b7
fix phpstan phpdoc 2024-03-29 17:59:35 +01:00
Laurent Destailleur
c87f24e3f4 Fix mysqli 2024-03-29 17:09:36 +01:00
Laurent Destailleur
67b12fc438 FIX bad search on _ char in like when Debugbar is on 2024-03-29 17:08:31 +01:00
Laurent Destailleur
d68911b6b6 Merge branch 'develop' of git@github.com:Dolibarr/dolibarr.git into develop 2024-03-29 14:53:36 +01:00
Laurent Destailleur
68babcbc46 NEW Add sql stddev_pop db function. 2024-03-29 14:52:27 +01:00
Laurent Destailleur
ba7db18389
Merge pull request #29096 from altairis-noe/element_properties
NEW: consider document lines in element properties
2024-03-29 14:37:26 +01:00
Laurent Destailleur
e89dfd4422
Merge pull request #29120 from jyhere/patch-15
FIX: supplier proposaldet ref_fourn size
2024-03-29 14:30:32 +01:00
Laurent Destailleur
0863dd525d
Merge pull request #29124 from leninrivas/patch-19
Enable user establishment
2024-03-29 14:29:19 +01:00
Lenin Rivas
fa65546800
Enable user establishment 2024-03-29 08:04:02 -05:00
Laurent Destailleur
f1157c8e5f
Merge pull request #29123 from frederic34/patch-9
fix test function GETPOSISSET unknown
2024-03-29 13:48:36 +01:00
Laurent Destailleur
347ffb4282
Merge branch 'develop' into patch-15 2024-03-29 13:48:18 +01:00
Laurent Destailleur
362f5f530c
Merge pull request #29113 from frederic34/phpstan_user
fix phpstan
2024-03-29 13:47:37 +01:00