Skip to content

Commit c35dc89

Browse files
authored
Merge pull request #79 from KartaviK/hotfix/psr-brackets
Fix brackets by psr standart
2 parents ca2f409 + a690412 commit c35dc89

File tree

1 file changed

+9
-5
lines changed

1 file changed

+9
-5
lines changed

tests/EnumTest.php

+9-5
Original file line numberDiff line numberDiff line change
@@ -52,7 +52,8 @@ public function testCreatingEnumWithInvalidValue($value)
5252
* Contains values not existing in EnumFixture
5353
* @return array
5454
*/
55-
public function invalidValueProvider() {
55+
public function invalidValueProvider()
56+
{
5657
return array(
5758
"string" => array('test'),
5859
"int" => array(1234),
@@ -68,7 +69,8 @@ public function testToString($expected, $enumObject)
6869
$this->assertSame($expected, (string) $enumObject);
6970
}
7071

71-
public function toStringProvider() {
72+
public function toStringProvider()
73+
{
7274
return array(
7375
array(EnumFixture::FOO, new EnumFixture(EnumFixture::FOO)),
7476
array(EnumFixture::BAR, new EnumFixture(EnumFixture::BAR)),
@@ -162,7 +164,8 @@ public function testIsValid($value, $isValid)
162164
$this->assertSame($isValid, EnumFixture::isValid($value));
163165
}
164166

165-
public function isValidProvider() {
167+
public function isValidProvider()
168+
{
166169
return array(
167170
/**
168171
* Valid values
@@ -177,7 +180,7 @@ public function isValidProvider() {
177180
* Invalid values
178181
*/
179182
array('baz', false)
180-
);
183+
);
181184
}
182185

183186
/**
@@ -199,7 +202,8 @@ public function testSearch($value, $expected)
199202
$this->assertSame($expected, EnumFixture::search($value));
200203
}
201204

202-
public function searchProvider() {
205+
public function searchProvider()
206+
{
203207
return array(
204208
array('foo', 'FOO'),
205209
array(0, 'PROBLEMATIC_NUMBER'),

0 commit comments

Comments
 (0)