From ea3377b736b23dc637d575049e9269b52929af6d Mon Sep 17 00:00:00 2001 From: Guy Sartorelli Date: Wed, 31 Jan 2024 15:15:27 +1300 Subject: [PATCH] MNT Run module-standardiser --- composer.json | 6 ++++-- phpstan.neon.dist | 3 +++ src/Models/ElementalArea.php | 1 - 3 files changed, 7 insertions(+), 3 deletions(-) create mode 100644 phpstan.neon.dist diff --git a/composer.json b/composer.json index 8f17fc4f..e0b4881b 100644 --- a/composer.json +++ b/composer.json @@ -29,8 +29,10 @@ "silverstripe/vendor-plugin": "^2" }, "require-dev": { - "silverstripe/recipe-testing": "^3", - "silverstripe/frameworktest": "^1" + "silverstripe/recipe-testing": "^3", + "silverstripe/frameworktest": "^1", + "silverstripe/standards": "^1", + "phpstan/extension-installer": "^1.3" }, "suggest": { "silverstripe/elemental-blocks": "Adds a set of common SilverStripe content block types", 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 diff --git a/src/Models/ElementalArea.php b/src/Models/ElementalArea.php index f0642a33..183064c8 100644 --- a/src/Models/ElementalArea.php +++ b/src/Models/ElementalArea.php @@ -24,7 +24,6 @@ * @property string $OwnerClassName * * @mixin Versioned - * @method HasManyList Elements() */ class ElementalArea extends DataObject {