From 0ce6f17ab09eb45b0d5c5c2ff386e97c1c201adb Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Gr=C3=A9gory=20Planchat?= Date: Tue, 29 Sep 2020 22:41:46 +0200 Subject: [PATCH] Added missing files to the git repository --- Dockerfile | 3 +++ docker-compose.yml | 1 + environments/native/php@5.6/fpm/config/timezone.ini | 1 + environments/native/php@7.4/cli/config/opcache.ini | 4 ++++ environments/native/php@7.4/fpm/config/opcache.ini | 4 ++++ environments/native/php@8.0/cli-xdebug/config/xdebug.ini | 7 +++++++ environments/native/php@8.0/fpm-xdebug/config/xdebug.ini | 7 +++++++ src/Domain/Packaging/Context/Context.php | 2 ++ 8 files changed, 29 insertions(+) create mode 100644 environments/native/php@5.6/fpm/config/timezone.ini create mode 100644 environments/native/php@7.4/cli/config/opcache.ini create mode 100644 environments/native/php@7.4/fpm/config/opcache.ini create mode 100644 environments/native/php@8.0/cli-xdebug/config/xdebug.ini create mode 100644 environments/native/php@8.0/fpm-xdebug/config/xdebug.ini diff --git a/Dockerfile b/Dockerfile index 1787eae..e359652 100644 --- a/Dockerfile +++ b/Dockerfile @@ -19,6 +19,7 @@ RUN set -ex\ nodejs \ npm \ docker \ + openssh \ && update-ca-certificates \ && apk add --virtual .build-deps \ autoconf \ @@ -34,6 +35,8 @@ RUN set -ex\ && apk add --update icu-dev icu \ && docker-php-ext-configure intl \ && docker-php-ext-install intl \ + && docker-php-ext-configure pcntl \ + && docker-php-ext-install pcntl \ && docker-php-source extract \ && pecl install xdebug-2.9.0 \ && docker-php-ext-enable xdebug \ diff --git a/docker-compose.yml b/docker-compose.yml index a09d290..88a2a86 100644 --- a/docker-compose.yml +++ b/docker-compose.yml @@ -11,6 +11,7 @@ services: - ./environments:/environments - ./compose:/compose - /var/run/docker.sock:/var/run/docker.sock + - $HOME/.ssh:/root/.ssh - $HOME/.docker:/opt/docker/.docker environment: - 'PHP_IDE_CONFIG=serverName=Docker' diff --git a/environments/native/php@5.6/fpm/config/timezone.ini b/environments/native/php@5.6/fpm/config/timezone.ini new file mode 100644 index 0000000..172c830 --- /dev/null +++ b/environments/native/php@5.6/fpm/config/timezone.ini @@ -0,0 +1 @@ +date.timezone=UTC diff --git a/environments/native/php@7.4/cli/config/opcache.ini b/environments/native/php@7.4/cli/config/opcache.ini new file mode 100644 index 0000000..160c906 --- /dev/null +++ b/environments/native/php@7.4/cli/config/opcache.ini @@ -0,0 +1,4 @@ +opcache.enable=1 +opcache.enable_cli=1 +opcache.jit_buffer_size=32M +opcache.jit=1235 \ No newline at end of file diff --git a/environments/native/php@7.4/fpm/config/opcache.ini b/environments/native/php@7.4/fpm/config/opcache.ini new file mode 100644 index 0000000..160c906 --- /dev/null +++ b/environments/native/php@7.4/fpm/config/opcache.ini @@ -0,0 +1,4 @@ +opcache.enable=1 +opcache.enable_cli=1 +opcache.jit_buffer_size=32M +opcache.jit=1235 \ No newline at end of file diff --git a/environments/native/php@8.0/cli-xdebug/config/xdebug.ini b/environments/native/php@8.0/cli-xdebug/config/xdebug.ini new file mode 100644 index 0000000..d74e7b3 --- /dev/null +++ b/environments/native/php@8.0/cli-xdebug/config/xdebug.ini @@ -0,0 +1,7 @@ +[xdebug] +xdebug.max_nesting_level=2048 +xdebug.remote_enable=1 +xdebug.remote_connect_back=0 +xdebug.remoteport=9000 +xdebug.remote_host=host.docker.internal +xdebug.idekey=PHPSTORM \ No newline at end of file diff --git a/environments/native/php@8.0/fpm-xdebug/config/xdebug.ini b/environments/native/php@8.0/fpm-xdebug/config/xdebug.ini new file mode 100644 index 0000000..d74e7b3 --- /dev/null +++ b/environments/native/php@8.0/fpm-xdebug/config/xdebug.ini @@ -0,0 +1,7 @@ +[xdebug] +xdebug.max_nesting_level=2048 +xdebug.remote_enable=1 +xdebug.remote_connect_back=0 +xdebug.remoteport=9000 +xdebug.remote_host=host.docker.internal +xdebug.idekey=PHPSTORM \ No newline at end of file diff --git a/src/Domain/Packaging/Context/Context.php b/src/Domain/Packaging/Context/Context.php index a53051e..aaacbc3 100644 --- a/src/Domain/Packaging/Context/Context.php +++ b/src/Domain/Packaging/Context/Context.php @@ -4,6 +4,8 @@ namespace Kiboko\Cloud\Domain\Packaging\Context; +use Kiboko\Cloud\Domain\Packaging\Placeholder; + final class Context implements ContextInterface, \IteratorAggregate { use ContextTrait;