Skip to content

Commit

Permalink
MNT Run module-standardiser (#741)
Browse files Browse the repository at this point in the history
  • Loading branch information
GuySartorelli authored Feb 2, 2024
1 parent 3b80922 commit 5d9007d
Show file tree
Hide file tree
Showing 5 changed files with 9 additions and 5 deletions.
6 changes: 4 additions & 2 deletions composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,9 @@
"squizlabs/php_codesniffer": "^3",
"silverstripe/widgets": "^3",
"silverstripe/comments": "^4",
"silverstripe/content-widget": "^3"
"silverstripe/content-widget": "^3",
"silverstripe/standards": "^1",
"phpstan/extension-installer": "^1.3"
},
"extra": {
"expose": [
Expand Down Expand Up @@ -55,4 +57,4 @@
},
"minimum-stability": "dev",
"prefer-stable": true
}
}
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
1 change: 0 additions & 1 deletion src/Model/BlogCategory.php
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,6 @@
* @property string $URLSegment
* @property int $BlogID
* @method Blog Blog()
* @method SilverStripe\ORM\ManyManyList<BlogPost> BlogPosts()
*/
class BlogCategory extends DataObject implements CategorisationObject
{
Expand Down
3 changes: 2 additions & 1 deletion src/Model/BlogMemberExtension.php
Original file line number Diff line number Diff line change
Expand Up @@ -10,14 +10,15 @@
use SilverStripe\Forms\Tab;
use SilverStripe\Forms\TextareaField;
use SilverStripe\ORM\DataExtension;
use SilverStripe\ORM\ManyManyList;
use SilverStripe\Security\Member;
use SilverStripe\View\Parsers\URLSegmentFilter;
use SilverStripe\View\Requirements;

/**
* This class is responsible for add Blog specific behaviour to Members.
*
* @method SilverStripe\ORM\ManyManyList<BlogPost> BlogPosts()
* @method ManyManyList<BlogPost> BlogPosts()
* @method Image BlogProfileImage()
*
* @extends DataExtension<Member>
Expand Down
1 change: 0 additions & 1 deletion src/Model/BlogTag.php
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,6 @@
* @property string $URLSegment
* @property int $BlogID
* @method Blog Blog()
* @method SilverStripe\ORM\ManyManyList<BlogPost> BlogPosts()
*/
class BlogTag extends DataObject implements CategorisationObject
{
Expand Down

0 comments on commit 5d9007d

Please sign in to comment.