Skip to content

Commit

Permalink
improved finder property name
Browse files Browse the repository at this point in the history
  • Loading branch information
plumthedev committed Nov 5, 2019
1 parent 6a1983e commit 64c92f8
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions src/Finder.php
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@

class Finder extends PhpCsFixerFinder
{
public $yiiExcludeFiles = [
public $yiiProjectExcludePaths = [
'views',
'mail',
'vendor',
Expand All @@ -24,6 +24,6 @@ class Finder extends PhpCsFixerFinder
public function __construct()
{
parent::__construct();
$this->exclude($this->yiiExcludeFiles);
$this->exclude($this->yiiProjectExcludePaths);
}
}
2 changes: 1 addition & 1 deletion tests/FinderTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,6 @@ public function testIsInstanceOfPhpCsFixerFinder()

public function testIsExcludingDirs()
{
$this->assertNotEmpty($this->csFixerFinder->yiiExcludeFiles);
$this->assertNotEmpty($this->csFixerFinder->yiiProjectExcludePaths);
}
}

0 comments on commit 64c92f8

Please sign in to comment.