diff --git a/.github/workflows/code_checks.yaml b/.github/workflows/code_checks.yaml index 7796be1..dcb964d 100644 --- a/.github/workflows/code_checks.yaml +++ b/.github/workflows/code_checks.yaml @@ -14,11 +14,11 @@ jobs: strategy: fail-fast: false matrix: - php: ['8.2'] + php: [8.2] stability: [prefer-stable] minimum-stability: [stable] symfony-version: [7.0.*] - is-current: [true] + is-current: [false] include: - php: '8.3' symfony-version: 7.0.* @@ -26,6 +26,11 @@ jobs: - php: '8.4' symfony-version: 7.0.* stability: prefer-stable + - php: '8.4' + symfony-version: 7.4.* + stability: prefer-stable + minimum-stability: dev + is-current: true name: PHP ${{ matrix.php }} - ${{ matrix.symfony-version }} - ${{ matrix.stability }} steps: @@ -49,7 +54,7 @@ jobs: composer global config --no-plugins allow-plugins.symfony/flex true composer global require --no-progress --no-scripts --no-plugins symfony/flex composer config minimum-stability ${{ matrix.minimum-stability }} - composer update --no-interaction --prefer-dist + composer update --no-interaction --prefer-dist --no-security-blocking - name: PHP-CS-Fixer continue-on-error: ${{ !matrix.is-current }} @@ -68,4 +73,4 @@ jobs: env: GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} # Needed to get PR information, if any SONAR_TOKEN: ${{ secrets.SONAR_TOKEN }} - uses: sonarsource/sonarcloud-github-action@v2 + uses: SonarSource/sonarqube-scan-action@v6 diff --git a/.gitignore b/.gitignore index c7f6ec3..ff80e3b 100644 --- a/.gitignore +++ b/.gitignore @@ -7,3 +7,5 @@ composer.lock # php-cs-fixer .php-cs-fixer.cache + +.idea diff --git a/.php-cs-fixer.php b/.php-cs-fixer.php index 4165641..efa0cc1 100644 --- a/.php-cs-fixer.php +++ b/.php-cs-fixer.php @@ -11,8 +11,8 @@ '@Symfony:risky' => true, '@PSR1' => true, - '@PER-CS2.0' => true, - '@PER-CS2.0:risky' => true, + '@PER-CS2x0' => true, + '@PER-CS2x0:risky' => true, 'php_unit_internal_class' => false, 'php_unit_test_class_requires_covers' => false, diff --git a/src/DependencyInjection/Configuration.php b/src/DependencyInjection/Configuration.php index 79954db..a783009 100644 --- a/src/DependencyInjection/Configuration.php +++ b/src/DependencyInjection/Configuration.php @@ -14,6 +14,9 @@ */ class Configuration implements ConfigurationInterface { + /** + * @return TreeBuilder<'array'> + */ public function getConfigTreeBuilder(): TreeBuilder { return new TreeBuilder('calendar');