Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
13 changes: 9 additions & 4 deletions .github/workflows/code_checks.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -14,18 +14,23 @@ 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.*
stability: prefer-stable
- 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:
Expand All @@ -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 }}
Expand All @@ -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
2 changes: 2 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -7,3 +7,5 @@ composer.lock

# php-cs-fixer
.php-cs-fixer.cache

.idea
4 changes: 2 additions & 2 deletions .php-cs-fixer.php
Original file line number Diff line number Diff line change
Expand Up @@ -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,
Expand Down
3 changes: 3 additions & 0 deletions src/DependencyInjection/Configuration.php
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,10 @@
*/
class Configuration implements ConfigurationInterface
{
/**
* @return TreeBuilder<'array'>
*/
public function getConfigTreeBuilder(): TreeBuilder

Check failure on line 20 in src/DependencyInjection/Configuration.php

View workflow job for this annotation

GitHub Actions / PHP 8.2 - 7.0.* - prefer-stable

PHPDoc tag `@return` contains generic type Symfony\Component\Config\Definition\Builder\TreeBuilder<string> but class Symfony\Component\Config\Definition\Builder\TreeBuilder is not generic.

Check failure on line 20 in src/DependencyInjection/Configuration.php

View workflow job for this annotation

GitHub Actions / PHP 8.4 - 7.0.* - prefer-stable

PHPDoc tag `@return` contains generic type Symfony\Component\Config\Definition\Builder\TreeBuilder<string> but class Symfony\Component\Config\Definition\Builder\TreeBuilder is not generic.

Check failure on line 20 in src/DependencyInjection/Configuration.php

View workflow job for this annotation

GitHub Actions / PHP 8.3 - 7.0.* - prefer-stable

PHPDoc tag `@return` contains generic type Symfony\Component\Config\Definition\Builder\TreeBuilder<string> but class Symfony\Component\Config\Definition\Builder\TreeBuilder is not generic.
{
return new TreeBuilder('calendar');
}
Expand Down
Loading