Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

Commit 5993128

Browse filesBrowse files
committed
Require Composer's runtime API to be present
Signed-off-by: Alexander M. Turek <me@derrabus.de>
1 parent 71454a8 commit 5993128
Copy full SHA for 5993128

File tree

4 files changed

+4
-2
lines changed
Filter options

4 files changed

+4
-2
lines changed

‎composer.json

Copy file name to clipboardExpand all lines: composer.json
+1Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -33,6 +33,7 @@
3333
},
3434
"require": {
3535
"php": ">=8.0.2",
36+
"composer-runtime-api": ">=2.1",
3637
"ext-xml": "*",
3738
"friendsofphp/proxy-manager-lts": "^1.0.2",
3839
"doctrine/event-manager": "~1.0",

‎src/Symfony/Component/DependencyInjection/ContainerBuilder.php

Copy file name to clipboardExpand all lines: src/Symfony/Component/DependencyInjection/ContainerBuilder.php
+1-1Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1416,7 +1416,7 @@ final public static function willBeAvailable(string $package, string $class, arr
14161416
return false;
14171417
}
14181418

1419-
if (!class_exists(InstalledVersions::class) || !InstalledVersions::isInstalled($package) || InstalledVersions::isInstalled($package, false)) {
1419+
if (!InstalledVersions::isInstalled($package) || InstalledVersions::isInstalled($package, false)) {
14201420
return true;
14211421
}
14221422

‎src/Symfony/Component/DependencyInjection/composer.json

Copy file name to clipboardExpand all lines: src/Symfony/Component/DependencyInjection/composer.json
+1Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -17,6 +17,7 @@
1717
],
1818
"require": {
1919
"php": ">=8.0.2",
20+
"composer-runtime-api": ">=2.1",
2021
"psr/container": "^1.1|^2.0",
2122
"symfony/deprecation-contracts": "^2.1|^3.0",
2223
"symfony/service-contracts": "^1.1.6|^2.0|^3.0"

‎src/Symfony/Component/ErrorHandler/composer.json

Copy file name to clipboardExpand all lines: src/Symfony/Component/ErrorHandler/composer.json
+1-1Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@
1616
}
1717
],
1818
"require": {
19-
"php": ">=8.0.2",
19+
"composer-runtime-api": ">=2",
2020
"psr/log": "^1|^2|^3",
2121
"symfony/var-dumper": "^5.4|^6.0"
2222
},

0 commit comments

Comments
0 (0)
Morty Proxy This is a proxified and sanitized view of the page, visit original site.