jyhere
88a294df22
CHANGE: add a notice in getRows() instead of returning false ( #29790 )
...
* CHANGE: add a notice in getRows() instead of returning false
* CHANGE: replace notice by a fatal error when using getRows with no limit
2024-06-03 18:03:17 +02:00
Laurent Destailleur
629ccf9681
Merge branch 'FIX_Entity_on_workstation' of
...
github.com:ATM-Consulting/dolibarr into
ATM-Consulting-FIX_Entity_on_workstation
2024-05-23 13:02:07 +02:00
Laurent Destailleur
271624de1b
Debug v20
2024-05-15 18:04:52 +02:00
Laurent Destailleur
b1f4f09b1c
Code comment
2024-05-06 18:25:06 +02:00
Frédéric FRANCE
f8ea179029
fix phan ( #29519 )
2024-04-28 17:38:54 +02:00
Laurent Destailleur
8963940c20
Fix phan
2024-04-28 17:38:39 +02:00
Laurent Destailleur
f9fbbb2706
Merge branch 'develop' of git@github.com:Dolibarr/dolibarr.git into develop
2024-04-28 17:36:44 +02:00
Laurent Destailleur
2aea004cba
Fix phan
2024-04-28 17:36:33 +02:00
Frédéric FRANCE
f1dc60dcc7
fix phan ( #29514 )
...
* Update product_lot.php
* Update replenishment.lib.php
* Update product.class.php
* Update product.class.php
* fix phan
* fix phpstan
* fix phpstan
---------
Co-authored-by: Laurent Destailleur <eldy@destailleur.fr >
2024-04-28 17:25:15 +02:00
Laurent Destailleur
d1d68fdf8a
Fix phan
2024-04-28 17:24:31 +02:00
Laurent Destailleur
6358f89c0d
Fix phan warnings
2024-04-28 17:10:51 +02:00
Laurent Destailleur
55c8048639
Try to fix phan warnings
2024-04-28 13:02:49 +02:00
Frédéric FRANCE
82d63247d7
fix phpstan pgsql.class.php ( #29511 )
...
* fix phpstan pgsql.class.php
* Update Database.interface.php
* fix phan
fix phan
fix phan
* fix phan
* fix phan
* fix phan
* fix phan
fix phan
fix phan
fix phan
fix phan
* fix phan
* fix phan
* fix phan
* fix phan
2024-04-27 22:01:34 +02:00
Laurent Destailleur
a9f5b5c227
Doxygen
2024-04-27 18:08:13 +02:00
Laurent Destailleur
2691603345
Doxygen
2024-04-27 18:04:27 +02:00
MDW
bc5e5b67af
Qual: Update phan baseline ( #29300 )
...
* Qual: Update phan baseline
* Init variable to ensure it is defined
* Init $module_part to ensure it is defined
* Init $modulepart to ensure it is defined
* phpdoc typing for getNetNeeds and getNetNeedsTree
* Enforce type for phan
* Initialise $massactionbutton so that it is defined
* phpdoc: improve typing
* Encore character_set value is string (for typing)
* fixup! Qual: Update phan baseline
* Fix duplicate code
---------
Co-authored-by: Laurent Destailleur <eldy@destailleur.fr >
2024-04-12 01:06:52 +02:00
Laurent Destailleur
132595f10f
CSS customreport
2024-04-10 01:38:36 +02:00
Frédéric FRANCE
00b2185813
fix phpstan ( #29258 )
...
* fix phpstan
* fix phpstan
* fix phpstan
* fix phpstan
2024-04-07 11:50:26 +02:00
MDW
c7560a7c89
Qual: improve typing for jdate
...
# Qual: improve typing for jdate
Limit jdate return type to int|'' .
Tested with phan and phpstan.
This will allow setting the same type on the date fields and allow
detecting the assignment of non empty strings.
int|''|'specific value' also works, so could be used on other fields.
2024-04-02 13:40:04 +02:00
Laurent Destailleur
c87f24e3f4
Fix mysqli
2024-03-29 17:09:36 +01:00
Laurent Destailleur
68babcbc46
NEW Add sql stddev_pop db function.
2024-03-29 14:52:27 +01:00
Laurent Destailleur
fbc1890dfc
Remove deprecate. Seems not possible to depreciate a new function
...
without adding comment on each call.
2024-03-24 00:38:08 +01:00
Laurent Destailleur
ce274c403e
Depreciate a method usage
2024-03-23 19:06:54 +01:00
Laurent Destailleur
51322707e9
Try to fix phpunit with pgsql
2024-03-22 02:44:55 +01:00
Laurent Destailleur
7290ffd1ab
Better support for postgesql
2024-03-21 15:57:45 +01:00
Laurent Destailleur
a6d5b32c2e
Merge branch 'develop' into qual/db/typing
2024-03-21 14:13:58 +01:00
Laurent Destailleur
2d0e57ce7c
Fix test for pgsql
2024-03-21 14:13:17 +01:00
Laurent Destailleur
8ab80490e6
Merge branch 'develop' into qual/db/typing
2024-03-21 13:57:13 +01:00
Laurent Destailleur
477fb7a035
Fix warning
2024-03-21 13:55:23 +01:00
Laurent Destailleur
0d6675114e
Merge branch 'develop' into qual/db/typing
2024-03-21 13:19:51 +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
e97f0a7668
Merge branch 'develop' into qual/db/typing
2024-03-21 13:06:35 +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
5fa2bfff2e
Merge branch 'develop' into qual/db/typing
2024-03-21 12:55:20 +01:00
Laurent Destailleur
61eefe5fa9
Merge branch 'develop' into fix/PhanTypeMismatchReturnNullable
2024-03-21 12:51:27 +01:00
Laurent Destailleur
04d8a20b63
Merge branch 'develop' into qual/db/typing
2024-03-21 12:46:25 +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
01a058b208
Fix regression
2024-03-21 11:22:12 +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
fc6af20479
Update typing for database functions
2024-03-21 00:00:00 +01:00
MDW
942239b5d6
Update PHPdoc to show nullable return
2024-03-20 23:54:32 +01:00
MDW
23516ed5fa
Fix arg type for str_replace() with cast
2024-03-19 20:38:54 +01:00