Skip to content

Commit 7db59ef

Browse files
authored
Merge pull request #6 from Bl00D4NGEL/main
deps: Support symfony ^7.0 versions
2 parents 4d93eaf + ee19032 commit 7db59ef

File tree

7 files changed

+1604
-1016
lines changed

7 files changed

+1604
-1016
lines changed

.github/workflows/tests.yaml

+1-8
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ jobs:
2424
- name: Setup PHP
2525
uses: shivammathur/[email protected]
2626
with:
27-
php-version: '8.1'
27+
php-version: '8.2'
2828
coverage: xdebug
2929

3030
# Install dependencies
@@ -41,10 +41,3 @@ jobs:
4141
- name: Run Unit Tests
4242
run: |
4343
vendor/bin/phpunit --coverage-text --coverage-clover reports/coverage.xml
44-
45-
# SonarCloud
46-
- name: SonarCloud Scan
47-
uses: SonarSource/sonarcloud-github-action@master
48-
env:
49-
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
50-
SONAR_TOKEN: ${{ secrets.SONAR_TOKEN }}

composer.json

+7-6
Original file line numberDiff line numberDiff line change
@@ -21,20 +21,21 @@
2121
}
2222
},
2323
"require": {
24+
"php": "^8.2",
2425
"ext-sodium": "*",
2526
"geekcell/container-facade": "^1.0",
26-
"symfony/dependency-injection": "^6.0",
27-
"symfony/http-kernel": "^6.0",
28-
"symfony/console": "^6.0",
29-
"symfony/config": "^6.0"
27+
"symfony/dependency-injection": "^6.0 | ^7.0",
28+
"symfony/http-kernel": "^6.0 | ^7.0",
29+
"symfony/console": "^6.0 | ^7.0",
30+
"symfony/config": "^6.0 | ^7.0"
3031
},
3132
"require-dev": {
3233
"friendsofphp/php-cs-fixer": "^3.16",
3334
"mockery/mockery": "^1.5",
3435
"phpstan/phpstan": "^1.10",
3536
"phpunit/phpunit": "^10.0",
36-
"symfony/yaml": "^6.2",
37-
"symfony/framework-bundle": "^6.2",
37+
"symfony/yaml": "^6.0 | ^7.0",
38+
"symfony/framework-bundle": "^6.0 | ^7.0",
3839
"phpstan/phpstan-mockery": "^1.1",
3940
"phpstan/phpstan-symfony": "^1.2"
4041
},

0 commit comments

Comments
 (0)