MDW
32bf8c5cd5
Qual: Fix phan notices (website)
2025-02-27 11:40:42 +01:00
MDW
97099b854f
Qual: Fix phan notices (install)
2025-02-05 01:43:41 +01:00
MDW
ec2a1928ba
Qual: Update fields phpdoc to include fields that are defined/used in some cases
...
# Qual: Update fields phpdoc to include fields that are defined/used in some cases
comment, copytoclipboard, autofocusoncreated are documented and used in some cases for the
$fields definition
2024-12-05 02:36:50 +01:00
MDW
b91c99b18a
Qual: Fix phan/phpstan notices in class files (part 3) ( #31578 )
...
* fix phpstan in conf class (#31630 )
* fix phpstan
* fix phan
* Fix merge
* Qual: Avoid notification with typing hint
* Qual: Fix notices link.class
* Qual: Fix notices link..socialneetworkmanager.class and DoliDb->DoliDB
* Qual: Fix notices for link..utils.class
* Qual: Fix notices for db classes
* Update translate.class.php
* Update translate.class.php
---------
Co-authored-by: Frédéric FRANCE <frederic34@users.noreply.github.com >
Co-authored-by: Laurent Destailleur <eldy@users.sourceforge.net >
Co-authored-by: Laurent Destailleur <eldy@destailleur.fr >
2024-10-29 22:44:47 +01:00
MDW
ca414de526
Qual: Fix $fields related notices with Phan ( #30704 )
...
* Qual: Typing hints/ignore directives for phan notices
* Update field typing
2024-08-21 13:23:35 +02:00
MDW
54880f92cd
Qual: Fix PhanTypeMismatchProperty and some other phan notices ( #30542 )
...
* Qual: Fix PhanTypeMismatchProperty and some other phan notices
* Qual: Phan fixes for BOM
* Phan - fix fields
* fixup! Qual: Phan fixes for BOM
* Fix phpstan double array keys for syslog
* Fix $fields phpdoc
* Fix phan typing issues with intermediate var and ??
* Fix phan typing issue with ?? operator
* Ignore htdocs/install/install.forced.php for git
* Qual: Revert to original code, ignore notice
When changing the method to avoid one notice type, another one
appears. So simply ignoring this error.
* Qual: Revert to original code, ignore notice
When changing the method to avoid one notice type, another one
appears. So simply ignoring this error.
* Update baseline
* Qual: Phan fixes for BOM
* fixup! Qual: Phan fixes for BOM
* Fix phpstan double array keys for syslog
* Qual: Revert to original code, ignore notice
When changing the method to avoid one notice type, another one
appears. So simply ignoring this error.
* Ignore PhanTypeSuspiciousNonTraversableForeach to allow integration
* Fix typing hints (phpstan)
---------
Co-authored-by: Laurent Destailleur <eldy@destailleur.fr >
2024-08-15 17:05:00 +02:00
MDW
d6948077b2
Qual: Fix spelling/update .pre-commit configuration (versions) ( #30546 )
...
* Qual: Update pre-commit configuration
* Qual: Update spelling
* Ignore use of deprecated constant
2024-08-07 01:20:43 +02:00
Frédéric FRANCE
f8ea179029
fix phan ( #29519 )
2024-04-28 17:38:54 +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
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
Laurent Destailleur
132595f10f
CSS customreport
2024-04-10 01:38:36 +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
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