2
0
forked from Wavyzz/dolibarr
Commit Graph

2570 Commits

Author SHA1 Message Date
MDW
bb4ae71c75 Qual: New fixers for phan 2025-02-05 01:43:54 +01:00
MDW
7841b55813 Qual: Fix MultiCell 'fill' argument type 2025-02-05 01:43:50 +01:00
MDW
2e30ae50ac Qual: fix phpstan notices after fixing phan notices 2025-02-05 01:43:49 +01:00
MDW
4eeb0bdf58 Qual: Update phan baseline 2025-02-05 01:43:48 +01:00
MDW
30c10f54c8 Qual: Update phan baseline 2025-02-05 01:43:42 +01:00
MDW
24fa28dfe2 Qual: Fix getKanban phpdoc
# Qual: Fix getKanban phpdoc

Array phpdoc for getKanban corrections.
2025-02-05 01:43:37 +01:00
Laurent Destailleur
4a710ee409 Merge pull request #32914 from mdeweerd/qual/phan.2025.2.3
Qual: Fix phan notices (hrm)
2025-02-05 01:04:04 +01:00
Laurent Destailleur
aa2b3cabc3 Merge pull request #32910 from alexandre-janniaux/docker-compose/2
QUAL: docker-dev: Improve docker-dev compose setup
2025-02-05 00:52:38 +01:00
Laurent Destailleur
3d54a4a638 Merge branch 'develop' into qual/phan.2025.2.3 2025-02-05 00:47:00 +01:00
Laurent Destailleur
5a3b07e440 Merge pull request #32913 from mdeweerd/qual/phan.2025.2.2
Qual: Fix phan notices (ftp, holiday)
2025-02-05 00:45:25 +01:00
Laurent Destailleur
52bbbcde8a Merge pull request #32901 from mdeweerd/qual/phan.2025.1.31
Qual: Fix notices, update baseline, enable PhanTypeMismatchArgument
2025-02-05 00:13:08 +01:00
Frédéric FRANCE
6c7fe69582 add missing translation 2025-02-03 16:36:35 +01:00
Frédéric FRANCE
71e1d9ff10 add missing translation 2025-02-03 16:32:06 +01:00
MDW
749296b6e1 Qual: Fix phan notices (hrm)
# Qual: Fix phan notices (hrm)
2025-02-03 16:06:04 +01:00
MDW
2cd13853d5 Qual: Fix phan notices (ftp, holiday)
# Qual: Fix phan notices (ftp, holiday)
2025-02-03 16:06:02 +01:00
MDW
7f6c09fc63 Qual: Update baseline, enable PhanTypeMismatchArgument
# Qual: Update baseline, enable PhanTypeMismatchArgument

Update the baseline for fixes.
Enable PhanTypeMismatchArgument as this is being fixed and to avoid
that new cases occur in files where these are fixed.
Only about 3800 cases remain, was more than 12000 when starting with Phan.
2025-02-03 16:05:59 +01:00
MDW
f66e9553d5 Qual: Fix phan notices
# Qual: Fix phan notices

Fix phan notices in fourn/commande (+form class)
2025-02-03 16:05:55 +01:00
Dolibot
ed2a013da3 PHPStan > Update baseline 2025-02-03 12:06:55 +00:00
Alexandre Janniaux
39e0723214 docker-dev: README: improve usage documentation
This commit adds more documentation on how to use the docker-compose
setup in different environment (postgres / mariadb) as well as how to
setup it for module development.
2025-02-02 20:09:54 +01:00
Alexandre Janniaux
e6516f06a4 docker-dev: extract mariadb.yml from docker compose file
This extracts the mariadb part to be able to compose different
docker-compose manifests and use PostgreSQL instead for module
development and debugging.
2025-02-02 20:09:53 +01:00
Alexandre Janniaux
99d9d99115 docker-dev: README: use new docker compose subcommand
docker-compose has been replaced by docker compose.
2025-02-02 20:09:51 +01:00
Alexandre Janniaux
2b9deda89b docker-dev: README: set document width to 80
Improve terminal reading experience by limiting the document width to
80. On the web interface, markdown with merge every line into a single
paragraph.
2025-02-02 20:09:50 +01:00
Alexandre Janniaux
f3613f0425 docker-dev: compose: fix warnings
version is deprecated and yaml document starts after --- marker.
2025-02-02 20:09:49 +01:00
Alexandre Janniaux
57ccb41c6e docker-dev: remove files rights change in docker-run.sh
File rights from the whole environment should not change since the files
are belonging to the git tree. In addition, setting www-data to the same
user id as the user (or likewise, setting a userns remapping) remove the
need to change the rights.
2025-02-02 20:09:47 +01:00
Alexandre Janniaux
19d69eaac9 docker-dev: add support for postgresql database
The PostgreSQL database can be used as the following:

        docker compose -f docker-compose.yml -f docker-compose.postgres.yml up

