Skip to content

Commit 102f611

Browse files
committed
Fix CI-issues
1 parent cba329a commit 102f611

File tree

5 files changed

+22
-2
lines changed

5 files changed

+22
-2
lines changed

composer.json

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -24,6 +24,7 @@
2424
},
2525
"autoload-dev": {
2626
"psr-4": {
27+
"SimpleSAML\\Module\\consent\\": "vendor/simplesamlphp/simplesamlphp/modules/consent/src",
2728
"SimpleSAML\\Test\\Utils\\": "vendor/simplesamlphp/simplesamlphp/tests/Utils"
2829
}
2930
},

phpstan-baseline.neon

Lines changed: 19 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,19 @@
1+
parameters:
2+
ignoreErrors:
3+
-
4+
message: '#^Call to static method getHashedUserID\(\) on an unknown class SimpleSAML\\Module\\consent\\Auth\\Process\\Consent\.$#'
5+
identifier: class.notFound
6+
count: 1
7+
path: src/Controller/Admin.php
8+
9+
-
10+
message: '#^Call to static method parseStoreConfig\(\) on an unknown class SimpleSAML\\Module\\consent\\Store\.$#'
11+
identifier: class.notFound
12+
count: 1
13+
path: src/Controller/Admin.php
14+
15+
-
16+
message: '#^Call to static method parseStoreConfig\(\) on an unknown class SimpleSAML\\Module\\consent\\Store\.$#'
17+
identifier: class.notFound
18+
count: 1
19+
path: src/Controller/Stats.php

phpstan.neon

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,3 +2,5 @@ parameters:
22
level: 6
33
paths:
44
- src
5+
includes:
6+
- phpstan-baseline.neon

src/Controller/Admin.php

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -43,7 +43,6 @@ public function __construct(
4343
}
4444

4545

46-
4746
/**
4847
* @param \Symfony\Component\HttpFoundation\Request $request The current request.
4948
*

src/Controller/Stats.php

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,6 @@ public function __construct(
3535
}
3636

3737

38-
3938
/**
4039
* @param \Symfony\Component\HttpFoundation\Request $request The current request.
4140
*

0 commit comments

Comments
 (0)