MNT Run module-standardiser (#2919)

This commit is contained in:
Guy Sartorelli 2024-02-02 13:58:01 +13:00 committed by GitHub
parent 2ab8499ca8
commit cb46fd8aac
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
3 changed files with 6 additions and 2 deletions

View File

@ -110,7 +110,6 @@ use SilverStripe\View\SSViewer;
* @mixin FileLinkTracking Added via filetracking.yml in silverstripe/assets * @mixin FileLinkTracking Added via filetracking.yml in silverstripe/assets
* @mixin InheritedPermissionsExtension * @mixin InheritedPermissionsExtension
* @method HasManyList<SiteTreeLink> BackLinks() * @method HasManyList<SiteTreeLink> BackLinks()
* @method HasManyList<VirtualPage> VirtualPages()
*/ */
class SiteTree extends DataObject implements PermissionProvider, i18nEntityProvider, CMSPreviewable, Resettable, Flushable, MemberCacheFlusher class SiteTree extends DataObject implements PermissionProvider, i18nEntityProvider, CMSPreviewable, Resettable, Flushable, MemberCacheFlusher
{ {

View File

@ -31,7 +31,9 @@
}, },
"require-dev": { "require-dev": {
"phpunit/phpunit": "^9.6", "phpunit/phpunit": "^9.6",
"squizlabs/php_codesniffer": "^3.7" "squizlabs/php_codesniffer": "^3.7",
"silverstripe/standards": "^1",
"phpstan/extension-installer": "^1.3"
}, },
"extra": { "extra": {
"expose": [ "expose": [

3
phpstan.neon.dist Normal file
View File

@ -0,0 +1,3 @@
parameters:
paths:
- code