Skip to content

Commit

Permalink
force string package
Browse files Browse the repository at this point in the history
  • Loading branch information
tweetpressfr committed Aug 10, 2018
1 parent 46821b0 commit 9844615
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 5 deletions.
10 changes: 7 additions & 3 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,7 +1,11 @@
# Changelog ##

## 1.1.0 - Apr 2018
## 1.0.2 - August 2018
* Package composer

## 1.0.0 - Mar 2018
* Init
## 1.0.1 - July 2018
* Package composer

## 1.0 - Apr 2018
* init
* Package composer
4 changes: 2 additions & 2 deletions src/Command/FreezePackagesVersionCommand.php
Original file line number Diff line number Diff line change
Expand Up @@ -71,7 +71,7 @@ protected function execute(InputInterface $input, OutputInterface $output)
if (!isset($lockVersions[$package])) {
continue;
}
$composerJson['require'][$package] = $lockVersions[$package];
$composerJson['require'][$package] = (string) $lockVersions[$package];
}
}

Expand All @@ -81,7 +81,7 @@ protected function execute(InputInterface $input, OutputInterface $output)
if (!isset($lockVersions[$package])) {
continue;
}
$composerJson['require-dev'][$package] = $lockVersions[$package];
$composerJson['require-dev'][$package] = (string) $lockVersions[$package];
}
}

Expand Down

0 comments on commit 9844615

Please sign in to comment.