Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit ab6d159

Browse files
fix(deps): update dependency monolog/monolog to v3
1 parent 7e95853 commit ab6d159

144 files changed

Lines changed: 3801 additions & 3835 deletions

File tree

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

composer.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@
2525
"http-interop/http-factory-guzzle": "^1.0",
2626
"symfony/serializer": "^5.2",
2727
"symfony/property-access": "^5.2",
28-
"monolog/monolog": "^2.2",
28+
"monolog/monolog": "^3.0",
2929
"akeneo/api-php-client-ee": "^6.0",
3030
"tgeorgel/objectpress": "^2.4",
3131
"amphibee/hookable": "1.0.0"

composer.lock

Lines changed: 32 additions & 31 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

vendor/bin/phpcpd

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -112,9 +112,8 @@ if (PHP_VERSION_ID < 80000) {
112112
(function_exists('stream_get_wrappers') && in_array('phpvfscomposer', stream_get_wrappers(), true))
113113
|| (function_exists('stream_wrapper_register') && stream_wrapper_register('phpvfscomposer', 'Composer\BinProxyWrapper'))
114114
) {
115-
include("phpvfscomposer://" . __DIR__ . '/..'.'/sebastian/phpcpd/phpcpd');
116-
exit(0);
115+
return include("phpvfscomposer://" . __DIR__ . '/..'.'/sebastian/phpcpd/phpcpd');
117116
}
118117
}
119118

120-
include __DIR__ . '/..'.'/sebastian/phpcpd/phpcpd';
119+
return include __DIR__ . '/..'.'/sebastian/phpcpd/phpcpd';

vendor/composer/InstalledVersions.php

