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
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
MDW
fc6af20479
Update typing for database functions
2024-03-21 00:00:00 +01:00
Laurent Destailleur
eb4f53665d
Merge branch '19.0' of git@github.com:Dolibarr/dolibarr.git into develop
...
Conflicts:
.github/workflows/pre-commit.yml
ChangeLog
dev/tools/codespell/codespell-lines-ignore.txt
htdocs/comm/mailing/card.php
htdocs/contact/card.php
htdocs/langs/en_US/admin.lang
htdocs/modulebuilder/template/core/modules/mailings/mailinglist_mymodule_myobject.modules.php
2024-02-07 18:30:10 +01:00
Laurent Destailleur
4aeda8d28d
Fix escapeforlike/escape
2024-02-03 15:29:40 +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
Can Arslan
9a5a24a634
FIX: PHPDoc return type
2023-12-11 16:03:20 -07:00
Frédéric FRANCE
61b79fda17
avoid phpstan error with phpdoc
2023-12-06 15:46:39 +01:00
Frédéric FRANCE
53c8a3acf8
clean phpdoc for phpstan ( #26905 )
2023-12-01 19:51:32 +01:00
Laurent Destailleur
fa79a93a51
Fix warning
2023-11-27 12:16:09 +01:00
Laurent Destailleur
d02c615f40
Merge branch 'develop' of git@github.com:Dolibarr/dolibarr.git into
...
develop
2023-09-16 15:14:22 +02:00
Laurent Destailleur
5e0bd9bb71
Avoid warning
2023-09-16 13:53:29 +02:00
Laurent Destailleur
818b1193b1
Fix escapesql
2023-09-15 16:19:05 +02:00
Laurent Destailleur
630e305161
Standardize db drivers. No more static class.
2023-08-04 04:18:59 +02:00
Laurent Destailleur
673236cf4b
Fix warning
2023-06-29 13:24:37 +02:00
Frédéric FRANCE
834cb83047
NEW repair script skip views
2023-04-14 10:06:10 +02:00
Laurent Destailleur
24fcb2ff16
The deprecated method escapeunderscore() of database handlers has been
...
removed. You must use escapeforlike instead.
2022-12-17 13:06:22 +01:00
Laurent Destailleur
94767f5fd1
Fix signature of begin method
2022-10-06 17:09:38 +02:00
Laurent Destailleur
34da698537
FIX Import in upgrade when using a socialnetwork field.
2022-09-14 16:01:45 +02:00
Laurent Destailleur
6592eb5d73
Debug for php 8.1
2022-05-08 18:25:22 +02:00
Laurent Destailleur
bb436e556d
Fix warnings
2021-12-21 15:23:56 +01:00
Laurent Destailleur
0176ab6057
Merge branch '14.0' of git@github.com:Dolibarr/dolibarr.git into develop
...
Conflicts:
htdocs/accountancy/bookkeeping/list.php
2021-09-27 11:40:47 +02:00
Laurent Destailleur
d5d4b8d8e0
Fix escape the undescore on search in website module
2021-09-26 14:21:23 +02:00
Laurent Destailleur
cac1a7ba5f
Fix sql request when using encrypt
2021-09-02 13:45:44 +02:00
Laurent Destailleur
06a0d922cc
NEW Can use the result_mode of mysqli driver. Save memory for list count
2021-08-16 22:01:58 +02:00
Philippe GRAND
3c05cd0757
fix typo and translation
2021-08-02 12:41:55 +02:00
Philippe GRAND
703217acd0
backward
2021-08-02 12:39:45 +02:00
Philippe GRAND
3acb304dd3
fix typo and translation
2021-08-02 12:35:46 +02:00
Laurent Destailleur
2d38644ae1
Sanitize sortfield
2020-09-18 17:13:01 +02:00
Alfredo Altamirano
9d75d7ac15
Translate french documentation
2019-10-02 00:55:46 -05:00
Alexandre SPANGARO
02dbc11f98
Move Gnu.org to https
2019-09-23 21:55:30 +02:00
Laurent Destailleur
5188f3ed44
Fix doxygen
2019-08-31 02:10:55 +02:00
Laurent Destailleur
adb3062a9f
Work on nblignes -> nblines
2019-06-29 16:38:14 +02:00
Frédéric FRANCE
c5c27fdb77
add visibility
2019-03-01 19:24:06 +01:00
Frédéric FRANCE
f0cdf300d1
Squiz.Functions.FunctionDeclarationArgumentSpacing
2019-01-27 15:20:16 +01:00
Regis Houssin
569d59d251
FIX change my deprecated email
2018-10-27 14:43:12 +02:00
Frédéric FRANCE
85df267a5b
move phpcs:ignore
2018-09-05 20:36:44 +02:00
Frédéric FRANCE
57fb3dc2f4
Merge remote-tracking branch 'upstream/develop' into camelCaps
2018-09-01 13:52:51 +02:00
Frédéric FRANCE
6aee680a4f
PSR2 ClassDeclaration
2018-08-29 22:06:05 +02:00
Frédéric FRANCE
850ac34020
mark non camelCaps function
2018-08-13 17:26:32 +02:00
Frédéric FRANCE
79aaddbb66
test phpcs v3
2018-08-09 14:46:00 +02:00
Laurent Destailleur
a630e665d9
Work on modulebuilder
2017-11-21 11:50:57 +01:00
Laurent Destailleur
8f338a155a
Fix last_insert_id at a better place
2017-03-10 15:19:15 +01:00
Raphaël Doursenaud
27d52cf2b0
Better type hinting for DoliDB
2015-05-12 19:01:01 +02:00
Raphaël Doursenaud
4a01cf1256
Better type hinting for the Database interface
2015-05-12 18:30:16 +02:00
Raphaël Doursenaud
6e6e63db50
Better type hinting and code structure for the MySQLi database driver
2015-05-12 17:56:01 +02:00
Laurent Destailleur
8fb14b122a
Fix phpcs
2015-04-06 11:28:06 +02:00
Laurent Destailleur
d98bfb1d8d
Fix: Bugs reported by scrutinizer
2014-11-15 15:19:37 +01:00