Skip to content

Commit

Permalink
RectorsChangelogResolver: fix tests on windows
Browse files Browse the repository at this point in the history
  • Loading branch information
clxmstaab committed May 26, 2021
1 parent 91e84b7 commit a9f8e18
Showing 1 changed file with 5 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -32,6 +32,11 @@ public function resolveIncludingMissing(array $rectorClasses): array
$rectorClassesToChangelogUrls = [];
foreach ($rectorClasses as $rectorClass) {
$changelogUrl = $this->annotationExtractor->extractAnnotationFromClass($rectorClass, '@changelog');

if ($changelogUrl) {
$changelogUrl = trim($changelogUrl);
}

$rectorClassesToChangelogUrls[$rectorClass] = $changelogUrl;
}

Expand Down

0 comments on commit a9f8e18

Please sign in to comment.