Skip to content

Commit 64c92f8

Browse files
author
plumthedev
committed
improved finder property name
1 parent 6a1983e commit 64c92f8

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

src/Finder.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@
1212

1313
class Finder extends PhpCsFixerFinder
1414
{
15-
public $yiiExcludeFiles = [
15+
public $yiiProjectExcludePaths = [
1616
'views',
1717
'mail',
1818
'vendor',
@@ -24,6 +24,6 @@ class Finder extends PhpCsFixerFinder
2424
public function __construct()
2525
{
2626
parent::__construct();
27-
$this->exclude($this->yiiExcludeFiles);
27+
$this->exclude($this->yiiProjectExcludePaths);
2828
}
2929
}

tests/FinderTest.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,6 +21,6 @@ public function testIsInstanceOfPhpCsFixerFinder()
2121

2222
public function testIsExcludingDirs()
2323
{
24-
$this->assertNotEmpty($this->csFixerFinder->yiiExcludeFiles);
24+
$this->assertNotEmpty($this->csFixerFinder->yiiProjectExcludePaths);
2525
}
2626
}

0 commit comments

Comments
 (0)