-
Notifications
You must be signed in to change notification settings - Fork 72
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #189 from fox-john/feature/refactor-code-base
Feature: refactor module
- Loading branch information
Showing
139 changed files
with
9,643 additions
and
8,176 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -4,3 +4,4 @@ tests/php/coverage | |
config_*.xml | ||
.php_cs.cache | ||
.idea | ||
.php-cs-fixer.cache |
File renamed without changes.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,28 @@ | ||
LOCAL_USER_UID ?= $(shell id -u) | ||
LOCAL_USER_GID ?= $(shell id -g) | ||
|
||
DOCKER_COMPOSE_CMD ?= docker-compose --file "./docker/docker-compose.yml" | ||
|
||
# target: default - Calling help by default | ||
default: help | ||
|
||
# target: help - Get help on this file | ||
help: | ||
@egrep "^#" Makefile | ||
|
||
# target: php-tests - Launch all php tests/lints suite | ||
tests: | ||
php-tests | ||
|
||
# target: php-cs-fixer-fix - Run php cs fixer fix | ||
php-cs-fixer-fix: | ||
${DOCKER_COMPOSE_CMD} run --rm php sh -c "vendor/bin/php-cs-fixer fix" | ||
|
||
# target: php-cs-fixer-lint - Run php cs fixer dry run | ||
php-cs-fixer-lint: | ||
${DOCKER_COMPOSE_CMD} run --rm php sh -c "vendor/bin/php-cs-fixer fix --dry-run --diff --using-cache=no" | ||
|
||
# target: php-stan - Run php stan | ||
php-stan: | ||
docker run -tid --rm -v ps-volume:/var/www/html --name temp-ps prestashop/prestashop; docker run --rm --volumes-from temp-ps -v $(shell echo $(PWD)):/web/module -e _PS_ROOT_DIR_=/var/www/html --workdir=/web/module ghcr.io/phpstan/phpstan analyse --configuration=/web/module/tests/phpstan/phpstan.neon | ||
|
This file was deleted.
Oops, something went wrong.
Oops, something went wrong.