Skip to content

Commit f798546

Browse files
committed
Fixes
1 parent 9c0904c commit f798546

File tree

4 files changed

+12
-9
lines changed

4 files changed

+12
-9
lines changed

composer.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@
2323
"nette/utils": "^3.1.3",
2424
"nikic/php-parser": "4.13.0",
2525
"ondram/ci-detector": "^3.4.0",
26-
"ondrejmirtes/better-reflection": "4.3.73",
26+
"ondrejmirtes/better-reflection": "4.3.74",
2727
"phpstan/php-8-stubs": "^0.1.23",
2828
"phpstan/phpdoc-parser": "^1.2.0",
2929
"react/child-process": "^0.6.4",

composer.lock

Lines changed: 7 additions & 7 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

tests/PHPStan/Analyser/LegacyNodeScopeResolverTest.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2164,7 +2164,7 @@ public function dataBinaryOperations(): array
21642164
'$integer ** $integer',
21652165
],
21662166
[
2167-
$typeCallback(3.2 % 2),
2167+
'1',
21682168
'3.2 % 2',
21692169
],
21702170
[

tests/PHPStan/Analyser/data/if-defined.php

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,11 +5,13 @@
55
class Foo implements \ArrayAccess
66
{
77

8+
#[\ReturnTypeWillChange]
89
public function offsetExists($offset)
910
{
1011

1112
}
1213

14+
#[\ReturnTypeWillChange]
1315
public function offsetGet($offset)
1416
{
1517

@@ -21,6 +23,7 @@ public function offsetSet($offset, $value)
2123

2224
}
2325

26+
#[\ReturnTypeWillChange]
2427
public function offsetUnset($offset)
2528
{
2629

0 commit comments

Comments
 (0)