Compare commits
2 Commits
1449ba9314
...
ad6e83f47a
Author | SHA1 | Date |
---|---|---|
Krzysztof Sikorski | ad6e83f47a | |
Krzysztof Sikorski | 3bdb1a47f6 |
2
.ecrc
2
.ecrc
|
@ -1,6 +1,6 @@
|
|||
{
|
||||
"Version": "2.7.2",
|
||||
"Verbose": true,
|
||||
"Verbose": false,
|
||||
"Debug": false,
|
||||
"IgnoreDefaults": false,
|
||||
"SpacesAftertabs": false,
|
||||
|
|
10
Makefile
10
Makefile
|
@ -8,6 +8,10 @@ SHELL := /bin/sh
|
|||
default:
|
||||
@echo "Please choose target explicitly."
|
||||
|
||||
.PHONY: get_user
|
||||
get_user:
|
||||
echo "ID:" $$(id --user)
|
||||
|
||||
# git helper: push current branch to configured remotes
|
||||
.PHONY: git_push_current_branch
|
||||
git_push_current_branch:
|
||||
|
@ -32,17 +36,17 @@ lint_composer_config:
|
|||
# lint all files against EditorConfig settings
|
||||
.PHONY: lint_editorconfig
|
||||
lint_editorconfig:
|
||||
docker container run --rm --user=$$UID --volume=$$PWD:/check mstruebing/editorconfig-checker:2.7.2
|
||||
docker container run --rm --user=$$(id --user):$$(id --group) --volume=$$PWD:/check mstruebing/editorconfig-checker:2.7.2
|
||||
|
||||
# lint PHP coding style across all directories
|
||||
.PHONY: lint_coding_style
|
||||
lint_coding_style:
|
||||
docker container run --rm --user=$$UID --volume=$$PWD:/code ghcr.io/php-cs-fixer/php-cs-fixer:3.49-php8.3 check -vvv --show-progress=dots
|
||||
docker container run --rm --user=$$(id --user):$$(id --group) --volume=$$PWD:/code ghcr.io/php-cs-fixer/php-cs-fixer:3.49-php8.3 check --verbose --show-progress=dots
|
||||
|
||||
# fix PHP coding style across all directories
|
||||
.PHONY: fix_coding_style
|
||||
fix_coding_style:
|
||||
docker container run --rm --user=$$UID --volume=$$PWD:/code ghcr.io/php-cs-fixer/php-cs-fixer:3.49-php8.3 fix -vvv --show-progress=dots
|
||||
docker container run --rm --user=$$(id --user):$$(id --group) --volume=$$PWD:/code ghcr.io/php-cs-fixer/php-cs-fixer:3.49-php8.3 fix --verbose --show-progress=dots
|
||||
|
||||
# website: clean all temporary files (cache, logs, etc)
|
||||
.PHONY: website_clean_all
|
||||
|
|
Reference in New Issue