From 8553868aca6b69ca57b20f7bb509543a0ba0dd0d Mon Sep 17 00:00:00 2001 From: nextcloud-command Date: Thu, 26 Sep 2024 09:47:00 +0000 Subject: [PATCH] chore(autoloader): Dump autoloader Signed-off-by: nextcloud-command --- composer/installed.json | 17 +++++++++-------- composer/installed.php | 6 +++--- .../src/Serializers/Native.php | 4 ++++ .../src/Support/ReflectionClosure.php | 6 +++--- 4 files changed, 19 insertions(+), 14 deletions(-) diff --git a/composer/installed.json b/composer/installed.json index 5f15c06cb..82b71f0d1 100644 --- a/composer/installed.json +++ b/composer/installed.json @@ -1746,29 +1746,30 @@ }, { "name": "laravel/serializable-closure", - "version": "v1.3.3", - "version_normalized": "1.3.3.0", + "version": "v1.3.5", + "version_normalized": "1.3.5.0", "source": { "type": "git", "url": "https://github.com/laravel/serializable-closure.git", - "reference": "3dbf8a8e914634c48d389c1234552666b3d43754" + "reference": "1dc4a3dbfa2b7628a3114e43e32120cce7cdda9c" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/laravel/serializable-closure/zipball/3dbf8a8e914634c48d389c1234552666b3d43754", - "reference": "3dbf8a8e914634c48d389c1234552666b3d43754", + "url": "https://api.github.com/repos/laravel/serializable-closure/zipball/1dc4a3dbfa2b7628a3114e43e32120cce7cdda9c", + "reference": "1dc4a3dbfa2b7628a3114e43e32120cce7cdda9c", "shasum": "" }, "require": { "php": "^7.3|^8.0" }, "require-dev": { - "nesbot/carbon": "^2.61", + "illuminate/support": "^8.0|^9.0|^10.0|^11.0", + "nesbot/carbon": "^2.61|^3.0", "pestphp/pest": "^1.21.3", "phpstan/phpstan": "^1.8.2", - "symfony/var-dumper": "^5.4.11" + "symfony/var-dumper": "^5.4.11|^6.2.0|^7.0.0" }, - "time": "2023-11-08T14:08:06+00:00", + "time": "2024-09-23T13:33:08+00:00", "type": "library", "extra": { "branch-alias": { diff --git a/composer/installed.php b/composer/installed.php index d47444c37..eb3940b36 100644 --- a/composer/installed.php +++ b/composer/installed.php @@ -218,9 +218,9 @@ 'dev_requirement' => false, ), 'laravel/serializable-closure' => array( - 'pretty_version' => 'v1.3.3', - 'version' => '1.3.3.0', - 'reference' => '3dbf8a8e914634c48d389c1234552666b3d43754', + 'pretty_version' => 'v1.3.5', + 'version' => '1.3.5.0', + 'reference' => '1dc4a3dbfa2b7628a3114e43e32120cce7cdda9c', 'type' => 'library', 'install_path' => __DIR__ . '/../laravel/serializable-closure', 'aliases' => array(), diff --git a/laravel/serializable-closure/src/Serializers/Native.php b/laravel/serializable-closure/src/Serializers/Native.php index 4a04b981e..59a1bc6cc 100644 --- a/laravel/serializable-closure/src/Serializers/Native.php +++ b/laravel/serializable-closure/src/Serializers/Native.php @@ -378,6 +378,10 @@ protected function mapPointers(&$data) continue; } + if (PHP_VERSION >= 8.1 && $property->isReadOnly()) { + continue; + } + $item = $property->getValue($data); if ($item instanceof SerializableClosure || $item instanceof UnsignedSerializableClosure || ($item instanceof SelfReference && $item->hash === $this->code['self'])) { diff --git a/laravel/serializable-closure/src/Support/ReflectionClosure.php b/laravel/serializable-closure/src/Support/ReflectionClosure.php index 054400435..e489996bb 100644 --- a/laravel/serializable-closure/src/Support/ReflectionClosure.php +++ b/laravel/serializable-closure/src/Support/ReflectionClosure.php @@ -1135,10 +1135,10 @@ protected function fetchItems() if (--$open == 0) { if (! $structIgnore) { $structures[] = [ - 'type' => $structType, - 'name' => $structName, + 'type' => $structType, + 'name' => $structName, 'start' => $startLine, - 'end' => $endLine, + 'end' => $endLine, ]; } $structIgnore = false;