Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
S
simplesamlphp-module-authoauth2
Manage
Activity
Members
Labels
Plan
Jira
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Locked files
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Model registry
Analyze
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
This is an archived project. Repository and other project resources are read-only.
Show more breadcrumbs
Perun
Perun ProxyIdP
v1
simplesamlphp-module-authoauth2
Commits
3d4266de
Commit
3d4266de
authored
2 years ago
by
Patrick Radtke
Browse files
Options
Downloads
Patches
Plain Diff
Fix psalm and phpcs folders
parent
6c93c6e4
No related branches found
No related tags found
No related merge requests found
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
phpcs.xml
+2
-2
2 additions, 2 deletions
phpcs.xml
psalm-baseline.xml
+11
-11
11 additions, 11 deletions
psalm-baseline.xml
psalm.xml
+1
-1
1 addition, 1 deletion
psalm.xml
with
14 additions
and
14 deletions
phpcs.xml
+
2
−
2
View file @
3d4266de
...
...
@@ -6,9 +6,9 @@
By default it is less stringent about long lines than other coding standards
</description>
<file>
lib
</file>
<file>
src
</file>
<file>
tests
</file>
<file>
www
</file>
<file>
public
</file>
<!-- Use this to exclude paths. You can have multiple patterns -->
<exclude-pattern>
tests/config/*
</exclude-pattern>
...
...
This diff is collapsed.
Click to expand it.
psalm-baseline.xml
+
11
−
11
View file @
3d4266de
<?xml version="1.0" encoding="UTF-8"?>
<files
psalm-version=
"4.30.0@d0bc6e25d89f649e4f36a534f330f8bb4643dd69"
>
<file
src=
"
lib
/AttributeManipulator.php"
>
<file
src=
"
src
/AttributeManipulator.php"
>
<MixedArgument
occurrences=
"1"
>
<code>
$input
</code>
</MixedArgument>
...
...
@@ -10,7 +10,7 @@
<code>
$value
</code>
</MixedAssignment>
</file>
<file
src=
"
lib
/Auth/Source/BitbucketAuth.php"
>
<file
src=
"
src
/Auth/Source/BitbucketAuth.php"
>
<MixedArrayAccess
occurrences=
"3"
>
<code>
$response["values"][$i]
</code>
<code>
$response["values"][$i]
</code>
...
...
@@ -23,7 +23,7 @@
<code>
$response
</code>
</MixedAssignment>
</file>
<file
src=
"
lib
/Auth/Source/LinkedInV2Auth.php"
>
<file
src=
"
src
/Auth/Source/LinkedInV2Auth.php"
>
<MixedArgument
occurrences=
"1"
>
<code>
$attributes[$attributeName]['localized']
</code>
</MixedArgument>
...
...
@@ -43,7 +43,7 @@
<code>
reset($attributes[$attributeName]['localized'])
</code>
</MixedReturnStatement>
</file>
<file
src=
"
lib
/Auth/Source/MicrosoftHybridAuth.php"
>
<file
src=
"
src
/Auth/Source/MicrosoftHybridAuth.php"
>
<MixedArgument
occurrences=
"1"
>
<code>
$accessToken-
>
getValues()['id_token']
</code>
</MixedArgument>
...
...
@@ -52,7 +52,7 @@
<code>
$state['Attributes'][$prefix . 'name']
</code>
</MixedArrayAssignment>
</file>
<file
src=
"
lib
/Auth/Source/OAuth2.php"
>
<file
src=
"
src
/Auth/Source/OAuth2.php"
>
<MixedArgument
occurrences=
"7"
>
<code>
$apiAttributes
</code>
<code>
$apiUrl
</code>
...
...
@@ -83,7 +83,7 @@
<code>
$provider-
>
getParsedResponse($apiRequest)
</code>
</MixedReturnStatement>
</file>
<file
src=
"
lib
/Auth/Source/OpenIDConnect.php"
>
<file
src=
"
src
/Auth/Source/OpenIDConnect.php"
>
<MixedArgument
occurrences=
"3"
>
<code>
$handler
</code>
<code>
$id_token
</code>
...
...
@@ -105,7 +105,7 @@
<code>
$value
</code>
</MixedAssignment>
</file>
<file
src=
"
lib
/Auth/Source/OrcidOIDCAuth.php"
>
<file
src=
"
src
/Auth/Source/OrcidOIDCAuth.php"
>
<MixedArrayAccess
occurrences=
"4"
>
<code>
$e["email"]
</code>
<code>
$e["primary"]
</code>
...
...
@@ -127,7 +127,7 @@
<code>
$email
</code>
</MixedReturnStatement>
</file>
<file
src=
"
lib
/OAuth2ResponseHandler.php"
>
<file
src=
"
src
/OAuth2ResponseHandler.php"
>
<MixedArgument
occurrences=
"3"
>
<code>
$request['code']
</code>
<code>
$sourceId
</code>
...
...
@@ -144,7 +144,7 @@
<code>
@$request['error_description']
</code>
</MixedOperand>
</file>
<file
src=
"
lib
/OIDCLogoutHandler.php"
>
<file
src=
"
src
/OIDCLogoutHandler.php"
>
<MixedArgument
occurrences=
"3"
>
<code>
$sourceId
</code>
<code>
$sourceId
</code>
...
...
@@ -156,12 +156,12 @@
<code>
$stateIdWithPrefix
</code>
</MixedAssignment>
</file>
<file
src=
"
lib
/Providers/AdjustableGenericProvider.php"
>
<file
src=
"
src
/Providers/AdjustableGenericProvider.php"
>
<MixedAssignment
occurrences=
"1"
>
<code>
$toAdd[$param]
</code>
</MixedAssignment>
</file>
<file
src=
"
lib
/Providers/OpenIDConnectProvider.php"
>
<file
src=
"
src
/Providers/OpenIDConnectProvider.php"
>
<MixedArgument
occurrences=
"6"
>
<code>
$claims-
>
aud
</code>
<code>
$claims-
>
iss
</code>
...
...
This diff is collapsed.
Click to expand it.
psalm.xml
+
1
−
1
View file @
3d4266de
...
...
@@ -10,7 +10,7 @@
errorBaseline=
"psalm-baseline.xml"
>
<projectFiles>
<directory
name=
"
lib
"
/>
<directory
name=
"
src
"
/>
<!-- Too many errors in test folder at the moment -->
<directory
name=
"tests"
/>
<!-- <directory name="templates" /> -->
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment