Skip to content

Commit

Permalink
MNT Run module-standardiser (#180)
Browse files Browse the repository at this point in the history
  • Loading branch information
GuySartorelli authored Feb 2, 2024
1 parent 94c0603 commit b303eb5
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 2 deletions.
4 changes: 3 additions & 1 deletion composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,9 @@
"require-dev": {
"phpunit/phpunit": "^9.6",
"squizlabs/php_codesniffer": "^3.7",
"symbiote/silverstripe-queuedjobs": "^5"
"symbiote/silverstripe-queuedjobs": "^5",
"silverstripe/standards": "^1",
"phpstan/extension-installer": "^1.3"
},
"suggest": {
"symbiote/silverstripe-queuedjobs": "^5",
Expand Down
3 changes: 3 additions & 0 deletions phpstan.neon.dist
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
parameters:
paths:
- src
3 changes: 2 additions & 1 deletion src/Extensions/MemberExtension.php
Original file line number Diff line number Diff line change
Expand Up @@ -4,14 +4,15 @@

use SilverStripe\Forms\FieldList;
use SilverStripe\ORM\DataExtension;
use SilverStripe\ORM\HasManyList;
use SilverStripe\Security\Member;
use SilverStripe\SessionManager\FormFields\SessionManagerField;
use SilverStripe\SessionManager\Models\LoginSession;

/**
* Augment `Member` to allow relationship to the LoginSession DataObject
*
* @method SilverStripe\ORM\HasManyList<LoginSession> LoginSessions()
* @method HasManyList<LoginSession> LoginSessions()
*
* @extends DataExtension<Member>
*/
Expand Down

0 comments on commit b303eb5

Please sign in to comment.