Skip to content

Commit 3d9cb7d

Browse files
committed
feat: pin constraints stable versions of Composer
Signed-off-by: Matthew Weier O'Phinney <[email protected]>
1 parent c82ed6d commit 3d9cb7d

File tree

2 files changed

+11
-3
lines changed

2 files changed

+11
-3
lines changed

autoload/composer-2.0.php

+10-2
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,15 @@
11
<?php
22

3+
/**
4+
* @see https://github.com/laminas/laminas-dependency-plugin for the canonical source repository
5+
* @copyright https://github.com/laminas/laminas-dependency-plugin/blob/master/COPYRIGHT.md
6+
* @license https://github.com/laminas/laminas-dependency-plugin/blob/master/LICENSE.md New BSD License
7+
*/
8+
39
namespace Composer\Plugin;
410

5-
if (!class_exists(PrePoolCreateEvent::class)) {
6-
class PrePoolCreateEvent {}
11+
if (! class_exists(PrePoolCreateEvent::class)) {
12+
class PrePoolCreateEvent
13+
{
14+
}
715
}

composer.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@
1111
"composer-plugin-api": "^1.1 || ^2.0"
1212
},
1313
"require-dev": {
14-
"composer/composer": "^1.9 || ~2.0.0@dev || ^2.0",
14+
"composer/composer": "^1.9 || ^2.0",
1515
"mikey179/vfsstream": "^1.6",
1616
"phpcompatibility/php-compatibility": "^9.3",
1717
"roave/security-advisories": "dev-master"

0 commit comments

Comments
 (0)