10000 Update to Symfony v6 and drop PHP 7.4 support · orchestral/testbench-core@69be81a · GitHub
[go: up one dir, main page]

Skip to content

Commit 69be81a

Browse files
committed
Update to Symfony v6 and drop PHP 7.4 support
laravel/framework#37941 Signed-off-by: Mior Muhammad Zaki <crynobone@gmail.com>
1 parent 289e0ab commit 69be81a

File tree

5 files changed

+7
-58
lines changed

5 files changed

+7
-58
lines changed

.github/workflows/collision-tests.yml

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,6 @@ jobs:
1616
- "ubuntu-latest"
1717
- "windows-latest"
1818
php:
19-
- "7.4"
2019
- "8.0"
2120
phpunit:
2221
- "^9.4"

.github/workflows/coveralls.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ jobs:
1313
os:
1414
- "ubuntu-latest"
1515
php:
16-
- "7.4"
16+
- "8.0"
1717
dependencies:
1818
- "locked"
1919
experimental:

.github/workflows/parallel-tests.yml

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,6 @@ jobs:
1616
- "ubuntu-latest"
1717
- "windows-latest"
1818
php:
19-
- "7.4"
2019
- "8.0"
2120
phpunit:
2221
- "^9.5.4"

.github/workflows/tests.yml

Lines changed: 2 additions & 49 deletions
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ on:
77
- cron: '0 0 * * *'
88

99
jobs:
10-
tests-on-phpunit-9:
10+
tests:
1111
runs-on: ${{ matrix.os }}
1212
continue-on-error: ${{ matrix.experimental }}
1313
strategy:
@@ -16,63 +16,16 @@ jobs:
1616
- "ubuntu-latest"
1717
- "windows-latest"
1818
php:
19-
- "7.4"
2019
- "8.0"
2120
phpunit:
2221
- "^9.4"
23-
dependencies:
24-
- "locked"
25-
- "lowest"
26-
- "highest"
27-
experimental:
28-
- false
29-
30-
name: PHP${{ matrix.php }} with PHPUnit${{ matrix.phpunit }} on ${{ matrix.os }} (${{ matrix.dependencies }})
31-
32-
steps:
33-
- name: Checkout code
34-
uses: actions/checkout@v1
35-
36-
- name: Setup PHP
37-
uses: shivammathur/setup-php@v2
38-
with:
39-
php-version: ${{ matrix.php }}
40-
extensions: dom, curl, libxml, mbstring, zip, pcntl, pdo, sqlite, pdo_sqlite, mysql, mysqli, pdo_mysql, bcmath, intl, fileinfo
41-
coverage: none
42-
43-
- name: Install PHPUnit ${{ matrix.phpunit }}
44-
run: |
45-
composer require "phpunit/phpunit:${{ matrix.phpunit }}" --no-interaction --no-update
46-
47-
- name: Install dependencies
48-
uses: "ramsey/composer-install@v1"
49-
with:
50-
dependency-versions: "${{ matrix.dependencies }}"
51-
composer-options: "--prefer-dist --no-cache"
52-
53-
- name: Prepare Testbench
54-
run: composer run prepare
55-
56-
- name: Execute tests
57-
run: vendor/bin/phpunit
58-
59-
tests-on-phpunit-10:
60-
runs-on: ${{ matrix.os }}
61-
continue-on-error: ${{ matrix.experimental }}
62-
strategy:
63-
matrix:
64-
os:
65-
- "ubuntu-latest"
66-
php:
67-
- "8.0"
68-
phpunit:
6922
- "^10.0"
7023
dependencies:
7124
- "locked"
7225
- "lowest"
7326
- "highest"
7427
experimental:
75-
- true
28+
- false
7629

7730
name: PHP${{ matrix.php }} with PHPUnit${{ matrix.phpunit }} on ${{ matrix.os }} (${{ matrix.dependencies }})
7831

composer.json

Lines changed: 4 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -29,17 +29,15 @@
2929
"testbench"
3030
],
3131
"require": {
32-
"php": "^7.4 || ^8.0"
32+
"php": "^8.0"
3333
},
3434
"require-dev": {
3535
"fakerphp/faker": "^1.9.2",
3636
"laravel/framework": "^9.0",
37-
"laravel/laravel": "dev-master",
3837
"mockery/mockery": "^1.4.2",
39-
"orchestra/canvas": "^7.0",
4038
"phpunit/phpunit": "^9.4 || ^10.0",
41-
"symfony/process": "^5.3",
42-
"symfony/yaml": "^5.3",
39+
"symfony/process": "^6.0",
40+
"symfony/yaml": "^6.0",
4341
"vlucas/phpdotenv": "^5.3"
4442
},
4543
"suggest": {
@@ -49,7 +47,7 @@
4947
"orchestra/testbench-browser-kit": "Allow using legacy Laravel BrowserKit for testing (^7.0).",
5048
"orchestra/testbench-dusk": "Allow using Laravel Dusk for testing (^7.0).",
5149
"phpunit/phpunit": "Allow using PHPUnit for testing (^9.4|^10.0).",
52-
"symfony/yaml": "Required for CLI Commander (^5.3).",
50+
"symfony/yaml": "Required for CLI Commander (^6.0).",
5351
"vlucas/phpdotenv": "Required for CLI Commander (^5.3)."
5452
},
5553
"extra": {

0 commit comments

Comments
 (0)
0