Added a lot of PHP packages for the defunct volkszaehler ebuild

This commit is contained in:
Torsten Kurbad
2025-10-09 12:09:31 +02:00
parent cba6641bde
commit 69cb537d3d
417 changed files with 8637 additions and 53 deletions
+16
View File
@@ -0,0 +1,16 @@
<?php
require_once 'Fedora/Autoloader/autoload.php';
\Fedora\Autoloader\Dependencies::required([
__DIR__ . '/../tests/_files/CoveredFunction.php',
__DIR__ . '/../tests/_files/Generator.php',
__DIR__ . '/../tests/_files/NamespaceCoveredFunction.php',
'src/autoload.php',
'tests/unit/autoload.php',
'tests/_files/autoload.php',
'tests/end-to-end/execution-order/_files/autoload.php',
'tests/end-to-end/event/autoload.php',
'tests/end-to-end/regression/autoload.php',
'tests/end-to-end/testdox/autoload.php',
]);
+33
View File
@@ -0,0 +1,33 @@
<?php
require_once 'Fedora/Autoloader/autoload.php';
\Fedora\Autoloader\Autoload::addClassMap(
array(
___CLASSLIST___,
),
__DIR__
);
\Fedora\Autoloader\Dependencies::required([
__DIR__ . '/Framework/Assert/Functions.php',
'/usr/share/php/myclabs/DeepCopy/autoload.php',
'/usr/share/php/PharIo/Manifest/autoload.php',
'/usr/share/php/PharIo/Version/autoload.php',
'/usr/share/php/SebastianBergmann/CliParser/autoload.php',
'/usr/share/php/SebastianBergmann/CodeCoverage/autoload.php',
'/usr/share/php/SebastianBergmann/CodeUnit/autoload.php',
'/usr/share/php/SebastianBergmann/Comparator/autoload.php',
'/usr/share/php/SebastianBergmann/Diff/autoload.php',
'/usr/share/php/SebastianBergmann/Environment/autoload.php',
'/usr/share/php/SebastianBergmann/Exporter/autoload.php',
'/usr/share/php/SebastianBergmann/FileIterator/autoload.php',
'/usr/share/php/SebastianBergmann/GlobalState/autoload.php',
'/usr/share/php/SebastianBergmann/Invoker/autoload.php',
'/usr/share/php/SebastianBergmann/ObjectEnumerator/autoload.php',
'/usr/share/php/SebastianBergmann/Template/autoload.php',
'/usr/share/php/SebastianBergmann/Timer/autoload.php',
'/usr/share/php/SebastianBergmann/Type/autoload.php',
'/usr/share/php/SebastianBergmann/Version/autoload.php',
'/usr/share/php/staabm/SideEffectsDetector/autoload.php',
]);
@@ -0,0 +1,21 @@
--- ../phpunit 2024-08-19 17:53:05.740868439 +0300
+++ ../phpunit 2024-08-19 17:53:48.430024297 +0300
@@ -47,7 +47,7 @@
unset($GLOBALS['_composer_autoload_path']);
} else {
- foreach (array(__DIR__ . '/../../autoload.php', __DIR__ . '/../vendor/autoload.php', __DIR__ . '/vendor/autoload.php') as $file) {
+ foreach (array(__DIR__ . '/../share/php/PHPUnit/autoload.php', __DIR__ . '/../../autoload.php', __DIR__ . '/../vendor/autoload.php', __DIR__ . '/vendor/autoload.php') as $file) {
if (file_exists($file)) {
define('PHPUNIT_COMPOSER_INSTALL', $file);
--- ../src/TextUI/Configuration/Xml/SchemaFinder.php 2024-08-19 18:11:59.438845562 +0300
+++ ../src/TextUI/Configuration/Xml/SchemaFinder.php 2024-08-19 18:12:04.631839725 +0300
@@ -75,6 +75,6 @@
return __PHPUNIT_PHAR_ROOT__ . '/';
}
- return __DIR__ . '/../../../../';
+ return __DIR__ . '/../../../';
}
}
@@ -0,0 +1,29 @@
--- ../tests/unit/Util/ExcludeListTest.php 2024-08-20 00:07:41.698625111 +0300
+++ ../tests/unit/Util/ExcludeListTest.php 2024-08-20 00:08:40.543958145 +0300
@@ -26,7 +26,7 @@
$excludeList = new ExcludeList(true);
$this->assertContains(
- realpath(__DIR__ . '/../../../src'),
+ realpath('/usr/share/php/PHPUnit'),
$excludeList->getExcludedDirectories(),
);
}
@@ -35,7 +35,7 @@
{
$excludeList = new ExcludeList(true);
- $this->assertTrue($excludeList->isExcluded(realpath(__DIR__ . '/../../../src/Framework/TestCase.php')));
+ $this->assertTrue($excludeList->isExcluded(realpath('/usr/share/php/PHPUnit/Framework/TestCase.php')));
$this->assertFalse($excludeList->isExcluded(__FILE__));
}
@@ -43,7 +43,7 @@
{
$excludeList = new ExcludeList(false);
- $this->assertFalse($excludeList->isExcluded(realpath(__DIR__ . '/../../../src/Framework/TestCase.php')));
+ $this->assertFalse($excludeList->isExcluded(realpath('/usr/share/php/PHPUnit/Framework/TestCase.php')));
}
public function testAdditionalDirectoryCanBeExcluded(): void