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

Commit

Permalink
Update PHPCSFixes to conform with PHP71
Browse files Browse the repository at this point in the history
  • Loading branch information
bensquire committed Dec 2, 2018
1 parent fed7351 commit 56c5e93
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 3 deletions.
1 change: 1 addition & 0 deletions .php_cs.dist
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,7 @@ return PhpCsFixer\Config::create()
->setRiskyAllowed(true)
->setRules([
'@PSR2' => true,
'@PHP71Migration' => true,
'psr4' => true,
'array_syntax' => ['syntax' => 'short'],
'no_short_echo_tag' => true,
Expand Down
6 changes: 3 additions & 3 deletions src/PHPImageOptim/Tools/ToolsInterface.php
Original file line number Diff line number Diff line change
Expand Up @@ -3,9 +3,9 @@

interface ToolsInterface
{
const OPTIMISATION_LEVEL_BASIC = 1;
const OPTIMISATION_LEVEL_STANDARD = 2;
const OPTIMISATION_LEVEL_EXTREME = 3;
public const OPTIMISATION_LEVEL_BASIC = 1;
public const OPTIMISATION_LEVEL_STANDARD = 2;
public const OPTIMISATION_LEVEL_EXTREME = 3;

public function optimise(): ToolsInterface;

Expand Down

0 comments on commit 56c5e93

Please sign in to comment.