diff --git a/generator/src/PhpStanFunctions/CustomPhpStanFunctionMap.php b/generator/config/CustomPhpStanFunctionMap.php similarity index 100% rename from generator/src/PhpStanFunctions/CustomPhpStanFunctionMap.php rename to generator/config/CustomPhpStanFunctionMap.php diff --git a/generator/src/PhpStanFunctions/PhpStanFunctionMapReader.php b/generator/src/PhpStanFunctions/PhpStanFunctionMapReader.php index 71e1cb51..97016b8b 100644 --- a/generator/src/PhpStanFunctions/PhpStanFunctionMapReader.php +++ b/generator/src/PhpStanFunctions/PhpStanFunctionMapReader.php @@ -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