<commit_before>.DEFAULT_GOAL:= help
.PHONY: tests coverage view-coverage cs docs view-docs tag

tests: ## Executes the test suites
	@vendor/bin/phpunit --testdox --testsuite unit
	@vendor/bin/phpstan analyse src tests -c phpstan.neon --level=max

integration-tests: ## Executes the integration test suite
	@vendor/bin/phpunit --testsuite integration

coverage: ## Executes the test suite and generates code coverage reports
	@vendor/bin/phpunit --coverage-html=build/coverage

view-coverage: ## Shows the code coverage report
	open build/coverage/index.html

cs: ## Fixes coding standard problems
	@vendor/bin/php-cs-fixer fix || true<commit_msg>Don't use testdox<commit_after>.DEFAULT_GOAL:= help
.PHONY: tests coverage view-coverage cs docs view-docs tag

tests: ## Executes the test suites
	@vendor/bin/phpunit --testsuite unit
	@vendor/bin/phpstan analyse src tests -c phpstan.neon --level=max

integration-tests: ## Executes the integration test suite
	@vendor/bin/phpunit --testsuite integration

coverage: ## Executes the test suite and generates code coverage reports
	@vendor/bin/phpunit --coverage-html=build/coverage

view-coverage: ## Shows the code coverage report
	open build/coverage/index.html

cs: ## Fixes coding standard problems
	@vendor/bin/php-cs-fixer fix || true
{'fraction_non_alphanumeric': 0.10031104199066875, 'fraction_numerical': 0.0, 'mean_word_length': 4.644736842105263, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, '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': '3324232', 'n_tokens_mistral': 403, 'n_tokens_neox': 389, 'n_words': 126}