mirror of
https://github.com/silverstripe/silverstripe-externallinks.git
synced 2024-10-22 17:05:44 +02:00
MNT Run module-standardiser (#119)
This commit is contained in:
parent
e8bdf1203d
commit
81f6e73de1
@ -22,7 +22,9 @@
|
||||
"require-dev": {
|
||||
"phpunit/phpunit": "^9.6",
|
||||
"squizlabs/php_codesniffer": "^3",
|
||||
"symbiote/silverstripe-queuedjobs": "^5"
|
||||
"symbiote/silverstripe-queuedjobs": "^5",
|
||||
"silverstripe/standards": "^1",
|
||||
"phpstan/extension-installer": "^1.3"
|
||||
},
|
||||
"suggest": {
|
||||
"symbiote/silverstripe-queuedjobs": "Provides a more efficient method of generating/updating the report"
|
||||
|
3
phpstan.neon.dist
Normal file
3
phpstan.neon.dist
Normal file
@ -0,0 +1,3 @@
|
||||
parameters:
|
||||
paths:
|
||||
- src
|
@ -7,11 +7,11 @@ use SilverStripe\ExternalLinks\Model\BrokenExternalPageTrackStatus;
|
||||
use SilverStripe\ExternalLinks\Model\BrokenExternalLink;
|
||||
use SilverStripe\Versioned\Versioned;
|
||||
use SilverStripe\ORM\DataObject;
|
||||
use SilverStripe\ORM\HasManyList;
|
||||
|
||||
/**
|
||||
* Represents a track for a single page
|
||||
* @method SilverStripe\ORM\HasManyList<BrokenExternalLink> BrokenLinks()
|
||||
* @method SiteTree Page()
|
||||
* @method HasManyList<BrokenExternalLink> BrokenLinks()
|
||||
* @method BrokenExternalPageTrackStatus Status()
|
||||
*/
|
||||
class BrokenExternalPageTrack extends DataObject
|
||||
|
@ -6,14 +6,15 @@ use SilverStripe\CMS\Model\SiteTree;
|
||||
use SilverStripe\i18n\i18nEntityProvider;
|
||||
use SilverStripe\Versioned\Versioned;
|
||||
use SilverStripe\ORM\DataObject;
|
||||
use SilverStripe\ORM\HasManyList;
|
||||
|
||||
/**
|
||||
* Represents the status of a track run
|
||||
*
|
||||
* @property int $TotalPages Get total pages count
|
||||
* @property int $CompletedPages Get completed pages count
|
||||
* @method SilverStripe\ORM\HasManyList<BrokenExternalLink> BrokenLinks()
|
||||
* @method SilverStripe\ORM\HasManyList<BrokenExternalPageTrack> TrackedPages()
|
||||
* @method HasManyList<BrokenExternalLink> BrokenLinks()
|
||||
* @method HasManyList<BrokenExternalPageTrack> TrackedPages()
|
||||
*/
|
||||
class BrokenExternalPageTrackStatus extends DataObject implements i18nEntityProvider
|
||||
{
|
||||
|
Loading…
Reference in New Issue
Block a user