Skip to content

Commit bb3e9f2

Browse files
authored
Merge pull request #1133 from Slamdunk/php_85
Add PHP 8.5 support
2 parents c98179c + 64b1b54 commit bb3e9f2

File tree

4 files changed

+642
-464
lines changed

4 files changed

+642
-464
lines changed

.github/workflows/backwards-compatibility.yml

Lines changed: 1 addition & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -35,14 +35,8 @@ jobs:
3535
key: "php-8.2-bc-break-check-${{ hashFiles('.github/workflows/backwards-compatibility.yml') }}"
3636
restore-keys: "php-8.2-bc-break-check-"
3737

38-
# Only necessary until https://github.com/Roave/BackwardCompatibilityCheck/pull/737 gets resolved
39-
- name: "Configure custom repository"
40-
run: |
41-
echo '{"repositories": [{"type":"vcs","url":"[email protected]:lcobucci/BackwardCompatibilityCheck.git"}]}' > ~/.composer/composer.json
42-
4338
- name: "Install dependencies"
44-
# run: composer global require roave/backward-compatibility-check
45-
run: composer global require "roave/backward-compatibility-check:dev-support-baseline-configuration"
39+
run: composer global require roave/backward-compatibility-check
4640

4741
- name: "BC Check"
4842
run: |

.github/workflows/phpunit.yml

Lines changed: 0 additions & 34 deletions
Original file line numberDiff line numberDiff line change
@@ -20,39 +20,6 @@ jobs:
2020
- "8.2"
2121
- "8.3"
2222
- "8.4"
23-
operating-system:
24-
- "ubuntu-latest"
25-
26-
steps:
27-
- name: "Checkout"
28-
uses: "actions/[email protected]"
29-
30-
- name: "Install PHP"
31-
uses: "shivammathur/[email protected]"
32-
with:
33-
coverage: "none"
34-
php-version: "${{ matrix.php-version }}"
35-
ini-values: memory_limit=-1
36-
tools: composer:v2, cs2pr
37-
38-
- name: "Install dependencies"
39-
uses: "ramsey/[email protected]"
40-
with:
41-
dependency-versions: "${{ matrix.dependencies }}"
42-
43-
- name: "Tests"
44-
run: "make phpunit"
45-
46-
phpunit-rc:
47-
name: "PHPUnit tests (nightly)"
48-
49-
runs-on: ${{ matrix.operating-system }}
50-
51-
strategy:
52-
matrix:
53-
dependencies:
54-
- "locked"
55-
php-version:
5623
- "8.5"
5724
operating-system:
5825
- "ubuntu-latest"
@@ -73,7 +40,6 @@ jobs:
7340
uses: "ramsey/[email protected]"
7441
with:
7542
dependency-versions: "${{ matrix.dependencies }}"
76-
composer-options: " --ignore-platform-req=php"
7743

7844
- name: "Tests"
7945
run: "make phpunit"

composer.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@
1717
}
1818
],
1919
"require": {
20-
"php": "~8.2.0 || ~8.3.0 || ~8.4.0",
20+
"php": "~8.2.0 || ~8.3.0 || ~8.4.0 || ~8.5.0",
2121
"ext-openssl": "*",
2222
"ext-sodium": "*",
2323
"psr/clock": "^1.0"

0 commit comments

Comments
 (0)