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": { "require-dev": {
"phpunit/phpunit": "^9.6", "phpunit/phpunit": "^9.6",
"silverstripe/versioned": "^2", "silverstripe/versioned": "^2",
"squizlabs/php_codesniffer": "^3.7" "squizlabs/php_codesniffer": "^3.7",
"silverstripe/standards": "^1",
"phpstan/extension-installer": "^1.3"
}, },
"conflict": { "conflict": {
"egulias/email-validator": "^2", "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 * @mixin Hierarchy
* @method HasManyList<Group> Groups() * @method HasManyList<Group> Groups()
* @method ManyManyList<Member> Members()
* @method Group Parent() * @method Group Parent()
* @method HasManyList<Permission> Permissions() * @method HasManyList<Permission> Permissions()
* @method ManyManyList<PermissionRole> Roles() * @method ManyManyList<PermissionRole> Roles()

View File

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