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 }} 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/.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/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. diff --git a/phpcs.xml.dist b/phpcs.xml.dist index 034efc6..f60b917 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,16 +11,13 @@ - - - + - @@ -29,4 +26,10 @@ + + + + + +