Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Container] Add RectorConfig::containerCacheDirectory() #3490

Merged
merged 7 commits into from
Mar 19, 2023

Conversation

samsonasik
Copy link
Member

@samsonasik samsonasik commented Mar 19, 2023

This is new config to resolve rectorphp/rector#7700 to able to configure container cache directory beside the cache directory that used in PHPStanServicesFactory.

so on shared hosting, the cache and container cache can be configured:

    $rectorConfig->cacheDirectory('/project/var/rector_cached_files');
    $rectorConfig->containerCacheDirectory('/project/var');

/cc @scottybcoder @ernestbuffington

@samsonasik
Copy link
Member Author

All checks have passed 🎉 @TomasVotruba it is ready for review.

@TomasVotruba TomasVotruba merged commit 5371408 into main Mar 19, 2023
@TomasVotruba TomasVotruba deleted the add-rector-config-container-cache-dir branch March 19, 2023 20:23
samsonasik added a commit that referenced this pull request May 8, 2023
* [Container] Add RectorConfig::containerCacheDirectory()

* final touch: future comment

* final touch: clean up

* final touch: clean up

* final touch: clean up

* final touch: clean up

* final touch: clean up
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Rector sys_get_temp_dir() bug in PHP 8.x
2 participants