mirror of
https://git.friendi.ca/friendica/friendica-addons.git
synced 2024-11-24 13:03:41 +00:00
[monolog] Remove non-compliant PSR4 config
This commit is contained in:
parent
05fed0bd6f
commit
6d2b7459b5
7 changed files with 3 additions and 21 deletions
|
@ -10,11 +10,6 @@
|
||||||
"role": "Developer"
|
"role": "Developer"
|
||||||
}
|
}
|
||||||
],
|
],
|
||||||
"autoload": {
|
|
||||||
"psr-4": {
|
|
||||||
"Friendica\\Addon\\Monolog\\": "src/"
|
|
||||||
}
|
|
||||||
},
|
|
||||||
"require": {
|
"require": {
|
||||||
"php": ">=7.0",
|
"php": ">=7.0",
|
||||||
"monolog/monolog": "^3.2"
|
"monolog/monolog": "^3.2"
|
||||||
|
|
|
@ -8,7 +8,7 @@
|
||||||
|
|
||||||
use Friendica\App;
|
use Friendica\App;
|
||||||
use Friendica\Core\Hook;
|
use Friendica\Core\Hook;
|
||||||
use Friendica\Addon\Monolog\IntrospectionProcessor;
|
use Friendica\Addon\monolog\src\IntrospectionProcessor;
|
||||||
use Friendica\DI;
|
use Friendica\DI;
|
||||||
use Psr\Log\LogLevel;
|
use Psr\Log\LogLevel;
|
||||||
|
|
||||||
|
|
|
@ -19,7 +19,7 @@
|
||||||
*
|
*
|
||||||
*/
|
*/
|
||||||
|
|
||||||
namespace Friendica\Addon\Monolog;
|
namespace Friendica\Addon\monolog\src;
|
||||||
|
|
||||||
use Friendica\App\Request;
|
use Friendica\App\Request;
|
||||||
use Monolog\Handler;
|
use Monolog\Handler;
|
||||||
|
|
|
@ -19,7 +19,7 @@
|
||||||
*
|
*
|
||||||
*/
|
*/
|
||||||
|
|
||||||
namespace Friendica\Addon\Monolog;
|
namespace Friendica\Addon\monolog\src;
|
||||||
|
|
||||||
use Friendica\Core\Logger\Util\Introspection;
|
use Friendica\Core\Logger\Util\Introspection;
|
||||||
use Monolog\Logger;
|
use Monolog\Logger;
|
||||||
|
|
|
@ -6,8 +6,6 @@ $vendorDir = dirname(dirname(__FILE__));
|
||||||
$baseDir = dirname($vendorDir);
|
$baseDir = dirname($vendorDir);
|
||||||
|
|
||||||
return array(
|
return array(
|
||||||
'Friendica\\Addon\\Monolog\\DevelopHandler' => $baseDir . '/src/DevelopHandler.php',
|
|
||||||
'Friendica\\Addon\\Monolog\\IntrospectionProcessor' => $baseDir . '/src/IntrospectionProcessor.php',
|
|
||||||
'Monolog\\Attribute\\AsMonologProcessor' => $vendorDir . '/monolog/monolog/src/Monolog/Attribute/AsMonologProcessor.php',
|
'Monolog\\Attribute\\AsMonologProcessor' => $vendorDir . '/monolog/monolog/src/Monolog/Attribute/AsMonologProcessor.php',
|
||||||
'Monolog\\DateTimeImmutable' => $vendorDir . '/monolog/monolog/src/Monolog/DateTimeImmutable.php',
|
'Monolog\\DateTimeImmutable' => $vendorDir . '/monolog/monolog/src/Monolog/DateTimeImmutable.php',
|
||||||
'Monolog\\ErrorHandler' => $vendorDir . '/monolog/monolog/src/Monolog/ErrorHandler.php',
|
'Monolog\\ErrorHandler' => $vendorDir . '/monolog/monolog/src/Monolog/ErrorHandler.php',
|
||||||
|
|
1
monolog/vendor/composer/autoload_psr4.php
vendored
1
monolog/vendor/composer/autoload_psr4.php
vendored
|
@ -8,5 +8,4 @@ $baseDir = dirname($vendorDir);
|
||||||
return array(
|
return array(
|
||||||
'Psr\\Log\\' => array($vendorDir . '/psr/log/src'),
|
'Psr\\Log\\' => array($vendorDir . '/psr/log/src'),
|
||||||
'Monolog\\' => array($vendorDir . '/monolog/monolog/src/Monolog'),
|
'Monolog\\' => array($vendorDir . '/monolog/monolog/src/Monolog'),
|
||||||
'Friendica\\Addon\\Monolog\\' => array($baseDir . '/src'),
|
|
||||||
);
|
);
|
||||||
|
|
10
monolog/vendor/composer/autoload_static.php
vendored
10
monolog/vendor/composer/autoload_static.php
vendored
|
@ -15,10 +15,6 @@ class ComposerStaticInitMonologAddon
|
||||||
array (
|
array (
|
||||||
'Monolog\\' => 8,
|
'Monolog\\' => 8,
|
||||||
),
|
),
|
||||||
'F' =>
|
|
||||||
array (
|
|
||||||
'Friendica\\Addon\\Monolog\\' => 24,
|
|
||||||
),
|
|
||||||
);
|
);
|
||||||
|
|
||||||
public static $prefixDirsPsr4 = array (
|
public static $prefixDirsPsr4 = array (
|
||||||
|
@ -30,15 +26,9 @@ class ComposerStaticInitMonologAddon
|
||||||
array (
|
array (
|
||||||
0 => __DIR__ . '/..' . '/monolog/monolog/src/Monolog',
|
0 => __DIR__ . '/..' . '/monolog/monolog/src/Monolog',
|
||||||
),
|
),
|
||||||
'Friendica\\Addon\\Monolog\\' =>
|
|
||||||
array (
|
|
||||||
0 => __DIR__ . '/../..' . '/src',
|
|
||||||
),
|
|
||||||
);
|
);
|
||||||
|
|
||||||
public static $classMap = array (
|
public static $classMap = array (
|
||||||
'Friendica\\Addon\\Monolog\\DevelopHandler' => __DIR__ . '/../..' . '/src/DevelopHandler.php',
|
|
||||||
'Friendica\\Addon\\Monolog\\IntrospectionProcessor' => __DIR__ . '/../..' . '/src/IntrospectionProcessor.php',
|
|
||||||
'Monolog\\Attribute\\AsMonologProcessor' => __DIR__ . '/..' . '/monolog/monolog/src/Monolog/Attribute/AsMonologProcessor.php',
|
'Monolog\\Attribute\\AsMonologProcessor' => __DIR__ . '/..' . '/monolog/monolog/src/Monolog/Attribute/AsMonologProcessor.php',
|
||||||
'Monolog\\DateTimeImmutable' => __DIR__ . '/..' . '/monolog/monolog/src/Monolog/DateTimeImmutable.php',
|
'Monolog\\DateTimeImmutable' => __DIR__ . '/..' . '/monolog/monolog/src/Monolog/DateTimeImmutable.php',
|
||||||
'Monolog\\ErrorHandler' => __DIR__ . '/..' . '/monolog/monolog/src/Monolog/ErrorHandler.php',
|
'Monolog\\ErrorHandler' => __DIR__ . '/..' . '/monolog/monolog/src/Monolog/ErrorHandler.php',
|
||||||
|
|
Loading…
Reference in a new issue