dependabot-composer 0.262.0 → 0.264.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: cef627bd53c4b51bad2f11380088be6de740186425f3e0789a59bb2984fa116d
4
- data.tar.gz: 8c3c28b458966d465b562bbe54bedeec36c620eabe957be6ce509578b3b1aa6e
3
+ metadata.gz: be864726370a30721ace369a1fe1405ae97c4c6483ebe1cc7b812673c79085a0
4
+ data.tar.gz: e4c4d7b05fa1e63438c2aaac73240e3a7d4635be33d58eac04f77135f8aa64d3
5
5
  SHA512:
6
- metadata.gz: 047460f1a9404841034df7d2ff0dacb32d81ac71dc4bd8b562c69c44e62ffcede7804345770dc2f0652be74f0a80418a8b4c647ff128d05675bfad53556ee5da
7
- data.tar.gz: 2f5c24197c84632f64fc749de6d7350281ada80ad98d31730f98d70352ab6db4fcfac57a7070ef0669643d9ff0fd447ea29c8c2bdb0b4b48800e3a276013cdb3
6
+ metadata.gz: 121bee6aee672249a978d76a577ea66a4185c765a004e7f4df56e896e09c1308408288acd08f581f38366da3b55634c317a989e078d5fa2f742f98bea7384fe8
7
+ data.tar.gz: eeef4ca79ab23cc449ccac54331fcfdc61e1eb77c4daab48f91294f17940800bd35444512e85af6594ac9b977104f02d6b388f8fddcd5510ae676f45a6695022
@@ -84,16 +84,16 @@
84
84
  },
85
85
  {
86
86
  "name": "composer/class-map-generator",
87
- "version": "1.1.1",
87
+ "version": "1.3.4",
88
88
  "source": {
89
89
  "type": "git",
90
90
  "url": "https://github.com/composer/class-map-generator.git",
91
- "reference": "8286a62d243312ed99b3eee20d5005c961adb311"
91
+ "reference": "b1b3fd0b4eaf3ddf3ee230bc340bf3fff454a1a3"
92
92
  },
93
93
  "dist": {
94
94
  "type": "zip",
95
- "url": "https://api.github.com/repos/composer/class-map-generator/zipball/8286a62d243312ed99b3eee20d5005c961adb311",
96
- "reference": "8286a62d243312ed99b3eee20d5005c961adb311",
95
+ "url": "https://api.github.com/repos/composer/class-map-generator/zipball/b1b3fd0b4eaf3ddf3ee230bc340bf3fff454a1a3",
96
+ "reference": "b1b3fd0b4eaf3ddf3ee230bc340bf3fff454a1a3",
97
97
  "shasum": ""
98
98
  },
99
99
  "require": {
@@ -137,7 +137,7 @@
137
137
  ],
138
138
  "support": {
139
139
  "issues": "https://github.com/composer/class-map-generator/issues",
140
- "source": "https://github.com/composer/class-map-generator/tree/1.1.1"
140
+ "source": "https://github.com/composer/class-map-generator/tree/1.3.4"
141
141
  },
142
142
  "funding": [
143
143
  {
@@ -153,28 +153,28 @@
153
153
  "type": "tidelift"
154
154
  }
155
155
  ],
156
- "time": "2024-03-15T12:53:41+00:00"
156
+ "time": "2024-06-12T14:13:04+00:00"
157
157
  },
