Skip to content

Commit

Permalink
MNT Run module-standardiser (#119)
Browse files Browse the repository at this point in the history
  • Loading branch information
GuySartorelli authored Feb 2, 2024
1 parent e8bdf12 commit 81f6e73
Show file tree
Hide file tree
Showing 4 changed files with 11 additions and 5 deletions.
4 changes: 3 additions & 1 deletion composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -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"
Expand Down
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
4 changes: 2 additions & 2 deletions src/Model/BrokenExternalPageTrack.php
Original file line number Diff line number Diff line change
Expand Up @@ -7,11 +7,11 @@
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
Expand Down
5 changes: 3 additions & 2 deletions src/Model/BrokenExternalPageTrackStatus.php
Original file line number Diff line number Diff line change
Expand Up @@ -6,14 +6,15 @@
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
{
Expand Down

0 comments on commit 81f6e73

Please sign in to comment.