From 343aabed87ebb9743d9e28c22e78529531b1acc9 Mon Sep 17 00:00:00 2001 From: Guy Sartorelli Date: Wed, 31 Jan 2024 15:18:55 +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 f02ba18..3a32041 100644 --- a/composer.json +++ b/composer.json @@ -21,7 +21,9 @@ "require-dev": { "phpunit/phpunit": "^9.6", "squizlabs/php_codesniffer": "^3", - "silverstripe/versioned": "^2" + "silverstripe/versioned": "^2", + "silverstripe/standards": "^1", + "phpstan/extension-installer": "^1.3" }, "extra": [], "autoload": { @@ -32,4 +34,4 @@ }, "minimum-stability": "dev", "prefer-stable": true -} \ No newline at end of file +} diff --git a/phpstan.neon.dist b/phpstan.neon.dist new file mode 100644 index 0000000..beb9de3 --- /dev/null +++ b/phpstan.neon.dist @@ -0,0 +1,3 @@ +parameters: + paths: + - src