forked from nucleos/NucleosUserAdminBundle
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
7 changed files
with
1,690 additions
and
147 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,68 @@ | ||
<?xml version="1.0" encoding="UTF-8"?> | ||
<files psalm-version="3.14.2@3538fe1955d47f6ee926c0769d71af6db08aa488"> | ||
<file src="src/Action/LoginAction.php"> | ||
<TooManyArguments occurrences="1"> | ||
<code>dispatch</code> | ||
</TooManyArguments> | ||
</file> | ||
<file src="src/Admin/Model/UserAdmin.php"> | ||
<PossiblyNullArgument occurrences="1"> | ||
<code>$this->getSubject()</code> | ||
</PossiblyNullArgument> | ||
</file> | ||
<file src="src/DependencyInjection/Configuration.php"> | ||
<PossiblyUndefinedMethod occurrences="1"> | ||
<code>children</code> | ||
</PossiblyUndefinedMethod> | ||
<UndefinedMethod occurrences="1"> | ||
<code>children</code> | ||
</UndefinedMethod> | ||
</file> | ||
<file src="src/Form/Type/SecurityRolesType.php"> | ||
<ParamNameMismatch occurrences="1"> | ||
<code>$formBuilder</code> | ||
</ParamNameMismatch> | ||
</file> | ||
<file src="src/Security/Authorization/Voter/UserAclVoter.php"> | ||
<ParamNameMismatch occurrences="1"> | ||
<code>$subject</code> | ||
</ParamNameMismatch> | ||
<PossiblyInvalidMethodCall occurrences="1"> | ||
<code>isSuperAdmin</code> | ||
</PossiblyInvalidMethodCall> | ||
<UndefinedInterfaceMethod occurrences="1"> | ||
<code>isSuperAdmin</code> | ||
</UndefinedInterfaceMethod> | ||
</file> | ||
<file src="src/Security/RolesBuilder/AdminRolesBuilder.php"> | ||
<InvalidArgument occurrences="1"> | ||
<code>$this->excludeAdmins</code> | ||
</InvalidArgument> | ||
<InvalidPropertyAssignmentValue occurrences="1"> | ||
<code>[]</code> | ||
</InvalidPropertyAssignmentValue> | ||
<InvalidReturnStatement occurrences="1"> | ||
<code>$this->excludeAdmins</code> | ||
</InvalidReturnStatement> | ||
<InvalidReturnType occurrences="1"> | ||
<code>string[]</code> | ||
</InvalidReturnType> | ||
<PossiblyNullArgument occurrences="1"> | ||
<code>$admin->getParent()</code> | ||
</PossiblyNullArgument> | ||
</file> | ||
<file src="src/Security/RolesBuilder/SecurityRolesBuilder.php"> | ||
<InvalidArgument occurrences="1"> | ||
<code>$this->rolesHierarchy</code> | ||
</InvalidArgument> | ||
<InvalidPropertyAssignmentValue occurrences="1"> | ||
<code>$rolesHierarchy</code> | ||
</InvalidPropertyAssignmentValue> | ||
<RedundantCondition occurrences="1"> | ||
<code>$result</code> | ||
</RedundantCondition> | ||
<TypeDoesNotContainType occurrences="1"> | ||
<code>false === $result</code> | ||
</TypeDoesNotContainType> | ||
</file> | ||
</files> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,24 @@ | ||
<?xml version="1.0"?> | ||
<psalm | ||
errorLevel="3" | ||
resolveFromConfigFile="true" | ||
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" | ||
xmlns="https://getpsalm.org/schema/config" | ||
xsi:schemaLocation="https://getpsalm.org/schema/config vendor/vimeo/psalm/config.xsd" | ||
errorBaseline="psalm-baseline.xml" | ||
> | ||
<issueHandlers> | ||
<LessSpecificReturnType errorLevel="info" /> | ||
</issueHandlers> | ||
|
||
<plugins> | ||
<pluginClass class="Psalm\PhpUnitPlugin\Plugin" /> | ||
</plugins> | ||
|
||
<projectFiles> | ||
<directory name="src" /> | ||
<ignoreFiles> | ||
<directory name="vendor" /> | ||
</ignoreFiles> | ||
</projectFiles> | ||
</psalm> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.