Skip to content

Commit

Permalink
fixed broken tests/linters
Browse files Browse the repository at this point in the history
  • Loading branch information
fabiocicerchia committed Jun 17, 2021
1 parent dd2e8aa commit 03a90e2
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions src/Kernel.php
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@ protected function configureRoutes(RoutingConfigurator $routes): void
public function getLogDir()
{
// When on the lambda only /tmp is writeable
if (getenv('DOCKER_COMPOSE') == false && getenv('LAMBDA_TASK_ROOT') !== false) {
if (false == \getenv('DOCKER_COMPOSE') && false !== \getenv('LAMBDA_TASK_ROOT')) {
return '/tmp/log/';
}

Expand All @@ -49,7 +49,7 @@ public function getLogDir()
public function getCacheDir()
{
// When on the lambda only /tmp is writeable
if (getenv('DOCKER_COMPOSE') == false && getenv('LAMBDA_TASK_ROOT') !== false) {
if (false == \getenv('DOCKER_COMPOSE') && false !== \getenv('LAMBDA_TASK_ROOT')) {
return '/tmp/cache/'.$this->environment;
}

Expand Down
2 changes: 1 addition & 1 deletion sys/docker/bref-phpfpm/Dockerfile
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
FROM bref/php-80-fpm-dev
FROM bref/php-80-fpm-dev:1.2.7

ENV LD_LIBRARY_PATH=/opt/bref/lib64:/opt/bref/lib

Expand Down

0 comments on commit 03a90e2

Please sign in to comment.