diff --git a/composer.json b/composer.json index cacdd553..6b71c307 100644 --- a/composer.json +++ b/composer.json @@ -26,7 +26,9 @@ "silverstripe/versioned": "^2" }, "require-dev": { - "silverstripe/recipe-testing": "^3" + "silverstripe/recipe-testing": "^3", + "silverstripe/standards": "^1", + "phpstan/extension-installer": "^1.3" }, "autoload": { "psr-4": { @@ -54,4 +56,4 @@ "silverstripe/vendor-plugin": true } } -} \ No newline at end of file +} diff --git a/phpstan.neon.dist b/phpstan.neon.dist new file mode 100644 index 00000000..beb9de3c --- /dev/null +++ b/phpstan.neon.dist @@ -0,0 +1,3 @@ +parameters: + paths: + - src