Replace Util class names with FQCN

This commit is contained in:
Art4 2024-12-23 14:34:57 +00:00
parent 899ac663fc
commit dd4fbc0194

View file

@ -24,7 +24,6 @@
*/ */
use Dice\Dice; use Dice\Dice;
use Friendica\Util;
/** /**
* @param string $basepath The base path of the Friendica installation without trailing slash * @param string $basepath The base path of the Friendica installation without trailing slash
@ -43,7 +42,7 @@ return (function(string $basepath, array $getVars, array $serverVars, array $coo
[Dice::INSTANCE => Dice::SELF], [Dice::INSTANCE => Dice::SELF],
], ],
], ],
Util\BasePath::class => [ \Friendica\Util\BasePath::class => [
'constructParams' => [ 'constructParams' => [
$basepath, $basepath,
$serverVars, $serverVars,
@ -270,7 +269,7 @@ return (function(string $basepath, array $getVars, array $serverVars, array $coo
], ],
\Friendica\Model\Log\ParsedLogIterator::class => [ \Friendica\Model\Log\ParsedLogIterator::class => [
'constructParams' => [ 'constructParams' => [
[Dice::INSTANCE => Util\ReversedFileReader::class], [Dice::INSTANCE => \Friendica\Util\ReversedFileReader::class],
] ]
], ],
\Friendica\Core\Worker\Repository\Process::class => [ \Friendica\Core\Worker\Repository\Process::class => [
@ -284,7 +283,7 @@ return (function(string $basepath, array $getVars, array $serverVars, array $coo
], ],
], ],
\Psr\Clock\ClockInterface::class => [ \Psr\Clock\ClockInterface::class => [
'instanceOf' => Util\Clock\SystemClock::class 'instanceOf' => \Friendica\Util\Clock\SystemClock::class
], ],
\Friendica\Module\Special\HTTPException::class => [ \Friendica\Module\Special\HTTPException::class => [
'constructParams' => [ 'constructParams' => [