MNT Run module-standardiser (#11121)

This commit is contained in:
Guy Sartorelli 2024-02-13 14:33:23 +13:00 committed by GitHub
parent 343c8ff787
commit a00bdd727f
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
4 changed files with 6 additions and 3 deletions

View File

@ -62,7 +62,9 @@
"require-dev": {
"phpunit/phpunit": "^9.6",
"silverstripe/versioned": "^2",
"squizlabs/php_codesniffer": "^3.7"
"squizlabs/php_codesniffer": "^3.7",
"silverstripe/standards": "^1",
"phpstan/extension-installer": "^1.3"
},
"conflict": {
"egulias/email-validator": "^2",

3
phpstan.neon.dist Normal file
View File

@ -0,0 +1,3 @@
parameters:
paths:
- src

View File

@ -49,7 +49,6 @@ use SilverStripe\ORM\UnsavedRelationList;
*
* @mixin Hierarchy
* @method HasManyList<Group> Groups()
* @method ManyManyList<Member> Members()
* @method Group Parent()
* @method HasManyList<Permission> Permissions()
* @method ManyManyList<PermissionRole> Roles()

View File

@ -60,7 +60,6 @@ use RuntimeException;
* @property int $FailedLoginCount
* @property string $DateFormat
* @property string $TimeFormat
* @method ManyManyList<Group> Groups()
* @method HasManyList<MemberPassword> LoggedPasswords()
* @method HasManyList<RememberLoginHash> RememberLoginHashes()
*/