Skip to content

Commit 6ea3c2d

Browse files
wundiiawu
andauthored
chore: rectorphp was implemented and the following adjustments (#15)
Co-authored-by: awu <andreas.wunderwald@westpress.de>
1 parent 663b31e commit 6ea3c2d

12 files changed

Lines changed: 230 additions & 84 deletions

.gitignore

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
# PHP specific files and folders
2+
/cache
23
/vendor
3-
.phpunit.result.cache
44

55
# OS generated files and folders
66
.DS_Store

composer.json

Lines changed: 14 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -25,21 +25,29 @@
2525
"minimum-stability": "stable",
2626
"require": {
2727
"php": ">=8.2",
28-
"guzzlehttp/guzzle": "7.9.3"
28+
"guzzlehttp/guzzle": "^7.5"
2929
},
3030
"require-dev": {
3131
"phpstan/phpstan": "2.1.17",
3232
"phpunit/phpunit": "11.5.21",
33+
"rector/rector": "2.1.1",
3334
"symplify/easy-coding-standard": "12.5.20",
3435
"testcontainers/testcontainers": "1.0.3"
3536
},
3637
"scripts": {
37-
"analyze": "vendor/bin/ecs check && composer stan",
38-
"format": "vendor/bin/ecs check --fix",
39-
"stan": " vendor/bin/phpstan analyze -l 5 src tests",
38+
"analyze": [
39+
"vendor/bin/rector process --dry-run --ansi",
40+
"vendor/bin/ecs check",
41+
"@stan"
42+
],
43+
"format": [
44+
"vendor/bin/rector process",
45+
"vendor/bin/ecs check --fix"
46+
],
47+
"stan": "vendor/bin/phpstan analyze",
4048
"qa": [
41-
"composer analyze",
42-
"composer test"
49+
"@analyze",
50+
"@test"
4351
],
4452
"test": "vendor/bin/phpunit"
4553
},

composer.lock

Lines changed: 112 additions & 40 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)