Skip to content

Commit

Permalink
Fix dirname calls for PHP < 7.
Browse files Browse the repository at this point in the history
  • Loading branch information
drupol committed Oct 3, 2019
1 parent 4b3a8e9 commit 4f4aa9a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Config/Psr12.php
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ public function __construct()
parent::__construct('drupol/phpcsfixer-configs-php/psr12');

$parent = $this
->withRulesFromYaml(\dirname(__DIR__, 2) . '/config/psr12/phpcsfixer.rules.yml');
->withRulesFromYaml(\dirname(\dirname(__DIR__)) . '/config/psr12/phpcsfixer.rules.yml');

$this
->setRules(
Expand Down

1 comment on commit 4f4aa9a

@aritomelo
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Good to go

Please sign in to comment.