Commit graph

133486 commits

Author SHA1 Message Date
Lamrani Abdel
b5903da492 NEW preview exemple page in website when create page 2024-03-21 03:47:16 +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
fc6af20479
Update typing for database functions 2024-03-21 00:00:00 +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
MDW
dc15b2ee79
Qual: Bump logToCheckStyle for better filename handling
# Qual: Bump logToCheckStyle for better filename handling

Some notifications from the PHPCS step in pre-commit extracted too many
characters for the filename in a specific case.
The update to logToCheckStyle fixes that.
2024-03-20 21:57:08 +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
34bd1f0fd3 Doc 2024-03-20 21:00:37 +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
Laurent Destailleur
151d8fbdbc
Merge pull request #28987 from defrance/patch-323
Disable change on system product_nature element
2024-03-20 18:22:29 +01:00
Laurent Destailleur
a4da3d91b9
Merge pull request #28992 from frederic34/patch-9
fix phan
2024-03-20 18:22:05 +01:00
Laurent Destailleur
fe4e74a627
Merge pull request #27779 from Slordef/develop-accounting-account-expensereport-separation
NEW: separation of expense report from salary accounting code
2024-03-20 18:03:45 +01:00
Frédéric FRANCE
5ff590c646
fix phan 2024-03-20 17:49:43 +01:00
Laurent Destailleur
bd76a084a4 Better structure of payment pages to allow integration of other usages 2024-03-20 17:45:49 +01:00
Laurent Destailleur
fe4d567a82
Merge pull request #28991 from OPEN-DSI/18.0_fix_generate_invoice_odt_directory
FIX: Fix save directory for invoice ODT and multientities
2024-03-20 16:22:13 +01:00
Kamel Khelifa
9e7aeca447 FIX: Fix save directory for invoice ODT and multientities 2024-03-20 15:26:19 +01:00
Laurent Destailleur
f2da993614
Merge branch 'develop' into patch-323 2024-03-20 15:26:10 +01:00
Laurent Destailleur
e3c76ca86a Clean translation files 2024-03-20 15:25:47 +01:00
Laurent Destailleur
c24a5234f7
Merge branch 'develop' into patch-323 2024-03-20 15:15:49 +01:00
Laurent Destailleur
cb3880cc62 Clean translations 2024-03-20 15:15:28 +01:00
Laurent Destailleur
979003e539
Update dict.php 2024-03-20 14:15:47 +01:00
Lamrani Abdel
c3ad689973 Fix return method deleteLine (PHPStan warnings 2024-03-20 14:15:02 +01:00