diff --git a/README.md b/README.md index 7ece1b9..da93bac 100644 --- a/README.md +++ b/README.md @@ -20,7 +20,7 @@ Add an entry for "wellrested/wellrested" to your composer.json file's `require` ```json { "require": { - "wellrested/wellrested": "~3.1" + "wellrested/wellrested": "^4" } } ``` diff --git a/docker/php/Dockerfile b/docker/php/Dockerfile index 9f25533..6fe1761 100644 --- a/docker/php/Dockerfile +++ b/docker/php/Dockerfile @@ -25,7 +25,6 @@ RUN chmod +x /usr/local/bin/dumb-init # Create a directory for project sources and user's home directory RUN mkdir /usr/local/src/wellrested && \ chown -R www-data:www-data /usr/local/src/wellrested && \ - mkdir /var/www && \ chown -R www-data:www-data /var/www COPY ./src /usr/local/src/wellrested/src diff --git a/docs/source/index.rst b/docs/source/index.rst index cdbb811..6491e5d 100644 --- a/docs/source/index.rst +++ b/docs/source/index.rst @@ -61,7 +61,7 @@ The site will also provide an ``X-example: hello world`` using dedicated middlew require_once 'vendor/autoload.php'; - // Create a handler that will construct and return a response. We'll + // Create a handler that will construct and return a response. We'll // register this handler with a server and router below. class HelloHandler implements RequestHandlerInterface { @@ -143,6 +143,6 @@ Contents .. _PSR-7: https://www.php-fig.org/psr/psr-7/ .. _PSR-15: https://www.php-fig.org/psr/psr-15/ .. _factory functions: handlers-and-middleware.html#factory-functions -.. _middleware: handles-and-middleware.html +.. _middleware: handlers-and-middleware.html .. _router: router.html .. _URI Templates: uri-templates.html