dependabot-composer 0.171.2 → 0.172.0

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 73701e8b1971f9705050569037f81fa6d4e6c6c8db55674f913da606512e9c40
4
- data.tar.gz: afc56aa27650ed27a84e8902cc7a7629f09f80145dc98ad191c637bad401103f
3
+ metadata.gz: d6d8cd0fdf0b708e60de181497916de83e492be23994831d3f3cfc5913dd1d03
4
+ data.tar.gz: fb954cfbd343be799e8674dd9b15f25f965e93361549c77dbadda2b7fdc0a8e4
5
5
  SHA512:
6
- metadata.gz: a7ab5fd90cb39cd82ca74c28be8e92eea5224a6e57c2f9ce22899bdddbb69add388f26c6d9c41d79f646c0983008c2c74c6771670b45cb6b4c901e839557c35c
7
- data.tar.gz: 382641c5f727f72b9a5a4fe39374ddfeb2b3f28bc0cc117ef6500d54a732d673245a51dcd5c0f1cc06cdb45867c2e41d9488643b0bdde91f0657071a6461ca10
6
+ metadata.gz: e80414a5c97c5cf114bb33389a76bfe68252e1b47c6239ca123d0fef4ccb367e804ce101a6672058017274f11422891b88c0483e4585c6eca91dc2763e682b20
7
+ data.tar.gz: 8a4aa24379412dae5260740039a56c0bf10d8b9aab293d33ed5496833b5c7f0ac07de0130e0930ccf677577c3ed6a8cd6680372b793b6eadb422c56fe826fe3e
@@ -6,7 +6,7 @@
6
6
  },
7
7
  "require-dev": {
8
8
  "friendsofphp/php-cs-fixer": "^2.9",
9
- "phpstan/phpstan": "~1.3.1"
9
+ "phpstan/phpstan": "~1.4.2"
10
10
  },
