Skip to content

Commit

Permalink
Merge branch 'hotfix/10-comparison-operator' into develop
Browse files Browse the repository at this point in the history
Forward port #10

Conflicts:
	CHANGELOG.md
  • Loading branch information
weierophinney committed Jan 7, 2020
2 parents 30dc01c + 306bbea commit 9d982ea
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ All notable changes to this project will be documented in this file, in reverse

- Nothing.

## 1.0.2 - TBD
## 1.0.2 - 2020-01-07

### Added

Expand All @@ -44,7 +44,7 @@ All notable changes to this project will be documented in this file, in reverse

### Fixed

- Nothing.
- [#10](https://github.com/laminas/laminas-dependency-plugin/pull/10) fixes a bad comparison in the `DependecyRewriterPlugin.

## 1.0.1 - 2020-01-07

Expand Down
2 changes: 1 addition & 1 deletion src/DependencyRewriterPlugin.php
Original file line number Diff line number Diff line change
Expand Up @@ -227,7 +227,7 @@ public function onPrePackageInstall(PackageEvent $event)
private function updatePackageArgument($package)
{
$result = preg_split('/[ :=]/', $package, 2);
if ($result = false) {
if ($result === false) {
return $package;
}
$name = array_shift($result);
Expand Down

0 comments on commit 9d982ea

Please sign in to comment.