Fixes
This commit is contained in:
parent
cda99ff767
commit
81affe09e6
@ -38,7 +38,8 @@ RUN apt update && \
|
|||||||
make \
|
make \
|
||||||
strace \
|
strace \
|
||||||
sudo \
|
sudo \
|
||||||
vim
|
vim \
|
||||||
|
nano
|
||||||
|
|
||||||
|
|
||||||
# Install intl
|
# Install intl
|
||||||
|
|||||||
@ -3,7 +3,9 @@
|
|||||||
rsyslogd
|
rsyslogd
|
||||||
cron
|
cron
|
||||||
touch /var/log/cron.log
|
touch /var/log/cron.log
|
||||||
|
touch /var/log/syslog.log
|
||||||
chmod -R 0777 /var/log/cron.log
|
chmod -R 0777 /var/log/cron.log
|
||||||
|
chmod -R 0777 /var/log/syslog.log
|
||||||
rm /data/www/new/var/cache/*
|
rm /data/www/new/var/cache/*
|
||||||
rm /data/www/new/var/log/*
|
rm /data/www/new/var/log/*
|
||||||
chmod -R 0777 /data/www/new/var/cache
|
chmod -R 0777 /data/www/new/var/cache
|
||||||
|
|||||||
@ -16,7 +16,8 @@ YELLOW:=\033[0;33m
|
|||||||
NO_COLOR:=\033[0m
|
NO_COLOR:=\033[0m
|
||||||
|
|
||||||
# Tool CLI config
|
# Tool CLI config
|
||||||
PHPUNIT_CMD=php vendor/bin/phpunit
|
PHPUNIT_CMD=php -dxdebug.mode=off vendor/bin/phpunit
|
||||||
|
PHPUNIT_CMD_XDEBUG=php vendor/bin/phpunit
|
||||||
PHPUNIT_ARGS=
|
PHPUNIT_ARGS=
|
||||||
PHPUNIT_FILES=
|
PHPUNIT_FILES=
|
||||||
PHPSTAN_CMD=php -d xdebug.mode=off -d memory_limit=-1 vendor/bin/phpstan analyse
|
PHPSTAN_CMD=php -d xdebug.mode=off -d memory_limit=-1 vendor/bin/phpstan analyse
|
||||||
@ -75,6 +76,10 @@ endef
|
|||||||
test: ## Run all tests
|
test: ## Run all tests
|
||||||
@$(EXECUTE_IN_APPLICATION_CONTAINER) $(PHPUNIT_CMD) $(PHPUNIT_ARGS) $(ARGS)
|
@$(EXECUTE_IN_APPLICATION_CONTAINER) $(PHPUNIT_CMD) $(PHPUNIT_ARGS) $(ARGS)
|
||||||
|
|
||||||
|
.PHONY: test-xdebug
|
||||||
|
test-xdebug: ## Run all tests
|
||||||
|
@$(EXECUTE_IN_APPLICATION_CONTAINER) $(PHPUNIT_CMD_XDEBUG) $(PHPUNIT_ARGS) $(ARGS)
|
||||||
|
|
||||||
.PHONY: phplint
|
.PHONY: phplint
|
||||||
phplint: ## Run phplint on all files
|
phplint: ## Run phplint on all files
|
||||||
@$(call execute,$(PARALLEL_LINT_CMD),$(PARALLEL_LINT_ARGS),$(PARALLEL_LINT_FILES), $(ARGS))
|
@$(call execute,$(PARALLEL_LINT_CMD),$(PARALLEL_LINT_ARGS),$(PARALLEL_LINT_FILES), $(ARGS))
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user