158
158
  {
159
159
  "name": "composer/composer",
160
- "version": "2.7.4",
160
+ "version": "2.7.7",
161
161
  "source": {
162
162
  "type": "git",
163
163
  "url": "https://github.com/composer/composer.git",
164
- "reference": "a625e50598e12171d3f60b1149eb530690c43474"
164
+ "reference": "291942978f39435cf904d33739f98d7d4eca7b23"
165
165
  },
166
166
  "dist": {
167
167
  "type": "zip",
168
- "url": "https://api.github.com/repos/composer/composer/zipball/a625e50598e12171d3f60b1149eb530690c43474",
169
- "reference": "a625e50598e12171d3f60b1149eb530690c43474",
168
+ "url": "https://api.github.com/repos/composer/composer/zipball/291942978f39435cf904d33739f98d7d4eca7b23",
169
+ "reference": "291942978f39435cf904d33739f98d7d4eca7b23",
170
170
  "shasum": ""
171
171
  },
172
172
  "require": {
173
173
  "composer/ca-bundle": "^1.0",
174
- "composer/class-map-generator": "^1.0",
174
+ "composer/class-map-generator": "^1.3.3",
175
175
  "composer/metadata-minifier": "^1.0",
176
176
  "composer/pcre": "^2.1 || ^3.1",
177
- "composer/semver": "^3.2.5",
177
+ "composer/semver": "^3.3",
178
178
  "composer/spdx-licenses": "^1.5.7",
179
179
  "composer/xdebug-handler": "^2.0.2 || ^3.0.3",
180
180
  "justinrainbow/json-schema": "^5.2.11",
@@ -193,11 +193,11 @@
193
193
  "symfony/process": "^5.4 || ^6.0 || ^7"
194
194
  },
195
195
  "require-dev": {
196
- "phpstan/phpstan": "^1.9.3",
197
- "phpstan/phpstan-deprecation-rules": "^1",
198
- "phpstan/phpstan-phpunit": "^1.0",
199
- "phpstan/phpstan-strict-rules": "^1",
200
- "phpstan/phpstan-symfony": "^1.2.10",
196
+ "phpstan/phpstan": "^1.11.0",
197
+ "phpstan/phpstan-deprecation-rules": "^1.2.0",
198
+ "phpstan/phpstan-phpunit": "^1.4.0",
199
+ "phpstan/phpstan-strict-rules": "^1.6.0",
200
+ "phpstan/phpstan-symfony": "^1.4.0",
201
201
  "symfony/phpunit-bridge": "^6.4.1 || ^7.0.1"
202
202
  },
203
203
  "suggest": {
@@ -251,7 +251,7 @@
251
251
  "irc": "ircs://irc.libera.chat:6697/composer",
252
252
  "issues": "https://github.com/composer/composer/issues",
253
253
  "security": "https://github.com/composer/composer/security/policy",
254
- "source": "https://github.com/composer/composer/tree/2.7.4"
254
+ "source": "https://github.com/composer/composer/tree/2.7.7"
255
255
  },
256
256
  "funding": [
257
257
  {
@@ -267,7 +267,7 @@
267
267
  "type": "tidelift"
268
268
  }
269
269
  ],
270
- "time": "2024-04-22T19:17:03+00:00"
270
+ "time": "2024-06-10T20:11:12+00:00"
271
271
  },
272
272
  {
273
273
  "name": "composer/metadata-minifier",
@@ -340,16 +340,16 @@
340
340
  },
341
341
  {
342
342
  "name": "composer/pcre",
343
- "version": "3.1.3",
343
+ "version": "3.1.4",
344
344
  "source": {
345
345
  "type": "git",
346
346
  "url": "https://github.com/composer/pcre.git",
347
- "reference": "5b16e25a5355f1f3afdfc2f954a0a80aec4826a8"
347
+ "reference": "04229f163664973f68f38f6f73d917799168ef24"
348
348
  },
349
349
  "dist": {
350
350
  "type": "zip",
351
- "url": "https://api.github.com/repos/composer/pcre/zipball/5b16e25a5355f1f3afdfc2f954a0a80aec4826a8",
352
- "reference": "5b16e25a5355f1f3afdfc2f954a0a80aec4826a8",
351
+ "url": "https://api.github.com/repos/composer/pcre/zipball/04229f163664973f68f38f6f73d917799168ef24",
352
+ "reference": "04229f163664973f68f38f6f73d917799168ef24",
353
353
  "shasum": ""
354
354
  },
355
355
  "require": {
@@ -391,7 +391,7 @@
391
391
  ],
392
392
  "support": {
393
393
  "issues": "https://github.com/composer/pcre/issues",
394
- "source": "https://github.com/composer/pcre/tree/3.1.3"
394
+ "source": "https://github.com/composer/pcre/tree/3.1.4"
395
395
  },
396
396
  "funding": [
397
397
  {
@@ -407,7 +407,7 @@
407
407
  "type": "tidelift"
408
408
  }
409
409
  ],
410
- "time": "2024-03-19T10:26:25+00:00"
410
+ "time": "2024-05-27T13:40:54+00:00"
411
411
  },
