Skip to content

Commit

Permalink
Merge branch 'hotfix/fix-temp-folder'
Browse files Browse the repository at this point in the history
  • Loading branch information
Stephan Huber committed Nov 11, 2024
2 parents bb13db7 + bffa0fd commit 54f834e
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 4 deletions.
7 changes: 7 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -41,6 +41,13 @@ All notable changes to this project will be documented in this file. See [standa
* Upgrade dependencies
* Remove deprecated code

### [3.8.34](https://github.com/factorial-io/phabalicious/compare/3.8.33...3.8.34) (2024-11-11)

### Bug Fixes

* Fix temporary folder ([ea7a61d](https://github.com/factorial-io/phabalicious/commit/ea7a61d40050ec10f880802c4e0396fad64bcb28))


### [3.8.33](https://github.com/factorial-io/phabalicious/compare/3.8.32...3.8.33) (2024-10-25)


Expand Down
7 changes: 3 additions & 4 deletions src/AppKernel.php
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ public function registerBundles(): iterable
{
return [];
}
public function registerContainerConfiguration(LoaderInterface $loader)
public function registerContainerConfiguration(LoaderInterface $loader): void
{
$loader->load(__DIR__ . '/../config/services.yml');
}
Expand All @@ -27,11 +27,10 @@ public function registerContainerConfiguration(LoaderInterface $loader)
*/
public function getCacheDir(): string
{

$dir = implode('-', [
sys_get_temp_dir() . '/phabalicious',
Utilities::FALLBACK_VERSION,
getmyuid() ,
posix_getuid(),
md5(self::class)
]);

Expand All @@ -45,7 +44,7 @@ public function getLogDir(): string
return $this->getCacheDir();
}

protected function build(ContainerBuilder $containerBuilder)
protected function build(ContainerBuilder $containerBuilder): void
{
$containerBuilder->addCompilerPass(new CollectCommandsToApplicationCompilerPass());
$containerBuilder->addCompilerPass(new CollectMethodsToFactoryCompilerPass());
Expand Down

0 comments on commit 54f834e

Please sign in to comment.