Skip to content

Commit e9c3ddb

Browse files
committed
Cleanup
1 parent bd05de8 commit e9c3ddb

File tree

2 files changed

+8
-21
lines changed

2 files changed

+8
-21
lines changed

.github/workflows/tests.yaml

Lines changed: 7 additions & 20 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,10 @@
1-
name: Continuous Integration
1+
name: CI
22

33
on:
4-
pull_request: null
4+
pull_request:
55
push:
66
branches:
77
- master
8-
- develop
98
- release/**
109

1110
permissions:
@@ -35,6 +34,7 @@ jobs:
3534
- 6.*
3635
- 7.*
3736
dependencies:
37+
- lowest
3838
- highest
3939
exclude:
4040
- php: '7.2'
@@ -55,19 +55,6 @@ jobs:
5555
symfony-version: 7.*
5656
- php: '8.4'
5757
symfony-version: 4.4.*
58-
include:
59-
- php: '7.2'
60-
symfony-version: 4.4.*
61-
dependencies: lowest
62-
- php: '7.2'
63-
symfony-version: 5.*
64-
dependencies: lowest
65-
- php: '8.0'
66-
symfony-version: 6.*
67-
dependencies: lowest
68-
- php: '8.2'
69-
symfony-version: 7.*
70-
dependencies: lowest
7158

7259
steps:
7360
- name: Checkout
@@ -85,14 +72,14 @@ jobs:
8572
- name: Setup Problem Matchers for PHPUnit
8673
run: echo "::add-matcher::${{ runner.tool_cache }}/phpunit.json"
8774

88-
- name: Update PHPUnit
89-
run: composer require --dev phpunit/phpunit ^9.5 --no-update
90-
if: matrix.php == '8.0' && matrix.dependencies == 'lowest'
91-
9275
# These dependencies are not used running the tests but can cause deprecation warnings so we remove them before running the tests
9376
- name: Remove unused dependencies
9477
run: composer remove vimeo/psalm phpstan/phpstan friendsofphp/php-cs-fixer --dev --no-interaction --no-update
9578

79+
- name: Update PHPUnit
80+
run: composer require --dev phpunit/phpunit ^8.5.40 --no-update
81+
if: matrix.php == '7.2'
82+
9683
- name: Install dependencies
9784
uses: ramsey/composer-install@v3
9885
with:

composer.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,7 @@
3636
"phpstan/phpstan": "1.12.5",
3737
"phpstan/phpstan-phpunit": "1.4.0",
3838
"phpstan/phpstan-symfony": "1.4.10",
39-
"phpunit/phpunit": "^8.5|^9.6",
39+
"phpunit/phpunit": "^8.5||^9.6",
4040
"symfony/browser-kit": "^4.4.20||^5.0.11||^6.0||^7.0",
4141
"symfony/cache": "^4.4.20||^5.0.11||^6.0||^7.0",
4242
"symfony/dom-crawler": "^4.4.20||^5.0.11||^6.0||^7.0",

0 commit comments

Comments
 (0)