Skip to content

Commit

Permalink
MNT Run module-standardiser (#69)
Browse files Browse the repository at this point in the history
  • Loading branch information
GuySartorelli authored Feb 2, 2024
1 parent 894f204 commit b305010
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 @@ -31,7 +31,9 @@
},
"require-dev": {
"phpunit/phpunit": "^9.6",
"squizlabs/php_codesniffer": "^3"
"squizlabs/php_codesniffer": "^3",
"silverstripe/standards": "^1",
"phpstan/extension-installer": "^1.3"
},
"autoload": {
"psr-4": {
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/LDAPGroupExtension.php
Original file line number Diff line number Diff line change
Expand Up @@ -10,13 +10,14 @@
use SilverStripe\Forms\ReadonlyField;
use SilverStripe\LDAP\Model\LDAPGroupMapping;
use SilverStripe\ORM\DataExtension;
use SilverStripe\ORM\HasManyList;

/**
* Class LDAPGroupExtension
*
* Adds a field to map an LDAP group to a SilverStripe {@link Group}
*
* @method SilverStripe\ORM\HasManyList<LDAPGroupMapping> LDAPGroupMappings()
* @method HasManyList<LDAPGroupMapping> LDAPGroupMappings()
*
* @extends DataExtension<Group&static>
*/
Expand Down

0 comments on commit b305010

Please sign in to comment.