File tree 4 files changed +25
-1
lines changed
4 files changed +25
-1
lines changed Original file line number Diff line number Diff line change
1
+ parameters :
2
+ ignoreErrors :
3
+ -
4
+ message : " #^Call to an undefined method Random\\\\ Randomizer\\ :\\ :getBytesFromString\\ (\\ )\\ .$#"
5
+ count : 1
6
+ path : ../src/Core/OAuth2Provider.php
7
+
Original file line number Diff line number Diff line change
1
+ <?php
2
+
3
+ declare (strict_types = 1 );
4
+
5
+ $ includes = [];
6
+
7
+ if (PHP_VERSION_ID < 80300 ){
8
+ $ includes [] = __DIR__ .'/baseline-lt-8.3.neon ' ;
9
+ }
10
+
11
+ $ config = [];
12
+ $ config ['includes ' ] = $ includes ;
13
+ $ config ['parameters ' ]['phpVersion ' ] = PHP_VERSION_ID ;
14
+
15
+ return $ config ;
Original file line number Diff line number Diff line change @@ -10,9 +10,10 @@ parameters:
10
10
11
11
treatPhpDocTypesAsCertain : false
12
12
13
-
13
+ # see https://github.com/phpstan/phpstan-src/blob/1.8.x/build/ignore-by-php-version.neon.php
14
14
includes :
15
15
- phpstan-baseline.neon
16
+ - .phpstan/ignore-by-php-version.php
16
17
- vendor/phpstan/phpstan/conf/bleedingEdge.neon
17
18
- vendor/phpstan/phpstan-deprecation-rules/rules.neon
18
19
- vendor/chillerlan/php-settings-container/rules-magic-access.neon
Original file line number Diff line number Diff line change @@ -635,6 +635,7 @@ final public function setCodeVerifier(array $params):array{
635
635
final public function generateVerifier (int $ length ):string {
636
636
637
637
// use the Randomizer if available
638
+ // https://github.com/phpstan/phpstan/issues/7843
638
639
if (PHP_VERSION_ID >= 80300 ){
639
640
$ randomizer = new \Random \Randomizer (new \Random \Engine \Secure );
640
641
You can’t perform that action at this time.
0 commit comments