Commit Graph

3227 Commits

Author SHA1 Message Date
Dolibot
b08b93a10a PHPStan > Update baseline 2026-01-11 12:10:18 +00:00
Laurent Destailleur
aeeb88ac19 Merge branch '23.0' of git@github.com:Dolibarr/dolibarr.git into develop 2026-01-07 19:02:45 +01:00
Laurent Destailleur
578a1ef568 Clean files 2026-01-07 19:01:54 +01:00
Laurent Destailleur
b493ed7f96 Merge branch 'develop' of git@github.com:Dolibarr/dolibarr.git into develop 2026-01-07 14:16:49 +01:00
Frédéric FRANCE
5509203cef clean code (#36819) 2026-01-07 11:07:31 +01:00
Laurent Destailleur
9ab0d26e71 Merge branch '22.0' of git@github.com:Dolibarr/dolibarr.git into 23.0 2026-01-07 01:14:42 +01:00
Laurent Destailleur
4c6c654cd9 Fix exemple 2026-01-07 01:07:30 +01:00
github-actions[bot]
192b5525af PHPStan > Update baseline (#36809)
Co-authored-by: Dolibot <dolibarr-bot@users.noreply.github.com>
2026-01-06 14:48:25 +01:00
Laurent Destailleur
d2b68aac97 Fix warning 2026-01-05 16:46:10 +01:00
Laurent Destailleur
ab6d868a0f Debug cash control feature 2026-01-04 18:55:36 +01:00
Laurent Destailleur
d2eee5491c Fix phpstan 2025-12-28 03:12:44 +01:00
Laurent Destailleur
7717b0a35e Merge branch 'develop' into phpstan_config 2025-12-22 17:24:03 +01:00
Laurent Destailleur
321d20da71 Merge branch '22.0' of git@github.com:Dolibarr/dolibarr.git into develop 2025-12-22 16:36:01 +01:00
Laurent Destailleur
93fdf6c487 Fix CI 2025-12-22 16:33:10 +01:00
Laurent Destailleur
8abeb47da1 Merge branch '22.0' of git@github.com:Dolibarr/dolibarr.git into develop 2025-12-22 16:06:05 +01:00
Laurent Destailleur
230634721d Merge branch 'develop' into phpstan_config 2025-12-22 14:03:57 +01:00
Laurent Destailleur
69adf182d3 Fix lockfile 2025-12-22 13:53:39 +01:00
Laurent Destailleur
8db3a2e4fc Move algo for checksum file 2025-12-22 04:52:12 +01:00
Fabrice Piccinali
657d02bc38 refacto initdemo.sh 2025-12-21 19:00:12 +01:00
Frédéric FRANCE
f138005d73 clean code 2025-12-20 10:39:39 +01:00
Frédéric FRANCE
e33376d10e align config files 2025-12-20 09:30:54 +01:00
Laurent Destailleur
b7d7f6be3d Label 2025-12-18 14:37:34 +01:00
Laurent Destailleur
fcefef410c Compatibility with the GHSA VDP 2025-12-18 10:35:06 +01:00
Laurent Destailleur
f563fe9256 Merge pull request #36666 from frederic34/duplicate_api_key_in_demo_data
remove duplicate api key in demo db 22
2025-12-17 12:59:21 +01:00
Laurent Destailleur
b64ae7eb55 Fix script for windows 2025-12-16 20:08:42 +01:00
Stéphanie Arrestier
35ba9dc47a Fix doliwamp packager 2025-12-16 19:36:51 +01:00
Stéphanie Arrestier
70903d32d7 Fix doliwamp packager 2025-12-16 18:51:59 +01:00
Frédéric FRANCE
619a9719c5 remove duplicate api key in demo db 22 2025-12-16 08:39:28 +01:00
Laurent Destailleur
7902e31177 Fix RSS 2025-12-16 00:24:48 +01:00
MDW
7456c119e5 Qual: Update Phan baseline and fix type mismatch in conferenceorbooth_list.php
# Qual: Update Phan baseline and fix type mismatch in conferenceorbooth_list.php

- Updated the Phan baseline to reflect the reduced number of PhanUndeclaredMethod occurrences
- Fixed a type mismatch in conferenceorbooth_list.php by changing the values from integers to strings in the editfieldkey and editfieldval functions
2025-12-13 13:46:45 +01:00
Dolibot
5f89a4a2d2 PHPStan > Update baseline 2025-12-12 12:10:57 +00:00
Laurent Destailleur
3dabe3f0c3 Merge branch 'develop' into qual/phan20251209 2025-12-11 01:24:47 +01:00
MDW
32ab4f1217 Qual: Update phan baseline 2025-12-09 13:46:55 +01:00
Dolibot
56c6b48eff PHPStan > Update baseline 2025-12-09 12:11:04 +00:00
Laurent Destailleur
c635f5f9c5 Fix detection of security commit 2025-12-04 12:51:49 +01:00
Laurent Destailleur
7847408006 WIP LNE 2025-12-03 15:40:42 +01:00
Laurent Destailleur
b83a13656f Add new phpunit tests 2025-11-30 18:37:58 +01:00
Dolibot
b31f16c18f PHPStan > Update baseline 2025-11-29 12:09:23 +00:00
Laurent Destailleur
c62ba31c50 Merge pull request #36433 from mdeweerd/fix/public_const
Qual: Update PHP-CS-Fixer configuration and DolibarrModules class
2025-11-28 23:34:42 +01:00
MDW
b33386ba0d qual: Update phpstan-baseline.neon to remove unresolvable type issues
Removed multiple entries related to unresolvable types in dol_sort_array function calls and property assignments.
2025-11-27 22:38:56 +01:00
MDW
0333daa8a8 Qual: Update PHP-CS-Fixer configuration and DolibarrModules class
- Update PHP-CS-Fixer configuration to replace deprecated 'visibility_required' rule with 'modifier_keywords'
- Update DolibarrModules class to use const instead of public const for PHP 7.0 compatibility (revert recent change)
2025-11-27 01:08:46 +01:00
Laurent Destailleur
c295be762e Fix CI 2025-11-26 21:49:07 +01:00
Laurent Destailleur
5f437d983a Debug v23 2025-11-26 19:24:25 +01:00
Laurent Destailleur
6894ba851b Removed deprecated comment 2025-11-24 15:52:02 +01:00
MDW
63a78d8c00 Qual: Add perltidy & perlcritic + updates to fix notices. (#36370)
* Qual: Add pre-commit hooks for Perl code formatting and linting

- Added perltidy hook to format Perl code
- Added perlcritic hook to lint Perl code

* Qual: Update file opening syntax in build scripts (perltidy)

The changes update the syntax for opening files in several build scripts to use the three-argument form of the `open` function, which is more secure and recommended in modern Perl practices.

* Qual: Improve file handling and add strict/warnings pragmas (perlcritic)

The changes include:
- Adding 'use strict' and 'use warnings' pragmas to enforce better coding practices
- Improving file handling by using lexical filehandles (my $IN, my $SPECFROM, etc.)
- Fixing file opening and closing operations to use proper error handling
- Updating various file operations to use the new lexical filehandles
- Fixing indentation and formatting issues in the code

* Qual: Add strict and warnings pragmas to Perl scripts (perlcritic)

The changes add 'use strict;' and 'use warnings;' pragmas
- dev/build/doxygen/dolibarr-doxygen-build.pl
- dev/build/doxygen/dolibarr-doxygen-filter.pl
- dev/build/doxygen/dolibarr-doxygen-getversion.pl
- dev/build/gource/getavatars.pl
- dev/tools/dolibarr-mysql2pgsql.pl

* Qual: Add Perl no critic pragmas (perlcritic)

- Ignore some perlcritic notices

* Qual: Improve code formatting and readability

Perltidy:

- Indentation and spacing
- Improved variable naming and alignment
- Better code organization and structure
- Enhanced readability of conditional statements and loops

These changes do not alter the functionality of the script but make it more maintainable and easier to understand.

* qual: Exclude virtualmin from perltidy and perlcritic hooks

Exclude the virtualmin directory from both perltidy and perlcritic hooks due to specific reasons mentioned in the comment. This change ensures that these hooks do not process files in the virtualmin directory.

* Qual: Add installation of perltidy and perlcritic for pre-commit workflow

This commit adds the installation of perltidy and perlcritic as part of the pre-commit hooks workflow.

* Fix: Update version detection in dolibarr-doxygen-build.pl

- Add support for detecting version from DOL_MAJOR_VERSION and DOL_MINOR_VERSION constants
- Fix undefined variable issue in version detection

* Fix: Update getavatars.pl to use HTTPS and reverse git log

- Changed the URL from HTTP to HTTPS for Gravatar
- Added `--reverse` flag to git log command to process commits in chronological order (faster)
- Updated error message to indicate .git repository instead of .git directory (+ correct test)

* fix: Correct spelling in error messages and prompts

- Fixed typo in error message for missing environment variables
- Corrected spelling in prompt for module name input
- Improved clarity in comment for target checking
2025-11-23 01:52:07 +01:00
MDW
b57495f745 Qual: Update phan baseline (#36362)
* Qual: Update Phan baseline

# Qual: Update Phan baseline

- Updated Phan baseline to reflect reduced occurrences of PhanTypeMismatchProperty and PhanUndeclaredMethod
- Fixed syntax error in card.php by adding missing closing parenthesis

* Qual: Fix PhanPluginRedundantReturnComment

# Qual: Fix PhanPluginRedundantReturnComment

- Add return type description for the getmsg method.
2025-11-22 19:49:22 +01:00
Regis Houssin
9ac7851073 QUAL update dolibarr script for Virtualmin (#36371) 2025-11-22 19:48:37 +01:00
github-actions[bot]
853c7a2c8d PHPStan > Update baseline (#36374)
Co-authored-by: Dolibot <dolibarr-bot@users.noreply.github.com>
2025-11-22 19:47:22 +01:00
Laurent Destailleur
bb26ca6ee7 Fix makepack 2025-11-21 15:19:49 +01:00
Laurent Destailleur
2e52ef2552 Doc 2025-11-20 14:00:18 +01:00