Skip to content

Commit 69f66cc

Browse files
committed
GetMemberPropertiesTest: add some missing array indexes expectations
This commit adds some array entries which were supposed to be expected, but missing. The use of `assertArraySubset()` hid the fact that these entries were missing. As that assertion now needs to be replaced, these issues came to light.
1 parent 333e423 commit 69f66cc

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

tests/Core/File/GetMemberPropertiesTest.php

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -764,6 +764,7 @@ public function dataGetMemberProperties()
764764
'scope' => 'public',
765765
'scope_specified' => true,
766766
'is_static' => false,
767+
'is_readonly' => false,
767768
'type' => 'Foo&Bar',
768769
'nullable_type' => false,
769770
],
@@ -774,6 +775,7 @@ public function dataGetMemberProperties()
774775
'scope' => 'public',
775776
'scope_specified' => true,
776777
'is_static' => false,
778+
'is_readonly' => false,
777779
'type' => 'Foo&Bar&Baz',
778780
'nullable_type' => false,
779781
],
@@ -784,6 +786,7 @@ public function dataGetMemberProperties()
784786
'scope' => 'public',
785787
'scope_specified' => true,
786788
'is_static' => false,
789+
'is_readonly' => false,
787790
'type' => 'int&string',
788791
'nullable_type' => false,
789792
],
@@ -794,6 +797,7 @@ public function dataGetMemberProperties()
794797
'scope' => 'public',
795798
'scope_specified' => true,
796799
'is_static' => false,
800+
'is_readonly' => false,
797801
'type' => '?Foo&Bar',
798802
'nullable_type' => true,
799803
],

0 commit comments

Comments
 (0)