Skip to content

Commit

Permalink
Do not require knplabs/doctrine-behaviors
Browse files Browse the repository at this point in the history
  • Loading branch information
franmomu committed Nov 10, 2024
1 parent 7dc7533 commit fbef5a8
Show file tree
Hide file tree
Showing 3 changed files with 40 additions and 3 deletions.
10 changes: 10 additions & 0 deletions .github/workflows/test.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -58,6 +58,16 @@ jobs:
allowed-to-fail: false
symfony-require: 6.4.*
variant: symfony/symfony:"6.4.*"
- php-version: '8.2'
dependencies: highest
allowed-to-fail: false
symfony-require: 7.0.*
variant: symfony/symfony:"7.0.*"
- php-version: '8.3'
dependencies: highest
allowed-to-fail: false
symfony-require: 7.0.*
variant: symfony/symfony:"7.0.*"

steps:
- name: Checkout
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,35 @@ jobs:

strategy:
matrix:
php-version:
- '8.0'
- '8.1'
- '8.2'
- '8.3'
dependencies: [ highest ]

Check failure on line 35 in .github/workflows/test_knp.yaml

View workflow job for this annotation

GitHub Actions / YAML files

35:32 [brackets] too many spaces inside brackets

Check failure on line 35 in .github/workflows/test_knp.yaml

View workflow job for this annotation

GitHub Actions / YAML files

35:40 [brackets] too many spaces inside brackets
allowed-to-fail: [ false ]

Check failure on line 36 in .github/workflows/test_knp.yaml

View workflow job for this annotation

GitHub Actions / YAML files

36:35 [brackets] too many spaces inside brackets

Check failure on line 36 in .github/workflows/test_knp.yaml

View workflow job for this annotation

GitHub Actions / YAML files

36:41 [brackets] too many spaces inside brackets
symfony-require: [ '' ]

Check failure on line 37 in .github/workflows/test_knp.yaml

View workflow job for this annotation

GitHub Actions / YAML files

37:35 [brackets] too many spaces inside brackets

Check failure on line 37 in .github/workflows/test_knp.yaml

View workflow job for this annotation

GitHub Actions / YAML files

37:38 [brackets] too many spaces inside brackets
variant: [ normal ]

Check failure on line 38 in .github/workflows/test_knp.yaml

View workflow job for this annotation

GitHub Actions / YAML files

38:27 [brackets] too many spaces inside brackets

Check failure on line 38 in .github/workflows/test_knp.yaml

View workflow job for this annotation

GitHub Actions / YAML files

38:34 [brackets] too many spaces inside brackets
include:
- php-version: '8.0'
dependencies: lowest
allowed-to-fail: false
variant: normal
- php-version: '8.3'
dependencies: highest
allowed-to-fail: false
symfony-require: 5.4.*
variant: symfony/symfony:"5.4.*"
- php-version: '8.3'
dependencies: highest
allowed-to-fail: false
symfony-require: 6.3.*
variant: symfony/symfony:"6.3.*"
- php-version: '8.3'
dependencies: highest
allowed-to-fail: false
symfony-require: 6.4.*
variant: symfony/symfony:"6.4.*"
- php-version: '8.2'
dependencies: highest
allowed-to-fail: false
Expand All @@ -53,8 +81,8 @@ jobs:
- name: Add PHPUnit matcher
run: echo "::add-matcher::${{ runner.tool_cache }}/phpunit.json"

- name: Remove knplabs/doctrine-behaviors
run: composer remove knplabs/doctrine-behaviors --dev --no-update
- name: Add knplabs/doctrine-behaviors
run: composer require knplabs/doctrine-behaviors --dev --no-update

- name: Install variant
if: matrix.variant != 'normal' && !startsWith(matrix.variant, 'symfony/symfony')
Expand Down
1 change: 0 additions & 1 deletion composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,6 @@
"doctrine/persistence": "^3.0.2",
"friendsofphp/php-cs-fixer": "^3.4",
"gedmo/doctrine-extensions": "^3.11",
"knplabs/doctrine-behaviors": "^2.6.2",
"matthiasnoback/symfony-config-test": "^4.2 || ^5.0",
"matthiasnoback/symfony-dependency-injection-test": "^4.0 || ^5.0",
"phpstan/extension-installer": "^1.0",
Expand Down

0 comments on commit fbef5a8

Please sign in to comment.