Laurent Destailleur
477fb7a035
Fix warning
2024-03-21 13:55:23 +01:00
Laurent Destailleur
b5804aecfd
Fix bad cast for name newtoken
2024-03-21 13:34:16 +01:00
Laurent Destailleur
380c1092eb
Fix warnings
2024-03-21 13:19:31 +01:00
Laurent Destailleur
f3e6b38d9d
Fix warning
2024-03-21 13:16:59 +01:00
Laurent Destailleur
aee4ccc32c
Fix warnings
2024-03-21 13:06:20 +01:00
Laurent Destailleur
58e719eb56
Fix sanitization
2024-03-21 13:03:30 +01:00
Laurent Destailleur
9d5aa4a448
Fix sanitization
2024-03-21 13:02:41 +01:00
Laurent Destailleur
ae8e49e611
Merge branch 'develop' of git@github.com:Dolibarr/dolibarr.git into develop
2024-03-21 13:00:29 +01:00
Laurent Destailleur
84f2121610
Add a FIXME
2024-03-21 12:58:39 +01:00
Laurent Destailleur
60c626dbe4
Merge branch 'develop' into fix/PhanTypePossiblyInvalidDimOffset
2024-03-21 12:53:59 +01:00
Laurent Destailleur
61eefe5fa9
Merge branch 'develop' into fix/PhanTypeMismatchReturnNullable
2024-03-21 12:51:27 +01:00
Laurent Destailleur
aa77573cd9
Sanitize DDL instructions
2024-03-21 12:45:58 +01:00
Laurent Destailleur
171c32be34
Add DDLDropTable and DDLCreateTable into phpunit tests
2024-03-21 12:21:38 +01:00
Laurent Destailleur
ce2959b022
Clean method DDLCreateTable (used by modulebuilder only) #28996
2024-03-21 12:10:09 +01:00
Laurent Destailleur
ae10eedf2a
Merge branch '19.0' of git@github.com:Dolibarr/dolibarr.git into develop
2024-03-21 11:29:16 +01:00
Laurent Destailleur
57eb393dad
Merge branch '18.0' of git@github.com:Dolibarr/dolibarr.git into 19.0
2024-03-21 11:22:28 +01:00
Laurent Destailleur
27c0192b7c
cast smallint
2024-03-21 11:17:15 +01:00
Andrés Maldonado
976686262d
FIX: SQL syntax error in DDLUpdateField
2024-03-21 02:36:40 +01:00
MDW
2496d20d4f
Fix nullable return with if($ok == 1) in stead of if($ok)
...
# Fix nullable return with if($ok == 1) in stead of if($ok)
This seems to be a bug in Phan where if($ok) changes the type of $ok.
Testing with '$ok == 1' instead fixes the issue.
This has been reported to the phan team.
2024-03-21 00:28:14 +01:00
MDW
53c628f219
Cast DolEditor::Create to string to avoid mistyping as void
2024-03-20 23:54:33 +01:00
MDW
942239b5d6
Update PHPdoc to show nullable return
2024-03-20 23:54:32 +01:00
MDW
5ee5a4ac2c
Suppress PhanDeprecatedFunction message for stripe
2024-03-20 23:54:32 +01:00
MDW
44ef0de1ef
Fix null return by initialising return value, forcing type
2024-03-20 23:54:31 +01:00
MDW
aeefca7e7e
Fix $arrayfields typing lost by dol_sort_array() by forcing the type
2024-03-20 23:29:48 +01:00
MDW
d818e86c09
Fix PhanTypePossiblyInvalidDimOffset by correcting invalid indexes
2024-03-20 22:32:09 +01:00
MDW
351c153102
Fix null return by initialising return value and generate error on 0
2024-03-20 21:58:48 +01:00
MDW
9ecb4bd639
Fix null return by returning empty string in else case
2024-03-20 21:58:47 +01:00
MDW
4f9ad83222
Fix null return by returning empty string
2024-03-20 21:58:46 +01:00
MDW
23b7d63850
Fix null return by initialising return value to 0
2024-03-20 21:58:45 +01:00
MDW
f824bbdc23
Fix null return by returning and logging error
2024-03-20 21:58:45 +01:00
MDW
d591d258f1
Fix null return by returning 0
2024-03-20 21:58:44 +01:00
MDW
6bfdc4655f
Disable ignores phan's baseline.txt (fixed)
2024-03-20 21:58:43 +01:00
MDW
6dc3fc94f7
Fix PhanTypeMismatchReturnNullable by setting return variable in 'else' case
2024-03-20 21:58:42 +01:00
MDW
ba4a482c96
Fix PhanTypeMismatchReturnNullable by forcing type for phan
2024-03-20 21:58:41 +01:00
MDW
90e1674e55
Cast to string rather than quote var
2024-03-20 21:58:40 +01:00
MDW
e105b577ee
Fix PhanTypeMismatchReturn by changing return and logging error
2024-03-20 21:58:39 +01:00
MDW
9f7b0fb326
Fix PhanTypeMismatchReturnNullable by adding die() in final else condition as well
2024-03-20 21:58:38 +01:00
MDW
7e1bf61c0d
Fix PhanTypeMismatchReturnNullable with init
2024-03-20 21:58:37 +01:00
MDW
d245dab56b
Fix PhanTypeMismatchReturnNullable by setting variable
2024-03-20 21:58:36 +01:00
MDW
0a1a663e34
Fix PhanTypeMismatchReturnNullable with initialisation
2024-03-20 21:58:35 +01:00
MDW
3a27977b46
Fix PhanTypeMismatchReturnNullable with typing test
2024-03-20 21:58:34 +01:00
MDW
3b93de2709
Fix PhanTypeMismatchReturnNullable by initialising return value + Some PHPdoc typing
2024-03-20 21:58:34 +01:00
MDW
33486f10c0
Fix PhanTypeMismatchReturnNullable by initialising return value
2024-03-20 21:58:33 +01:00
Laurent Destailleur
5bae4ffe4d
FIX #28978 FIX #28976
2024-03-20 21:29:29 +01:00
Laurent Destailleur
440c7b4493
FIX #28978 FIX #28976
2024-03-20 21:28:35 +01:00
Laurent Destailleur
e16d1d5de9
FIX #28978 FIX #28976
2024-03-20 21:27:28 +01:00
Laurent Destailleur
ef1d1fdcfb
Fix warnings
2024-03-20 21:09:32 +01:00
Laurent Destailleur
8ab3333eec
FIX logo of paypal payment on payment page
2024-03-20 20:59:08 +01:00
Laurent Destailleur
74f3bc5ef5
Merge branch 'develop' of git@github.com:Dolibarr/dolibarr.git into develop
2024-03-20 20:56:59 +01:00
Laurent Destailleur
0191993a16
FIX Selection of line to copy
2024-03-20 19:41:44 +01:00