11
11
  "autoload": {
12
12
  "psr-4": {
@@ -4,7 +4,7 @@
4
4
  "Read more about it at https://getcomposer.org/doc/01-basic-usage.md#installing-dependencies",
5
5
  "This file is @generated automatically"
6
6
  ],
7
- "content-hash": "ed5fcb3b6c65dd7098896b16b623cf67",
7
+ "content-hash": "77e30385e23f65ea3a28b3e8a8368560",
8
8
  "packages": [
9
9
  {
10
10
  "name": "composer/ca-bundle",
@@ -79,16 +79,16 @@
79
79
  },
80
80
  {
81
81
  "name": "composer/composer",
82
- "version": "1.10.24",
82
+ "version": "1.10.25",
83
83
  "source": {
84
84
  "type": "git",
85
85
  "url": "https://github.com/composer/composer.git",
86
- "reference": "6dea608377dc5409895d4cfd987947bc0abe154a"
86
+ "reference": "892838f84440b4851ec7e57221d52cb65a8991a5"
87
87
  },
88
88
  "dist": {
89
89
  "type": "zip",
90
- "url": "https://api.github.com/repos/composer/composer/zipball/6dea608377dc5409895d4cfd987947bc0abe154a",
91
- "reference": "6dea608377dc5409895d4cfd987947bc0abe154a",
90
+ "url": "https://api.github.com/repos/composer/composer/zipball/892838f84440b4851ec7e57221d52cb65a8991a5",
91
+ "reference": "892838f84440b4851ec7e57221d52cb65a8991a5",
92
92
  "shasum": ""
93
93
  },
94
94
  "require": {
@@ -169,7 +169,7 @@
169
169
  "type": "tidelift"
170
170
  }
171
171
  ],
172
- "time": "2021-12-09T19:06:33+00:00"
172
+ "time": "2022-01-21T09:02:15+00:00"
173
173
  },
174
174
  {
175
175
  "name": "composer/semver",
@@ -1921,16 +1921,16 @@
1921
1921
  },
1922
1922
  {
1923
1923
  "name": "phpstan/phpstan",
1924
- "version": "1.3.3",
1924
+ "version": "1.4.2",
1925
1925
  "source": {
1926
1926
  "type": "git",
1927
1927
  "url": "https://github.com/phpstan/phpstan.git",
1928
- "reference": "151a51f6149855785fbd883e79768c0abc96b75f"
1928
+ "reference": "1dd8f3e40bf7aa30031a75c65cece99220a161b8"
1929
1929
  },
1930
1930
  "dist": {
1931
1931
  "type": "zip",
1932
- "url": "https://api.github.com/repos/phpstan/phpstan/zipball/151a51f6149855785fbd883e79768c0abc96b75f",
1933
- "reference": "151a51f6149855785fbd883e79768c0abc96b75f",
1932
+ "url": "https://api.github.com/repos/phpstan/phpstan/zipball/1dd8f3e40bf7aa30031a75c65cece99220a161b8",
1933
+ "reference": "1dd8f3e40bf7aa30031a75c65cece99220a161b8",
1934
1934
  "shasum": ""
1935
1935
  },
1936
1936
  "require": {
@@ -1946,7 +1946,7 @@
1946
1946
  "type": "library",
1947
1947
  "extra": {
1948
1948
  "branch-alias": {
1949
- "dev-master": "1.3-dev"
1949
+ "dev-master": "1.4-dev"
1950
1950
  }
1951
1951
  },
1952
1952
  "autoload": {
@@ -1977,7 +1977,7 @@
1977
1977
  "type": "tidelift"
1978
1978
  }
1979
1979
  ],
1980
- "time": "2022-01-07T09:49:03+00:00"
1980
+ "time": "2022-01-18T16:09:11+00:00"
1981
1981
  },
1982
1982
  {
1983
1983
  "name": "psr/cache",
@@ -6,7 +6,7 @@
6
6
  },
7
7
  "require-dev": {
8
8
  "friendsofphp/php-cs-fixer": "^3.0",
9
- "phpstan/phpstan": "~1.3.1"
9
+ "phpstan/phpstan": "~1.4.2"
10
10
  },
11
11
  "autoload": {
12
12
  "psr-4": {
@@ -4,7 +4,7 @@
4
4
  "Read more about it at https://getcomposer.org/doc/01-basic-usage.md#installing-dependencies",
5
5
  "This file is @generated automatically"
6
6
  ],
7
- "content-hash": "64cf01f5be09684e93197d94e06d43d2",
7
+ "content-hash": "73b373bcb911f635ac0adabb64bd21b1",
8
8
  "packages": [
9
9
  {
10
10
  "name": "composer/ca-bundle",
@@ -79,16 +79,16 @@
79
79
  },
80
80
  {
81
81
  "name": "composer/composer",
82
- "version": "2.2.4",
82
+ "version": "2.2.6",
83
83
  "source": {
84
84
  "type": "git",
85
85
  "url": "https://github.com/composer/composer.git",
86
- "reference": "8a5ad75194f901e3b39ece4bbd22cbdabc79ae8f"
86
+ "reference": "ce785a18c0fb472421e52d958bab339247cb0e82"
87
87
  },
88
88
  "dist": {
89
89
  "type": "zip",
90
- "url": "https://api.github.com/repos/composer/composer/zipball/8a5ad75194f901e3b39ece4bbd22cbdabc79ae8f",
91
- "reference": "8a5ad75194f901e3b39ece4bbd22cbdabc79ae8f",
90
+ "url": "https://api.github.com/repos/composer/composer/zipball/ce785a18c0fb472421e52d958bab339247cb0e82",
91
+ "reference": "ce785a18c0fb472421e52d958bab339247cb0e82",
92
92
  "shasum": ""
93
93
  },
94
94
  "require": {
@@ -169,7 +169,7 @@
169
169
  "type": "tidelift"
170
170
  }
171
171
  ],
172
- "time": "2022-01-08T11:30:42+00:00"
172
+ "time": "2022-02-04T16:00:38+00:00"
173
173
  },
174
174
  {
175
175
  "name": "composer/metadata-minifier",
@@ -238,23 +238,23 @@
238
238
  },
239
239
  {
240
240
  "name": "composer/pcre",
241
- "version": "1.0.0",
241
+ "version": "1.0.1",
242
242
  "source": {
243
243
  "type": "git",
244
244
  "url": "https://github.com/composer/pcre.git",
245
- "reference": "3d322d715c43a1ac36c7fe215fa59336265500f2"
245
+ "reference": "67a32d7d6f9f560b726ab25a061b38ff3a80c560"
246
246
  },
247
247
  "dist": {
248
248
  "type": "zip",
249
- "url": "https://api.github.com/repos/composer/pcre/zipball/3d322d715c43a1ac36c7fe215fa59336265500f2",
250
- "reference": "3d322d715c43a1ac36c7fe215fa59336265500f2",
249
+ "url": "https://api.github.com/repos/composer/pcre/zipball/67a32d7d6f9f560b726ab25a061b38ff3a80c560",
250
+ "reference": "67a32d7d6f9f560b726ab25a061b38ff3a80c560",
251
251
  "shasum": ""
252
252
  },
253
253
  "require": {
254
254
  "php": "^5.3.2 || ^7.0 || ^8.0"
255
255
  },
256
256
  "require-dev": {
257
- "phpstan/phpstan": "^1",
257
+ "phpstan/phpstan": "^1.3",
258
258
  "phpstan/phpstan-strict-rules": "^1.1",
259
259
  "symfony/phpunit-bridge": "^4.2 || ^5"
260
260
  },
@@ -301,27 +301,27 @@
301
301
  "type": "tidelift"
302
302
  }
303
303
  ],
304
- "time": "2021-12-06T15:17:27+00:00"
304
+ "time": "2022-01-21T20:24:37+00:00"
305
305
  },
