File tree Expand file tree Collapse file tree 2 files changed +10
-9
lines changed Expand file tree Collapse file tree 2 files changed +10
-9
lines changed Original file line number Diff line number Diff line change 94
94
'ternary_operator_spaces ' => true ,
95
95
'trailing_comma_in_multiline ' => true ,
96
96
'trim_array_spaces ' => true ,
97
+ 'visibility_required ' => ['elements ' => ['property ' , 'method ' ]],
97
98
'whitespace_after_comma_in_array ' => true ,
98
99
])
99
100
->setFinder ($ finder );
Original file line number Diff line number Diff line change 12
12
final class JsonToken
13
13
{
14
14
/** Represents the [ character that begins an array */
15
- public const T_LEFT_BRACKET = 1 ;
15
+ const T_LEFT_BRACKET = 1 ;
16
16
17
17
/** Represents the ] character the ends an array */
18
- public const T_RIGHT_BRACKET = 2 ;
18
+ const T_RIGHT_BRACKET = 2 ;
19
19
20
20
/** Represents the { character that begins an object */
21
- public const T_LEFT_BRACE = 3 ;
21
+ const T_LEFT_BRACE = 3 ;
22
22
23
23
/** Represents the } character that ends an object */
24
- public const T_RIGHT_BRACE = 4 ;
24
+ const T_RIGHT_BRACE = 4 ;
25
25
26
26
/** Represents a name in an object name/value pair */
27
- public const T_NAME = 5 ;
27
+ const T_NAME = 5 ;
28
28
29
29
/** Represent the : character that separates a name and a value */
30
- public const T_COLON = 6 ;
30
+ const T_COLON = 6 ;
31
31
32
32
/** Represents all values */
33
- public const T_VALUE = 7 ;
33
+ const T_VALUE = 7 ;
34
34
35
35
/** Represents the , character that separates array values and object name/value pairs */
36
- public const T_COMMA = 8 ;
36
+ const T_COMMA = 8 ;
37
37
38
38
/** Represents all whitespace */
39
- public const T_WHITESPACE = 9 ;
39
+ const T_WHITESPACE = 9 ;
40
40
}
You can’t perform that action at this time.
0 commit comments