Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

MNT Run module-standardiser #741

Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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
Loading