306
306
  {
307
307
  "name": "composer/semver",
308
- "version": "3.2.7",
308
+ "version": "3.2.9",
309
309
  "source": {
310
310
  "type": "git",
311
311
  "url": "https://github.com/composer/semver.git",
312
- "reference": "deac27056b57e46faf136fae7b449eeaa71661ee"
312
+ "reference": "a951f614bd64dcd26137bc9b7b2637ddcfc57649"
313
313
  },
314
314
  "dist": {
315
315
  "type": "zip",
316
- "url": "https://api.github.com/repos/composer/semver/zipball/deac27056b57e46faf136fae7b449eeaa71661ee",
317
- "reference": "deac27056b57e46faf136fae7b449eeaa71661ee",
316
+ "url": "https://api.github.com/repos/composer/semver/zipball/a951f614bd64dcd26137bc9b7b2637ddcfc57649",
317
+ "reference": "a951f614bd64dcd26137bc9b7b2637ddcfc57649",
318
318
  "shasum": ""
319
319
  },
320
320
  "require": {
321
321
  "php": "^5.3.2 || ^7.0 || ^8.0"
322
322
  },
323
323
  "require-dev": {
324
- "phpstan/phpstan": "^0.12.54",
324
+ "phpstan/phpstan": "^1.4",
325
325
  "symfony/phpunit-bridge": "^4.2 || ^5"
326
326
  },
327
327
  "type": "library",
@@ -377,7 +377,7 @@
377
377
  "type": "tidelift"
378
378
  }
379
379
  ],
380
- "time": "2022-01-04T09:57:54+00:00"
380
+ "time": "2022-02-04T13:58:43+00:00"
381
381
  },
382
382
  {
383
383
  "name": "composer/spdx-licenses",
@@ -694,12 +694,12 @@
694
694
  },
695
695
  "type": "library",
