mirror of
https://github.com/silverstripe/silverstripe-contentreview
synced 2024-10-22 17:05:47 +02:00
MNT Run module-standardiser (#222)
This commit is contained in:
parent
f04e9fa4ca
commit
cfc2294af6
@ -33,7 +33,9 @@
|
||||
"require-dev": {
|
||||
"silverstripe/recipe-testing": "^3",
|
||||
"squizlabs/php_codesniffer": "^3",
|
||||
"symbiote/silverstripe-queuedjobs": "^5"
|
||||
"symbiote/silverstripe-queuedjobs": "^5",
|
||||
"silverstripe/standards": "^1",
|
||||
"phpstan/extension-installer": "^1.3"
|
||||
},
|
||||
"suggest": {
|
||||
"symbiote/silverstripe-queuedjobs": "Automatically schedules content review emails to be sent, only requiring one crontask to be created"
|
||||
@ -52,4 +54,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,6 +11,7 @@ use SilverStripe\Forms\LiteralField;
|
||||
use SilverStripe\Forms\TextareaField;
|
||||
use SilverStripe\Forms\TextField;
|
||||
use SilverStripe\ORM\DataExtension;
|
||||
use SilverStripe\ORM\ManyManyList;
|
||||
use SilverStripe\Security\Group;
|
||||
use SilverStripe\Security\Member;
|
||||
use SilverStripe\Security\Permission;
|
||||
@ -21,8 +22,8 @@ use SilverStripe\SiteConfig\SiteConfig;
|
||||
* review setting.
|
||||
*
|
||||
* @property int $ReviewPeriodDays
|
||||
* @method SilverStripe\ORM\ManyManyList<Group> ContentReviewGroups()
|
||||
* @method SilverStripe\ORM\ManyManyList<Member> ContentReviewUsers()
|
||||
* @method ManyManyList<Group> ContentReviewGroups()
|
||||
* @method ManyManyList<Member> ContentReviewUsers()
|
||||
*
|
||||
* @extends DataExtension<SiteConfig>
|
||||
*/
|
||||
|
@ -5,11 +5,12 @@ namespace SilverStripe\ContentReview\Extensions;
|
||||
use SilverStripe\CMS\Model\SiteTree;
|
||||
use SilverStripe\Forms\FieldList;
|
||||
use SilverStripe\ORM\DataExtension;
|
||||
use SilverStripe\ORM\ManyManyList;
|
||||
use SilverStripe\Security\Group;
|
||||
use SilverStripe\Security\Member;
|
||||
|
||||
/**
|
||||
* @method SilverStripe\ORM\ManyManyList<SiteTree> SiteTreeContentReview()
|
||||
* @method ManyManyList<SiteTree> SiteTreeContentReview()
|
||||
*
|
||||
* @extends DataExtension<Group|Member>
|
||||
*/
|
||||
|
@ -27,6 +27,8 @@ use SilverStripe\ORM\ArrayList;
|
||||
use SilverStripe\ORM\DataExtension;
|
||||
use SilverStripe\ORM\DataObject;
|
||||
use SilverStripe\ORM\DB;
|
||||
use SilverStripe\ORM\HasManyList;
|
||||
use SilverStripe\ORM\ManyManyList;
|
||||
use SilverStripe\ORM\FieldType\DBDate;
|
||||
use SilverStripe\ORM\FieldType\DBDatetime;
|
||||
use SilverStripe\ORM\SS_List;
|
||||
@ -50,9 +52,9 @@ use Symbiote\QueuedJobs\Services\QueuedJobService;
|
||||
* @property string $LastEditedByName
|
||||
* @property string $OwnerNames
|
||||
*
|
||||
* @method SilverStripe\ORM\ManyManyList<Group> ContentReviewGroups()
|
||||
* @method SilverStripe\ORM\ManyManyList<Member> ContentReviewUsers()
|
||||
* @method SilverStripe\ORM\HasManyList<ContentReviewLog> ReviewLogs()
|
||||
* @method ManyManyList<Group> ContentReviewGroups()
|
||||
* @method ManyManyList<Member> ContentReviewUsers()
|
||||
* @method HasManyList<ContentReviewLog> ReviewLogs()
|
||||
*
|
||||
* @extends DataExtension<SiteTree>
|
||||
*/
|
||||
|
Loading…
Reference in New Issue
Block a user