Skip to content

Commit 11f7128

Browse files
committed
chore(release): 2.1.0
1 parent d060360 commit 11f7128

16 files changed

Lines changed: 974 additions & 616 deletions

.github/workflows/lint.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ jobs:
77
strategy:
88
fail-fast: false
99
matrix:
10-
php: [ '8.2', '8.3', '8.4' ]
10+
php: [ '8.4', '8.5' ]
1111

1212
steps:
1313
- name: Checkout

.github/workflows/test.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ jobs:
77
strategy:
88
fail-fast: false
99
matrix:
10-
php: [ '8.2', '8.3', '8.4' ]
10+
php: [ '8.4', '8.5' ]
1111

1212
steps:
1313
- name: Checkout

Makefile

Lines changed: 3 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -8,18 +8,11 @@ help: ## affiche cet aide
88
@grep -E '^[a-zA-Z_-]+:.*?## .*$$' $(MAKEFILE_LIST) | sort | awk 'BEGIN {FS = ":.*?## "}; {printf "\033[36m%-30s\033[0m %s\n", $$1, $$2}'
99

1010
.PHONY: lint
11-
lint: vendor/autoload.php ## affiche les erreurs de formatage de code
11+
lint: ## affiche les erreurs de formatage de code
1212
php vendor/bin/ecs
1313
php vendor/bin/phpstan
14+
php vendor/bin/rector --dry-run
1415

1516
.PHONY: test
16-
test: vendor/autoload.php ## lance les tests
17+
test: ## lance les tests
1718
php vendor/bin/phpunit
18-
19-
.PHONY: lint-fix
20-
lint-fix: vendor/autoload.php ## corrige les erreurs de formatage de code
21-
php vendor/bin/ecs --fix
22-
23-
vendor/autoload.php: composer.lock # installe les dépendances PHP
24-
composer update
25-
composer dump-autoload

composer.json

Lines changed: 10 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -27,16 +27,18 @@
2727
],
2828
"minimum-stability": "stable",
2929
"require": {
30-
"php": ">=8.2",
31-
"symfony/http-client": "^7.0",
30+
"php": ">=8.4",
31+
"symfony/http-client": "^7.0|^8.0",
3232
"webmozart/assert": "^1.11",
33-
"symfony/serializer": "^7.0",
34-
"symfony/property-access": "^7.0"
33+
"symfony/serializer": "^7.0|^8.0",
34+
"symfony/property-access": "^7.0|^8.0"
3535
},
3636
"require-dev": {
37-
"phpstan/phpstan": "^1.10",
38-
"phpunit/phpunit": "^11.1",
39-
"symplify/easy-coding-standard": "^12.1",
40-
"symfony/var-dumper": "^7.0"
37+
"symfony/var-dumper": "^7.0|^8.0",
38+
"rector/rector": "^2.3",
39+
"phpstan/phpstan": "^2.1",
40+
"phpstan/phpstan-phpunit": "^2.0",
41+
"phpunit/phpunit": "^13.0",
42+
"symplify/easy-coding-standard": "^13.0"
4143
}
4244
}

0 commit comments

Comments
 (0)