diff --git a/.github/workflows/code-style.yml b/.github/workflows/code-style.yml index cd20188..d37b2ec 100644 --- a/.github/workflows/code-style.yml +++ b/.github/workflows/code-style.yml @@ -21,7 +21,7 @@ jobs: tools: composer # Specific versions of extensions available on PECL can be set up by suffixing the extension's name with the version. # https://github.com/shivammathur/setup-php?tab=readme-ov-file#heavy_plus_sign-php-extension-support - extensions: apcu, redis-5.3.7, memcached, mongodb + extensions: apcu, redis-5.3.7, memcached, mongodb-1.21.1 env: fail-fast: true diff --git a/.github/workflows/tests.yml b/.github/workflows/tests.yml index 08525c4..1623754 100644 --- a/.github/workflows/tests.yml +++ b/.github/workflows/tests.yml @@ -50,7 +50,7 @@ jobs: tools: composer # Specific versions of extensions available on PECL can be set up by suffixing the extension's name with the version. # https://github.com/shivammathur/setup-php?tab=readme-ov-file#heavy_plus_sign-php-extension-support - extensions: apcu, redis-5.3.7, memcached, mongodb-1.21.0 + extensions: apcu, redis-5.3.7, memcached, mongodb-1.21.1 ini-values: apc.enable_cli=1 coverage: xdebug env: diff --git a/README.md b/README.md index 00bf461..9b5e9d4 100644 --- a/README.md +++ b/README.md @@ -501,12 +501,6 @@ $ganeshaClient->request('GET', 'http://api.example.com/awesome_resource'); You can also specify `$service` via a option passed to client, or request header. If both are specified, the option value takes precedence. ```php -// via constructor argument -$ganeshaClient = new GaneshaHttpClient($client, $ganesha, [ - // 'ganesha.service_name' is defined as ServiceNameExtractor::OPTION_KEY - 'ganesha.service_name' => 'specified_service_name', -]); - // via request method argument $ganeshaClient->request( 'GET', diff --git a/examples/client/Dockerfile b/examples/client/Dockerfile index 093628b..faad0ba 100644 --- a/examples/client/Dockerfile +++ b/examples/client/Dockerfile @@ -5,6 +5,7 @@ COPY install_composer.sh /tmp/ RUN apt-get update \ && apt-get install --no-install-recommends -y git \ && apt-get install --no-install-recommends -y libmemcached-dev \ + && apt-get install --no-install-recommends -y libssl-dev \ && apt-get install --no-install-recommends -y zlib1g-dev \ && apt-get install --no-install-recommends -y unzip \ && apt-get install --no-install-recommends -y libzip-dev \ @@ -17,7 +18,7 @@ RUN apt-get update \ && echo 'extension=redis.so' >> /usr/local/etc/php/php.ini \ && yes '' | pecl install xdebug-3.1.5 \ && echo 'zend_extension=xdebug.so' >> /usr/local/etc/php/php.ini \ - && yes '' | pecl install mongodb \ + && yes '' | pecl install mongodb-1.21.1 \ && echo 'extension=mongodb.so' >> /usr/local/etc/php/php.ini \ && yes '' | pecl install apcu \ && echo 'extension=apcu.so' >> /usr/local/etc/php/php.ini \