From 2ab7569c97711dc0aca4caf339c6d3a09e9f0bdc Mon Sep 17 00:00:00 2001 From: Carlos C Soto Date: Sun, 13 Apr 2025 15:06:11 -0600 Subject: [PATCH 1/4] Update code standard rules --- .php-cs-fixer.dist.php | 1 + phpcs.xml.dist | 14 +++++++++----- 2 files changed, 10 insertions(+), 5 deletions(-) diff --git a/.php-cs-fixer.dist.php b/.php-cs-fixer.dist.php index c82cf4a..cf3a8a5 100644 --- a/.php-cs-fixer.dist.php +++ b/.php-cs-fixer.dist.php @@ -18,6 +18,7 @@ '@PHP81Migration' => true, '@PHP80Migration:risky' => true, // symfony + 'array_indentation' => true, 'class_attributes_separation' => true, 'whitespace_after_comma_in_array' => true, 'no_empty_statement' => true, diff --git a/phpcs.xml.dist b/phpcs.xml.dist index 034efc6..d1bf819 100644 --- a/phpcs.xml.dist +++ b/phpcs.xml.dist @@ -1,6 +1,6 @@ - + - The EngineWorks (PSR-2 based) coding standard. + The EngineWorks (PSR-12 based) coding standard. src tests @@ -11,9 +11,7 @@ - - - + @@ -29,4 +27,10 @@ + + + + + + From 4761066e988ed50014a38bcc396bbd237dcc5015 Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Fri, 26 Sep 2025 13:04:00 +0000 Subject: [PATCH 2/4] Bump SonarSource/sonarqube-scan-action from 5 to 6 in /.github/workflows Bumps [SonarSource/sonarqube-scan-action](https://github.com/sonarsource/sonarqube-scan-action) from 5 to 6. - [Release notes](https://github.com/sonarsource/sonarqube-scan-action/releases) - [Commits](https://github.com/sonarsource/sonarqube-scan-action/compare/v5...v6) --- updated-dependencies: - dependency-name: SonarSource/sonarqube-scan-action dependency-version: '6' dependency-type: direct:production ... Signed-off-by: dependabot[bot] --- .github/workflows/coverage.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/coverage.yml b/.github/workflows/coverage.yml index 7fed8d5..f03b362 100644 --- a/.github/workflows/coverage.yml +++ b/.github/workflows/coverage.yml @@ -6,7 +6,7 @@ on: # Actions # shivammathur/setup-php@v2 https://github.com/marketplace/actions/setup-php-action -# SonarSource/sonarqube-scan-action@v5 https://github.com/marketplace/actions/official-sonarqube-scan +# SonarSource/sonarqube-scan-action@v6 https://github.com/marketplace/actions/official-sonarqube-scan jobs: @@ -137,6 +137,6 @@ jobs: sed 's#'$GITHUB_WORKSPACE'#/github/workspace#g' build/coverage/junit.xml > build/sonar-junit.xml sed 's#'$GITHUB_WORKSPACE'#/github/workspace#g' build/coverage/clover.xml > build/sonar-coverage.xml - name: SonarCloud Scan - uses: SonarSource/sonarqube-scan-action@v5 + uses: SonarSource/sonarqube-scan-action@v6 env: SONAR_TOKEN: ${{ secrets.SONAR_TOKEN }} From c0216f60a2e42591b8a0eb94888e7e759e9b573b Mon Sep 17 00:00:00 2001 From: Carlos C Soto Date: Fri, 26 Sep 2025 17:56:21 -0600 Subject: [PATCH 3/4] Upgrade phpcs & phpcbf --- .phive/phars.xml | 4 ++-- phpcs.xml.dist | 1 - 2 files changed, 2 insertions(+), 3 deletions(-) diff --git a/.phive/phars.xml b/.phive/phars.xml index 46f7cc7..5c39114 100644 --- a/.phive/phars.xml +++ b/.phive/phars.xml @@ -1,8 +1,8 @@ - - + + diff --git a/phpcs.xml.dist b/phpcs.xml.dist index d1bf819..f60b917 100644 --- a/phpcs.xml.dist +++ b/phpcs.xml.dist @@ -18,7 +18,6 @@ - From 81483fc174b890ee65486bc80d8d3c769bf3458c Mon Sep 17 00:00:00 2001 From: Carlos C Soto Date: Fri, 26 Sep 2025 18:00:00 -0600 Subject: [PATCH 4/4] Doument maintenance 2025-09-26 --- docs/CHANGELOG.md | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/docs/CHANGELOG.md b/docs/CHANGELOG.md index 7037700..1b15a53 100644 --- a/docs/CHANGELOG.md +++ b/docs/CHANGELOG.md @@ -8,6 +8,12 @@ Utilizamos [Versionado Semántico 2.0.0](SEMVER.md). Los cambios no liberados no requieren de una nueva versión y son incluidos en la rama principal. +### Mantenimiento 2025-09-26 + +- Se actualizan las herramientas `phpcs` y `phpcbf` a la versión 4.0.0. +- Se elimina la regla `Generic.Functions.CallTimePassByReference`. +- Se actualiza `sonarqube-scan-action` a la versión 6. + ## Versión 1.2.0 - Se asegura la compatibilidad con PHP 8.4.