Skip to content

Commit 1653b83

Browse files
[PhpUnitBridge] Fix CS for PHP 5.5
1 parent 5981faf commit 1653b83

File tree

2 files changed

+12
-12
lines changed

2 files changed

+12
-12
lines changed

DeprecationErrorHandler.php

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -27,11 +27,11 @@ class DeprecationErrorHandler
2727
/**
2828
* @deprecated since Symfony 4.3, use max[self]=0 instead
2929
*/
30-
public const MODE_WEAK_VENDORS = 'weak_vendors';
30+
const MODE_WEAK_VENDORS = 'weak_vendors';
3131

32-
public const MODE_DISABLED = 'disabled';
33-
public const MODE_WEAK = 'max[total]=999999&verbose=0';
34-
public const MODE_STRICT = 'max[total]=0';
32+
const MODE_DISABLED = 'disabled';
33+
const MODE_WEAK = 'max[total]=999999&verbose=0';
34+
const MODE_STRICT = 'max[total]=0';
3535

3636
private $mode;
3737
private $configuration;

DeprecationErrorHandler/Deprecation.php

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -21,14 +21,14 @@
2121
*/
2222
class Deprecation
2323
{
24-
public const PATH_TYPE_VENDOR = 'path_type_vendor';
25-
public const PATH_TYPE_SELF = 'path_type_internal';
26-
public const PATH_TYPE_UNDETERMINED = 'path_type_undetermined';
27-
28-
public const TYPE_SELF = 'type_self';
29-
public const TYPE_DIRECT = 'type_direct';
30-
public const TYPE_INDIRECT = 'type_indirect';
31-
public const TYPE_UNDETERMINED = 'type_undetermined';
24+
const PATH_TYPE_VENDOR = 'path_type_vendor';
25+
const PATH_TYPE_SELF = 'path_type_internal';
26+
const PATH_TYPE_UNDETERMINED = 'path_type_undetermined';
27+
28+
const TYPE_SELF = 'type_self';
29+
const TYPE_DIRECT = 'type_direct';
30+
const TYPE_INDIRECT = 'type_indirect';
31+
const TYPE_UNDETERMINED = 'type_undetermined';
3232

3333
private $trace = [];
3434
private $message;

0 commit comments

Comments
 (0)