696
696
  "autoload": {
697
- "psr-4": {
698
- "React\\Promise\\": "src/"
699
- },
700
697
  "files": [
701
698
  "src/functions_include.php"
702
- ]
699
+ ],
700
+ "psr-4": {
701
+ "React\\Promise\\": "src/"
702
+ }
703
703
  },
704
704
  "notification-url": "https://packagist.org/downloads/",
705
705
  "license": [
@@ -823,16 +823,16 @@
823
823
  },
824
824
  {
825
825
  "name": "symfony/console",
826
- "version": "v5.4.2",
826
+ "version": "v5.4.3",
827
827
  "source": {
828
828
  "type": "git",
829
829
  "url": "https://github.com/symfony/console.git",
830
- "reference": "a2c6b7ced2eb7799a35375fb9022519282b5405e"
830
+ "reference": "a2a86ec353d825c75856c6fd14fac416a7bdb6b8"
831
831
  },
832
832
  "dist": {
833
833
  "type": "zip",
834
- "url": "https://api.github.com/repos/symfony/console/zipball/a2c6b7ced2eb7799a35375fb9022519282b5405e",
835
- "reference": "a2c6b7ced2eb7799a35375fb9022519282b5405e",
834
+ "url": "https://api.github.com/repos/symfony/console/zipball/a2a86ec353d825c75856c6fd14fac416a7bdb6b8",
835
+ "reference": "a2a86ec353d825c75856c6fd14fac416a7bdb6b8",
836
836
  "shasum": ""
837
837
  },
838
838
  "require": {
@@ -915,7 +915,7 @@
915
915
  "type": "tidelift"
916
916
  }
917
917
  ],
918
- "time": "2021-12-20T16:11:12+00:00"
918
+ "time": "2022-01-26T16:28:35+00:00"
919
919
  },
920
920
  {
921
921
  "name": "symfony/deprecation-contracts",
@@ -983,16 +983,16 @@
983
983
  },
984
984
  {
985
985
  "name": "symfony/filesystem",
986
- "version": "v5.4.0",
986
+ "version": "v5.4.3",
987
987
  "source": {
988
988
  "type": "git",
989
989
  "url": "https://github.com/symfony/filesystem.git",
990
- "reference": "731f917dc31edcffec2c6a777f3698c33bea8f01"
990
+ "reference": "0f0c4bf1840420f4aef3f32044a9dbb24682731b"
991
991
  },
992
992
  "dist": {
993
993
  "type": "zip",
994
- "url": "https://api.github.com/repos/symfony/filesystem/zipball/731f917dc31edcffec2c6a777f3698c33bea8f01",
995
- "reference": "731f917dc31edcffec2c6a777f3698c33bea8f01",
994
+ "url": "https://api.github.com/repos/symfony/filesystem/zipball/0f0c4bf1840420f4aef3f32044a9dbb24682731b",
995
+ "reference": "0f0c4bf1840420f4aef3f32044a9dbb24682731b",
996
996
  "shasum": ""
997
997
  },
998
998
  "require": {
@@ -1040,20 +1040,20 @@
1040
1040
  "type": "tidelift"
1041
1041
  }
1042
1042
  ],
1043
- "time": "2021-10-28T13:39:27+00:00"
1043
+ "time": "2022-01-02T09:53:40+00:00"
1044
1044
  },
