Skip to content

Commit

Permalink
FEATURE: move the file CustomPhpStanFunctionMap to the config directory
Browse files Browse the repository at this point in the history
  • Loading branch information
arp committed Jan 5, 2022
1 parent 19ef450 commit 69956ae
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ class PhpStanFunctionMapReader
public function __construct()
{
$this->functionMap = require 'phar://'.__DIR__.'/../../vendor/phpstan/phpstan/phpstan.phar/resources/functionMap.php';
$this->customFunctionMap = require __DIR__.'/CustomPhpStanFunctionMap.php';
$this->customFunctionMap = require __DIR__ . '/../../config/CustomPhpStanFunctionMap.php';
}

public function hasFunction(string $functionName): bool
Expand Down

0 comments on commit 69956ae

Please # to comment.