Commit Graph

2646 Commits

Author SHA1 Message Date
Laurent Destailleur
bd852dbf5c
Merge pull request #32991 from Dolibarr/phpstan-baseline
PHPStan > Update baseline
2025-02-09 19:47:14 +01:00
Dolibot
c0e4894a17 PHPStan > Update baseline 2025-02-09 12:06:23 +00:00
MDW
f45b1c0540
Update phan baseline 2025-02-08 14:38:02 +01:00
MDW
43ed58a0e9
Ignore phpstan notice in baseline 2025-02-08 13:54:24 +01:00
MDW
687421d8f0
Qual: Fix phan notices (multicurrency,opcache,opensurvey) 2025-02-08 12:42:27 +01:00
MDW
fd7fee2e8f
Qual: Fix textwithpicto $type argument (0->info,1->help) 2025-02-08 01:49:54 +01:00
MDW
395fdbf39b
Qual: Fix phan notices (mrp) 2025-02-08 01:49:52 +01:00
Laurent Destailleur
c316d1e5f3
Merge pull request #32959 from mdeweerd/qual/phan.2025.2.5-2
Qual: Fix phan notices (modulebuilder)
2025-02-07 14:54:57 +01:00
MDW
f05bc70b2e
Qual: Fix phan notices (modulebuilder) 2025-02-07 12:31:19 +01:00
Frédéric FRANCE
998ff72130
Merge remote-tracking branch 'upstream/develop' into fix/2025-02-07-phpstan 2025-02-07 10:48:21 +01:00
Frédéric FRANCE
e0a8caec45
fix phpstan 2025-02-07 10:45:03 +01:00
Frédéric FRANCE
e1c9dd32a7
fix missing translations 2025-02-06 13:48:23 +01:00
Frédéric FRANCE
a9ef15ee55
fix missing translations 2025-02-06 13:26:58 +01:00
MDW
da81270fb8
Qual Fix phan notices (margin) 2025-02-06 00:03:13 +01:00
Frédéric FRANCE
42c64af578
fix missing translations 2025-02-05 19:01:42 +01:00
Frédéric FRANCE
26c0b7778d
fix missing translations 2025-02-05 18:46:47 +01:00
Frédéric FRANCE
51353339cf
fix translations modulebuilder 2025-02-05 09:23:36 +01:00
Frédéric FRANCE
e6e79fde1f
fix translations admin 2025-02-05 09:00:24 +01:00
Laurent Destailleur
f39f05889a
Merge pull request #32925 from frederic34/2025-02-03-fix_phpstan
fix phpstan
2025-02-05 03:01:14 +01:00
MDW
3c39df33f5
Qual: Update phan baseline 2025-02-05 01:43:55 +01:00
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
fa846254e5
fix phpstan 2025-02-04 20:42:07 +01:00
Frédéric France
729c7068f0
fix phpstan 2025-02-03 20:29:43 +01:00
Frédéric France
1dabc6d120
fix phpstan 2025-02-03 20:06:32 +01:00
Frédéric France
2794f53a10
fix phpstan 2025-02-03 18:42:04 +01:00
Frédéric France
fb0083a3ec
fix phpstan 2025-02-03 18:37:57 +01:00
Frédéric France
7a0f37febd
fix phpstan 2025-02-03 18:33:28 +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
MDW
b61d286e7d
Update baseline 2025-01-27 10:24:15 +01:00
Laurent Destailleur
adae4f0fb3 Merge branch '21.0' of git@github.com:Dolibarr/dolibarr.git into develop 2025-01-27 01:37:52 +01:00
Benjamin Falière
887bbfb882 Remove all constants related to multicompany 2025-01-25 15:40:54 +01:00
Benjamin Falière
dc1bb8f2f5 FIX: Disable Multicompany module in demo set
If enabled by default but not installed, it will cause many errors in various pages'
2025-01-25 14:31:13 +01:00
Dolibot
81b0ff4ebf PHPStan > Update baseline 2025-01-24 12:06:49 +00:00
MDW
f17ad3933b
Update baseline 2025-01-24 10:55:58 +01:00
Dolibot
c395b626ed PHPStan > Update baseline 2025-01-23 12:06:56 +00:00
Frédéric FRANCE
928a59a1b3
check translations 2025-01-22 08:53:33 +01:00
Dolibot
d0399fdb32 PHPStan > Update baseline 2025-01-21 12:07:00 +00:00
Laurent Destailleur
d37897b50c
Merge branch 'develop' into fix_getrights_loadrights 2025-01-21 08:34:22 +01:00
Dolibot
f7838a9459 PHPStan > Update baseline 2025-01-20 12:06:56 +00:00
Laurent Destailleur (aka Eldy)
c01e3faea4 Update eclipse rules 2025-01-16 12:09:13 +01:00
Laurent Destailleur
8b3c958e14
Merge branch 'develop' into fix_getrights_loadrights 2025-01-13 02:37:59 +01:00
Laurent Destailleur
bd78cb11aa
Merge pull request #32630 from frederic34/modProduct
fix phpstan
2025-01-13 02:20:25 +01:00
Laurent Destailleur (aka Eldy)
f6115ec70b Merge branch '21.0' of git@github.com:Dolibarr/dolibarr.git into develop 2025-01-13 00:07:00 +01:00
Laurent Destailleur (aka Eldy)
e5249391f0 Debug v21 - Fix trans 2025-01-12 22:33:20 +01:00
Frédéric France
da7675c822
fix phpstan 2025-01-11 17:45:29 +01:00
Laurent Destailleur (aka Eldy)
915e6c8632 Add missing data and escape html 2025-01-11 14:53:29 +01:00
Frédéric France
b4babd6fcb
fix phpstan 2025-01-11 10:46:57 +01:00
Frédéric France
1652b5b178
fix phpstan 2025-01-11 09:53:00 +01:00
Frédéric France
44bfbb7f4a
fix phpstan 2025-01-11 09:24:21 +01:00
Frédéric France
714aa5b529
fix phpstan 2025-01-11 09:14:43 +01:00
Frédéric France
a355dbb660
fix phpstan 2025-01-11 09:04:55 +01:00
Laurent Destailleur
a9fbea57ff
Merge pull request #32602 from frederic34/modExpedition
fix phpstan
2025-01-10 12:24:21 +01:00