Commit 0328209
Fix implicit nullable parameter on PHP 8.4 (#897)
Fix Implicitly marking parameter on PHP 8.4
This will get one extra test green.
There are plenty of other issues emitted by actual non-stub Drupal core code.
2) mglaman\PHPStanDrupal\Tests\StubTest::testValid
array (
0 =>
array (
'message' => 'Deprecated in PHP 8.4: Parameter #2 $account (Drupal\\Core\\Session\\AccountInterface) is implicitly nullable via default value null.',
'file' => '/Users/dpi/Code/phpstan-drupal/src/Drupal/../../stubs/Drupal/Core/Access/AccessibleInterface.stub',
Co-authored-by: Matt Glaman <[email protected]>1 parent b615d40 commit 0328209
1 file changed
+1
-1
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
13 | 13 | | |
14 | 14 | | |
15 | 15 | | |
16 | | - | |
| 16 | + | |
17 | 17 | | |
0 commit comments