automated-typo3-update/Makefile
Daniel Siepmann f4fbbcab77
FEATURE: Provide first basic implementation of classmapping
* Install PHP CodeSniffer.
* Install our project as new Standard.
* Set our Standard as default.
* Provide first basic implementation to detect implemented interfaces
  with old legacy class names and migrate them to new ones.
2017-03-07 13:36:09 +01:00

16 lines
480 B
Makefile

BIN_PHPCS = ./vendor/bin/phpcs
BIN_PHPCBF = ./vendor/bin/phpcbf
DEFAULT_STANDARD = Typo3Update
CUSTOM_STANDARDS = $(abspath ./src/Standards/)
install:
composer install
$(BIN_PHPCS) --config-set installed_paths $(CUSTOM_STANDARDS)
$(BIN_PHPCS) -i | grep Typo3Update
$(BIN_PHPCS) --config-set default_standard $(DEFAULT_STANDARD)
# For development / testing purposes:
test-search:
$(BIN_PHPCS) -p --colors -s PROJECT_PATH
test-fix:
$(BIN_PHPCBF) -p --colors -s PROJECT_PATH