We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 3577279 commit 74a6328Copy full SHA for 74a6328
.github/workflows/php-cs-fixer.yml
@@ -15,7 +15,7 @@ jobs:
15
- name: Run PHP CS Fixer
16
uses: docker://oskarstark/php-cs-fixer-ga
17
with:
18
- args: --config=.php_cs.dist --allow-risky=yes
+ args: --config=.php_cs.dist.php --allow-risky=yes
19
20
- name: Commit changes
21
uses: stefanzweifel/git-auto-commit-action@v4
.php_cs.dist renamed to .php_cs.dist.php
src/WatcherCommand.php
@@ -51,6 +51,10 @@ protected function getOptionsFromConfigFile(): array
51
{
52
$configFilePath = $this->getConfigFileLocation();
53
54
+ if (! $configFilePath) {
55
+ return [];
56
+ }
57
+
58
if (! file_exists($configFilePath)) {
59
return [];
60
}
0 commit comments