Implement PSR3 and PHP Monolog (#19)
* feat: install monolog composer lib * feat: implement psr3 and monolog * feat: display logs in frontend * fix: tests * build: update cicd to run tests for PR * build: add phpcs to cicd * refactor: fix phpcs problems
This commit is contained in:
3
Makefile
3
Makefile
@@ -46,6 +46,9 @@ dev-admin:
|
||||
lint:
|
||||
docker compose exec -w /module/oc_telegram_shop/upload/oc_telegram_shop web bash -c "./vendor/bin/phpstan analyse src framework"
|
||||
|
||||
phpcs:
|
||||
docker compose exec -w /module/oc_telegram_shop/upload/oc_telegram_shop web bash -c "./vendor/bin/phpcs --standard=PSR12 bastion framework src"
|
||||
|
||||
test:
|
||||
docker compose exec -w /module/oc_telegram_shop/upload/oc_telegram_shop web bash -c "./vendor/bin/phpunit --testdox tests/"
|
||||
|
||||
|
||||
Reference in New Issue
Block a user