Skip to content

Commit

Permalink
Merge pull request #1105 from Slamdunk/require_php_83
Browse files Browse the repository at this point in the history
Require PHP 8.3
  • Loading branch information
Slamdunk authored Feb 18, 2025
2 parents 99c2989 + 9296329 commit 7bf50ed
Show file tree
Hide file tree
Showing 9 changed files with 24 additions and 37 deletions.
14 changes: 4 additions & 10 deletions .github/workflows/backwards-compatibility.yml
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ jobs:
- name: "Install PHP"
uses: "shivammathur/[email protected]"
with:
php-version: "8.2"
php-version: "8.3"
ini-values: memory_limit=-1
tools: composer:v2, cs2pr
env:
Expand All @@ -32,17 +32,11 @@ jobs:
uses: "actions/[email protected]"
with:
path: ${{ steps.composer-cache.outputs.composer_cache_dir }}
key: "php-8.2-bc-break-check-${{ hashFiles('.github/workflows/backwards-compatibility.yml') }}"
restore-keys: "php-8.2-bc-break-check-"

# Only necessary until https://github.com/Roave/BackwardCompatibilityCheck/pull/737 gets resolved
- name: "Configure custom repository"
run: |
echo '{"repositories": [{"type":"vcs","url":"[email protected]:lcobucci/BackwardCompatibilityCheck.git"}]}' > ~/.composer/composer.json
key: "php-8.3-bc-break-check-${{ hashFiles('.github/workflows/backwards-compatibility.yml') }}"
restore-keys: "php-8.3-bc-break-check-"

- name: "Install dependencies"
# run: composer global require roave/backward-compatibility-check
run: composer global require "roave/backward-compatibility-check:dev-support-baseline-configuration"
run: composer global require roave/backward-compatibility-check

- name: "BC Check"
run: |
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/benchmarks.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ jobs:
dependencies:
- "locked"
php-version:
- "8.2"
- "8.3"
operating-system:
- "ubuntu-latest"

Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/coding-standards.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ jobs:
dependencies:
- "locked"
php-version:
- "8.2"
- "8.3"
operating-system:
- "ubuntu-latest"

Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/composer-json-lint.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ jobs:
dependencies:
- "highest"
php-version:
- "8.2"
- "8.3"
operating-system:
- "ubuntu-latest"

Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/mutation-tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ jobs:
dependencies:
- "locked"
php-version:
- "8.2"
- "8.3"
operating-system:
- "ubuntu-latest"

Expand Down
1 change: 0 additions & 1 deletion .github/workflows/phpunit.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,6 @@ jobs:
- "highest"
- "locked"
php-version:
- "8.2"
- "8.3"
- "8.4"
operating-system:
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/static-analysis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ jobs:
dependencies:
- "locked"
php-version:
- "8.2"
- "8.3"
operating-system:
- "ubuntu-latest"

Expand Down
5 changes: 1 addition & 4 deletions composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@
}
],
"require": {
"php": "~8.2.0 || ~8.3.0 || ~8.4.0",
"php": "~8.3.0 || ~8.4.0",
"ext-openssl": "*",
"ext-sodium": "*",
"psr/clock": "^1.0"
Expand Down Expand Up @@ -54,9 +54,6 @@
"ocramius/package-versions": true,
"phpstan/extension-installer": true
},
"platform": {
"php": "8.2.99"
},
"preferred-install": "dist",
"sort-packages": true
}
Expand Down
31 changes: 14 additions & 17 deletions composer.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

0 comments on commit 7bf50ed

Please sign in to comment.