Skip to content

Commit b7438c9

Browse files
committed
psr-cache issue
Signed-off-by: Andy Miller <rhuk@mac.com>
1 parent 7682a72 commit b7438c9

File tree

16 files changed

+34
-298
lines changed

16 files changed

+34
-298
lines changed

composer.json

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,9 @@
77
"php": ">=8.1",
88
"phiki/phiki": "^2.0"
99
},
10+
"replace": {
11+
"psr/simple-cache": "*"
12+
},
1013
"autoload": {
1114
"psr-4": {
1215
"Grav\\Plugin\\": "",

vendor/autoload.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,4 +19,4 @@
1919

2020
require_once __DIR__ . '/composer/autoload_real.php';
2121

22-
return ComposerAutoloaderInit81b766219681030a1ba9c1169eaefb32::getLoader();
22+
return ComposerAutoloaderInit90e01fb61f1aca7f9b8ddcbd103d5a2a::getLoader();

vendor/composer/autoload_psr4.php

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,6 @@
77

88
return array(
99
'Symfony\\Polyfill\\Php80\\' => array($vendorDir . '/symfony/polyfill-php80'),
10-
'Psr\\SimpleCache\\' => array($vendorDir . '/psr/simple-cache/src'),
1110
'Psr\\EventDispatcher\\' => array($vendorDir . '/psr/event-dispatcher/src'),
1211
'Phiki\\' => array($vendorDir . '/phiki/phiki/src'),
1312
'Nette\\' => array($vendorDir . '/nette/schema/src', $vendorDir . '/nette/utils/src'),

vendor/composer/autoload_real.php

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22

33
// autoload_real.php @generated by Composer
44

5-
class ComposerAutoloaderInit81b766219681030a1ba9c1169eaefb32
5+
class ComposerAutoloaderInit90e01fb61f1aca7f9b8ddcbd103d5a2a
66
{
77
private static $loader;
88

@@ -24,16 +24,16 @@ public static function getLoader()
2424

2525
require __DIR__ . '/platform_check.php';
2626

27-
spl_autoload_register(array('ComposerAutoloaderInit81b766219681030a1ba9c1169eaefb32', 'loadClassLoader'), true, true);
27+
spl_autoload_register(array('ComposerAutoloaderInit90e01fb61f1aca7f9b8ddcbd103d5a2a', 'loadClassLoader'), true, true);
2828
self::$loader = $loader = new \Composer\Autoload\ClassLoader(\dirname(__DIR__));
29-
spl_autoload_unregister(array('ComposerAutoloaderInit81b766219681030a1ba9c1169eaefb32', 'loadClassLoader'));
29+
spl_autoload_unregister(array('ComposerAutoloaderInit90e01fb61f1aca7f9b8ddcbd103d5a2a', 'loadClassLoader'));
3030

3131
require __DIR__ . '/autoload_static.php';
32-
call_user_func(\Composer\Autoload\ComposerStaticInit81b766219681030a1ba9c1169eaefb32::getInitializer($loader));
32+
call_user_func(\Composer\Autoload\ComposerStaticInit90e01fb61f1aca7f9b8ddcbd103d5a2a::getInitializer($loader));
3333

3434
$loader->register(true);
3535

36-
$filesToLoad = \Composer\Autoload\ComposerStaticInit81b766219681030a1ba9c1169eaefb32::$files;
36+
$filesToLoad = \Composer\Autoload\ComposerStaticInit90e01fb61f1aca7f9b8ddcbd103d5a2a::$files;
3737
$requireFile = \Closure::bind(static function ($fileIdentifier, $file) {
3838
if (empty($GLOBALS['__composer_autoload_files'][$fileIdentifier])) {
3939
$GLOBALS['__composer_autoload_files'][$fileIdentifier] = true;

vendor/composer/autoload_static.php

Lines changed: 4 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44

55
namespace Composer\Autoload;
66

7-
class ComposerStaticInit81b766219681030a1ba9c1169eaefb32
7+
class ComposerStaticInit90e01fb61f1aca7f9b8ddcbd103d5a2a
88
{
99
public static $files = array (
1010
'6e3fae29631ef280660b3cdad06f25a8' => __DIR__ . '/..' . '/symfony/deprecation-contracts/function.php',
@@ -18,7 +18,6 @@ class ComposerStaticInit81b766219681030a1ba9c1169eaefb32
1818
),
1919
'P' =>
2020
array (
21-
'Psr\\SimpleCache\\' => 16,
2221
'Psr\\EventDispatcher\\' => 20,
2322
'Phiki\\' => 6,
2423
),
@@ -47,10 +46,6 @@ class ComposerStaticInit81b766219681030a1ba9c1169eaefb32
4746
array (
4847
0 => __DIR__ . '/..' . '/symfony/polyfill-php80',
4948
),
50-
'Psr\\SimpleCache\\' =>
51-
array (
52-
0 => __DIR__ . '/..' . '/psr/simple-cache/src',
53-
),
5449
'Psr\\EventDispatcher\\' =>
5550
array (
5651
0 => __DIR__ . '/..' . '/psr/event-dispatcher/src',
@@ -160,9 +155,9 @@ class ComposerStaticInit81b766219681030a1ba9c1169eaefb32
160155
public static function getInitializer(ClassLoader $loader)
161156
{
162157
return \Closure::bind(function () use ($loader) {
163-
$loader->prefixLengthsPsr4 = ComposerStaticInit81b766219681030a1ba9c1169eaefb32::$prefixLengthsPsr4;
164-
$loader->prefixDirsPsr4 = ComposerStaticInit81b766219681030a1ba9c1169eaefb32::$prefixDirsPsr4;
165-
$loader->classMap = ComposerStaticInit81b766219681030a1ba9c1169eaefb32::$classMap;
158+
$loader->prefixLengthsPsr4 = ComposerStaticInit90e01fb61f1aca7f9b8ddcbd103d5a2a::$prefixLengthsPsr4;
159+
$loader->prefixDirsPsr4 = ComposerStaticInit90e01fb61f1aca7f9b8ddcbd103d5a2a::$prefixDirsPsr4;
160+
$loader->classMap = ComposerStaticInit90e01fb61f1aca7f9b8ddcbd103d5a2a::$classMap;
166161

167162
}, null, ClassLoader::class);
168163
}

vendor/composer/installed.json

Lines changed: 7 additions & 61 deletions
Original file line numberDiff line numberDiff line change
@@ -343,17 +343,17 @@
343343
},
344344
{
345345
"name": "nette/utils",
346-
"version": "v4.1.0",
347-
"version_normalized": "4.1.0.0",
346+
"version": "v4.1.1",
347+
"version_normalized": "4.1.1.0",
348348
"source": {
349349
"type": "git",
350350
"url": "https://github.com/nette/utils.git",
351-
"reference": "fa1f0b8261ed150447979eb22e373b7b7ad5a8e0"
351+
"reference": "c99059c0315591f1a0db7ad6002000288ab8dc72"
352352
},
353353
"dist": {
354354
"type": "zip",
355-
"url": "https://api.github.com/repos/nette/utils/zipball/fa1f0b8261ed150447979eb22e373b7b7ad5a8e0",
356-
"reference": "fa1f0b8261ed150447979eb22e373b7b7ad5a8e0",
355+
"url": "https://api.github.com/repos/nette/utils/zipball/c99059c0315591f1a0db7ad6002000288ab8dc72",
356+
"reference": "c99059c0315591f1a0db7ad6002000288ab8dc72",
357357
"shasum": ""
358358
},
359359
"require": {
@@ -377,7 +377,7 @@
377377
"ext-mbstring": "to use Strings::lower() etc...",
378378
"ext-tokenizer": "to use Nette\\Utils\\Reflection::getUseStatements()"
379379
},
380-
"time": "2025-12-01T17:49:23+00:00",
380+
"time": "2025-12-22T12:14:32+00:00",
381381
"type": "library",
382382
"extra": {
383383
"branch-alias": {
@@ -429,7 +429,7 @@
429429
],
430430
"support": {
431431
"issues": "https://github.com/nette/utils/issues",
432-
"source": "https://github.com/nette/utils/tree/v4.1.0"
432+
"source": "https://github.com/nette/utils/tree/v4.1.1"
433433
},
434434
"install-path": "../nette/utils"
435435
},
@@ -560,60 +560,6 @@
560560
},
561561
"install-path": "../psr/event-dispatcher"
562562
},
563-
{
564-
"name": "psr/simple-cache",
565-
"version": "3.0.0",
566-
"version_normalized": "3.0.0.0",
567-
"source": {
568-
"type": "git",
569-
"url": "https://github.com/php-fig/simple-cache.git",
570-
"reference": "764e0b3939f5ca87cb904f570ef9be2d78a07865"
571-
},
572-
"dist": {
573-
"type": "zip",
574-
"url": "https://api.github.com/repos/php-fig/simple-cache/zipball/764e0b3939f5ca87cb904f570ef9be2d78a07865",
575-
"reference": "764e0b3939f5ca87cb904f570ef9be2d78a07865",
576-
"shasum": ""
577-
},
578-
"require": {
579-
"php": ">=8.0.0"
580-
},
581-
"time": "2021-10-29T13:26:27+00:00",
582-
"type": "library",
583-
"extra": {
584-
"branch-alias": {
585-
"dev-master": "3.0.x-dev"
586-
}
587-
},
588-
"installation-source": "dist",
589-
"autoload": {
590-
"psr-4": {
591-
"Psr\\SimpleCache\\": "src/"
592-
}
593-
},
594-
"notification-url": "https://packagist.org/downloads/",
595-
"license": [
596-
"MIT"
597-
],
598-
"authors": [
599-
{
600-
"name": "PHP-FIG",
601-
"homepage": "https://www.php-fig.org/"
602-
}
603-
],
604-
"description": "Common interfaces for simple caching",
605-
"keywords": [
606-
"cache",
607-
"caching",
608-
"psr",
609-
"psr-16",
610-
"simple-cache"
611-
],
612-
"support": {
613-
"source": "https://github.com/php-fig/simple-cache/tree/3.0.0"
614-
},
615-
"install-path": "../psr/simple-cache"
616-
},
617563
{
618564
"name": "symfony/deprecation-contracts",
619565
"version": "v3.6.0",

vendor/composer/installed.php

Lines changed: 12 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,9 @@
11
<?php return array(
22
'root' => array(
33
'name' => 'getgrav/codesh',
4-
'pretty_version' => 'dev-main',
5-
'version' => 'dev-main',
6-
'reference' => '4592e339bc8486e8deff76cefc36459ab11bcf10',
4+
'pretty_version' => 'dev-develop',
5+
'version' => 'dev-develop',
6+
'reference' => '7682a72c65e684f56dce6a0c6901cf16be7afe09',
77
'type' => 'grav-plugin',
88
'install_path' => __DIR__ . '/../../',
99
'aliases' => array(),
@@ -20,9 +20,9 @@
2020
'dev_requirement' => false,
2121
),
2222
'getgrav/codesh' => array(
23-
'pretty_version' => 'dev-main',
24-
'version' => 'dev-main',
25-
'reference' => '4592e339bc8486e8deff76cefc36459ab11bcf10',
23+
'pretty_version' => 'dev-develop',
24+
'version' => 'dev-develop',
25+
'reference' => '7682a72c65e684f56dce6a0c6901cf16be7afe09',
2626
'type' => 'grav-plugin',
2727
'install_path' => __DIR__ . '/../../',
2828
'aliases' => array(),
@@ -56,9 +56,9 @@
5656
'dev_requirement' => false,
5757
),
5858
'nette/utils' => array(
59-
'pretty_version' => 'v4.1.0',
60-
'version' => '4.1.0.0',
61-
'reference' => 'fa1f0b8261ed150447979eb22e373b7b7ad5a8e0',
59+
'pretty_version' => 'v4.1.1',
60+
'version' => '4.1.1.0',
61+
'reference' => 'c99059c0315591f1a0db7ad6002000288ab8dc72',
6262
'type' => 'library',
6363
'install_path' => __DIR__ . '/../nette/utils',
6464
'aliases' => array(),
@@ -83,13 +83,10 @@
8383
'dev_requirement' => false,
8484
),
8585
'psr/simple-cache' => array(
86-
'pretty_version' => '3.0.0',
87-
'version' => '3.0.0.0',
88-
'reference' => '764e0b3939f5ca87cb904f570ef9be2d78a07865',
89-
'type' => 'library',
90-
'install_path' => __DIR__ . '/../psr/simple-cache',
91-
'aliases' => array(),
9286
'dev_requirement' => false,
87+
'replaced' => array(
88+
0 => '*',
89+
),
9390
),
9491
'symfony/deprecation-contracts' => array(
9592
'pretty_version' => 'v3.6.0',

vendor/nette/utils/src/Utils/ArrayHash.php

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -79,8 +79,7 @@ public function offsetSet($key, $value): void
7979
* @param array-key $key
8080
* @return T
8181
*/
82-
#[\ReturnTypeWillChange]
83-
public function offsetGet($key)
82+
public function offsetGet($key): mixed
8483
{
8584
return $this->$key;
8685
}

vendor/nette/utils/src/Utils/Html.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -582,7 +582,7 @@ final public function addHtml(HtmlStringable|string $child): static
582582
/**
583583
* Appends plain-text string to element content.
584584
*/
585-
public function addText(\Stringable|string $text): static
585+
public function addText(\Stringable|string|int|null $text): static
586586
{
587587
if (!$text instanceof HtmlStringable) {
588588
$text = htmlspecialchars((string) $text, ENT_NOQUOTES, 'UTF-8');

vendor/psr/simple-cache/.editorconfig

Lines changed: 0 additions & 12 deletions
This file was deleted.

0 commit comments

Comments
 (0)