Added a lot of PHP packages for the defunct volkszaehler ebuild
This commit is contained in:
@@ -0,0 +1,11 @@
|
||||
--- composer-2.5.1a/src/bootstrap.php 2022-12-22 15:33:54.000000000 +0100
|
||||
+++ composer-2.5.1/src/bootstrap.php 2023-02-19 23:15:40.433041600 +0100
|
||||
@@ -12,7 +12,7 @@
|
||||
|
||||
use Composer\Autoload\ClassLoader;
|
||||
|
||||
-function includeIfExists(string $file): ?ClassLoader
|
||||
+function includeIfExists(string $file)
|
||||
{
|
||||
return file_exists($file) ? include $file : null;
|
||||
}
|
||||
@@ -0,0 +1,12 @@
|
||||
<?php
|
||||
// @codingStandardsIgnoreFile
|
||||
// @codeCoverageIgnoreStart
|
||||
require_once 'Fedora/Autoloader'.'/autoload.php';
|
||||
|
||||
\Fedora\Autoloader\Autoload::addClassMap(
|
||||
array(
|
||||
___CLASSLIST___,
|
||||
),
|
||||
__DIR__ . '/../src'
|
||||
);
|
||||
// @codeCoverageIgnoreEnd
|
||||
@@ -0,0 +1,12 @@
|
||||
diff --color -ru composer-2.7.4.orig/src/Composer/Command/DiagnoseCommand.php composer-2.7.4/src/Composer/Command/DiagnoseCommand.php
|
||||
--- composer-2.7.4.orig/src/Composer/Command/DiagnoseCommand.php 2024-04-22 21:17:03.000000000 +0200
|
||||
+++ composer-2.7.4/src/Composer/Command/DiagnoseCommand.php 2024-04-25 09:31:04.167503572 +0200
|
||||
@@ -490,7 +490,7 @@
|
||||
$repoSet = new RepositorySet();
|
||||
$installedJson = new JsonFile(__DIR__ . '/../../../vendor/composer/installed.json');
|
||||
if (!$installedJson->exists()) {
|
||||
- return '<warning>Could not find Composer\'s installed.json, this must be a non-standard Composer installation.</>';
|
||||
+ return '<warning></><comment>Composer and dependencies are managed with Portage. Checking Composer\'s vulnerabilities from composer is not supported. Please make sure to install the latest version or report missing updates to https://github.com/gentoo-php-overlay/php-overlay</>';
|
||||
}
|
||||
|
||||
$localRepo = new FilesystemRepository($installedJson);
|
||||
Reference in New Issue
Block a user