Skip to content

Commit

Permalink
chore(autoloader): Dump autoloader
Browse files Browse the repository at this point in the history
Signed-off-by: nextcloud-command <nextcloud-command@users.noreply.github.com>
  • Loading branch information
nextcloud-command committed Sep 26, 2024
1 parent 1eaad5b commit 8553868
Show file tree
Hide file tree
Showing 4 changed files with 19 additions and 14 deletions.
17 changes: 9 additions & 8 deletions composer/installed.json
Original file line number Diff line number Diff line change
Expand Up @@ -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": {
Expand Down
6 changes: 3 additions & 3 deletions composer/installed.php
Original file line number Diff line number Diff line change
Expand Up @@ -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(),
Expand Down
4 changes: 4 additions & 0 deletions laravel/serializable-closure/src/Serializers/Native.php
Original file line number Diff line number Diff line change
Expand Up @@ -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'])) {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down

0 comments on commit 8553868

Please sign in to comment.