Skip to content

Commit a3b7dd4

Browse files
committed
ci: add rector
1 parent 4868fd3 commit a3b7dd4

File tree

4 files changed

+62
-3
lines changed

4 files changed

+62
-3
lines changed

.github/workflows/dependency-analysis.yml

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -144,5 +144,4 @@ jobs:
144144
shell: bash
145145

146146
- name: 🔬 Run deptrac
147-
working-directory: app
148147
run: make lint-deptrac-ci

Makefile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -274,7 +274,7 @@ lint-deps: ## Runs composer-require-checker – checks for dependencies that are
274274
.PHONY: lint-deps
275275

276276
lint-deptrac: ## Runs deptrac – static analysis tool
277-
$(APP_RUNNER) .phive/deptrac analyse --config-file=deptrac.yaml -vvv --cache-file=.build/.deptrac.cache
277+
$(APP_RUNNER) .phive/deptrac analyse --config-file=deptrac.yaml -v --cache-file=.build/.deptrac.cache
278278
.PHONY: lint-deptrac
279279

280280
lint-deptrac-ci: ## Runs deptrac – static analysis tool with github output (CI mode)

app/composer.json

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -61,6 +61,7 @@
6161
"phpunit/phpunit": "^10.5",
6262
"psalm/plugin-laravel": "^2.11",
6363
"psalm/plugin-phpunit": "~0.19.0",
64+
"rector/rector": "^1.1",
6465
"roave/infection-static-analysis-plugin": "^1.35",
6566
"spatie/laravel-ignition": "^2.7",
6667
"vimeo/psalm": "^5.23.1",

app/composer.lock

Lines changed: 60 additions & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)