Commit Graph

825 Commits

Author SHA1 Message Date
Frédéric France
89121307ac fix phpstan 2024-12-10 20:09:39 +01:00
Frédéric France
99bf3064f1 fix phpstan 2024-12-10 20:07:37 +01:00
Frédéric France
981c13c788 fix phpstan 2024-12-09 18:24:16 +01:00
Frédéric France
ea935b5978 fix phpstan 2024-12-09 18:22:03 +01:00
Frédéric FRANCE
f81e570997 Fix CI (#32094)
* fix CI

* fix CI

* fix CI

* fix CI

* fix CI

* fix CI

* fix CI

* clean baseline
2024-11-26 03:43:42 +01:00
Frédéric FRANCE
ee54d1c372 fix CI (#32089)
* fix CI

* fix CI

* fix CI

* fix CI
2024-11-25 18:57:57 +01:00
Laurent Destailleur
92aaf4e618 Debug v21 2024-11-25 04:02:31 +01:00
Frédéric FRANCE
daae68f9d3 Fix phpstan (#32005)
* fix phpstan

* fix phpstan

* fix phpstan

* fix phpstan

* fix phpstan

* fix phpstan

* fix phpstan
2024-11-19 21:02:05 +01:00
Frédéric FRANCE
9067c6deec replace deprecated (#31803)
* replace deprecated

* replace deprecated
2024-11-14 00:16:43 +01:00
Nicolas Domenech
c8dd1fbd72 New hook beforeRunCronJob and afterRunCronJob (#29884) 2024-11-13 23:21:33 +01:00
Frédéric FRANCE
41a4f42b31 add phpdoc and clean phpstan baseline (#31717)
* add phpdoc and clean phpstan baseline

* add phpdoc and clean phpstan baseline

* add phpdoc and clean phpstan baseline

* add phpdoc and clean phpstan baseline

* add phpdoc and clean phpstan baseline

* add phpdoc and clean phpstan baseline

* add phpdoc and clean phpstan baseline

* add phpdoc and clean phpstan baseline

* add phpdoc and clean phpstan baseline

* add phpdoc and clean phpstan baseline

* add phpdoc and clean phpstan baseline

* add phpdoc

* add phpdoc

* add phpdoc
2024-11-07 17:31:40 +01:00
Frédéric FRANCE
1adc883b56 add baseline exclude for phpstan (#31632)
* add baseline exclude for phpstan

* update

* update

* update

* update

* update

* merge

* restore one filter

* delete old errors

* fix

* fix

* fix

* $moreforfilter can t be empty

* fix

* enable check

* refresh baseline

* add phpdoc

* update phpstan baseline

* update phpstan baseline

* update phpstan baseline

* update phpstan baseline

* update phpstan baseline

* update phpstan baseline

* update phpstan baseline

* update phpstan baseline

* update phpstan baseline

* update phpstan baseline

* update phpstan baseline

* update phpstan baseline

* update phpstan baseline

* update phpstan baseline

* update phpstan baseline

* update phpstan baseline

* update phpstan baseline

* update phpstan baseline

* update phpstan baseline

* update phpstan baseline

* update phpstan baseline

* update phpstan baseline

* update phpstan baseline

* update phpstan baseline

* update phpstan baseline

* update phpstan baseline

* update phpstan baseline

* update phpstan baseline

* update phpstan baseline

* update phpstan baseline

* update phpstan baseline

* update phpstan baseline

* update phpstan baseline

* update phpstan baseline

* update phpstan baseline

* update phpstan baseline

* update phpstan baseline

* update phpstan baseline

* update phpstan baseline

* update phpstan baseline

* update phpstan baseline

* update phpstan baseline

* update phpstan baseline

* update phpstan baseline

* update phpstan baseline

* update phpstan baseline

* update phpstan baseline

* update phpstan baseline

* update phpstan baseline

* update phpstan baseline

* update phpstan baseline

* update phpstan baseline

* update phpstan baseline

* update phpstan baseline

* update phpstan baseline

* update phpstan baseline

* fix

* fix

* fix

* fix

* fix

* fix

* fix

* fix

* fix

* fix

* fix

* fix

* fix

---------

Co-authored-by: Laurent Destailleur <eldy@destailleur.fr>
2024-11-04 23:53:20 +01:00
MDW
e7539f2e19 Qual: Fix notices in .lib.php files (#31672)
* Qual: Fix notices in .lib.php files

* Update wrapper.php

* Update availabilities_card.php

* Update index.php

* Update document.controller.class.php

---------

Co-authored-by: Laurent Destailleur <eldy@destailleur.fr>
2024-11-04 12:32:13 +01:00
MDW
0d2f1cf666 Qual: Fix phpstan notices (int expected) (#31485)
# Qual: Fix phpstan notices (int expected)

Fix several notices where int was expected (casting/phpdoc/GETPOSTINT).
Separate phpstan exceptions for methods containing 'pdf' from
other methods/functions.
2024-10-24 14:01:30 +02:00
Frédéric FRANCE
b1c4912afc fix phpstan (#31493)
* fix phpstan

* fix phpstan
2024-10-23 23:26:48 +02:00
vladimirdulov
922601e03a Undefined stdClass property warnings fixed (#31325)
* Undefined stdClass property warnings fixed

* execute permissions restored

---------

Co-authored-by: Vladimir D <vladimir@brandlight.org>
2024-10-13 20:32:12 +02:00
Laurent Destailleur
40f2830714 Start to move function for CLI mode into a dedicated file 2024-10-04 12:10:25 +02:00
MDW
bd1cf9833a Cast statut to int value (type requirement) (#30969) 2024-09-17 02:35:26 +02:00
Frédéric FRANCE
80d1f47d4d fix ignored phpstan (most of expects string, int given) (#30649)
* fix ignored phpstan

* fix ignored phpstan

* fix ignored phpstan

* fix ignored phpstan

* fix ignored phpstan

* fix ignored phpstan

* fix ignored phpstan

* fix ignored phpstan

* fix ignored phpstan

* fix ignored phpstan

* fix ignored phpstan

* fix ignored phpstan

* fix ignored phpstan

* fix ignored phpstan

* fix ignored phpstan

* fix ignored phpstan

* fix ignored phpstan

* fix ignored phpstan

* fix ignored phpstan

* fix ignored phpstan

* fix ignored phpstan

* fix ignored phpstan

* fix ignored phpstan

* fix ignored phpstan

* fix ignored phpstan

* fix ignored phpstan

* fix ignored phpstan

* fix ignored phpstan

* fix ignored phpstan

* fix ignored phpstan

* fix ignored phpstan

* fix ignored phpstan

* fix ignored phpstan

* fix ignored phpstan

* fix ignored phpstan

* fix ignored phpstan

* fix ignored phpstan

* fix ignored phpstan

* fix ignored phpstan

* fix ignored phpstan

* fix ignored phpstan

* fix ignored phpstan

* fix ignored phpstan

* fix ignored phpstan

fix ignored phpstan

fix ignored phpstan

fix ignored phpstan

* fix ignored phpstan

* fix ignored phpstan

* fix ignored phpstan

* fix ignored phpstan

* fix ignored phpstan

* fix ignored phpstan

fix ignored phpstan

fix ignored phpstan

fix ignored phpstan

fix ignored phpstan

fix ignored phpstan

* fix ignored phpstan

* fix ignored phpstan

* fix ignored phpstan

* fix ignored phpstan

* fix ignored phpstan

* fix ignored phpstan

* fix ignored phpstan

* fix ignored phpstan

* fix ignored phpstan

* fix ignored phpstan

* more ignore

* more ignore

* more ignore

* more ignore

* more ignore

* more ignore

* more ignore

* more ignore

* more ignore

* more ignore

* more ignore

* more ignore

* more ignore

* more ignore

* more ignore

* more ignore

* more ignore

* fix phpstan

* fix phpstan

* fix phpstan

* fix phpstan

* fix phpstan

* fix phpstan

* fix phpstan

* fix phpstan

* fix phpstan

* fix phpstan

* fix phpstan

* fix phpstan

* fix phpstan

* fix phpstan

* fix phpstan

* fix phpstan

* fix phpstan

* fix phpstan

* fix phpstan

* fix phpstan

* fix phpstan

* fix phpstan

* fix phpstan

* fix phpstan

* fix phpstan

* fix phpstan

* fix phpstan

* fix phpstan
2024-09-05 16:05:37 +02:00
Frédéric FRANCE
97392965e1 fix ignored phpstan (#30645)
* fix ignored phpstan

* fix ignored phpstan

* fix ignored phpstan

* fix ignored phpstan

* fix ignored phpstan

* fix ignored phpstan

* fix ignored phpstan

* fix ignored phpstan

* fix ignored phpstan

* fix ignored phpstan

* fix ignored phpstan

* fix ignored phpstan

* fix ignored phpstan

* fix ignored phpstan

* fix ignored phpstan

* fix ignored phpstan

* fix ignored phpstan

* fix ignored phpstan

* fix ignored phpstan

* fix ignored phpstan

* fix ignored phpstan

* fix ignored phpstan

* fix ignored phpstan

* fix ignored phpstan

* fix ignored phpstan
2024-08-16 20:13:02 +02:00
Frédéric FRANCE
803c3c2f30 fix phpstan sendXXX expects int (#30519)
* fix sendXXX expects int

* fix sendEmailTo expects int

* fix regression

* fix loadxxx expects int

* fix loadxxx expects int

* fix getxxx expects int

* fix getxxx expects int

* fix getxxx expects int

* fix getxxx expects int

* fix getxxx expects int

* fix getxxx expects int

* fix getxxx expects int

* fix getxxx expects int

* fix getxxx expects int
2024-08-13 20:39:40 +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
2f5647e4e3 fix checkFunctionArgumentTypes (#30234)
* fix checkFunctionArgumentTypes

* fix checkFunctionArgumentTypes

* fix checkFunctionArgumentTypes

* fix checkFunctionArgumentTypes

* fix checkFunctionArgumentTypes

* fix checkFunctionArgumentTypes

* fix checkFunctionArgumentTypes

* fix checkFunctionArgumentTypes

* fix checkFunctionArgumentTypes

* fix checkFunctionArgumentTypes

* fix checkFunctionArgumentTypes

* fix checkFunctionArgumentTypes

* fix checkFunctionArgumentTypes

* fix checkFunctionArgumentTypes

* fix checkFunctionArgumentTypes

* fix checkFunctionArgumentTypes

* fix checkFunctionArgumentTypes

* fix checkFunctionArgumentTypes

* add ignore

* add ignore

add ignore

add ignore

add ignore

add ignore

* fix checkFunctionArgumentTypes

* fix checkFunctionArgumentTypes

* fix checkFunctionArgumentTypes

* fix checkFunctionArgumentTypes

* fix checkFunctionArgumentTypes

* fix checkFunctionArgumentTypes

* fix checkFunctionArgumentTypes

* fix checkFunctionArgumentTypes

* fix checkFunctionArgumentTypes

* fix checkFunctionArgumentTypes

* fix checkFunctionArgumentTypes

* fix checkFunctionArgumentTypes
2024-07-03 02:30:53 +02:00
Laurent Destailleur
628f635145 Doc 2024-06-25 11:47:53 +02:00
Laurent Destailleur
aa9057a26c Clean code - Move into integration-resources project 2024-06-25 11:42:14 +02:00
Laurent Destailleur
e8f84fc7a5 Fix option --force of cron command line tool. 2024-06-21 15:51:42 +02:00
Laurent Destailleur
335c5761f9 Fix add a protection to be able to process jobs not closed correctly. 2024-06-11 18:01:42 +02:00
Laurent Destailleur
948e88c0f1 Debug v20 2024-05-25 19:24:31 +02:00
Laurent Destailleur
5172f65c2e Fix log must use GMT date 2024-05-17 03:53:51 +02:00
Laurent Destailleur
3f23e94701 Better error message 2024-04-28 23:01:35 +02:00
Laurent Destailleur
a403b951e5 Merge branch 'develop' of git@github.com:Dolibarr/dolibarr.git into develop 2024-03-21 13:55:42 +01:00
Laurent Destailleur
477fb7a035 Fix warning 2024-03-21 13:55:23 +01:00
Laurent Destailleur
9d31390e74 Update mailing-send.php 2024-03-21 13:48:50 +01:00
Laurent Destailleur
43a7db166e Update mailing-send.php 2024-03-21 13:44:57 +01:00
Bradley Jarvis
dd6dec337b Merge branch 'Dolibarr:develop' into fix-email-sendscript 2024-03-21 22:14:19 +11:00
brad
4fc50c3761 Fix newline after parenthesis 2024-03-21 22:05:50 +11:00
brad
ebdcb0fa0e Fix spaces/tabs 2024-03-21 21:56:09 +11:00
brad
66d74b01f7 Fix send mail script
- correctly send only set number of emails per call
- will jump through each validated mailout
2024-03-21 20:46:08 +11:00
Laurent Destailleur
3bafcf5d00 Fix CLI tools must return a positive value on error for better cross
platform compatibility
2024-03-04 19:41:21 +01:00
William Mead
f114094ffe Fix PHPCS. Rename connect_bind to connectBind. 2024-01-31 15:31:57 +01:00
Laurent Destailleur
3a6468dd33 Fix init hook context "cli" for all cli scripts 2024-01-26 01:52:06 +01:00
Laurent Destailleur
e950bdde26 Merge pull request #27687 from frederic34/dol_print_error_db
fix param
2024-01-22 00:03:06 +01:00
MDW
279df3a215 Qual: Improve odt2pdf, add pandoc
# Qual: Improve odt2pdf, add pandoc

Fix shellcheck notices, add pandoc method.
2024-01-21 16:59:52 +01:00
Frédéric France
03e29c6960 fix param 2024-01-20 09:22:38 +01:00
MDW
c885c6917e Qual: Ignore most shellcheck annotations, fix some (#27452)
# Qual: Ignore most shellcheck annotations, fix some

Most shellcheck annotations are ignored - this is to make sure that ci
can work for existing scripts.

Some fixes were applied.

pre-commit script was beautyfied by temporarily suppressing the IFS= expression on 2 lines.
2024-01-12 21:03:08 +01:00
MDW
42a0d05b63 Qual: Spelling outside htdocs (#27448)
* Qual: Spelling outside htdocs

# Qual: Fix spelling of files not in the htdocs subdirectory.

Highlight:
- Change in email test from unvalid to invalid that should give the same test result.

* Update Dolibarr-soapui-project.xml

---------

Co-authored-by: Laurent Destailleur <eldy@destailleur.fr>
2024-01-12 17:14:13 +01:00
MDW
5d69728703 Qual: Apply beautysh (#27395)
# Qual: Apply beautysh

Beautysh the shell scripts.
Also fixed some spelling.
2024-01-10 19:47:29 +01:00
Christian Foellmann
a2d584a4ad fix functions name 2023-12-28 09:40:35 +01:00
Laurent Destailleur
b75cbc54a8 Enhance rector cleaning code 2023-12-26 22:28:07 +01:00
Laurent Destailleur
096a6251dd Fix warnings 2023-12-26 14:54:38 +01:00