From cd3e35008548e5ce81e000d6d5b5a4b20456a679 Mon Sep 17 00:00:00 2001 From: Luiz Marin <67489841+luizcmarin@users.noreply.github.com> Date: Mon, 15 Apr 2024 09:09:55 -0300 Subject: [PATCH] Docs folder standardization and other fixes --- README.md | 2 +- docs/internals.md | 2 +- psalm.xml | 2 +- psalm80.xml | 2 +- src/Memcached.php | 4 ++-- 5 files changed, 6 insertions(+), 6 deletions(-) diff --git a/README.md b/README.md index d024637..1ae9d7e 100644 --- a/README.md +++ b/README.md @@ -30,7 +30,7 @@ a distributed applications (e.g. with several servers, load balancers, etc.). The package could be installed with composer: -``` +```shell composer require yiisoft/cache-memcached ``` diff --git a/docs/internals.md b/docs/internals.md index 40fe5c5..e07cdc1 100644 --- a/docs/internals.md +++ b/docs/internals.md @@ -13,7 +13,7 @@ docker run --rm --name yiisoft-cache-memcached-cache --detach --publish 11211:11 Memcached must be accessible by address `127.0.0.1`. If you use PHP via docker container, run PHP container in network of memcached container. Use `docker run` command argument for it: -``` +```dockerfile --network container:yiisoft-cache-memcached-cache ``` diff --git a/psalm.xml b/psalm.xml index b48c894..c338142 100644 --- a/psalm.xml +++ b/psalm.xml @@ -3,7 +3,7 @@ errorLevel="1" findUnusedBaselineEntry="true" findUnusedCode="false" - xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" + xmlns:xsi="https://www.w3.org/2001/XMLSchema-instance" xmlns="https://getpsalm.org/schema/config" xsi:schemaLocation="https://getpsalm.org/schema/config vendor/vimeo/psalm/config.xsd" > diff --git a/psalm80.xml b/psalm80.xml index d091d59..2c7c1f8 100644 --- a/psalm80.xml +++ b/psalm80.xml @@ -3,7 +3,7 @@ errorLevel="1" findUnusedBaselineEntry="true" findUnusedCode="false" - xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" + xmlns:xsi="https://www.w3.org/2001/XMLSchema-instance" xmlns="https://getpsalm.org/schema/config" xsi:schemaLocation="https://getpsalm.org/schema/config vendor/vimeo/psalm/config.xsd" > diff --git a/src/Memcached.php b/src/Memcached.php index 5ab6de2..f282f11 100644 --- a/src/Memcached.php +++ b/src/Memcached.php @@ -20,7 +20,7 @@ /** * Memcached implements a cache application component based on - * [memcached](http://pecl.php.net/package/memcached) PECL extension. + * [memcached](https://pecl.php.net/package/memcached) PECL extension. * * Memcached can be configured with a list of memcached servers passed to the constructor. * By default, Memcached assumes there is a memcached server running on localhost at port 11211. @@ -251,7 +251,7 @@ private function normalizeServers(array $servers): array ) { throw new InvalidArgumentException( 'Each entry in servers parameter is supposed to be an array' - . ' containing hostname (string), port (int), and, optionally, weight (int) of the server.', + . ' containing hostname (string), port (int), and, optionally, weight (int) of the server.', ); } /**