Skip to content

Commit

Permalink
MNT Run module-standardiser (#112)
Browse files Browse the repository at this point in the history
  • Loading branch information
GuySartorelli authored Feb 2, 2024
1 parent 0dc9d10 commit faef26f
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 2 deletions.
4 changes: 3 additions & 1 deletion composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,9 @@
},
"require-dev": {
"phpunit/phpunit": "^9.6",
"squizlabs/php_codesniffer": "^3"
"squizlabs/php_codesniffer": "^3",
"silverstripe/standards": "^1",
"phpstan/extension-installer": "^1.3"
},
"conflict": {
"silverstripe/auditor": "<2.2.1"
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
3 changes: 2 additions & 1 deletion src/Extensions/CarouselPageExtension.php
Original file line number Diff line number Diff line change
Expand Up @@ -14,12 +14,13 @@
use SilverStripe\Forms\GridField\GridFieldDeleteAction;
use SilverStripe\Forms\GridField\GridFieldSortableHeader;
use SilverStripe\ORM\DataList;
use SilverStripe\ORM\HasManyList;
use Symbiote\GridFieldExtensions\GridFieldOrderableRows;
use SilverStripe\Forms\GridField\GridFieldVersionedState;
use SilverStripe\Forms\LiteralField;

/**
* @method SilverStripe\ORM\HasManyList<CarouselItem> CarouselItems()
* @method HasManyList<CarouselItem> CarouselItems()
*
* @extends DataExtension<SiteTree>
*/
Expand Down

0 comments on commit faef26f

Please sign in to comment.