1045
1045
  {
1046
1046
  "name": "symfony/finder",
1047
- "version": "v5.4.2",
1047
+ "version": "v5.4.3",
1048
1048
  "source": {
1049
1049
  "type": "git",
1050
1050
  "url": "https://github.com/symfony/finder.git",
1051
- "reference": "e77046c252be48c48a40816187ed527703c8f76c"
1051
+ "reference": "231313534dded84c7ecaa79d14bc5da4ccb69b7d"
1052
1052
  },
1053
1053
  "dist": {
1054
1054
  "type": "zip",
1055
- "url": "https://api.github.com/repos/symfony/finder/zipball/e77046c252be48c48a40816187ed527703c8f76c",
1056
- "reference": "e77046c252be48c48a40816187ed527703c8f76c",
1055
+ "url": "https://api.github.com/repos/symfony/finder/zipball/231313534dded84c7ecaa79d14bc5da4ccb69b7d",
1056
+ "reference": "231313534dded84c7ecaa79d14bc5da4ccb69b7d",
1057
1057
  "shasum": ""
1058
1058
  },
1059
1059
  "require": {
@@ -1100,7 +1100,7 @@
1100
1100
  "type": "tidelift"
1101
1101
  }
1102
1102
  ],
1103
- "time": "2021-12-15T11:06:13+00:00"
1103
+ "time": "2022-01-26T16:34:36+00:00"
1104
1104
  },
1105
1105
  {
1106
1106
  "name": "symfony/polyfill-ctype",
@@ -1212,12 +1212,12 @@
1212
1212
  }
1213
1213
  },
1214
1214
  "autoload": {
1215
- "psr-4": {
1216
- "Symfony\\Polyfill\\Intl\\Grapheme\\": ""
1217
- },
1218
1215
  "files": [
1219
1216
  "bootstrap.php"
1220
- ]
1217
+ ],
1218
+ "psr-4": {
1219
+ "Symfony\\Polyfill\\Intl\\Grapheme\\": ""
1220
+ }
1221
1221
  },
1222
1222
  "notification-url": "https://packagist.org/downloads/",
1223
1223
  "license": [
@@ -1290,12 +1290,12 @@
1290
1290
  }
1291
1291
  },
1292
1292
  "autoload": {
1293
- "psr-4": {
1294
- "Symfony\\Polyfill\\Intl\\Normalizer\\": ""
1295
- },
1296
1293
  "files": [
1297
1294
  "bootstrap.php"
1298
1295
  ],
1296
+ "psr-4": {
1297
+ "Symfony\\Polyfill\\Intl\\Normalizer\\": ""
1298
+ },
1299
1299
  "classmap": [
1300
1300
  "Resources/stubs"
1301
1301
  ]
@@ -1448,12 +1448,12 @@
1448
1448
  }
1449
1449
  },
1450
1450
  "autoload": {
1451
- "psr-4": {
1452
- "Symfony\\Polyfill\\Php73\\": ""
1453
- },
1454
1451
  "files": [
1455
1452
  "bootstrap.php"
1456
1453
  ],
1454
+ "psr-4": {
1455
+ "Symfony\\Polyfill\\Php73\\": ""
1456
+ },
1457
1457
  "classmap": [
1458
1458
  "Resources/stubs"
1459
1459
  ]
@@ -1524,12 +1524,12 @@
1524
1524
  }
1525
1525
  },
1526
1526
  "autoload": {
1527
- "psr-4": {
1528
- "Symfony\\Polyfill\\Php80\\": ""
1529
- },
1530
1527
  "files": [
1531
1528
  "bootstrap.php"
1532
1529
  ],
1530
+ "psr-4": {
1531
+ "Symfony\\Polyfill\\Php80\\": ""
1532
+ },
1533
1533
  "classmap": [
1534
1534
  "Resources/stubs"
1535
1535
  ]
@@ -1578,16 +1578,16 @@
1578
1578
  },
