Skip to content

Commit f8e7840

Browse files
committed
Fix work dir
1 parent a05432a commit f8e7840

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

Diff for: Makefile

+3-2
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,7 @@ endif
88

99
ifneq ("$(shell whoami)", "skpr")
1010
EXEC=$(DOCKER_COMPOSE) exec -T php-cli
11+
EXEC_APP=$(DOCKER_COMPOSE) exec -w /data/app -T php-cli
1112
endif
1213

1314
DRUSH=$(EXEC) ./bin/drush
@@ -46,10 +47,10 @@ switch:
4647
$(GIT_SWITCH) $(BRANCH)
4748

4849
phpstan:
49-
$(EXEC) ./bin/phpstan --configuration=app/core/phpstan.neon.dist --memory-limit=1G
50+
$(EXEC_APP) /data/bin/phpstan --configuration=./core/phpstan.neon.dist --memory-limit=1G
5051

5152
phpstan-baseline:
52-
$(EXEC) ./bin/phpstan --configuration=app/core/phpstan.neon.dist --generate-baseline=app/core/.phpstan-baseline.php --memory-limit=1G
53+
$(EXEC_APP) /data/bin/phpstan --configuration=./core/phpstan.neon.dist --generate-baseline=./core/.phpstan-baseline.php --memory-limit=1G
5354

5455
9.3: php8.0
5556
$(GIT_SWITCH) 9.3.x

0 commit comments

Comments
 (0)