1
0
mirror of https://github.com/danog/psalm.git synced 2024-12-11 16:59:45 +01:00
psalm/src/Psalm
Bruce Weirdan 6b3dd56850
Defer cache directory creation until it's needed
Honestly, this is a bit of a hack, as we let `Config` to generate the
cache directory name and then reset it to null from the cli entrypoint.
Yet it's easier than passing a no-cache flag through so many layers of
static calls.

`$this->cache_directory_initialized` flag is used to make sure we
attempt to create the directory only once.

Fixes vimeo/psalm#4267
2022-11-29 04:16:59 -04:00
..
CodeLocation Immutable unions (#8627) 2022-11-04 19:04:23 +01:00
Config Suppress errors when validation regexps 2022-11-25 17:54:44 +00:00
Exception Finalize (and internalize) more classes 2022-02-05 23:51:03 +02:00
Internal Defer cache directory creation until it's needed 2022-11-29 04:16:59 -04:00
Issue Make array shapes strict by default (#8701) 2022-11-11 20:14:21 -05:00
Node Finalize virtual nodes 2022-02-07 02:05:47 +02:00
Plugin Immutable readonly 3 2022-10-03 15:13:47 +02:00
Progress Finalize (and internalize) more classes 2022-02-05 23:51:03 +02:00
Report Make array shapes strict by default (#8701) 2022-11-11 20:14:21 -05:00
SourceControl Finalize (and internalize) more classes 2022-02-05 23:51:03 +02:00
Storage Fix #8745 2022-11-24 20:02:04 +01:00
Type Upgrade mockery plugin 2022-11-25 03:33:10 -04:00
Aliases.php Immutable unions (#8627) 2022-11-04 19:04:23 +01:00
Codebase.php Make array shapes strict by default (#8701) 2022-11-11 20:14:21 -05:00
CodeLocation.php Make array shapes strict by default (#8701) 2022-11-11 20:14:21 -05:00
Config.php Defer cache directory creation until it's needed 2022-11-29 04:16:59 -04:00
Context.php Make array shapes strict by default (#8701) 2022-11-11 20:14:21 -05:00
DocComment.php preg_replace with anchor will always only have 1 replacement, add limit for clarity and performance 2022-09-08 18:51:33 +02:00
ErrorBaseline.php Make array shapes strict by default (#8701) 2022-11-11 20:14:21 -05:00
FileBasedPluginAdapter.php Finalize (and internalize) more classes 2022-02-05 23:51:03 +02:00
FileManipulation.php Finalize (and internalize) more classes 2022-02-05 23:51:03 +02:00
FileSource.php Immutable unions (#8627) 2022-11-04 19:04:23 +01:00
IssueBuffer.php CS fix 2022-11-22 23:59:33 -04:00
NodeTypeProvider.php
PluginFileExtensionsSocket.php Finalize (and internalize) more classes 2022-02-05 23:51:03 +02:00
PluginRegistrationSocket.php Finalize (and internalize) more classes 2022-02-05 23:51:03 +02:00
Report.php Merge remote-tracking branch 'origin/4.x' into HEAD 2022-10-16 13:41:27 +02:00
StatementsSource.php
Type.php Make array shapes strict by default (#8701) 2022-11-11 20:14:21 -05:00