1579
1579
  {
1580
1580
  "name": "symfony/process",
1581
- "version": "v5.4.2",
1581
+ "version": "v5.4.3",
1582
1582
  "source": {
1583
1583
  "type": "git",
1584
1584
  "url": "https://github.com/symfony/process.git",
1585
- "reference": "2b3ba8722c4aaf3e88011be5e7f48710088fb5e4"
1585
+ "reference": "553f50487389a977eb31cf6b37faae56da00f753"
1586
1586
  },
1587
1587
  "dist": {
1588
1588
  "type": "zip",
1589
- "url": "https://api.github.com/repos/symfony/process/zipball/2b3ba8722c4aaf3e88011be5e7f48710088fb5e4",
1590
- "reference": "2b3ba8722c4aaf3e88011be5e7f48710088fb5e4",
1589
+ "url": "https://api.github.com/repos/symfony/process/zipball/553f50487389a977eb31cf6b37faae56da00f753",
1590
+ "reference": "553f50487389a977eb31cf6b37faae56da00f753",
1591
1591
  "shasum": ""
1592
1592
  },
1593
1593
  "require": {
@@ -1633,7 +1633,7 @@
1633
1633
  "type": "tidelift"
1634
1634
  }
1635
1635
  ],
1636
- "time": "2021-12-27T21:01:00+00:00"
1636
+ "time": "2022-01-26T16:28:35+00:00"
1637
1637
  },
1638
1638
  {
1639
1639
  "name": "symfony/service-contracts",
@@ -1717,16 +1717,16 @@
1717
1717
  },
1718
1718
  {
1719
1719
  "name": "symfony/string",
1720
- "version": "v5.4.2",
1720
+ "version": "v5.4.3",
1721
1721
  "source": {
1722
1722
  "type": "git",
1723
1723
  "url": "https://github.com/symfony/string.git",
1724
- "reference": "e6a5d5ecf6589c5247d18e0e74e30b11dfd51a3d"
1724
+ "reference": "92043b7d8383e48104e411bc9434b260dbeb5a10"
1725
1725
  },
1726
1726
  "dist": {
1727
1727
  "type": "zip",
1728
- "url": "https://api.github.com/repos/symfony/string/zipball/e6a5d5ecf6589c5247d18e0e74e30b11dfd51a3d",
1729
- "reference": "e6a5d5ecf6589c5247d18e0e74e30b11dfd51a3d",
1728
+ "url": "https://api.github.com/repos/symfony/string/zipball/92043b7d8383e48104e411bc9434b260dbeb5a10",
1729
+ "reference": "92043b7d8383e48104e411bc9434b260dbeb5a10",
1730
1730
  "shasum": ""
1731
1731
  },
1732
1732
  "require": {
@@ -1796,7 +1796,7 @@
1796
1796
  "type": "tidelift"
1797
1797
  }
1798
1798
  ],
1799
- "time": "2021-12-16T21:52:00+00:00"
1799
+ "time": "2022-01-02T09:53:40+00:00"
1800
1800
  }
1801
1801
  ],
1802
1802
  "packages-dev": [
@@ -2075,16 +2075,16 @@
2075
2075
  },
2076
2076
  {
2077
2077
  "name": "phpstan/phpstan",
2078
- "version": "1.3.3",
2078
+ "version": "1.4.2",
2079
2079
  "source": {
2080
2080
  "type": "git",
2081
2081
  "url": "https://github.com/phpstan/phpstan.git",
2082
- "reference": "151a51f6149855785fbd883e79768c0abc96b75f"
2082
+ "reference": "1dd8f3e40bf7aa30031a75c65cece99220a161b8"
2083
2083
  },
2084
2084
  "dist": {
2085
2085
  "type": "zip",
2086
- "url": "https://api.github.com/repos/phpstan/phpstan/zipball/151a51f6149855785fbd883e79768c0abc96b75f",
2087
- "reference": "151a51f6149855785fbd883e79768c0abc96b75f",
2086
+ "url": "https://api.github.com/repos/phpstan/phpstan/zipball/1dd8f3e40bf7aa30031a75c65cece99220a161b8",
2087
+ "reference": "1dd8f3e40bf7aa30031a75c65cece99220a161b8",
2088
2088
  "shasum": ""
2089
2089
  },
2090
2090
  "require": {
@@ -2100,7 +2100,7 @@
2100
2100
  "type": "library",
2101
2101
  "extra": {
2102
2102
  "branch-alias": {
2103
- "dev-master": "1.3-dev"
2103
+ "dev-master": "1.4-dev"
2104
2104
  }
2105
2105
  },
2106
2106
  "autoload": {
@@ -2131,7 +2131,7 @@
2131
2131
  "type": "tidelift"
2132
2132
  }
2133
2133
  ],
2134
- "time": "2022-01-07T09:49:03+00:00"
2134
+ "time": "2022-01-18T16:09:11+00:00"
2135
2135
  },
