Skip to content

Commit

Permalink
MNT Run module-standardiser (#589)
Browse files Browse the repository at this point in the history
  • Loading branch information
GuySartorelli committed Feb 2, 2024
1 parent 530b57f commit 6239a4e
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 4 deletions.
6 changes: 4 additions & 2 deletions composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,9 @@
"silverstripe/recipe-testing": "^3",
"silverstripe/versioned": "^2",
"squizlabs/php_codesniffer": "^3.7",
"mikey179/vfsstream": "^v1.6.11"
"mikey179/vfsstream": "^v1.6.11",
"silverstripe/standards": "^1",
"phpstan/extension-installer": "^1.3"
},
"suggest": {
"ext-exif": "If you use GD backend (the default) you may want to have EXIF extension installed to elude some tricky issues"
Expand All @@ -50,4 +52,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
4 changes: 2 additions & 2 deletions src/Shortcodes/FileLinkTracking.php
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
use SilverStripe\ORM\DataExtension;
use SilverStripe\ORM\DataObject;
use SilverStripe\ORM\FieldType\DBHTMLText;
use SilverStripe\ORM\ManyManyList;
use SilverStripe\ORM\ManyManyThroughList;
use SilverStripe\Versioned\Versioned;
use SilverStripe\View\Parsers\HTMLValue;

Expand All @@ -23,7 +23,7 @@
* Note that since both SiteTree and File are versioned, LinkTracking and FileTracking will
* only be enabled for the Stage record.
*
* @method SilverStripe\ORM\ManyManyThroughList<File> FileTracking()
* @method ManyManyThroughList<File> FileTracking()
* @extends DataExtension<DataObject&static>
*/
class FileLinkTracking extends DataExtension
Expand Down

0 comments on commit 6239a4e

Please sign in to comment.