Skip to content

Commit

Permalink
realodix/relax v1.12
Browse files Browse the repository at this point in the history
  • Loading branch information
realodix committed Jul 1, 2024
1 parent 4fc2b06 commit 5ca07dd
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 5 deletions.
4 changes: 2 additions & 2 deletions .php-cs-fixer.dist.php
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,6 @@

use Realodix\Relax\Config;
use Realodix\Relax\Finder;
use Realodix\Relax\RuleSet\Sets\Realodix;

$localRules = [
// Realodix
Expand All @@ -16,5 +15,6 @@
$finder = Finder::base()
->append(['.php-cs-fixer.dist.php']);

return Config::create(new Realodix, $localRules)
return Config::create('Realodix')
->setRules($localRules)
->setFinder($finder);
2 changes: 1 addition & 1 deletion composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@
},
"require-dev": {
"phpunit/phpunit": "^10.5 || ^11.0",
"realodix/relax": "^1.7"
"realodix/relax": "^1.12"
},
"minimum-stability": "dev",
"prefer-stable": true,
Expand Down
3 changes: 1 addition & 2 deletions src/ReadTime.php
Original file line number Diff line number Diff line change
Expand Up @@ -18,8 +18,7 @@ public function __construct(
private int $wpm = 265,
private int $imageTime = 12,
private int $cpm = 500
) {
}
) {}

public function get(): string
{
Expand Down

0 comments on commit 5ca07dd

Please sign in to comment.