Skip to content

Commit

Permalink
Fixing PHP warnings, removing drupal-security-advisories.
Browse files Browse the repository at this point in the history
  • Loading branch information
grasmash committed Dec 16, 2016
1 parent 64ca8a7 commit 677f305
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
2 changes: 1 addition & 1 deletion src/Update/DoPackagistConverter.php
Original file line number Diff line number Diff line change
Expand Up @@ -60,7 +60,7 @@ public static function convertComposerJson($composer_json) {
* @return string
* The to packages.drupal.org/8 style constraint.
*/
protected function convertVersionConstraint($version_constraint) {
protected static function convertVersionConstraint($version_constraint) {

/*
* 8.2.x-dev => 2.x-dev
Expand Down
2 changes: 2 additions & 0 deletions src/Update/Updates.php
Original file line number Diff line number Diff line change
Expand Up @@ -75,6 +75,8 @@ public function update_860() {
public function update_862() {
$composer_json = $this->updater->getComposerJson();
DoPackagistConverter::convertComposerJson($composer_json);
// This package is not compatible with D.O style version constraints.
unset($composer_json['require']['drupal-composer/drupal-security-advisories']);
$this->updater->writeComposerJson($composer_json);
}

Expand Down

0 comments on commit 677f305

Please sign in to comment.