Lines changed: 19 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,6 +26,12 @@
2626
*/
2727
class InstalledVersions
2828
{
29+
/**
30+
* @var string|null if set (by reflection by Composer), this should be set to the path where this class is being copied to
31+
* @internal
32+
*/
33+
private static $selfDir = null;
34+
2935
/**
3036
* @var mixed[]|null
3137
* @psalm-var array{root: array{name: string, pretty_version: string, version: string, reference: string|null, type: string, install_path: string, aliases: string[], dev: bool}, versions: array<string, array{pretty_version?: string, version?: string, reference?: string|null, type?: string, install_path?: string, aliases?: string[], dev_requirement: bool, replaced?: string[], provided?: string[]}>}|array{}|null
@@ -322,6 +328,18 @@ public static function reload($data)
322328
self::$installedIsLocalDir = false;
323329
}
324330

331+
/**
332+
* @return string
333+
*/
334+
private static function getSelfDir()
335+
{
336+
if (self::$selfDir === null) {
337+
self::$selfDir = strtr(__DIR__, '\\', '/');
338+
}
339+
340+
return self::$selfDir;
341+
}
342+
325343
/**
326344
* @return array[]
327345
* @psalm-return list<array{root: array{name: string, pretty_version: string, version: string, reference: string|null, type: string, install_path: string, aliases: string[], dev: bool}, versions: array<string, array{pretty_version?: string, version?: string, reference?: string|null, type?: string, install_path?: string, aliases?: string[], dev_requirement: bool, replaced?: string[], provided?: string[]}>}>
@@ -336,7 +354,7 @@ private static function getInstalled()
336354
$copiedLocalDir = false;
337355

338356
if (self::$canGetVendors) {
339-
$selfDir = strtr(__DIR__, '\\', '/');
357+
$selfDir = self::getSelfDir();
340358
foreach (ClassLoader::getRegisteredLoaders() as $vendorDir => $loader) {
341359
$vendorDir = strtr($vendorDir, '\\', '/');
342360
if (isset(self::$installedByVendor[$vendorDir])) {

vendor/composer/installed.json

Lines changed: 34 additions & 31 deletions
Original file line numberDiff line numberDiff line change
@@ -112,6 +112,7 @@
112112
"issues": "https://github.com/akeneo/api-php-client-ee/issues",
113113
"source": "https://github.com/akeneo/api-php-client-ee/tree/v6.0.2"
114114
},
115+
"abandoned": "akeneo/api-php-client",
115116
"install-path": "../akeneo/api-php-client-ee"
116117
},
117118
{
@@ -3089,43 +3090,44 @@
30893090
},
30903091
{
30913092
"name": "monolog/monolog",
3092-
"version": "2.x-dev",
3093-
"version_normalized": "2.9999999.9999999.9999999-dev",
3093+
"version": "3.9.0",
3094+
"version_normalized": "3.9.0.0",
30943095
"source": {
30953096
"type": "git",
30963097
"url": "https://github.com/Seldaek/monolog.git",
3097-
"reference": "5cf826f2991858b54d5c3809bee745560a1042a7"
3098+
"reference": "10d85740180ecba7896c87e06a166e0c95a0e3b6"
30983099
},
30993100
"dist": {
31003101
"type": "zip",
3101-
"url": "https://api.github.com/repos/Seldaek/monolog/zipball/5cf826f2991858b54d5c3809bee745560a1042a7",
3102-
"reference": "5cf826f2991858b54d5c3809bee745560a1042a7",
3102+
"url": "https://api.github.com/repos/Seldaek/monolog/zipball/10d85740180ecba7896c87e06a166e0c95a0e3b6",
3103+
"reference": "10d85740180ecba7896c87e06a166e0c95a0e3b6",
31033104
"shasum": ""
31043105
},
31053106
"require": {
3106-
"php": ">=7.2",
3107-
"psr/log": "^1.0.1 || ^2.0 || ^3.0"
3107+
"php": ">=8.1",
3108+
"psr/log": "^2.0 || ^3.0"
31083109
},
31093110
"provide": {
3110-
"psr/log-implementation": "1.0.0 || 2.0.0 || 3.0.0"
3111+
"psr/log-implementation": "3.0.0"
31113112
},
31123113
"require-dev": {
3113-
"aws/aws-sdk-php": "^2.4.9 || ^3.0",
3114+
"aws/aws-sdk-php": "^3.0",
31143115
"doctrine/couchdb": "~1.0@dev",
31153116
"elasticsearch/elasticsearch": "^7 || ^8",
31163117
"ext-json": "*",
3117-
"graylog2/gelf-php": "^1.4.2 || ^2@dev",
3118-
"guzzlehttp/guzzle": "^7.4",
3118+
"graylog2/gelf-php": "^1.4.2 || ^2.0",
3119+
"guzzlehttp/guzzle": "^7.4.5",
31193120
"guzzlehttp/psr7": "^2.2",
31203121
"mongodb/mongodb": "^1.8",
31213122
"php-amqplib/php-amqplib": "~2.4 || ^3",
3122-
"phpspec/prophecy": "^1.15",
3123-
"phpstan/phpstan": "^1.10",
3124-
"phpunit/phpunit": "^8.5.38 || ^9.6.19",
3125-
"predis/predis": "^1.1 || ^2.0",
3126-
"rollbar/rollbar": "^1.3 || ^2 || ^3",
3127-
"ruflin/elastica": "^7",
3128-
"swiftmailer/swiftmailer": "^5.3|^6.0",
3123+
"php-console/php-console": "^3.1.8",
3124+
"phpstan/phpstan": "^2",
3125+
"phpstan/phpstan-deprecation-rules": "^2",
3126+
"phpstan/phpstan-strict-rules": "^2",
3127+
"phpunit/phpunit": "^10.5.17 || ^11.0.7",
3128+
"predis/predis": "^1.1 || ^2",
3129+
"rollbar/rollbar": "^4.0",
3130+
"ruflin/elastica": "^7 || ^8",
31293131
"symfony/mailer": "^5.4 || ^6",
31303132
"symfony/mime": "^5.4 || ^6"
31313133
},
@@ -3145,11 +3147,11 @@
31453147
"rollbar/rollbar": "Allow sending log messages to Rollbar",
31463148
"ruflin/elastica": "Allow sending log messages to an Elastic Search server"
31473149
},
3148-
"time": "2024-11-12T12:43:37+00:00",
3150+
"time": "2025-03-24T10:02:05+00:00",
31493151
"type": "library",
31503152
"extra": {
31513153
"branch-alias": {
3152-
"dev-main": "2.x-dev"
3154+
"dev-main": "3.x-dev"
31533155
}
31543156
},
31553157
"installation-source": "dist",
@@ -3178,7 +3180,7 @@
31783180
],
31793181
"support": {
31803182
"issues": "https://github.com/Seldaek/monolog/issues",
3181-
"source": "https://github.com/Seldaek/monolog/tree/2.x"
3183+
"source": "https://github.com/Seldaek/monolog/tree/3.9.0"
31823184
},
31833185
"funding": [
31843186
{
@@ -4402,33 +4404,33 @@
44024404
},
44034405
{
44044406
"name": "psr/log",
4405-
"version": "1.1.4",
4406-
"version_normalized": "1.1.4.0",
4407+
"version": "2.0.0",
4408+
"version_normalized": "2.0.0.0",
44074409
"source": {
44084410
"type": "git",
44094411
"url": "https://github.com/php-fig/log.git",
4410-
"reference": "d49695b909c3b7628b6289db5479a1c204601f11"
4412+
"reference": "ef29f6d262798707a9edd554e2b82517ef3a9376"
44114413
},
44124414
"dist": {
44134415
"type": "zip",
4414-
"url": "https://api.github.com/repos/php-fig/log/zipball/d49695b909c3b7628b6289db5479a1c204601f11",
4415-
"reference": "d49695b909c3b7628b6289db5479a1c204601f11",
4416+
"url": "https://api.github.com/repos/php-fig/log/zipball/ef29f6d262798707a9edd554e2b82517ef3a9376",
4417+
"reference": "ef29f6d262798707a9edd554e2b82517ef3a9376",
44164418
"shasum": ""
44174419
},
44184420
"require": {
4419-
"php": ">=5.3.0"
4421+
"php": ">=8.0.0"
44204422
},
4421-
"time": "2021-05-03T11:20:27+00:00",
4423+
"time": "2021-07-14T16:41:46+00:00",
44224424
"type": "library",
44234425
"extra": {
44244426
"branch-alias": {
4425-
"dev-master": "1.1.x-dev"
4427+
"dev-master": "2.0.x-dev"
44264428
}
44274429
},
44284430
"installation-source": "dist",
44294431
"autoload": {
44304432
"psr-4": {
4431-
"Psr\\Log\\": "Psr/Log/"
4433+
"Psr\\Log\\": "src"
44324434
}
44334435
},
44344436
"notification-url": "https://packagist.org/downloads/",
@@ -4449,7 +4451,7 @@
44494451
"psr-3"
44504452
],
44514453
"support": {
4452-
"source": "https://github.com/php-fig/log/tree/1.1.4"
4454+
"source": "https://github.com/php-fig/log/tree/2.0.0"
44534455
},
44544456
"install-path": "../psr/log"
44554457
},
@@ -5294,6 +5296,7 @@
52945296
"type": "github"
52955297
}
52965298
],
5299+
"abandoned": true,
52975300
"install-path": "../sebastian/phpcpd"
52985301
},
52995302
{

0 commit comments

Comments
 (0)