2136
2136
  {
2137
2137
  "name": "psr/cache",
@@ -2477,12 +2477,12 @@
2477
2477
  }
2478
2478
  },
2479
2479
  "autoload": {
2480
- "psr-4": {
2481
- "Symfony\\Polyfill\\Php81\\": ""
2482
- },
2483
2480
  "files": [
2484
2481
  "bootstrap.php"
2485
2482
  ],
2483
+ "psr-4": {
2484
+ "Symfony\\Polyfill\\Php81\\": ""
2485
+ },
2486
2486
  "classmap": [
2487
2487
  "Resources/stubs"
2488
2488
  ]
@@ -8,7 +8,6 @@ use Composer\DependencyResolver\Request;
8
8
  use Composer\Factory;
9
9
  use Composer\Installer;
10
10
  use Composer\Package\PackageInterface;
11
- use Composer\Util\Filesystem;
12
11
 
13
12
  final class UpdateChecker
14
13
  {
@@ -48,15 +47,6 @@ final class UpdateChecker
48
47
  $io->loadConfiguration($config);
49
48
  }
50
49
 
51
- $installationManager = new DependabotInstallationManager($composer->getLoop(), $io);
52
-
53
- $fs = new Filesystem(null);
54
- $binaryInstaller = new Installer\BinaryInstaller($io, rtrim($composer->getConfig()->get('bin-dir'), '/'), $composer->getConfig()->get('bin-compat'), $fs);
55
-
56
- $installationManager->addInstaller(new Installer\LibraryInstaller($io, $composer, null, $fs, $binaryInstaller));
57
- $installationManager->addInstaller(new Installer\PluginInstaller($io, $composer, $fs, $binaryInstaller));
58
- $installationManager->addInstaller(new Installer\MetapackageInstaller($io));
59
-
60
50
  $install = new Installer(
61
51
  $io,
62
52
  $config,
@@ -64,7 +54,7 @@ final class UpdateChecker
64
54
  $composer->getDownloadManager(),
65
55
  $composer->getRepositoryManager(),
66
56
  $composer->getLocker(),
67
- $installationManager,
57
+ $composer->getInstallationManager(),
68
58
  $composer->getEventDispatcher(),
69
59
  $composer->getAutoloadGenerator()
70
60
  );
@@ -72,6 +62,7 @@ final class UpdateChecker
72
62
  // For all potential options, see UpdateCommand in composer
73
63
  $install
74
64
  ->setUpdate(true)
65
+ ->setInstall(false)
75
66
  ->setDevMode(true)
76
67
  ->setUpdateAllowTransitiveDependencies(Request::UPDATE_LISTED_WITH_TRANSITIVE_DEPS)
77
68
  ->setDumpAutoloader(false)
@@ -86,7 +77,7 @@ final class UpdateChecker
86
77
 
87
78
  $install->run();
88
79
 
89
- $installedPackages = $installationManager->getInstalledPackages();
80
+ $installedPackages = $composer->getLocker()->getLockedRepository(true)->getPackages();
90
81
 
91
82
  $updatedPackage = current(array_filter($installedPackages, static function (PackageInterface $package) use ($dependencyName): bool {
92
83
  return $package->getName() === $dependencyName;
@@ -78,6 +78,7 @@ final class Updater
78
78
  $install
79
79
  ->setWriteLock(true)
80
80
  ->setUpdate(true)
81
+ ->setInstall(false)
81
82
  ->setDevMode(true)
82
83
  ->setUpdateAllowList([$dependencyName])
83
84
  ->setUpdateAllowTransitiveDependencies(Request::UPDATE_LISTED_WITH_TRANSITIVE_DEPS)
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: dependabot-composer
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.171.2
4
+ version: 0.172.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Dependabot
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2022-01-14 00:00:00.000000000 Z
11
+ date: 2022-02-09 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: dependabot-common
@@ -16,14 +16,14 @@ dependencies:
16
16
  requirements:
17
17
  - - '='
18
18
  - !ruby/object:Gem::Version
19
- version: 0.171.2
19
+ version: 0.172.0
20
20
  type: :runtime
21
21
  prerelease: false
22
22
  version_requirements: !ruby/object:Gem::Requirement
23
23
  requirements:
24
24
  - - '='
25
25
  - !ruby/object:Gem::Version
26
- version: 0.171.2
26
+ version: 0.172.0
27
27
  - !ruby/object:Gem::Dependency
28
28
  name: debug
29
29
  requirement: !ruby/object:Gem::Requirement
@@ -203,7 +203,6 @@ files:
203
203
  - helpers/v2/composer.json
204
204
  - helpers/v2/composer.lock
205
205
  - helpers/v2/phpstan.neon
206
- - helpers/v2/src/DependabotInstallationManager.php
207
206
  - helpers/v2/src/DependabotPluginManager.php
208
207
  - helpers/v2/src/ExceptionIO.php
209
208
  - helpers/v2/src/Hasher.php
@@ -1,74 +0,0 @@
1
- <?php
2
-
3
- declare(strict_types=1);
4
-
5
- namespace Dependabot\Composer;
6
-
7
- use Composer\DependencyResolver\Operation\InstallOperation;
8
- use Composer\DependencyResolver\Operation\UninstallOperation;
9
- use Composer\DependencyResolver\Operation\UpdateOperation;
10
- use Composer\Installer\InstallationManager;
11
- use Composer\Package\PackageInterface;
12
- use Composer\Repository\InstalledRepositoryInterface;
13
- use React\Promise\PromiseInterface;
14
-
15
- final class DependabotInstallationManager extends InstallationManager
16
- {
17
- private array $installed = [];
18
- private array $updated = [];
19
- private array $uninstalled = [];
20
-
21
- public function execute(InstalledRepositoryInterface $repo, array $operations, $devMode = true, $runScripts = true): void
22
- {
23
- foreach ($operations as $operation) {
24
- $method = $operation->getOperationType();
25
- // NOTE: skipping download() step
26
- $this->$method($repo, $operation);
27
- }
28
- }
29
-
30
- public function install(InstalledRepositoryInterface $repo, InstallOperation $operation): ?PromiseInterface
31
- {
32
- $this->installed[] = $operation->getPackage();
33
-
34
- return null;
35
- }
36
-
37
- public function update(InstalledRepositoryInterface $repo, UpdateOperation $operation): ?PromiseInterface
38
- {
39
- $this->updated[] = [$operation->getInitialPackage(), $operation->getTargetPackage()];
40
-
41
- return null;
42
- }
43
-
44
- public function uninstall(InstalledRepositoryInterface $repo, UninstallOperation $operation): ?PromiseInterface
45
- {
46
- $this->uninstalled[] = $operation->getPackage();
47
-
48
- return null;
49
- }
50
-
51
- /**
52
- * @return PackageInterface[]
53
- */
54
- public function getInstalledPackages(): array
55
- {
56
- return $this->installed;
57
- }
58
-
59
- /**
60
- * @return PackageInterface[]
61
- */
62
- public function getUpdatedPackages(): array
63
- {
64
- return $this->updated;
65
- }
66
-
67
- /**
68
- * @return PackageInterface[]
69
- */
70
- public function getUninstalledPackages(): array
71
- {
72
- return $this->uninstalled;
73
- }
74
- }