You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

19 lines
576 B

test: test-unit
lint: lint-md lint-cs
# Run every available unit test
vendor/bin/phpunit --bootstrap vendor/autoload.php test
# Run PHP Mess Detector against all the code, settings are in phpmd.xml
vendor/bin/phpmd TplBlock.php text ./phpmd.xml
vendor/bin/phpmd test/TplBlockTest.php text ./phpmd.xml
vendor/bin/phpmd sample/sample.php text ./phpmd.xml
# Run PHP Code Sniffer against all the code, settings are in phpcs.xml
vendor/bin/phpcs TplBlock.php -s
vendor/bin/phpcs test/TplBlockTest.php -s
vendor/bin/phpcs sample/sample.php -s