mirror of
https://github.com/silverstripe/silverstripe-blog
synced 2024-10-22 11:05:58 +02:00
MNT Run module-standardiser (#741)
This commit is contained in:
parent
3b8092272b
commit
5d9007d5d7
@ -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": [
|
||||
@ -55,4 +57,4 @@
|
||||
},
|
||||
"minimum-stability": "dev",
|
||||
"prefer-stable": true
|
||||
}
|
||||
}
|
||||
|
3
phpstan.neon.dist
Normal file
3
phpstan.neon.dist
Normal file
@ -0,0 +1,3 @@
|
||||
parameters:
|
||||
paths:
|
||||
- src
|
@ -11,7 +11,6 @@ use SilverStripe\ORM\DataObject;
|
||||
* @property string $URLSegment
|
||||
* @property int $BlogID
|
||||
* @method Blog Blog()
|
||||
* @method SilverStripe\ORM\ManyManyList<BlogPost> BlogPosts()
|
||||
*/
|
||||
class BlogCategory extends DataObject implements CategorisationObject
|
||||
{
|
||||
|
@ -10,6 +10,7 @@ use SilverStripe\Forms\GridField\GridFieldAddNewButton;
|
||||
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;
|
||||
@ -17,7 +18,7 @@ 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>
|
||||
|
@ -11,7 +11,6 @@ use SilverStripe\ORM\DataObject;
|
||||
* @property string $URLSegment
|
||||
* @property int $BlogID
|
||||
* @method Blog Blog()
|
||||
* @method SilverStripe\ORM\ManyManyList<BlogPost> BlogPosts()
|
||||
*/
|
||||
class BlogTag extends DataObject implements CategorisationObject
|
||||
{
|
||||
|
Loading…
Reference in New Issue
Block a user