Commit Graph

2461 Commits

Author SHA1 Message Date
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
MDW
782f968eb7 Qual: Phan: Exclude htdocs/core/mymodule seen in cti.dolibarr.org (#30551)
# Qual: Phan: Exclude htdocs/core/mymodule seen in cti.dolibarr.org

`htdocs/core/mymodule` has notices on https://cti.dolibarr.org
but it is not seen in git.

It would be a good idea to generate a module and include it in the
static analysis on cti, but `htdocs/core/mymodule` is not up-to-date.

If such a generation is done, a better name could be used.
For instance `generatedmymoduleforcti`.
2024-08-07 01:10:12 +02:00
Laurent Destailleur
49f40b58fe Removed some warning (not priority) 2024-08-03 14:02:09 +02:00
MDW
63aab818e6 Qual: Fixes related to CMailFile for phan notices (#30510)
* Qual: Fix CMailFile related phan notices

# Qual: Fix CMailFile related phan notices

Fix several phan notices by typing and typing checks.

* Fix initialisation of CMailFile instantiation

* Update phan baseline

* Update mails_emailing.php

* Update mails_emailing.php

---------

Co-authored-by: Laurent Destailleur <eldy@destailleur.fr>
2024-08-01 11:09:26 +02:00
MDW
5da6995a56 Qual: Update Phan baseline - Fix phpstan regex (#30504)
* Add missing escapes in regex

* Qual: Fix phpstan regex
2024-07-31 18:39:02 +02:00
Laurent Destailleur
b494d26f95 Merge branch '20.0' of git@github.com:Dolibarr/dolibarr.git into develop 2024-07-25 14:51:48 +02:00
Laurent Destailleur
5c9b808f3f Fix phan 2024-07-25 10:44:43 +02:00
Laurent Destailleur
c21313fc2c Fix phan 2024-07-23 19:19:27 +02:00
Laurent Destailleur
ddaadfdd43 Update doc 2024-07-21 00:38:45 +02:00
Laurent Destailleur
c2c912ff91 Fix codespell 2024-07-13 18:17:58 +02:00
Frédéric FRANCE
38b01c0979 Update codespell-ignore.txt with develop list of words (#30337)
* Update codespell-ignore.txt with develop list of words

* Update codespell-ignore.txt
2024-07-10 18:54:33 +02:00
Frédéric FRANCE
2707475a12 fix phpstan (#30319)
* fix phpstan

* fix phpstan expects int, false given ...

* fix phpstan expects int, true given ...
2024-07-08 21:45:35 +02:00
Frédéric FRANCE
ea416aac93 replace old syntax, rename pdf models with same class name (#30271)
* replace old syntax

* replace old syntax

* replace old syntax

* replace old syntax

* rename files with same class name

* rename files with same class name

* rename files with same class name

* rename files with same class name

* rename files with same class name

* rename files with same class name

* rename files with same class name

* rename files with same class name

* rename files with same class name

* rename files with same class name

* rename files with same class name

* fix class with same name

* fix class with same name

* clean code
2024-07-06 02:59:40 +02:00
Laurent Destailleur
fa4247a812 More valid rector rules to change conf->global->xxx 2024-07-03 19:35:06 +02:00
Laurent Destailleur
b532e3b0a3 Test 2024-06-30 15:32:18 +02:00
Laurent Destailleur
4ba6b0d2f0 Clean language 2024-06-30 15:26:31 +02:00
Laurent Destailleur
10ecc23df9 Exclude contributor name from spellcheck 2024-06-30 15:20:08 +02:00
Laurent Destailleur
d2318c6874 Test 2024-06-30 15:17:59 +02:00
Laurent Destailleur
3f8a5cd3a5 Ignore spellcheck 2024-06-30 15:16:13 +02:00
Laurent Destailleur
3eae3a70eb Fix error and timezone 2024-06-27 18:08:52 +02:00
Laurent Destailleur
b113a386b5 Add migration to 21 in win ci 2024-06-26 16:50:07 +02:00
Laurent Destailleur
8f5b98be43 Merge branch '20.0' of git@github.com:Dolibarr/dolibarr.git into develop 2024-06-25 13:50:27 +02:00
Laurent Destailleur
92bc6c9102 Eclude some phan warnings 2024-06-25 12:10:47 +02:00
Frédéric FRANCE
4eec08ac84 remove deprecated and copy phan ignore for octopus (#30136) 2024-06-23 19:35:16 +02:00
Frédéric FRANCE
865e6a0878 add phan ignore for octopus branch 20.0 (#30137) 2024-06-23 19:35:02 +02:00
Laurent Destailleur
adb354f97a Merge branch '20.0' of git@github.com:Dolibarr/dolibarr.git into develop 2024-06-23 14:00:12 +02:00
Laurent Destailleur
62a7c7728b Debug v20 2024-06-23 13:57:35 +02:00
Sylvain Legrand
7c9107acc0 New TCPDF v6.7.5 (#29903)
* New TCPDF v6.7.5

Update TCPDF to the last one

* Fix PHAN

* Fix PHAN
2024-06-22 16:16:11 +02:00
Frédéric FRANCE
d65b370236 fix fichinter card rec (#30130)
* fix fichinter card rec

* fix fichinter card rec

* Update interventions.lang

---------

Co-authored-by: Laurent Destailleur <eldy@destailleur.fr>
2024-06-22 15:49:31 +02:00
Frédéric FRANCE
0f1ae42691 fix phan (#30113)
* fix phan

* Update project.class.php

* Update project.class.php

* try to fix

* try to fix

* try to fix

* try to fix

* try to fix
2024-06-22 15:36:10 +02:00
Frédéric FRANCE
ec9b48260e Update baseline.txt (#30127) 2024-06-22 15:30:07 +02:00
Laurent Destailleur
9788caa298 Merge branch '20.0' of git@github.com:Dolibarr/dolibarr.git into develop 2024-06-22 13:01:21 +02:00
Laurent Destailleur
d3316283a3 Prepare v20 2024-06-22 03:09:53 +02:00
Laurent Destailleur
ec25b85e35 Exclude more phan warnings 2024-06-21 17:27:52 +02:00
Laurent Destailleur
64259c9238 Prepare 20.0 2024-06-20 11:45:15 +02:00
Laurent Destailleur
eb537088ba Exclude phan error type that is for the moment too annoying to manage 2024-06-18 19:15:29 +02:00
Laurent Destailleur
ac0ba02036 Exclude false positive 2024-06-16 13:17:10 +02:00
Laurent Destailleur
6e262ba185 Doc 2024-06-16 12:59:35 +02:00
Laurent Destailleur
53222914ec Doc 2024-06-12 01:44:19 +02:00
Laurent Destailleur
ec42ad7804 Merge branch 'develop' of git@github.com:Dolibarr/dolibarr.git into develop 2024-06-12 00:46:02 +02:00
Laurent Destailleur
da577e8a24 Debug look and feel v20 2024-06-12 00:45:23 +02:00
Frédéric FRANCE
7d300e0b4b Token csrf level 3 (#29980)
* add token csrf level 3

* add token csrf level 3
2024-06-11 01:04:33 +02:00
Frédéric FRANCE
1ff0e8a821 fix an old error (#29850)
* fix an old error

* fix OdfException is never thrown in the try block

* fix OdfException is never thrown in the try block

* fix Undefined array key "name"

* fix missing translation

* fix missing translation

* fix Undefined variable $lineid

* fix warnings

* fix upload dir

* fix phpcs
2024-06-08 16:59:40 +02:00
Frédéric FRANCE
74806473ab fix cti (#29842)
* fix cti odt asset

* comment unused code in template

* phpdoc

* fix unreachable code

* fix unreachable code

* fix not falsy
2024-06-05 14:55:07 +02:00
Laurent Destailleur
8971c8efac Exclude phan rule 2024-06-03 21:30:25 +02:00
Laurent Destailleur
8d16c2e996 Fix warning 2024-06-01 15:12:35 +02:00
Laurent Destailleur
ed212d0e84 Fix errormessage 2024-05-31 15:57:03 +02:00
Laurent Destailleur
82908a30eb Clean phan warnings 2024-05-30 13:37:17 +02:00
Frédéric FRANCE
2f16e2347c fix phan (#29778)
* fix phan

* Update global.inc.php

* Update style.css.php
2024-05-28 23:53:06 +02:00
Laurent Destailleur
b5b87b9811 Increase memory 2024-05-26 15:45:54 +02:00