This allows a bit more modularity and ensuring people can start a
PostgreSQL development setup quickly.
2025-02-02 20:09:46 +01:00
Alexandre Janniaux
2e7b90a31c docker-dev: fix LDAP configuration
The libraries are not in /usr/lib/x86_64-gnu-linux anymore, multilib not
being enabled.
2025-02-02 20:09:44 +01:00
Alexandre Janniaux
e1da6dd789 docker-dev: fix paths for docker-compose volumes
The folder was moved in c9519a1a5a
but the paths in 9a61a6e6c9 were not
updated afterwards.
2025-02-02 20:09:41 +01:00
Laurent Destailleur
1427b92c15 Merge pull request #32842 from mdeweerd/qual/phan.2025.1.19
Qual: Fix multiple Phan notices
2025-02-02 01:54:43 +01:00
MDW
42be9a3442 Qual: Update phan baseline 2025-02-02 01:26:44 +01:00
Dolibot
4e1a319113 PHPStan > Update baseline 2025-01-30 12:06:34 +00:00
Laurent Destailleur (aka Eldy)
1298229345 Doc 2025-01-30 12:10:21 +01:00
Laurent Destailleur
91324505b7 Merge pull request #32818 from frederic34/clean_phpstan_baseline
clean phpstan baseline
2025-01-29 00:04:03 +01:00
Laurent Destailleur
6b9ecb7cf9 Merge pull request #32817 from mdeweerd/qual/phan.2024.1.18
Qual: Fix phan notices
2025-01-29 00:02:10 +01:00
Laurent Destailleur
4cb3d72471 Merge pull request #32816 from mdeweerd/qual/phan.2025.1.18-a
Qual: Fix Phan notices
2025-01-28 23:58:35 +01:00
Frédéric France
23270663df fix phpstan 2025-01-28 18:43:05 +01:00
Frédéric France
8ba644340f fix phpstan 2025-01-28 18:33:13 +01:00
Frédéric France
877b9dc811 fix phpstan 2025-01-28 18:14:54 +01:00
Frédéric France
63b56ade21 fix phpstan 2025-01-27 22:15:37 +01:00
Frédéric France
4616a2f636 fix phpstan 2025-01-27 22:00:15 +01:00
Frédéric France
377043686a fix phpstan 2025-01-27 21:22:52 +01:00
Frédéric France
306e66e3d7 fix phpstan 2025-01-27 20:44:10 +01:00
Frédéric France
fe2cdc47cc fix phpstan 2025-01-27 20:15:12 +01:00
Frédéric France
e0e03f1a1a fix phpstan 2025-01-27 20:01:20 +01:00
Frédéric France
11cb6282b6 clean phpstan baseline 2025-01-27 19:55:39 +01:00
MDW
581b079e14 Qual: Spelling fixes, cleanup exceptions
# Qual: Spelling fixes, cleanup exceptions

Fix some spelling and cleanup ignored lines
2025-01-27 19:32:38 +01:00
MDW
49315de959 Qual: Update phan baseline 2025-01-27 19:15:10 +01:00
MDW
f250f7caa5 Qual: Fix Phan notices
# Qual: Fix phan notices
2025-01-27 19:15:09 +01:00
Frédéric France
1f02f68422 clean phpstan baseline 2025-01-27 18:53:37 +01:00
MDW
ba53bd741d Qual: Update phan baseline 2025-01-27 13:24:32 +01:00
MDW
f959aab7e2 Update baseline 2025-01-27 10:24:18 +01:00