<commit_before>test: deps
	vendor/bin/peridot

coverage: deps
	phpdbg -qrr vendor/bin/peridot --reporter html-code-coverage --code-coverage-path=artifacts/tests/coverage

lint: $(shell find src)
	composer validate
	vendor/bin/php-cs-fixer fix

deps: vendor

prepare: lint deps coverage
	travis lint

ci: lint
	phpdbg -qrr vendor/bin/peridot --reporter clover-code-coverage --code-coverage-path=artifacts/tests/coverage/clover.xml

.PHONY: FORCE test coverage lint deps prepare ci

vendor: composer.lock
	composer install

composer.lock: composer.json
	composer update

src/%.php: FORCE
	@php -l $@<commit_msg>Install deps before linting.<commit_after>test: deps
	vendor/bin/peridot

coverage: deps
	phpdbg -qrr vendor/bin/peridot --reporter html-code-coverage --code-coverage-path=artifacts/tests/coverage

lint: $(shell find src)
	composer validate
	vendor/bin/php-cs-fixer fix

deps: vendor

prepare: deps lint coverage
	travis lint

ci: lint
	phpdbg -qrr vendor/bin/peridot --reporter clover-code-coverage --code-coverage-path=artifacts/tests/coverage/clover.xml

.PHONY: FORCE test coverage lint deps prepare ci

vendor: composer.lock
	composer install

composer.lock: composer.json
	composer update

src/%.php: FORCE
	@php -l $@
{'fraction_non_alphanumeric': 0.1030008110300081, 'fraction_numerical': 0.0, 'mean_word_length': 4.296137339055794, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 2}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '6007243', 'n_tokens_mistral': 457, 'n_tokens_neox': 456, 'n_words': 113}