Skip to content

Commit 55ebdd4

Browse files
committed
:octocat: i hate this
1 parent a5267c0 commit 55ebdd4

File tree

2 files changed

+21
-1
lines changed

2 files changed

+21
-1
lines changed

.phpstan/baseline-lt-8.2.neon

+17
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,17 @@
1+
parameters:
2+
ignoreErrors:
3+
-
4+
message: "#^Call to method getBytesFromString\\(\\) on an unknown class Random\\\\Randomizer\\.$#"
5+
count: 1
6+
path: ../src/Core/OAuth2Provider.php
7+
8+
-
9+
message: "#^Instantiated class Random\\\\Engine\\\\Secure not found\\.$#"
10+
count: 1
11+
path: ../src/Core/OAuth2Provider.php
12+
13+
-
14+
message: "#^Instantiated class Random\\\\Randomizer not found\\.$#"
15+
count: 1
16+
path: ../src/Core/OAuth2Provider.php
17+

.phpstan/ignore-by-php-version.php

+4-1
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,10 @@
44

55
$includes = [];
66

7-
if(PHP_VERSION_ID < 80300){
7+
if(PHP_VERSION_ID < 80200){
8+
$includes[] = __DIR__.'/baseline-lt-8.2.neon';
9+
}
10+
elseif(PHP_VERSION_ID < 80300){
811
$includes[] = __DIR__.'/baseline-lt-8.3.neon';
912
}
1013

0 commit comments

Comments
 (0)