Skip to content

Commit 2544a59

Browse files
author
Andrey Helldar
authored
Merge pull request #5 from andrey-helldar/analysis-0gMEBM
Apply fixes from StyleCI
2 parents 645b316 + ecc2c27 commit 2544a59

File tree

2 files changed

+18
-18
lines changed

2 files changed

+18
-18
lines changed

src/Contracts/Caseable.php

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -4,15 +4,15 @@
44

55
interface Caseable
66
{
7-
const CAMEL_CASE = 1;
7+
public const CAMEL_CASE = 1;
88

9-
const KEBAB_CASE = 3;
9+
public const KEBAB_CASE = 3;
1010

11-
const NO_CASE = 0;
11+
public const NO_CASE = 0;
1212

13-
const PASCAL_CASE = 4;
13+
public const PASCAL_CASE = 4;
1414

15-
const SNAKE_CASE = 2;
15+
public const SNAKE_CASE = 2;
1616

1717
public function setCase(int $type = self::NO_CASE): void;
1818
}

tests/stubs/source.php

Lines changed: 13 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -1,19 +1,19 @@
11
<?php
22

3-
return array (
4-
'foo' => 1,
5-
'bar' => 2,
6-
'baz' => 3,
3+
return [
4+
'foo' => 1,
5+
'bar' => 2,
6+
'baz' => 3,
77
'qwe rty' => 'qaz',
8-
'baq' => array (
9-
0 => 'qwe',
10-
'1' => 'rty',
8+
'baq' => [
9+
0 => 'qwe',
10+
'1' => 'rty',
1111
'asd' => 'zxc',
12-
),
13-
'asd fgh' => array (
12+
],
13+
'asd fgh' => [
1414
'foo bar baz' => 'qwe',
15-
2 => 'rty',
16-
'qaw sed' => 'zxc',
17-
),
15+
2 => 'rty',
16+
'qaw sed' => 'zxc',
17+
],
1818
2 => 'iop',
19-
);
19+
];

0 commit comments

Comments
 (0)