From 4939039ff0e3c089a2a31c07d9a17363d40c0bf0 Mon Sep 17 00:00:00 2001 From: Guy Sartorelli Date: Wed, 31 Jan 2024 15:22:37 +1300 Subject: [PATCH] MNT Run module-standardiser --- composer.json | 6 ++++-- phpstan.neon.dist | 3 +++ 2 files changed, 7 insertions(+), 2 deletions(-) create mode 100644 phpstan.neon.dist 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