@@ -23,11 +23,11 @@ public function testCallStaticsWorks($name, $expectedValue)
23
23
24
24
public function dataCallStaticsWorks ()
25
25
{
26
- return [
27
- [ "MY_TRUE " , 1 ] ,
28
- [ "MY_FALSE " , 2 ] ,
29
- [ "MY_NULL " , new EnumNotFoundException ()]
30
- ] ;
26
+ return array (
27
+ array ( "MY_TRUE " , 1 ) ,
28
+ array ( "MY_FALSE " , 2 ) ,
29
+ array ( "MY_NULL " , new EnumNotFoundException ())
30
+ ) ;
31
31
}
32
32
33
33
/**
@@ -46,11 +46,11 @@ public function testGetEnumByValueWorks($value, $expectedEnum)
46
46
47
47
public function dataGetEnumByValueWorks ()
48
48
{
49
- return [
50
- [ 1 , MyBoolean::MY_TRUE ()] ,
51
- [ 2 , MyBoolean::MY_FALSE ()] ,
52
- [ 3 , new EnumNotFoundException ()]
53
- ] ;
49
+ return array (
50
+ array ( 1 , MyBoolean::MY_TRUE ()) ,
51
+ array ( 2 , MyBoolean::MY_FALSE ()) ,
52
+ array ( 3 , new EnumNotFoundException ())
53
+ ) ;
54
54
}
55
55
56
56
public function testComparableWorks ()
@@ -64,10 +64,10 @@ public function testComparableWorks()
64
64
65
65
public function testGetMembersWorks ()
66
66
{
67
- $ this ->assertEquals ([
67
+ $ this ->assertEquals (array (
68
68
"MY_TRUE " => 1 ,
69
69
"MY_FALSE " => 2
70
- ] , MyBoolean::getMembers ());
70
+ ) , MyBoolean::getMembers ());
71
71
}
72
72
73
73
/**
@@ -85,9 +85,9 @@ public function testToStringWorks($enum, $expectedString)
85
85
86
86
public function dataToStringWorks ()
87
87
{
88
- return [
89
- [ MyBoolean::MY_TRUE (), MyBoolean::getClass () . "::MY_TRUE " ] ,
90
- [ MyBoolean::MY_FALSE (), MyBoolean::getClass () . "::MY_FALSE " ],
91
- ] ;
88
+ return array (
89
+ array ( MyBoolean::MY_TRUE (), MyBoolean::getClass () . "::MY_TRUE " ) ,
90
+ array ( MyBoolean::MY_FALSE (), MyBoolean::getClass () . "::MY_FALSE " )
91
+ ) ;
92
92
}
93
93
}
0 commit comments