412
412
  {
413
413
  "name": "composer/semver",
@@ -572,16 +572,16 @@
572
572
  },
573
573
  {
574
574
  "name": "composer/xdebug-handler",
575
- "version": "3.0.4",
575
+ "version": "3.0.5",
576
576
  "source": {
577
577
  "type": "git",
578
578
  "url": "https://github.com/composer/xdebug-handler.git",
579
- "reference": "4f988f8fdf580d53bdb2d1278fe93d1ed5462255"
579
+ "reference": "6c1925561632e83d60a44492e0b344cf48ab85ef"
580
580
  },
581
581
  "dist": {
582
582
  "type": "zip",
583
- "url": "https://api.github.com/repos/composer/xdebug-handler/zipball/4f988f8fdf580d53bdb2d1278fe93d1ed5462255",
584
- "reference": "4f988f8fdf580d53bdb2d1278fe93d1ed5462255",
583
+ "url": "https://api.github.com/repos/composer/xdebug-handler/zipball/6c1925561632e83d60a44492e0b344cf48ab85ef",
584
+ "reference": "6c1925561632e83d60a44492e0b344cf48ab85ef",
585
585
  "shasum": ""
586
586
  },
587
587
  "require": {
@@ -618,7 +618,7 @@
618
618
  "support": {
619
619
  "irc": "ircs://irc.libera.chat:6697/composer",
620
620
  "issues": "https://github.com/composer/xdebug-handler/issues",
621
- "source": "https://github.com/composer/xdebug-handler/tree/3.0.4"
621
+ "source": "https://github.com/composer/xdebug-handler/tree/3.0.5"
622
622
  },
623
623
  "funding": [
624
624
  {
@@ -634,19 +634,19 @@
634
634
  "type": "tidelift"
635
635
  }
636
636
  ],
637
- "time": "2024-03-26T18:29:49+00:00"
637
+ "time": "2024-05-06T16:37:16+00:00"
638
638
  },
639
639
  {
640
640
  "name": "justinrainbow/json-schema",
641
641
  "version": "v5.2.13",
642
642
  "source": {
643
643
  "type": "git",
644
- "url": "https://github.com/justinrainbow/json-schema.git",
644
+ "url": "https://github.com/jsonrainbow/json-schema.git",
645
645
  "reference": "fbbe7e5d79f618997bc3332a6f49246036c45793"
646
646
  },
647
647
  "dist": {
648
648
  "type": "zip",
649
- "url": "https://api.github.com/repos/justinrainbow/json-schema/zipball/fbbe7e5d79f618997bc3332a6f49246036c45793",
649
+ "url": "https://api.github.com/repos/jsonrainbow/json-schema/zipball/fbbe7e5d79f618997bc3332a6f49246036c45793",
650
650
  "reference": "fbbe7e5d79f618997bc3332a6f49246036c45793",
651
651
  "shasum": ""
652
652
  },
@@ -701,8 +701,8 @@
701
701
  "schema"
702
702
  ],
703
703
  "support": {
704
- "issues": "https://github.com/justinrainbow/json-schema/issues",
705
- "source": "https://github.com/justinrainbow/json-schema/tree/v5.2.13"
704
+ "issues": "https://github.com/jsonrainbow/json-schema/issues",
705
+ "source": "https://github.com/jsonrainbow/json-schema/tree/v5.2.13"
706
706
  },
707
707
  "time": "2023-09-26T02:20:38+00:00"
708
708
  },
