Skip to content

Commit

Permalink
Set minimum stability in ci and test against PHP 8,3
Browse files Browse the repository at this point in the history
  • Loading branch information
alexander-schranz committed Apr 5, 2024
1 parent eff312d commit 334cbc6
Show file tree
Hide file tree
Showing 3 changed files with 12 additions and 2 deletions.
10 changes: 10 additions & 0 deletions .github/workflows/test-application.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -41,6 +41,12 @@ jobs:
tools: 'composer:v2'
php-cs-fixer: false

- php-version: '8.3'
dependency-versions: 'highest'
minimum-stability: 'dev'
tools: 'composer:v2'
php-cs-fixer: false

steps:
- name: Checkout project
uses: actions/checkout@v2
Expand All @@ -51,6 +57,10 @@ jobs:
php-version: ${{ matrix.php-version }}
tools: ${{ matrix.tools }}

- name: Set composer stability
if: ${{ matrix.composer-stability }}
run: composer config minimum-stability ${{ matrix.composer-stability }}

- name: Install composer dependencies
uses: ramsey/composer-install@v1
with:
Expand Down
2 changes: 1 addition & 1 deletion Build/BuildRegistry.php
Original file line number Diff line number Diff line change
Expand Up @@ -137,7 +137,7 @@ protected function getUnsequencedBuilders($sequences, $dependencies = null)
$dependencies = \array_keys($sequences);
}

foreach ($dependencies as $dependency) {
foreach ($dependencies as $dependency) {
if (-1 === $sequences[$dependency]) {
$unsequencedBuilders[] = $dependency;
}
Expand Down
2 changes: 1 addition & 1 deletion composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@
},
"require-dev": {
"symfony/phpunit-bridge": "^5.0.4 || ^6.0 || ^7.0",
"matthiasnoback/symfony-dependency-injection-test": "^4.0",
"matthiasnoback/symfony-dependency-injection-test": "^4.0 || ^5.0",
"phpspec/prophecy": "^1.14"
},
"autoload": {
Expand Down

0 comments on commit 334cbc6

Please sign in to comment.