From 4e42c4fb3cd715f96246eb9f7557de1db8bb7f26 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Andreas=20M=C3=B6ller?= Date: Mon, 17 Feb 2025 20:47:08 +0100 Subject: [PATCH] Fix: Update CHANGELOG.md --- CHANGELOG.md | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/CHANGELOG.md b/CHANGELOG.md index e919d7b0..754eb31c 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -8,6 +8,10 @@ The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/), For a full diff see [`2.6.1...main`][2.6.1...main]. +### Added + +- Added `Closures\NoParameterPassedByReferenceRule`, `Functions\NoParameterPassedByReferenceRule`, `Methods\NoParameterPassedByReferenceRule`, which report an error when a closure, a function, or a method has a parameter that is passed by reference ([#911]), by [@localheinz] + ## [`2.6.1`][2.6.1] For a full diff see [`2.6.0...2.6.1`][2.6.0...2.6.1]. @@ -599,6 +603,7 @@ For a full diff see [`362c7ea...0.1.0`][362c7ea...0.1.0]. [#895]: https://github.com/ergebnis/phpstan-rules/pull/895 [#897]: https://github.com/ergebnis/phpstan-rules/pull/897 [#902]: https://github.com/ergebnis/phpstan-rules/pull/902 +[#911]: https://github.com/ergebnis/phpstan-rules/pull/911 [@cosmastech]: https://github.com/cosmastech [@enumag]: https://github.com/enumag