@@ -806,16 +806,16 @@
806
806
  },
807
807
  {
808
808
  "name": "react/promise",
809
- "version": "v3.1.0",
809
+ "version": "v3.2.0",
810
810
  "source": {
811
811
  "type": "git",
812
812
  "url": "https://github.com/reactphp/promise.git",
813
- "reference": "e563d55d1641de1dea9f5e84f3cccc66d2bfe02c"
813
+ "reference": "8a164643313c71354582dc850b42b33fa12a4b63"
814
814
  },
815
815
  "dist": {
816
816
  "type": "zip",
817
- "url": "https://api.github.com/repos/reactphp/promise/zipball/e563d55d1641de1dea9f5e84f3cccc66d2bfe02c",
818
- "reference": "e563d55d1641de1dea9f5e84f3cccc66d2bfe02c",
817
+ "url": "https://api.github.com/repos/reactphp/promise/zipball/8a164643313c71354582dc850b42b33fa12a4b63",
818
+ "reference": "8a164643313c71354582dc850b42b33fa12a4b63",
819
819
  "shasum": ""
820
820
  },
821
821
  "require": {
@@ -867,7 +867,7 @@
867
867
  ],
868
868
  "support": {
869
869
  "issues": "https://github.com/reactphp/promise/issues",
870
- "source": "https://github.com/reactphp/promise/tree/v3.1.0"
870
+ "source": "https://github.com/reactphp/promise/tree/v3.2.0"
871
871
  },
872
872
  "funding": [
873
873
  {
@@ -875,7 +875,7 @@
875
875
  "type": "open_collective"
876
876
  }
877
877
  ],
878
- "time": "2023-11-16T16:21:57+00:00"
878
+ "time": "2024-05-24T10:39:05+00:00"
879
879
  },
880
880
  {
881
881
  "name": "seld/jsonlint",
@@ -1052,16 +1052,16 @@
1052
1052
  },
1053
1053
  {
1054
1054
  "name": "symfony/console",
1055
- "version": "v5.4.36",
1055
+ "version": "v5.4.40",
1056
1056
  "source": {
1057
1057
  "type": "git",
1058
1058
  "url": "https://github.com/symfony/console.git",
1059
- "reference": "39f75d9d73d0c11952fdcecf4877b4d0f62a8f6e"
1059
+ "reference": "aa73115c0c24220b523625bfcfa655d7d73662dd"
1060
1060
  },
1061
1061
  "dist": {
1062
1062
  "type": "zip",
1063
- "url": "https://api.github.com/repos/symfony/console/zipball/39f75d9d73d0c11952fdcecf4877b4d0f62a8f6e",
1064
- "reference": "39f75d9d73d0c11952fdcecf4877b4d0f62a8f6e",
1063
+ "url": "https://api.github.com/repos/symfony/console/zipball/aa73115c0c24220b523625bfcfa655d7d73662dd",
1064
+ "reference": "aa73115c0c24220b523625bfcfa655d7d73662dd",
1065
1065
  "shasum": ""
1066
1066
  },
1067
1067
  "require": {
@@ -1131,7 +1131,7 @@
1131
1131
  "terminal"
1132
1132
  ],
1133
1133
  "support": {
1134
- "source": "https://github.com/symfony/console/tree/v5.4.36"
1134
+ "source": "https://github.com/symfony/console/tree/v5.4.40"
1135
1135
  },
1136
1136
  "funding": [
1137
1137
  {
@@ -1147,7 +1147,7 @@
1147
1147
  "type": "tidelift"
1148
1148
  }
1149
1149
  ],
1150
- "time": "2024-02-20T16:33:57+00:00"
1150
+ "time": "2024-05-31T14:33:22+00:00"
1151
1151
  },
1152
1152
  {
1153
1153
  "name": "symfony/deprecation-contracts",
@@ -1218,16 +1218,16 @@
1218
1218
  },
