From 79785aa68c013e7406045cc84f7a074e36e5c4dd Mon Sep 17 00:00:00 2001 From: simon-tma Date: Mon, 24 Mar 2025 07:12:15 +1100 Subject: [PATCH] Use relative links for rules.neon The changes to default parameters are different in different branches, so we want to link to the current branch's version of `rules.neon`. --- README.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index 88b7e96..35e3a07 100644 --- a/README.md +++ b/README.md @@ -84,7 +84,7 @@ parameters: illegalConstructorMethodCall: false ``` -Aside from introducing new custom rules, phpstan-strict-rules also [change the default values of some configuration parameters](https://github.com/phpstan/phpstan-strict-rules/blob/1.6.x/rules.neon#L1) that are present in PHPStan itself. These parameters are [documented on phpstan.org](https://phpstan.org/config-reference#stricter-analysis). +Aside from introducing new custom rules, phpstan-strict-rules also [change the default values of some configuration parameters](./rules.neon#L1) that are present in PHPStan itself. These parameters are [documented on phpstan.org](https://phpstan.org/config-reference#stricter-analysis). ## Enabling rules one-by-one @@ -107,4 +107,4 @@ parameters: booleansInConditions: true ``` -Even with `strictRules.allRules` set to `false`, part of this package is still in effect. That's because phpstan-strict-rules also [change the default values of some configuration parameters](https://github.com/phpstan/phpstan-strict-rules/blob/1.6.x/rules.neon#L1) that are present in PHPStan itself. These parameters are [documented on phpstan.org](https://phpstan.org/config-reference#stricter-analysis). +Even with `strictRules.allRules` set to `false`, part of this package is still in effect. That's because phpstan-strict-rules also [change the default values of some configuration parameters](./rules.neon#L1) that are present in PHPStan itself. These parameters are [documented on phpstan.org](https://phpstan.org/config-reference#stricter-analysis).