Skip to content

Commit

Permalink
:octocat: i hate this
Browse files Browse the repository at this point in the history
  • Loading branch information
codemasher committed Sep 18, 2024
1 parent a5267c0 commit 55ebdd4
Show file tree
Hide file tree
Showing 2 changed files with 21 additions and 1 deletion.
17 changes: 17 additions & 0 deletions .phpstan/baseline-lt-8.2.neon
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
parameters:
ignoreErrors:
-
message: "#^Call to method getBytesFromString\\(\\) on an unknown class Random\\\\Randomizer\\.$#"
count: 1
path: ../src/Core/OAuth2Provider.php

-
message: "#^Instantiated class Random\\\\Engine\\\\Secure not found\\.$#"
count: 1
path: ../src/Core/OAuth2Provider.php

-
message: "#^Instantiated class Random\\\\Randomizer not found\\.$#"
count: 1
path: ../src/Core/OAuth2Provider.php

5 changes: 4 additions & 1 deletion .phpstan/ignore-by-php-version.php
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,10 @@

$includes = [];

if(PHP_VERSION_ID < 80300){
if(PHP_VERSION_ID < 80200){
$includes[] = __DIR__.'/baseline-lt-8.2.neon';
}
elseif(PHP_VERSION_ID < 80300){
$includes[] = __DIR__.'/baseline-lt-8.3.neon';
}

Expand Down

0 comments on commit 55ebdd4

Please sign in to comment.