1219
1219
  {
1220
1220
  "name": "symfony/filesystem",
1221
- "version": "v5.4.38",
1221
+ "version": "v5.4.40",
1222
1222
  "source": {
1223
1223
  "type": "git",
1224
1224
  "url": "https://github.com/symfony/filesystem.git",
1225
- "reference": "899330a01056077271e2f614c7b28b0379a671eb"
1225
+ "reference": "26dd9912df6940810ea00f8f53ad48d6a3424995"
1226
1226
  },
1227
1227
  "dist": {
1228
1228
  "type": "zip",
1229
- "url": "https://api.github.com/repos/symfony/filesystem/zipball/899330a01056077271e2f614c7b28b0379a671eb",
1230
- "reference": "899330a01056077271e2f614c7b28b0379a671eb",
1229
+ "url": "https://api.github.com/repos/symfony/filesystem/zipball/26dd9912df6940810ea00f8f53ad48d6a3424995",
1230
+ "reference": "26dd9912df6940810ea00f8f53ad48d6a3424995",
1231
1231
  "shasum": ""
1232
1232
  },
1233
1233
  "require": {
@@ -1236,6 +1236,9 @@
1236
1236
  "symfony/polyfill-mbstring": "~1.8",
1237
1237
  "symfony/polyfill-php80": "^1.16"
1238
1238
  },
1239
+ "require-dev": {
1240
+ "symfony/process": "^5.4|^6.4"
1241
+ },
1239
1242
  "type": "library",
1240
1243
  "autoload": {
1241
1244
  "psr-4": {
@@ -1262,7 +1265,7 @@
1262
1265
  "description": "Provides basic utilities for the filesystem",
1263
1266
  "homepage": "https://symfony.com",
1264
1267
  "support": {
1265
- "source": "https://github.com/symfony/filesystem/tree/v5.4.38"
1268
+ "source": "https://github.com/symfony/filesystem/tree/v5.4.40"
1266
1269
  },
1267
1270
  "funding": [
1268
1271
  {
@@ -1278,20 +1281,20 @@
1278
1281
  "type": "tidelift"
1279
1282
  }
1280
1283
  ],
1281
- "time": "2024-03-21T08:05:07+00:00"
1284
+ "time": "2024-05-31T14:33:22+00:00"
1282
1285
  },
1283
1286
  {
1284
1287
  "name": "symfony/finder",
1285
- "version": "v5.4.35",
1288
+ "version": "v5.4.40",
1286
1289
  "source": {
1287
1290
  "type": "git",
1288
1291
  "url": "https://github.com/symfony/finder.git",
1289
- "reference": "abe6d6f77d9465fed3cd2d029b29d03b56b56435"
1292
+ "reference": "f51cff4687547641c7d8180d74932ab40b2205ce"
1290
1293
  },
1291
1294
  "dist": {
1292
1295
  "type": "zip",
1293
- "url": "https://api.github.com/repos/symfony/finder/zipball/abe6d6f77d9465fed3cd2d029b29d03b56b56435",
1294
- "reference": "abe6d6f77d9465fed3cd2d029b29d03b56b56435",
1296
+ "url": "https://api.github.com/repos/symfony/finder/zipball/f51cff4687547641c7d8180d74932ab40b2205ce",
1297
+ "reference": "f51cff4687547641c7d8180d74932ab40b2205ce",
1295
1298
  "shasum": ""
1296
1299
  },
1297
1300
  "require": {
@@ -1325,7 +1328,7 @@
1325
1328
  "description": "Finds files and directories via an intuitive fluent interface",
1326
1329
  "homepage": "https://symfony.com",
1327
1330
  "support": {
1328
- "source": "https://github.com/symfony/finder/tree/v5.4.35"
1331
+ "source": "https://github.com/symfony/finder/tree/v5.4.40"
1329
1332
  },
1330
1333
  "funding": [
1331
1334
  {
@@ -1341,7 +1344,7 @@
1341
1344
  "type": "tidelift"
1342
1345
  }
1343
1346
  ],
1344
- "time": "2024-01-23T13:51:25+00:00"
1347
+ "time": "2024-05-31T14:33:22+00:00"
1345
1348
  },
1346
1349
  {
1347
1350
  "name": "symfony/polyfill-ctype",
@@ -1895,16 +1898,16 @@
1895
1898
  },
1896
1899
  {
1897
1900
  "name": "symfony/process",
1898
- "version": "v5.4.36",
1901
+ "version": "v5.4.40",
1899
1902
  "source": {
1900
1903
  "type": "git",
1901
1904
  "url": "https://github.com/symfony/process.git",
1902
- "reference": "4fdf34004f149cc20b2f51d7d119aa500caad975"
1905
+ "reference": "deedcb3bb4669cae2148bc920eafd2b16dc7c046"
1903
1906
  },
1904
1907
  "dist": {
1905
1908
  "type": "zip",
1906
- "url": "https://api.github.com/repos/symfony/process/zipball/4fdf34004f149cc20b2f51d7d119aa500caad975",
1907
- "reference": "4fdf34004f149cc20b2f51d7d119aa500caad975",
1909
+ "url": "https://api.github.com/repos/symfony/process/zipball/deedcb3bb4669cae2148bc920eafd2b16dc7c046",
1910
+ "reference": "deedcb3bb4669cae2148bc920eafd2b16dc7c046",
1908
1911
  "shasum": ""
1909
1912
  },
1910
1913
  "require": {
@@ -1937,7 +1940,7 @@
1937
1940
  "description": "Executes commands in sub-processes",
1938
1941
  "homepage": "https://symfony.com",
1939
1942
  "support": {
1940
- "source": "https://github.com/symfony/process/tree/v5.4.36"
1943
+ "source": "https://github.com/symfony/process/tree/v5.4.40"
1941
1944
  },
1942
1945
  "funding": [
1943
1946
  {
@@ -1953,7 +1956,7 @@
1953
1956
  "type": "tidelift"
1954
1957
  }
1955
1958
  ],
1956
- "time": "2024-02-12T15:49:53+00:00"
1959
+ "time": "2024-05-31T14:33:22+00:00"
1957
1960
  },
1958
1961
  {
1959
1962
  "name": "symfony/service-contracts",
@@ -2040,16 +2043,16 @@
2040
2043
  },
2041
2044
  {
2042
2045
  "name": "symfony/string",
2043
- "version": "v5.4.36",
2046
+ "version": "v5.4.40",
2044
2047
  "source": {
2045
2048
  "type": "git",
2046
2049
  "url": "https://github.com/symfony/string.git",
2047
- "reference": "4e232c83622bd8cd32b794216aa29d0d266d353b"
2050
+ "reference": "142877285aa974a6f7685e292ab5ba9aae86b143"
2048
2051
  },
2049
2052
  "dist": {
2050
2053
  "type": "zip",
2051
- "url": "https://api.github.com/repos/symfony/string/zipball/4e232c83622bd8cd32b794216aa29d0d266d353b",
2052
- "reference": "4e232c83622bd8cd32b794216aa29d0d266d353b",
2054
+ "url": "https://api.github.com/repos/symfony/string/zipball/142877285aa974a6f7685e292ab5ba9aae86b143",
2055
+ "reference": "142877285aa974a6f7685e292ab5ba9aae86b143",
2053
2056
  "shasum": ""
2054
2057
  },
2055
2058
  "require": {
@@ -2106,7 +2109,7 @@
2106
2109
  "utf8"
2107
2110
  ],
2108
2111
  "support": {
2109
- "source": "https://github.com/symfony/string/tree/v5.4.36"
2112
+ "source": "https://github.com/symfony/string/tree/v5.4.40"
2110
2113
  },
2111
2114
  "funding": [
2112
2115
  {
@@ -2122,7 +2125,7 @@
2122
2125
  "type": "tidelift"
2123
2126
  }
2124
2127
  ],
2125
- "time": "2024-02-01T08:49:30+00:00"
2128
+ "time": "2024-05-31T14:33:22+00:00"
2126
2129
  }
2127
2130
  ],
2128
2131
  "packages-dev": [
@@ -8,15 +8,13 @@ use Composer\DependencyResolver\Request;
8
8
  use Composer\Factory;
9
9
  use Composer\Filter\PlatformRequirementFilter\PlatformRequirementFilterFactory;
10
10
  use Composer\Installer;
11
- use Composer\Package\Link;
12
11
  use Composer\Package\PackageInterface;
13
- use Composer\Package\Version\VersionParser;
14
12
 
15
13
  final class UpdateChecker
16
14
  {
17
15
  public static function getLatestResolvableVersion(array $args): ?string
18
16
  {
19
- [$workingDirectory, $dependencyName, $gitCredentials, $registryCredentials, $latestAllowableVersion] = $args;
17
+ [$workingDirectory, $dependencyName, $gitCredentials, $registryCredentials] = $args;
20
18
 
21
19
  $httpBasicCredentials = [];
22
20
 
@@ -50,22 +48,10 @@ final class UpdateChecker
50
48
  $io->loadConfiguration($config);
51
49
  }
52
50
 
53
- $package = $composer->getPackage();
54
-
55
- $versionParser = new VersionParser();
56
-
57
- $constraint = $versionParser->parseConstraints($latestAllowableVersion); // your version constraint
58
- $packageLink = new Link($package->getName(), $dependencyName, $constraint);
59
-
60
- $requires = $package->getRequires();
61
- $requires[$dependencyName] = $packageLink;
62
-
63
- $package->setRequires($requires);
64
-
65
51
  $install = new Installer(
66
52
  $io,
67
53
  $config,
68
- $package, // @phpstan-ignore-line
54
+ $composer->getPackage(), // @phpstan-ignore-line
69
55
  $composer->getDownloadManager(),
70
56
  $composer->getRepositoryManager(),
71
57
  $composer->getLocker(),
@@ -48,7 +48,7 @@ module Dependabot
48
48
  end
49
49
 
50
50
  def updated_requirements
51
- return requirements if update_strategy == RequirementsUpdateStrategy::LockfileOnly
51
+ return requirements if update_strategy.lockfile_only?
52
52
  return requirements unless latest_resolvable_version
53
53
 
54
54
  requirements.map { |req| updated_requirement(req) }
@@ -148,8 +148,7 @@ module Dependabot
148
148
  Dir.pwd,
149
149
  dependency.name.downcase,
150
150
  git_credentials,
151
- registry_credentials,
152
- @latest_allowable_version.to_s
151
+ registry_credentials
153
152
  ]
154
153
  )
155
154
  end
@@ -72,7 +72,7 @@ module Dependabot
72
72
  end
73
73
 
74
74
  def requirements_unlocked_or_can_be?
75
- requirements_update_strategy != RequirementsUpdateStrategy::LockfileOnly
75
+ !requirements_update_strategy.lockfile_only?
76
76
  end
77
77
 
78
78
  def requirements_update_strategy
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.262.0
4
+ version: 0.264.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Dependabot
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2024-06-20 00:00:00.000000000 Z
11
+ date: 2024-07-05 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.262.0
19
+ version: 0.264.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.262.0
26
+ version: 0.264.0
27
27
  - !ruby/object:Gem::Dependency
28
28
  name: debug
29
29
  requirement: !ruby/object:Gem::Requirement
@@ -286,7 +286,7 @@ licenses:
286
286
  - MIT
287
287
  metadata:
288
288
  bug_tracker_uri: https://github.com/dependabot/dependabot-core/issues
289
- changelog_uri: https://github.com/dependabot/dependabot-core/releases/tag/v0.262.0
289
+ changelog_uri: https://github.com/dependabot/dependabot-core/releases/tag/v0.264.0
290
290
  post_install_message:
291
291
  rdoc_options: []
292
292
  require_paths: