diff --git a/composer.json b/composer.json index 27dfd31..f681ad7 100644 --- a/composer.json +++ b/composer.json @@ -43,5 +43,10 @@ "squizlabs/php_codesniffer": "^3.6", "wp-coding-standards/wpcs": "^2.3" }, - "prefer-stable": true + "prefer-stable": true, + "scripts": { + "test": [ + "vendor/bin/phpcs --standard=PronamicWP tests/test.php" + ] + } } diff --git a/tests/test.php b/tests/test.php new file mode 100644 index 0000000..30de031 --- /dev/null +++ b/tests/test.php @@ -0,0 +1,8 @@ +