diff --git a/CHANGELOG.md b/CHANGELOG.md index 9488c5e..d185f69 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -4,6 +4,10 @@ All notable changes to this project will be documented in this file. The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/), and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html). +## [2.2.2] - 2024-07-10 +### Changed +- Update deprecated string interpolation usage + ## [2.2.1] - 2024-04-26 ### Changed - Change behavior or `*` from `[^/]+` to `[^/]*` - [#31](https://github.com/timoschinkel/codeowners/pull/31) diff --git a/src/PatternMatcher.php b/src/PatternMatcher.php index 8dae8da..f995f15 100644 --- a/src/PatternMatcher.php +++ b/src/PatternMatcher.php @@ -29,7 +29,7 @@ function (Pattern $pattern) use ($filename): bool { ); if (count($matchedPatterns) === 0) { - throw new NoMatchFoundException("Unable to find a pattern to match ${filename}"); + throw new NoMatchFoundException("Unable to find a pattern to match {$filename}"); } return end($matchedPatterns);