8000 Update to Symfony v6 and drop PHP 7.4 support (#63) · orchestral/testbench-core@976adbd · GitHub
[go: up one dir, main page]

Skip to content

Commit 976adbd

Browse files
authored
Update to Symfony v6 and drop PHP 7.4 support (#63)
* 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 976adbd

File tree

6 files changed

+12
-16
lines changed

6 files changed

+12
-16
lines changed

.github/workflows/collision-tests.yml

Lines changed: 1 addition & 2 deletions
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"
@@ -25,7 +24,7 @@ jobs:
2524
- "lowest"
2625
- "highest"
2726
experimental:
28-
- false
27+
- true
2928

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

.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: 1 addition & 2 deletions
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"
@@ -25,7 +24,7 @@ jobs:
2524
- "lowest"
2625
- "highest"
2726
experimental:
28-
- false
27+
- true
2928

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

.github/workflows/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"

composer.json

Lines changed: 4 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -29,17 +29,16 @@
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",
3938
"orchestra/canvas": "^7.0",
4039
"phpunit/phpunit": "^9.4 || ^10.0",
41-
"symfony/process": "^5.3",
42-
"symfony/yaml": "^5.3",
40+
"symfony/process": "^6.0",
41+
"symfony/yaml": "^6.0",
4342
"vlucas/phpdotenv": "^5.3"
4443
},
4544
"suggest": {
@@ -49,7 +48,7 @@
4948
"orchestra/testbench-browser-kit": "Allow using legacy Laravel BrowserKit for testing (^7.0).",
5049
"orchestra/testbench-dusk": "Allow using Laravel Dusk for testing (^7.0).",
5150
"phpunit/phpunit": "Allow using PHPUnit for testing (^9.4|^10.0).",
52-
"symfony/yaml": "Required for CLI Commander (^5.3).",
51+
"symfony/yaml": "Required for CLI Commander (^6.0).",
5352
"vlucas/phpdotenv": "Required for CLI Commander (^5.3)."
5453
},
5554
"extra": {

tests/PackageManifestTest.php

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -29,18 +29,18 @@ public function it_can_build_manifest()
2929
$packages = Collection::make(require $manifestPath);
3030

3131
$installedPackages = [
32-
'fideloper/proxy',
33-
'fruitcake/laravel-cors',
34-
'laravel/laravel',
35-
'laravel/tinker',
32+
// 'fideloper/proxy',
33+
// 'fruitcake/laravel-cors',
34+
// 'laravel/laravel',
35+
// 'laravel/tinker',
3636
'nesbot/carbon',
3737
'orchestra/canvas',
3838
'orchestra/canvas-core',
3939
//'spatie/laravel-ray',
4040
];
4141

4242
foreach ($installedPackages as $installedPackage) {
43-
$this->assertTrue(\in_array($installedPackage, $packages->keys()->all()));
43+
$this->assertTrue(\in_array($installedPackage, $packages->keys()->all()), "Unable to discover {$installedPackage}");
4444
}
4545

4646
$this->app['files']->delete($manifestPath);

0 commit comments

Comments
 (0)
0