diff --git a/composer.json b/composer.json index 0c9f71c..5d95d93 100644 --- a/composer.json +++ b/composer.json @@ -13,7 +13,9 @@ "silverstripe/elemental-bannerblock": "3.x-dev" }, "require-dev": { - "phpunit/phpunit": "^9.6" + "phpunit/phpunit": "^9.6", + "silverstripe/standards": "^1", + "phpstan/extension-installer": "^1.3" }, "suggest": { "dnadesign/silverstripe-elemental-userforms": "Add integration logic for Elemental and Userforms" @@ -28,4 +30,4 @@ }, "prefer-stable": true, "minimum-stability": "dev" -} \ No newline at end of file +} diff --git a/phpstan.neon.dist b/phpstan.neon.dist new file mode 100644 index 0000000..299c86b --- /dev/null +++ b/phpstan.neon.dist @@ -0,0 +1,3 @@ +parameters: + paths: + - app/src