mirror of
https://github.com/danog/psalm-plugin-laravel.git
synced 2024-11-26 12:24:50 +01:00
chore: move cache dir out of src
This commit is contained in:
parent
dea68b56ba
commit
e311dc53af
2
.gitignore
vendored
2
.gitignore
vendored
@ -1,5 +1,5 @@
|
||||
composer.phar
|
||||
/vendor/
|
||||
composer.lock
|
||||
src/cache/*.stubphp
|
||||
cache/*.stubphp
|
||||
.DS_Store
|
||||
|
0
src/cache/README.md → cache/README.md
vendored
0
src/cache/README.md → cache/README.md
vendored
@ -10,9 +10,8 @@
|
||||
<directory name="src" />
|
||||
<ignoreFiles>
|
||||
<directory name="vendor" />
|
||||
<directory name="src/cache" />
|
||||
<directory name="cache" />
|
||||
<directory name="src/Stubs" />
|
||||
<directory name="src/cache" />
|
||||
<directory name="tests" />
|
||||
</ignoreFiles>
|
||||
</projectFiles>
|
||||
@ -27,7 +26,7 @@
|
||||
</errorLevel>
|
||||
</PropertyNotSetInConstructor>
|
||||
</issueHandlers>
|
||||
|
||||
|
||||
<stubs>
|
||||
<file name="src/Stubs/LumenApplication.stubphp"/>
|
||||
</stubs>
|
||||
|
@ -30,7 +30,7 @@ class Plugin implements PluginEntryPointInterface
|
||||
$app = ApplicationProvider::bootApp();
|
||||
$fake_filesystem = new FakeFilesystem();
|
||||
$view_factory = $this->getViewFactory($app, $fake_filesystem);
|
||||
$cache_dir = __DIR__ . DIRECTORY_SEPARATOR . 'cache' . DIRECTORY_SEPARATOR;
|
||||
$cache_dir = dirname(__DIR__) . DIRECTORY_SEPARATOR . 'cache' . DIRECTORY_SEPARATOR;
|
||||
|
||||
$this->ingestFacadeStubs($registration, $app, $fake_filesystem, $view_factory, $cache_dir);
|
||||
$this->ingestMetaStubs($registration, $app, $fake_filesystem, $view_factory, $cache_dir);
|
||||
|
Loading…
Reference in New Issue
Block a user