Skip to content
This repository was archived by the owner on Apr 3, 2024. It is now read-only.

Commit 56c5e93

Browse files
committed
Update PHPCSFixes to conform with PHP71
1 parent fed7351 commit 56c5e93

File tree

2 files changed

+4
-3
lines changed

2 files changed

+4
-3
lines changed

.php_cs.dist

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,7 @@ return PhpCsFixer\Config::create()
1010
->setRiskyAllowed(true)
1111
->setRules([
1212
'@PSR2' => true,
13+
'@PHP71Migration' => true,
1314
'psr4' => true,
1415
'array_syntax' => ['syntax' => 'short'],
1516
'no_short_echo_tag' => true,

src/PHPImageOptim/Tools/ToolsInterface.php

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -3,9 +3,9 @@
33

44
interface ToolsInterface
55
{
6-
const OPTIMISATION_LEVEL_BASIC = 1;
7-
const OPTIMISATION_LEVEL_STANDARD = 2;
8-
const OPTIMISATION_LEVEL_EXTREME = 3;
6+
public const OPTIMISATION_LEVEL_BASIC = 1;
7+
public const OPTIMISATION_LEVEL_STANDARD = 2;
8+
public const OPTIMISATION_LEVEL_EXTREME = 3;
99

1010
public function optimise(): ToolsInterface;
1111

0 commit comments

Comments
 (0)