MNT Run module-standardiser (#1264)

This commit is contained in:
Guy Sartorelli 2024-02-02 14:08:57 +13:00 committed by GitHub
parent ca972ff5f2
commit e5ec8fbc67
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
3 changed files with 8 additions and 2 deletions

View File

@ -16,6 +16,7 @@ use SilverStripe\Forms\GridField\GridFieldToolbarHeader;
use SilverStripe\ORM\DataExtension;
use SilverStripe\ORM\DataList;
use SilverStripe\ORM\DataObject;
use SilverStripe\ORM\HasManyList;
use SilverStripe\UserForms\Form\GridFieldAddClassesButton;
use SilverStripe\UserForms\Model\EditableFormField;
use SilverStripe\UserForms\Model\EditableFormField\EditableFieldGroup;
@ -29,7 +30,7 @@ use Symbiote\GridFieldExtensions\GridFieldEditableColumns;
use Symbiote\GridFieldExtensions\GridFieldOrderableRows;
/**
* @method SilverStripe\ORM\HasManyList<EditableFormField> Fields()
* @method HasManyList<EditableFormField> Fields()
*/
class UserFormFieldEditorExtension extends DataExtension
{

View File

@ -40,7 +40,9 @@
},
"require-dev": {
"phpunit/phpunit": "^9.6",
"squizlabs/php_codesniffer": "^3"
"squizlabs/php_codesniffer": "^3",
"silverstripe/standards": "^1",
"phpstan/extension-installer": "^1.3"
},
"conflict": {
"egulias/email-validator": "^2"

3
phpstan.neon.dist Normal file
View File

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