Skip to content

Commit

Permalink
Fix: Ignore platform requirements when updating lock file
Browse files Browse the repository at this point in the history
  • Loading branch information
localheinz committed Jul 3, 2020
1 parent 4f0e662 commit 9f6cff7
Show file tree
Hide file tree
Showing 2 changed files with 14 additions and 2 deletions.
15 changes: 13 additions & 2 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,15 @@ The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/),

## Unreleased

For a full diff see [`2.5.1...main`][2.5.1...main].
For a full diff see [`2.5.2...main`][2.5.2...main].

## [`2.5.2`][2.5.2]

For a full diff see [`2.5.1...2.5.2`][2.5.1...2.5.2].

### Fixed

* Started ignoring platform requirements when updating the lock file ([#481]), by [@localheinz]

## [`2.5.1`][2.5.1]

Expand Down Expand Up @@ -385,6 +393,7 @@ For a full diff see [`81bc3a8...0.1.0`][81bc3a8...0.1.0].
[2.4.0]: https://github.com/ergebnis/composer-normalize/releases/tag/2.4.0
[2.5.0]: https://github.com/ergebnis/composer-normalize/releases/tag/2.5.0
[2.5.1]: https://github.com/ergebnis/composer-normalize/releases/tag/2.5.1
[2.5.2]: https://github.com/ergebnis/composer-normalize/releases/tag/2.5.2

[81bc3a8...0.1.0]: https://github.com/ergebnis/composer-normalize/compare/81bc3a8...0.1.0
[0.1.0...0.2.0]: https://github.com/ergebnis/composer-normalize/compare/0.1.0...0.2.0
Expand Down Expand Up @@ -421,7 +430,8 @@ For a full diff see [`81bc3a8...0.1.0`][81bc3a8...0.1.0].
[2.3.2...2.4.0]: https://github.com/ergebnis/composer-normalize/compare/2.4.0...main
[2.4.0...2.5.0]: https://github.com/ergebnis/composer-normalize/compare/2.4.0...2.5.0
[2.5.0...2.5.1]: https://github.com/ergebnis/composer-normalize/compare/2.5.0...2.5.1
[2.5.1...main]: https://github.com/ergebnis/composer-normalize/compare/2.5.1...main
[2.5.1...2.5.2]: https://github.com/ergebnis/composer-normalize/compare/2.5.1...2.5.2
[2.5.2...main]: https://github.com/ergebnis/composer-normalize/compare/2.5.2...main

[#1]: https://github.com/ergebnis/composer-normalize/pull/1
[#2]: https://github.com/ergebnis/composer-normalize/pull/2
Expand Down Expand Up @@ -475,6 +485,7 @@ For a full diff see [`81bc3a8...0.1.0`][81bc3a8...0.1.0].
[#420]: https://github.com/ergebnis/composer-normalize/pull/420
[#422]: https://github.com/ergebnis/composer-normalize/pull/422
[#424]: https://github.com/ergebnis/composer-normalize/pull/424
[#481]: https://github.com/ergebnis/composer-normalize/pull/481

[@ergebnis]: https://github.com/ergebnis
[@ergebnis-bot]: https://github.com/ergebnis-bot
Expand Down
1 change: 1 addition & 0 deletions src/Command/NormalizeCommand.php
Original file line number Diff line number Diff line change
Expand Up @@ -370,6 +370,7 @@ private static function updateLockerInWorkingDirectory(
return $application->run(
new Console\Input\ArrayInput([
'command' => 'update',
'--ignore-platform-reqs' => true,
'--lock' => true,
'--no-autoloader' => true,
'--no-plugins' => true,
Expand Down

0 comments on commit 9f6cff7

Please sign in to comment.