Skip to content

Commit 67e2466

Browse files
authored
add support for symfony 7 (#12)
* add support for symfony 7 * update readme
1 parent 6553dd3 commit 67e2466

File tree

6 files changed

+16
-5736
lines changed

6 files changed

+16
-5736
lines changed

.github/workflows/ci.yml

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,13 +7,15 @@ on:
77

88
jobs:
99
ci:
10-
1110
strategy:
1211
matrix:
1312
php-version:
1413
- "8.1"
1514
- "8.2"
1615
- "8.3"
16+
dependencies:
17+
- "lowest"
18+
- "highest"
1719

1820
runs-on: ubuntu-latest
1921

@@ -24,6 +26,7 @@ jobs:
2426
uses: "shivammathur/setup-php@v2"
2527
with:
2628
php-version: "${{ matrix.php-version }}"
29+
dependency-versions: "${{ matrix.dependencies }}"
2730
ini-values: memory_limit=-1
2831

2932
- name: "Install composer dependencies"

.gitignore

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,3 +8,4 @@
88
/coverage
99
/clover.xml
1010
/var
11+
/composer.lock

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
# ChaosMonkeySymfonyBundle
22

33
[![Minimum PHP Version](https://img.shields.io/badge/php-%5E8.1-8892BF.svg)](https://php.net/)
4-
![Symfony Versions Supported](https://img.shields.io/badge/symfony-%5E6.4-green)
4+
![Symfony Versions Supported](https://img.shields.io/badge/symfony-%5E6.4%20%7C%7C%20%5E7.0-green)
55
[![Packagist Version](https://img.shields.io/packagist/v/chaos-php/chaos-monkey-symfony-bundle)](https://packagist.org/packages/chaos-php/chaos-monkey-symfony-bundle)
66
[![ci](https://github.com/chaos-php/chaos-monkey-symfony-bundle/actions/workflows/ci.yml/badge.svg?branch=master)](https://github.com/chaos-php/chaos-monkey-symfony-bundle/actions/workflows/ci.yml)
77
![GitHub](https://img.shields.io/github/license/chaos-php/chaos-monkey-symfony-bundle)

composer.json

Lines changed: 9 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -19,18 +19,18 @@
1919
],
2020
"require": {
2121
"php": "^8.1",
22-
"chaos-php/chaos-monkey": "^1.1"
22+
"chaos-php/chaos-monkey": "^1.1.1"
2323
},
2424
"require-dev": {
2525
"friendsofphp/php-cs-fixer": "^3.58",
26-
"phpunit/phpunit": "^10.5",
27-
"symfony/browser-kit": "^6.4",
28-
"symfony/framework-bundle": "^6.4",
29-
"symfony/http-kernel": "^6.4",
30-
"symfony/stopwatch": "^6.4",
3126
"phpstan/phpstan": "^1.11",
3227
"phpstan/phpstan-symfony": "^1.4",
33-
"symfony/runtime": "^6.4"
28+
"phpunit/phpunit": "^10.5",
29+
"symfony/browser-kit": "^6.4 || ^7.0",
30+
"symfony/framework-bundle": "^6.4 || ^7.0",
31+
"symfony/http-kernel": "^6.4 || ^7.0",
32+
"symfony/runtime": "^6.4 || ^7.0",
33+
"symfony/stopwatch": "^6.4 || ^7.0"
3434
},
3535
"autoload": {
3636
"psr-4": {
@@ -64,11 +64,9 @@
6464
]
6565
},
6666
"config": {
67-
"platform": {
68-
"php": "8.1"
69-
},
7067
"allow-plugins": {
7168
"symfony/runtime": true
72-
}
69+
},
70+
"sort-packages": true
7371
}
7472
}

0 commit comments

Comments
 (0)