From b34e749bd87d99fafead214edbdad1aaf44a1288 Mon Sep 17 00:00:00 2001 From: Sergei Predvoditelev Date: Fri, 7 Aug 2026 09:08:30 +0300 Subject: [PATCH 1/2] Fix some broken links --- src/cookbook/configuring-webservers/iis.md | 5 +---- src/cookbook/configuring-webservers/nginx.md | 2 +- src/internals/010-code-style.md | 2 +- 3 files changed, 3 insertions(+), 6 deletions(-) diff --git a/src/cookbook/configuring-webservers/iis.md b/src/cookbook/configuring-webservers/iis.md index 2eb720bb..4217dbbc 100644 --- a/src/cookbook/configuring-webservers/iis.md +++ b/src/cookbook/configuring-webservers/iis.md @@ -28,7 +28,4 @@ Use the following content: ``` -Also, the following list of Microsoft's official resources could be useful to configure PHP on IIS: - -1. [How to set up your first IIS website](https://support.microsoft.com/en-us/help/323972/how-to-set-up-your-first-iis-web-site) -2. [Configure a PHP Website on IIS](https://docs.microsoft.com/en-us/iis/application-frameworks/scenario-build-a-php-website-on-iis/configure-a-php-website-on-iis) +Also, [IIS documentation](https://learn.microsoft.com/en-us/iis/) could be useful to configure PHP on IIS. diff --git a/src/cookbook/configuring-webservers/nginx.md b/src/cookbook/configuring-webservers/nginx.md index 7d1eca5e..52ec9c31 100644 --- a/src/cookbook/configuring-webservers/nginx.md +++ b/src/cookbook/configuring-webservers/nginx.md @@ -1,6 +1,6 @@ # Configuring web servers: Nginx -To use [Nginx](https://wiki.nginx.org/), install PHP as an [FPM SAPI](https://secure.php.net/install.fpm). +To use [Nginx](https:/nginx.org/), install PHP as an [FPM SAPI](https://secure.php.net/install.fpm). Use the following Nginx configuration, replacing `path/to/app/public` with the actual path for `app/public` and `mysite.test` with the actual hostname to serve. diff --git a/src/internals/010-code-style.md b/src/internals/010-code-style.md index 8ceece5e..57aa3342 100644 --- a/src/internals/010-code-style.md +++ b/src/internals/010-code-style.md @@ -27,7 +27,7 @@ Method comment is necessary except it adds nothing to what method name and signa Class comment should describe the purpose of the class. -[See PHPDoc](https://github.com/yiisoft/docs/blob/master/014-docs.md#phpdoc). +See [PHPDoc](014-docs.md#phpdoc). ## Formatting From 4f4677054cd63ac38d763c089b79b929084fdd36 Mon Sep 17 00:00:00 2001 From: Sergei Predvoditelev Date: Fri, 7 Aug 2026 09:11:29 +0300 Subject: [PATCH 2/2] fix --- src/internals/010-code-style.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/internals/010-code-style.md b/src/internals/010-code-style.md index 57aa3342..7a7050bf 100644 --- a/src/internals/010-code-style.md +++ b/src/internals/010-code-style.md @@ -107,7 +107,7 @@ Constants, properties and methods should be private by default. ### Composition over inheritance -Prefer [composition to inheritance](guide/en/concept/di-container.md). +Prefer [composition to inheritance](../guide/concept/di-container.md). ### Property, constant and method order