Merge pull request #270 into master
76755f10 client: dev-tools: lib_linter: php-cs-fixer: add `init` (Aaron Fiore)
This commit was merged in pull request #270.
This commit is contained in:
@@ -2,7 +2,7 @@
|
||||
|
||||
# docker-finance | modern accounting for the power-user
|
||||
#
|
||||
# Copyright (C) 2021-2025 Aaron Fiore (Founder, Evergreen Crypto LLC)
|
||||
# Copyright (C) 2021-2026 Aaron Fiore (Founder, Evergreen Crypto LLC)
|
||||
#
|
||||
# This program is free software: you can redistribute it and/or modify
|
||||
# it under the terms of the GNU General Public License as published by
|
||||
@@ -212,7 +212,8 @@ function lib_linter::__lint_php()
|
||||
if [ -z "${_path[*]}" ]; then
|
||||
# Do all
|
||||
lib_docker::__docker_compose exec -it docker-finance /bin/bash -i -c \
|
||||
"$_php_cs_fixer $DOCKER_FINANCE_CLIENT_REPO && $_php_cs_fixer $DOCKER_FINANCE_CLIENT_PLUGINS \
|
||||
"php-cs-fixer -n init \
|
||||
&& $_php_cs_fixer $DOCKER_FINANCE_CLIENT_REPO && $_php_cs_fixer $DOCKER_FINANCE_CLIENT_PLUGINS \
|
||||
&& $_phpstan $DOCKER_FINANCE_CLIENT_REPO $DOCKER_FINANCE_CLIENT_PLUGINS"
|
||||
else
|
||||
# Do only given file(s)
|
||||
|
||||
Reference in New Issue
Block a user