Changeset 3153225
- Timestamp:
- 09/17/2024 10:52:08 AM (19 months ago)
- Location:
- kolorweb-log-manager/trunk
- Files:
-
- 4 added
- 59 deleted
- 29 edited
-
assets/css/main.1.1.4.min.css (added)
-
assets/css/main.min.css (deleted)
-
assets/js/main.1.1.4.min.js (added)
-
assets/js/main.min.js (deleted)
-
assets/js/react-framework.min.js (added)
-
kw-log-manager.php (modified) (2 diffs)
-
libs/class-plugin.php (modified) (1 diff)
-
readme.txt (modified) (2 diffs)
-
vendor/autoload.php (modified) (1 diff)
-
vendor/composer/ClassLoader.php (modified) (26 diffs)
-
vendor/composer/InstalledVersions.php (modified) (10 diffs)
-
vendor/composer/LICENSE (deleted)
-
vendor/composer/autoload_classmap.php (modified) (1 diff)
-
vendor/composer/autoload_files.php (modified) (1 diff)
-
vendor/composer/autoload_namespaces.php (modified) (1 diff)
-
vendor/composer/autoload_psr4.php (modified) (1 diff)
-
vendor/composer/autoload_real.php (modified) (3 diffs)
-
vendor/composer/autoload_static.php (modified) (2 diffs)
-
vendor/composer/installed.json (modified) (16 diffs)
-
vendor/composer/installed.php (modified) (16 diffs)
-
vendor/doctrine/instantiator/.doctrine-project.json (deleted)
-
vendor/doctrine/instantiator/LICENSE (deleted)
-
vendor/doctrine/instantiator/README.md (modified) (1 diff)
-
vendor/doctrine/instantiator/composer.json (modified) (1 diff)
-
vendor/doctrine/instantiator/phpmd.xml.dist (deleted)
-
vendor/doctrine/instantiator/phpunit.xml.dist (deleted)
-
vendor/doctrine/instantiator/psalm.xml (modified) (1 diff)
-
vendor/doctrine/instantiator/src/Doctrine/Instantiator/Instantiator.php (modified) (2 diffs)
-
vendor/doctrine/instantiator/tests (deleted)
-
vendor/phpdocumentor/reflection-docblock/.gitignore (deleted)
-
vendor/phpdocumentor/reflection-docblock/.travis.yml (deleted)
-
vendor/phpdocumentor/reflection-docblock/LICENSE (deleted)
-
vendor/phpspec/php-diff/README (deleted)
-
vendor/phpspec/php-diff/lib/Diff/Renderer/Html/Array.php (modified) (10 diffs)
-
vendor/phpspec/phpspec/.gitattributes (deleted)
-
vendor/phpspec/phpspec/.gitignore (deleted)
-
vendor/phpspec/phpspec/.scrutinizer.yml (deleted)
-
vendor/phpspec/phpspec/.travis.yml (deleted)
-
vendor/phpspec/phpspec/LICENSE (deleted)
-
vendor/phpspec/phpspec/Makefile (deleted)
-
vendor/phpspec/phpspec/bin (deleted)
-
vendor/phpspec/prophecy/.gitignore (deleted)
-
vendor/phpspec/prophecy/.travis.yml (deleted)
-
vendor/phpspec/prophecy/LICENSE (deleted)
-
vendor/psr/log/LICENSE (deleted)
-
vendor/sebastian/comparator/.gitignore (deleted)
-
vendor/sebastian/comparator/.travis.yml (deleted)
-
vendor/sebastian/comparator/LICENSE (deleted)
-
vendor/sebastian/diff/.gitignore (deleted)
-
vendor/sebastian/diff/.php_cs (deleted)
-
vendor/sebastian/diff/.travis.yml (deleted)
-
vendor/sebastian/diff/LICENSE (deleted)
-
vendor/sebastian/exporter/.gitignore (deleted)
-
vendor/sebastian/exporter/.travis.yml (deleted)
-
vendor/sebastian/exporter/LICENSE (deleted)
-
vendor/sebastian/recursion-context/.gitignore (deleted)
-
vendor/sebastian/recursion-context/.travis.yml (deleted)
-
vendor/sebastian/recursion-context/LICENSE (deleted)
-
vendor/symfony/console/.gitignore (deleted)
-
vendor/symfony/console/LICENSE (deleted)
-
vendor/symfony/console/Symfony (deleted)
-
vendor/symfony/debug/.gitignore (deleted)
-
vendor/symfony/debug/LICENSE (deleted)
-
vendor/symfony/event-dispatcher/.gitignore (deleted)
-
vendor/symfony/event-dispatcher/LICENSE (deleted)
-
vendor/symfony/event-dispatcher/Symfony (deleted)
-
vendor/symfony/finder/.gitignore (deleted)
-
vendor/symfony/finder/LICENSE (deleted)
-
vendor/symfony/finder/Symfony (deleted)
-
vendor/symfony/finder/Tests/Fixtures/one/a (deleted)
-
vendor/symfony/polyfill-ctype/LICENSE (deleted)
-
vendor/symfony/polyfill-ctype/README.md (modified) (1 diff)
-
vendor/symfony/polyfill-ctype/composer.json (modified) (2 diffs)
-
vendor/symfony/polyfill-mbstring/LICENSE (deleted)
-
vendor/symfony/polyfill-mbstring/Mbstring.php (modified) (33 diffs)
-
vendor/symfony/polyfill-mbstring/README.md (modified) (1 diff)
-
vendor/symfony/polyfill-mbstring/Resources/unidata/caseFolding.php (added)
-
vendor/symfony/polyfill-mbstring/bootstrap.php (modified) (1 diff)
-
vendor/symfony/polyfill-mbstring/bootstrap80.php (modified) (2 diffs)
-
vendor/symfony/polyfill-mbstring/composer.json (modified) (2 diffs)
-
vendor/symfony/process/.gitignore (deleted)
-
vendor/symfony/process/LICENSE (deleted)
-
vendor/symfony/process/Symfony (deleted)
-
vendor/symfony/yaml/.gitignore (deleted)
-
vendor/symfony/yaml/LICENSE (deleted)
-
vendor/symfony/yaml/Symfony (deleted)
-
vendor/wp-cli/wp-config-transformer/.actrc (deleted)
-
vendor/wp-cli/wp-config-transformer/.editorconfig (deleted)
-
vendor/wp-cli/wp-config-transformer/LICENSE (deleted)
-
vendor/wp-cli/wp-config-transformer/README.md (modified) (1 diff)
-
vendor/wp-cli/wp-config-transformer/composer.json (modified) (3 diffs)
-
vendor/wp-cli/wp-config-transformer/src/WPConfigTransformer.php (modified) (3 diffs)
Legend:
- Unmodified
- Added
- Removed
-
kolorweb-log-manager/trunk/kw-log-manager.php
r2733580 r3153225 4 4 * Plugin URI: https://github.com/vincenzocasu/kwlogmanager 5 5 * Description: WordPress Debug log Manager 6 * Version: 1.1. 36 * Version: 1.1.4 7 7 * Author: Vincenzo Casu 8 8 * Author URI: https://kolorweb.it … … 39 39 * Define Constants. 40 40 */ 41 define( 'KWLOGMANAGER_VERSION', '1.1. 3' );41 define( 'KWLOGMANAGER_VERSION', '1.1.4' ); 42 42 define( 'KWLOGMANAGER_BASE', dirname( __FILE__ ) . '/' ); 43 43 define( 'KWLOGMANAGER_URL', plugin_dir_url( __FILE__ ) ); -
kolorweb-log-manager/trunk/libs/class-plugin.php
r2732944 r3153225 154 154 155 155 // Javascript files. 156 wp_enqueue_script( 'kwlogmanager-js', KWLOGMANAGER_URL . 'assets/js/main.' . KWLOGMANAGER_VERSION . '.min.js', false, KWLOGMANAGER_VERSION, true ); 156 wp_enqueue_script( 'kwlogmanager-react-js', KWLOGMANAGER_URL . 'assets/js/react-framework.min.js', false, KWLOGMANAGER_VERSION, true ); 157 158 wp_enqueue_script( 'kwlogmanager-js', KWLOGMANAGER_URL . 'assets/js/main.' . KWLOGMANAGER_VERSION . '.min.js', array( 'kwlogmanager-react-js' ), KWLOGMANAGER_VERSION, true ); 157 159 158 160 // Localize variables. 159 161 wp_localize_script( 'kwlogmanager-js', 'KWLOGMANAGER', $localized ); 160 161 162 } 162 163 } -
kolorweb-log-manager/trunk/readme.txt
r3137459 r3153225 5 5 Tags: debug, wp_debug, error log, log, debug tool, debugger, debugging, error, development, display errors, error logging, free debugging, plugin testing, react, react plugin, search log, sort errors, sort log, test, testing, widget error, wordpress error log, wp error, wp error log, wp log viewer 6 6 Requires at least: 3.9 7 Tested up to: 6.6. 18 Stable tag: 1.1. 37 Tested up to: 6.6.2 8 Stable tag: 1.1.4 9 9 10 10 Really one click enable/disable debugging, clear debug.log, search, sort, and filter errors. See new errors automatically without refreshing. … … 224 224 225 225 All notable changes will be tracked in this change log. 226 227 = 1.1.4 = 228 229 * Dependency Update 230 * Fix: Load React only if not loaded by other plugins. This fixes some loading issues with plugins that load React unconditionally such as Yoast SEO. 231 232 = 1.1.3 = 233 234 * Dependencies Update 235 226 236 = 1.1.2 = 227 237 Release date: 2022-05-27 -
kolorweb-log-manager/trunk/vendor/autoload.php
r2692326 r3153225 3 3 // autoload.php @generated by Composer 4 4 5 if (PHP_VERSION_ID < 50600) { 6 if (!headers_sent()) { 7 header('HTTP/1.1 500 Internal Server Error'); 8 } 9 $err = 'Composer 2.3.0 dropped support for autoloading on PHP <5.6 and you are running '.PHP_VERSION.', please upgrade PHP or use Composer 2.2 LTS via "composer self-update --2.2". Aborting.'.PHP_EOL; 10 if (!ini_get('display_errors')) { 11 if (PHP_SAPI === 'cli' || PHP_SAPI === 'phpdbg') { 12 fwrite(STDERR, $err); 13 } elseif (!headers_sent()) { 14 echo $err; 15 } 16 } 17 trigger_error( 18 $err, 19 E_USER_ERROR 20 ); 21 } 22 5 23 require_once __DIR__ . '/composer/autoload_real.php'; 6 24 7 return ComposerAutoloaderInit 8b8a6de80977d49a318e9afdafdd8cf9::getLoader();25 return ComposerAutoloaderInitf6fdf756dd7c3794f45d2b04c02df09d::getLoader(); -
kolorweb-log-manager/trunk/vendor/composer/ClassLoader.php
r2692326 r3153225 43 43 class ClassLoader 44 44 { 45 /** @var \Closure(string):void */ 46 private static $includeFile; 47 48 /** @var string|null */ 45 49 private $vendorDir; 46 50 47 51 // PSR-4 52 /** 53 * @var array<string, array<string, int>> 54 */ 48 55 private $prefixLengthsPsr4 = array(); 56 /** 57 * @var array<string, list<string>> 58 */ 49 59 private $prefixDirsPsr4 = array(); 60 /** 61 * @var list<string> 62 */ 50 63 private $fallbackDirsPsr4 = array(); 51 64 52 65 // PSR-0 66 /** 67 * List of PSR-0 prefixes 68 * 69 * Structured as array('F (first letter)' => array('Foo\Bar (full prefix)' => array('path', 'path2'))) 70 * 71 * @var array<string, array<string, list<string>>> 72 */ 53 73 private $prefixesPsr0 = array(); 74 /** 75 * @var list<string> 76 */ 54 77 private $fallbackDirsPsr0 = array(); 55 78 79 /** @var bool */ 56 80 private $useIncludePath = false; 81 82 /** 83 * @var array<string, string> 84 */ 57 85 private $classMap = array(); 86 87 /** @var bool */ 58 88 private $classMapAuthoritative = false; 89 90 /** 91 * @var array<string, bool> 92 */ 59 93 private $missingClasses = array(); 94 95 /** @var string|null */ 60 96 private $apcuPrefix; 61 97 98 /** 99 * @var array<string, self> 100 */ 62 101 private static $registeredLoaders = array(); 63 102 103 /** 104 * @param string|null $vendorDir 105 */ 64 106 public function __construct($vendorDir = null) 65 107 { 66 108 $this->vendorDir = $vendorDir; 67 } 68 109 self::initializeIncludeClosure(); 110 } 111 112 /** 113 * @return array<string, list<string>> 114 */ 69 115 public function getPrefixes() 70 116 { … … 76 122 } 77 123 124 /** 125 * @return array<string, list<string>> 126 */ 78 127 public function getPrefixesPsr4() 79 128 { … … 81 130 } 82 131 132 /** 133 * @return list<string> 134 */ 83 135 public function getFallbackDirs() 84 136 { … … 86 138 } 87 139 140 /** 141 * @return list<string> 142 */ 88 143 public function getFallbackDirsPsr4() 89 144 { … … 91 146 } 92 147 148 /** 149 * @return array<string, string> Array of classname => path 150 */ 93 151 public function getClassMap() 94 152 { … … 97 155 98 156 /** 99 * @param array $classMap Class to filename map 157 * @param array<string, string> $classMap Class to filename map 158 * 159 * @return void 100 160 */ 101 161 public function addClassMap(array $classMap) … … 112 172 * appending or prepending to the ones previously set for this prefix. 113 173 * 114 * @param string $prefix The prefix 115 * @param array|string $paths The PSR-0 root directories 116 * @param bool $prepend Whether to prepend the directories 174 * @param string $prefix The prefix 175 * @param list<string>|string $paths The PSR-0 root directories 176 * @param bool $prepend Whether to prepend the directories 177 * 178 * @return void 117 179 */ 118 180 public function add($prefix, $paths, $prepend = false) 119 181 { 182 $paths = (array) $paths; 120 183 if (!$prefix) { 121 184 if ($prepend) { 122 185 $this->fallbackDirsPsr0 = array_merge( 123 (array)$paths,186 $paths, 124 187 $this->fallbackDirsPsr0 125 188 ); … … 127 190 $this->fallbackDirsPsr0 = array_merge( 128 191 $this->fallbackDirsPsr0, 129 (array)$paths192 $paths 130 193 ); 131 194 } … … 136 199 $first = $prefix[0]; 137 200 if (!isset($this->prefixesPsr0[$first][$prefix])) { 138 $this->prefixesPsr0[$first][$prefix] = (array)$paths;201 $this->prefixesPsr0[$first][$prefix] = $paths; 139 202 140 203 return; … … 142 205 if ($prepend) { 143 206 $this->prefixesPsr0[$first][$prefix] = array_merge( 144 (array)$paths,207 $paths, 145 208 $this->prefixesPsr0[$first][$prefix] 146 209 ); … … 148 211 $this->prefixesPsr0[$first][$prefix] = array_merge( 149 212 $this->prefixesPsr0[$first][$prefix], 150 (array)$paths213 $paths 151 214 ); 152 215 } … … 157 220 * appending or prepending to the ones previously set for this namespace. 158 221 * 159 * @param string $prefix The prefix/namespace, with trailing '\\'160 * @param array|string $paths The PSR-4 base directories161 * @param bool $prepend Whether to prepend the directories222 * @param string $prefix The prefix/namespace, with trailing '\\' 223 * @param list<string>|string $paths The PSR-4 base directories 224 * @param bool $prepend Whether to prepend the directories 162 225 * 163 226 * @throws \InvalidArgumentException 227 * 228 * @return void 164 229 */ 165 230 public function addPsr4($prefix, $paths, $prepend = false) 166 231 { 232 $paths = (array) $paths; 167 233 if (!$prefix) { 168 234 // Register directories for the root namespace. 169 235 if ($prepend) { 170 236 $this->fallbackDirsPsr4 = array_merge( 171 (array)$paths,237 $paths, 172 238 $this->fallbackDirsPsr4 173 239 ); … … 175 241 $this->fallbackDirsPsr4 = array_merge( 176 242 $this->fallbackDirsPsr4, 177 (array)$paths243 $paths 178 244 ); 179 245 } … … 185 251 } 186 252 $this->prefixLengthsPsr4[$prefix[0]][$prefix] = $length; 187 $this->prefixDirsPsr4[$prefix] = (array)$paths;253 $this->prefixDirsPsr4[$prefix] = $paths; 188 254 } elseif ($prepend) { 189 255 // Prepend directories for an already registered namespace. 190 256 $this->prefixDirsPsr4[$prefix] = array_merge( 191 (array)$paths,257 $paths, 192 258 $this->prefixDirsPsr4[$prefix] 193 259 ); … … 196 262 $this->prefixDirsPsr4[$prefix] = array_merge( 197 263 $this->prefixDirsPsr4[$prefix], 198 (array)$paths264 $paths 199 265 ); 200 266 } … … 205 271 * replacing any others previously set for this prefix. 206 272 * 207 * @param string $prefix The prefix 208 * @param array|string $paths The PSR-0 base directories 273 * @param string $prefix The prefix 274 * @param list<string>|string $paths The PSR-0 base directories 275 * 276 * @return void 209 277 */ 210 278 public function set($prefix, $paths) … … 221 289 * replacing any others previously set for this namespace. 222 290 * 223 * @param string $prefix The prefix/namespace, with trailing '\\'224 * @param array|string $paths The PSR-4 base directories291 * @param string $prefix The prefix/namespace, with trailing '\\' 292 * @param list<string>|string $paths The PSR-4 base directories 225 293 * 226 294 * @throws \InvalidArgumentException 295 * 296 * @return void 227 297 */ 228 298 public function setPsr4($prefix, $paths) … … 244 314 * 245 315 * @param bool $useIncludePath 316 * 317 * @return void 246 318 */ 247 319 public function setUseIncludePath($useIncludePath) … … 266 338 * 267 339 * @param bool $classMapAuthoritative 340 * 341 * @return void 268 342 */ 269 343 public function setClassMapAuthoritative($classMapAuthoritative) … … 286 360 * 287 361 * @param string|null $apcuPrefix 362 * 363 * @return void 288 364 */ 289 365 public function setApcuPrefix($apcuPrefix) … … 306 382 * 307 383 * @param bool $prepend Whether to prepend the autoloader or not 384 * 385 * @return void 308 386 */ 309 387 public function register($prepend = false) … … 325 403 /** 326 404 * Unregisters this instance as an autoloader. 405 * 406 * @return void 327 407 */ 328 408 public function unregister() … … 344 424 { 345 425 if ($file = $this->findFile($class)) { 346 includeFile($file); 426 $includeFile = self::$includeFile; 427 $includeFile($file); 347 428 348 429 return true; … … 395 476 396 477 /** 397 * Returns the currently registered loaders indexed by their corresponding vendor directories.398 * 399 * @return self[]478 * Returns the currently registered loaders keyed by their corresponding vendor directories. 479 * 480 * @return array<string, self> 400 481 */ 401 482 public static function getRegisteredLoaders() … … 404 485 } 405 486 487 /** 488 * @param string $class 489 * @param string $ext 490 * @return string|false 491 */ 406 492 private function findFileWithExtension($class, $ext) 407 493 { … … 469 555 return false; 470 556 } 557 558 /** 559 * @return void 560 */ 561 private static function initializeIncludeClosure() 562 { 563 if (self::$includeFile !== null) { 564 return; 565 } 566 567 /** 568 * Scope isolated include. 569 * 570 * Prevents access to $this/self from included files. 571 * 572 * @param string $file 573 * @return void 574 */ 575 self::$includeFile = \Closure::bind(static function($file) { 576 include $file; 577 }, null, null); 578 } 471 579 } 472 473 /**474 * Scope isolated include.475 *476 * Prevents access to $this/self from included files.477 */478 function includeFile($file)479 {480 include $file;481 } -
kolorweb-log-manager/trunk/vendor/composer/InstalledVersions.php
r2732944 r3153225 21 21 * See also https://getcomposer.org/doc/07-runtime.md#installed-versions 22 22 * 23 * To require it's presence, you can require `composer-runtime-api ^2.0` 23 * To require its presence, you can require `composer-runtime-api ^2.0` 24 * 25 * @final 24 26 */ 25 27 class InstalledVersions 26 28 { 29 /** 30 * @var mixed[]|null 31 * @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 32 */ 27 33 private static $installed; 34 35 /** 36 * @var bool|null 37 */ 28 38 private static $canGetVendors; 39 40 /** 41 * @var array[] 42 * @psalm-var array<string, 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[]}>}> 43 */ 29 44 private static $installedByVendor = array(); 30 45 … … 84 99 foreach (self::getInstalled() as $installed) { 85 100 if (isset($installed['versions'][$packageName])) { 86 return $includeDevRequirements || empty($installed['versions'][$packageName]['dev_requirement']);101 return $includeDevRequirements || !isset($installed['versions'][$packageName]['dev_requirement']) || $installed['versions'][$packageName]['dev_requirement'] === false; 87 102 } 88 103 } … … 105 120 public static function satisfies(VersionParser $parser, $packageName, $constraint) 106 121 { 107 $constraint = $parser->parseConstraints( $constraint);122 $constraint = $parser->parseConstraints((string) $constraint); 108 123 $provided = $parser->parseConstraints(self::getVersionRanges($packageName)); 109 124 … … 229 244 /** 230 245 * @return array 231 * @psalm-return array{name: string, version: string, reference: string, pretty_version: string, aliases: string[], dev: bool, install_path: string}246 * @psalm-return array{name: string, pretty_version: string, version: string, reference: string|null, type: string, install_path: string, aliases: string[], dev: bool} 232 247 */ 233 248 public static function getRootPackage() … … 243 258 * @deprecated Use getAllRawData() instead which returns all datasets for all autoloaders present in the process. getRawData only returns the first dataset loaded, which may not be what you expect. 244 259 * @return array[] 245 * @psalm-return array{root: array{name: string, version: string, reference: string, pretty_version: string, aliases: string[], dev: bool, install_path: string}, versions: array<string, array{dev_requirement: bool, pretty_version?: string, version?: string, aliases?: string[], reference?: string, replaced?: string[], provided?: string[], install_path?: string}>}260 * @psalm-return 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[]}>} 246 261 */ 247 262 public static function getRawData() … … 266 281 * 267 282 * @return array[] 268 * @psalm-return list<array{root: array{name: string, version: string, reference: string, pretty_version: string, aliases: string[], dev: bool, install_path: string}, versions: array<string, array{dev_requirement: bool, pretty_version?: string, version?: string, aliases?: string[], reference?: string, replaced?: string[], provided?: string[], install_path?: string}>}>283 * @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[]}>}> 269 284 */ 270 285 public static function getAllRawData() … … 289 304 * @return void 290 305 * 291 * @psalm-param array{root: array{name: string, version: string, reference: string, pretty_version: string, aliases: string[], dev: bool, install_path: string}, versions: array<string, array{dev_requirement: bool, pretty_version?: string, version?: string, aliases?: string[], reference?: string, replaced?: string[], provided?: string[], install_path?: string}>} $data306 * @psalm-param 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[]}>} $data 292 307 */ 293 308 public static function reload($data) … … 299 314 /** 300 315 * @return array[] 301 * @psalm-return list<array{root: array{name: string, version: string, reference: string, pretty_version: string, aliases: string[], dev: bool, install_path: string}, versions: array<string, array{dev_requirement: bool, pretty_version?: string, version?: string, aliases?: string[], reference?: string, replaced?: string[], provided?: string[], install_path?: string}>}>316 * @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[]}>}> 302 317 */ 303 318 private static function getInstalled() … … 314 329 $installed[] = self::$installedByVendor[$vendorDir]; 315 330 } elseif (is_file($vendorDir.'/composer/installed.php')) { 316 $installed[] = self::$installedByVendor[$vendorDir] = require $vendorDir.'/composer/installed.php'; 331 /** @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[]}>} $required */ 332 $required = require $vendorDir.'/composer/installed.php'; 333 $installed[] = self::$installedByVendor[$vendorDir] = $required; 317 334 if (null === self::$installed && strtr($vendorDir.'/composer', '\\', '/') === strtr(__DIR__, '\\', '/')) { 318 335 self::$installed = $installed[count($installed) - 1]; … … 326 343 // and not from its source location in the composer/composer package, see https://github.com/composer/composer/issues/9937 327 344 if (substr(__DIR__, -8, 1) !== 'C') { 328 self::$installed = require __DIR__ . '/installed.php'; 345 /** @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[]}>} $required */ 346 $required = require __DIR__ . '/installed.php'; 347 self::$installed = $required; 329 348 } else { 330 349 self::$installed = array(); 331 350 } 332 351 } 333 $installed[] = self::$installed; 352 353 if (self::$installed !== array()) { 354 $installed[] = self::$installed; 355 } 334 356 335 357 return $installed; -
kolorweb-log-manager/trunk/vendor/composer/autoload_classmap.php
r2733580 r3153225 3 3 // autoload_classmap.php @generated by Composer 4 4 5 $vendorDir = dirname( dirname(__FILE__));5 $vendorDir = dirname(__DIR__); 6 6 $baseDir = dirname($vendorDir); 7 7 -
kolorweb-log-manager/trunk/vendor/composer/autoload_files.php
r2732944 r3153225 3 3 // autoload_files.php @generated by Composer 4 4 5 $vendorDir = dirname( dirname(__FILE__));5 $vendorDir = dirname(__DIR__); 6 6 $baseDir = dirname($vendorDir); 7 7 -
kolorweb-log-manager/trunk/vendor/composer/autoload_namespaces.php
r2732944 r3153225 3 3 // autoload_namespaces.php @generated by Composer 4 4 5 $vendorDir = dirname( dirname(__FILE__));5 $vendorDir = dirname(__DIR__); 6 6 $baseDir = dirname($vendorDir); 7 7 -
kolorweb-log-manager/trunk/vendor/composer/autoload_psr4.php
r2732944 r3153225 3 3 // autoload_psr4.php @generated by Composer 4 4 5 $vendorDir = dirname( dirname(__FILE__));5 $vendorDir = dirname(__DIR__); 6 6 $baseDir = dirname($vendorDir); 7 7 -
kolorweb-log-manager/trunk/vendor/composer/autoload_real.php
r2692326 r3153225 3 3 // autoload_real.php @generated by Composer 4 4 5 class ComposerAutoloaderInit 8b8a6de80977d49a318e9afdafdd8cf95 class ComposerAutoloaderInitf6fdf756dd7c3794f45d2b04c02df09d 6 6 { 7 7 private static $loader; … … 25 25 require __DIR__ . '/platform_check.php'; 26 26 27 spl_autoload_register(array('ComposerAutoloaderInit 8b8a6de80977d49a318e9afdafdd8cf9', 'loadClassLoader'), true, true);28 self::$loader = $loader = new \Composer\Autoload\ClassLoader(\dirname( \dirname(__FILE__)));29 spl_autoload_unregister(array('ComposerAutoloaderInit 8b8a6de80977d49a318e9afdafdd8cf9', 'loadClassLoader'));27 spl_autoload_register(array('ComposerAutoloaderInitf6fdf756dd7c3794f45d2b04c02df09d', 'loadClassLoader'), true, true); 28 self::$loader = $loader = new \Composer\Autoload\ClassLoader(\dirname(__DIR__)); 29 spl_autoload_unregister(array('ComposerAutoloaderInitf6fdf756dd7c3794f45d2b04c02df09d', 'loadClassLoader')); 30 30 31 $useStaticLoader = PHP_VERSION_ID >= 50600 && !defined('HHVM_VERSION') && (!function_exists('zend_loader_file_encoded') || !zend_loader_file_encoded()); 32 if ($useStaticLoader) { 33 require __DIR__ . '/autoload_static.php'; 34 35 call_user_func(\Composer\Autoload\ComposerStaticInit8b8a6de80977d49a318e9afdafdd8cf9::getInitializer($loader)); 36 } else { 37 $map = require __DIR__ . '/autoload_namespaces.php'; 38 foreach ($map as $namespace => $path) { 39 $loader->set($namespace, $path); 40 } 41 42 $map = require __DIR__ . '/autoload_psr4.php'; 43 foreach ($map as $namespace => $path) { 44 $loader->setPsr4($namespace, $path); 45 } 46 47 $classMap = require __DIR__ . '/autoload_classmap.php'; 48 if ($classMap) { 49 $loader->addClassMap($classMap); 50 } 51 } 31 require __DIR__ . '/autoload_static.php'; 32 call_user_func(\Composer\Autoload\ComposerStaticInitf6fdf756dd7c3794f45d2b04c02df09d::getInitializer($loader)); 52 33 53 34 $loader->register(true); 54 35 55 if ($useStaticLoader) { 56 $includeFiles = Composer\Autoload\ComposerStaticInit8b8a6de80977d49a318e9afdafdd8cf9::$files; 57 } else { 58 $includeFiles = require __DIR__ . '/autoload_files.php'; 59 } 60 foreach ($includeFiles as $fileIdentifier => $file) { 61 composerRequire8b8a6de80977d49a318e9afdafdd8cf9($fileIdentifier, $file); 36 $filesToLoad = \Composer\Autoload\ComposerStaticInitf6fdf756dd7c3794f45d2b04c02df09d::$files; 37 $requireFile = \Closure::bind(static function ($fileIdentifier, $file) { 38 if (empty($GLOBALS['__composer_autoload_files'][$fileIdentifier])) { 39 $GLOBALS['__composer_autoload_files'][$fileIdentifier] = true; 40 41 require $file; 42 } 43 }, null, null); 44 foreach ($filesToLoad as $fileIdentifier => $file) { 45 $requireFile($fileIdentifier, $file); 62 46 } 63 47 … … 65 49 } 66 50 } 67 68 function composerRequire8b8a6de80977d49a318e9afdafdd8cf9($fileIdentifier, $file)69 {70 if (empty($GLOBALS['__composer_autoload_files'][$fileIdentifier])) {71 require $file;72 73 $GLOBALS['__composer_autoload_files'][$fileIdentifier] = true;74 }75 } -
kolorweb-log-manager/trunk/vendor/composer/autoload_static.php
r2733580 r3153225 5 5 namespace Composer\Autoload; 6 6 7 class ComposerStaticInit 8b8a6de80977d49a318e9afdafdd8cf97 class ComposerStaticInitf6fdf756dd7c3794f45d2b04c02df09d 8 8 { 9 9 public static $files = array ( … … 609 609 { 610 610 return \Closure::bind(function () use ($loader) { 611 $loader->prefixLengthsPsr4 = ComposerStaticInit 8b8a6de80977d49a318e9afdafdd8cf9::$prefixLengthsPsr4;612 $loader->prefixDirsPsr4 = ComposerStaticInit 8b8a6de80977d49a318e9afdafdd8cf9::$prefixDirsPsr4;613 $loader->prefixesPsr0 = ComposerStaticInit 8b8a6de80977d49a318e9afdafdd8cf9::$prefixesPsr0;614 $loader->classMap = ComposerStaticInit 8b8a6de80977d49a318e9afdafdd8cf9::$classMap;611 $loader->prefixLengthsPsr4 = ComposerStaticInitf6fdf756dd7c3794f45d2b04c02df09d::$prefixLengthsPsr4; 612 $loader->prefixDirsPsr4 = ComposerStaticInitf6fdf756dd7c3794f45d2b04c02df09d::$prefixDirsPsr4; 613 $loader->prefixesPsr0 = ComposerStaticInitf6fdf756dd7c3794f45d2b04c02df09d::$prefixesPsr0; 614 $loader->classMap = ComposerStaticInitf6fdf756dd7c3794f45d2b04c02df09d::$classMap; 615 615 616 616 }, null, ClassLoader::class); -
kolorweb-log-manager/trunk/vendor/composer/installed.json
r2732944 r3153225 3 3 { 4 4 "name": "doctrine/instantiator", 5 "version": "1. 4.1",6 "version_normalized": "1. 4.1.0",5 "version": "1.5.0", 6 "version_normalized": "1.5.0.0", 7 7 "source": { 8 8 "type": "git", 9 9 "url": "https://github.com/doctrine/instantiator.git", 10 "reference": " 10dcfce151b967d20fde1b34ae6640712c3891bc"11 }, 12 "dist": { 13 "type": "zip", 14 "url": "https://api.github.com/repos/doctrine/instantiator/zipball/ 10dcfce151b967d20fde1b34ae6640712c3891bc",15 "reference": " 10dcfce151b967d20fde1b34ae6640712c3891bc",10 "reference": "0a0fa9780f5d4e507415a065172d26a98d02047b" 11 }, 12 "dist": { 13 "type": "zip", 14 "url": "https://api.github.com/repos/doctrine/instantiator/zipball/0a0fa9780f5d4e507415a065172d26a98d02047b", 15 "reference": "0a0fa9780f5d4e507415a065172d26a98d02047b", 16 16 "shasum": "" 17 17 }, … … 20 20 }, 21 21 "require-dev": { 22 "doctrine/coding-standard": "^9 ",22 "doctrine/coding-standard": "^9 || ^11", 23 23 "ext-pdo": "*", 24 24 "ext-phar": "*", … … 27 27 "phpstan/phpstan-phpunit": "^1", 28 28 "phpunit/phpunit": "^7.5 || ^8.5 || ^9.5", 29 "vimeo/psalm": "^4. 22"30 }, 31 "time": "2022- 03-03T08:28:38+00:00",29 "vimeo/psalm": "^4.30 || ^5.4" 30 }, 31 "time": "2022-12-30T00:15:36+00:00", 32 32 "type": "library", 33 33 "installation-source": "dist", … … 56 56 "support": { 57 57 "issues": "https://github.com/doctrine/instantiator/issues", 58 "source": "https://github.com/doctrine/instantiator/tree/1. 4.1"58 "source": "https://github.com/doctrine/instantiator/tree/1.5.0" 59 59 }, 60 60 "funding": [ … … 160 160 { 161 161 "name": "Chris Boulton", 162 "homepage": "http://github.com/chrisboulton", 163 "role": "Original developer" 162 "homepage": "http://github.com/chrisboulton" 164 163 } 165 164 ], 166 165 "description": "A comprehensive library for generating differences between two hashable objects (strings or arrays).", 166 "support": { 167 "source": "https://github.com/phpspec/php-diff/tree/v1.0.2" 168 }, 167 169 "install-path": "../phpspec/php-diff" 168 170 }, … … 246 248 "tests" 247 249 ], 250 "support": { 251 "issues": "https://github.com/phpspec/phpspec/issues", 252 "source": "https://github.com/phpspec/phpspec/tree/master" 253 }, 248 254 "install-path": "../phpspec/phpspec" 249 255 }, … … 760 766 "source": "https://github.com/symfony/debug/tree/3.0" 761 767 }, 768 "abandoned": "symfony/error-handler", 762 769 "install-path": "../symfony/debug" 763 770 }, … … 885 892 { 886 893 "name": "symfony/polyfill-ctype", 887 "version": "v1. 25.0",888 "version_normalized": "1. 25.0.0",894 "version": "v1.31.0", 895 "version_normalized": "1.31.0.0", 889 896 "source": { 890 897 "type": "git", 891 898 "url": "https://github.com/symfony/polyfill-ctype.git", 892 "reference": " 30885182c981ab175d4d034db0f6f469898070ab"893 }, 894 "dist": { 895 "type": "zip", 896 "url": "https://api.github.com/repos/symfony/polyfill-ctype/zipball/ 30885182c981ab175d4d034db0f6f469898070ab",897 "reference": " 30885182c981ab175d4d034db0f6f469898070ab",898 "shasum": "" 899 }, 900 "require": { 901 "php": ">=7. 1"899 "reference": "a3cc8b044a6ea513310cbd48ef7333b384945638" 900 }, 901 "dist": { 902 "type": "zip", 903 "url": "https://api.github.com/repos/symfony/polyfill-ctype/zipball/a3cc8b044a6ea513310cbd48ef7333b384945638", 904 "reference": "a3cc8b044a6ea513310cbd48ef7333b384945638", 905 "shasum": "" 906 }, 907 "require": { 908 "php": ">=7.2" 902 909 }, 903 910 "provide": { … … 907 914 "ext-ctype": "For best performance" 908 915 }, 909 "time": "2021-10-20T20:35:02+00:00", 910 "type": "library", 911 "extra": { 912 "branch-alias": { 913 "dev-main": "1.23-dev" 914 }, 916 "time": "2024-09-09T11:45:10+00:00", 917 "type": "library", 918 "extra": { 915 919 "thanks": { 916 920 "name": "symfony/polyfill", … … 950 954 ], 951 955 "support": { 952 "source": "https://github.com/symfony/polyfill-ctype/tree/v1. 25.0"956 "source": "https://github.com/symfony/polyfill-ctype/tree/v1.31.0" 953 957 }, 954 958 "funding": [ … … 970 974 { 971 975 "name": "symfony/polyfill-mbstring", 972 "version": "v1. 25.0",973 "version_normalized": "1. 25.0.0",976 "version": "v1.31.0", 977 "version_normalized": "1.31.0.0", 974 978 "source": { 975 979 "type": "git", 976 980 "url": "https://github.com/symfony/polyfill-mbstring.git", 977 "reference": " 0abb51d2f102e00a4eefcf46ba7fec406d245825"978 }, 979 "dist": { 980 "type": "zip", 981 "url": "https://api.github.com/repos/symfony/polyfill-mbstring/zipball/ 0abb51d2f102e00a4eefcf46ba7fec406d245825",982 "reference": " 0abb51d2f102e00a4eefcf46ba7fec406d245825",983 "shasum": "" 984 }, 985 "require": { 986 "php": ">=7. 1"981 "reference": "85181ba99b2345b0ef10ce42ecac37612d9fd341" 982 }, 983 "dist": { 984 "type": "zip", 985 "url": "https://api.github.com/repos/symfony/polyfill-mbstring/zipball/85181ba99b2345b0ef10ce42ecac37612d9fd341", 986 "reference": "85181ba99b2345b0ef10ce42ecac37612d9fd341", 987 "shasum": "" 988 }, 989 "require": { 990 "php": ">=7.2" 987 991 }, 988 992 "provide": { … … 992 996 "ext-mbstring": "For best performance" 993 997 }, 994 "time": "2021-11-30T18:21:41+00:00", 995 "type": "library", 996 "extra": { 997 "branch-alias": { 998 "dev-main": "1.23-dev" 999 }, 998 "time": "2024-09-09T11:45:10+00:00", 999 "type": "library", 1000 "extra": { 1000 1001 "thanks": { 1001 1002 "name": "symfony/polyfill", … … 1036 1037 ], 1037 1038 "support": { 1038 "source": "https://github.com/symfony/polyfill-mbstring/tree/v1. 25.0"1039 "source": "https://github.com/symfony/polyfill-mbstring/tree/v1.31.0" 1039 1040 }, 1040 1041 "funding": [ … … 1167 1168 { 1168 1169 "name": "wp-cli/wp-config-transformer", 1169 "version": "v1.3. 0",1170 "version_normalized": "1.3. 0.0",1170 "version": "v1.3.6", 1171 "version_normalized": "1.3.6.0", 1171 1172 "source": { 1172 1173 "type": "git", 1173 1174 "url": "https://github.com/wp-cli/wp-config-transformer.git", 1174 "reference": " 2e90eefc6b8f5166f53aa5414fd8f1a572164ef1"1175 }, 1176 "dist": { 1177 "type": "zip", 1178 "url": "https://api.github.com/repos/wp-cli/wp-config-transformer/zipball/ 2e90eefc6b8f5166f53aa5414fd8f1a572164ef1",1179 "reference": " 2e90eefc6b8f5166f53aa5414fd8f1a572164ef1",1175 "reference": "88f516f44dce1660fc4b780da513e3ca12d7d24f" 1176 }, 1177 "dist": { 1178 "type": "zip", 1179 "url": "https://api.github.com/repos/wp-cli/wp-config-transformer/zipball/88f516f44dce1660fc4b780da513e3ca12d7d24f", 1180 "reference": "88f516f44dce1660fc4b780da513e3ca12d7d24f", 1180 1181 "shasum": "" 1181 1182 }, … … 1184 1185 }, 1185 1186 "require-dev": { 1186 "wp-cli/wp-cli-tests": "^ 3.1"1187 }, 1188 "time": "202 2-01-10T18:37:52+00:00",1187 "wp-cli/wp-cli-tests": "^4.0" 1188 }, 1189 "time": "2024-05-23T06:32:14+00:00", 1189 1190 "type": "library", 1190 1191 "installation-source": "dist", … … 1208 1209 "support": { 1209 1210 "issues": "https://github.com/wp-cli/wp-config-transformer/issues", 1210 "source": "https://github.com/wp-cli/wp-config-transformer/tree/v1.3. 0"1211 "source": "https://github.com/wp-cli/wp-config-transformer/tree/v1.3.6" 1211 1212 }, 1212 1213 "install-path": "../wp-cli/wp-config-transformer" -
kolorweb-log-manager/trunk/vendor/composer/installed.php
r2733580 r3153225 1 1 <?php return array( 2 2 'root' => array( 3 'pretty_version' => 'dev-master', 4 'version' => 'dev-master', 3 'name' => '__root__', 4 'pretty_version' => 'dev-main', 5 'version' => 'dev-main', 6 'reference' => 'f0464e4593ce2b49bf429a4c1384b003b25bbc04', 5 7 'type' => 'library', 6 8 'install_path' => __DIR__ . '/../../', 7 9 'aliases' => array(), 8 'reference' => 'b756d71d3e1310050657fadaabbf62889a1c7256',9 'name' => '__root__',10 10 'dev' => true, 11 11 ), 12 12 'versions' => array( 13 13 '__root__' => array( 14 'pretty_version' => 'dev-master', 15 'version' => 'dev-master', 14 'pretty_version' => 'dev-main', 15 'version' => 'dev-main', 16 'reference' => 'f0464e4593ce2b49bf429a4c1384b003b25bbc04', 16 17 'type' => 'library', 17 18 'install_path' => __DIR__ . '/../../', 18 19 'aliases' => array(), 19 'reference' => 'b756d71d3e1310050657fadaabbf62889a1c7256',20 20 'dev_requirement' => false, 21 21 ), 22 22 'doctrine/instantiator' => array( 23 'pretty_version' => '1.4.1', 24 'version' => '1.4.1.0', 23 'pretty_version' => '1.5.0', 24 'version' => '1.5.0.0', 25 'reference' => '0a0fa9780f5d4e507415a065172d26a98d02047b', 25 26 'type' => 'library', 26 27 'install_path' => __DIR__ . '/../doctrine/instantiator', 27 28 'aliases' => array(), 28 'reference' => '10dcfce151b967d20fde1b34ae6640712c3891bc',29 29 'dev_requirement' => true, 30 30 ), … … 32 32 'pretty_version' => '2.0.5', 33 33 'version' => '2.0.5.0', 34 'reference' => 'e6a969a640b00d8daa3c66518b0405fb41ae0c4b', 34 35 'type' => 'library', 35 36 'install_path' => __DIR__ . '/../phpdocumentor/reflection-docblock', 36 37 'aliases' => array(), 37 'reference' => 'e6a969a640b00d8daa3c66518b0405fb41ae0c4b',38 38 'dev_requirement' => true, 39 39 ), … … 41 41 'pretty_version' => 'v1.0.2', 42 42 'version' => '1.0.2.0', 43 'reference' => '30e103d19519fe678ae64a60d77884ef3d71b28a', 43 44 'type' => 'library', 44 45 'install_path' => __DIR__ . '/../phpspec/php-diff', 45 46 'aliases' => array(), 46 'reference' => '30e103d19519fe678ae64a60d77884ef3d71b28a',47 47 'dev_requirement' => true, 48 48 ), … … 50 50 'pretty_version' => '2.2.0', 51 51 'version' => '2.2.0.0', 52 'reference' => '9727d75919a00455433e867565bc022f0b985a39', 52 53 'type' => 'library', 53 54 'install_path' => __DIR__ . '/../phpspec/phpspec', 54 55 'aliases' => array(), 55 'reference' => '9727d75919a00455433e867565bc022f0b985a39',56 56 'dev_requirement' => true, 57 57 ), … … 59 59 'pretty_version' => 'v1.5.0', 60 60 'version' => '1.5.0.0', 61 'reference' => '4745ded9307786b730d7a60df5cb5a6c43cf95f7', 61 62 'type' => 'library', 62 63 'install_path' => __DIR__ . '/../phpspec/prophecy', 63 64 'aliases' => array(), 64 'reference' => '4745ded9307786b730d7a60df5cb5a6c43cf95f7',65 65 'dev_requirement' => true, 66 66 ), … … 68 68 'pretty_version' => '1.1.4', 69 69 'version' => '1.1.4.0', 70 'reference' => 'd49695b909c3b7628b6289db5479a1c204601f11', 70 71 'type' => 'library', 71 72 'install_path' => __DIR__ . '/../psr/log', 72 73 'aliases' => array(), 73 'reference' => 'd49695b909c3b7628b6289db5479a1c204601f11',74 74 'dev_requirement' => true, 75 75 ), … … 77 77 'pretty_version' => '1.2.4', 78 78 'version' => '1.2.4.0', 79 'reference' => '2b7424b55f5047b47ac6e5ccb20b2aea4011d9be', 79 80 'type' => 'library', 80 81 'install_path' => __DIR__ . '/../sebastian/comparator', 81 82 'aliases' => array(), 82 'reference' => '2b7424b55f5047b47ac6e5ccb20b2aea4011d9be',83 83 'dev_requirement' => true, 84 84 ), … … 86 86 'pretty_version' => '1.4.1', 87 87 'version' => '1.4.1.0', 88 'reference' => '13edfd8706462032c2f52b4b862974dd46b71c9e', 88 89 'type' => 'library', 89 90 'install_path' => __DIR__ . '/../sebastian/diff', 90 91 'aliases' => array(), 91 'reference' => '13edfd8706462032c2f52b4b862974dd46b71c9e',92 92 'dev_requirement' => true, 93 93 ), … … 95 95 'pretty_version' => '1.2.2', 96 96 'version' => '1.2.2.0', 97 'reference' => '42c4c2eec485ee3e159ec9884f95b431287edde4', 97 98 'type' => 'library', 98 99 'install_path' => __DIR__ . '/../sebastian/exporter', 99 100 'aliases' => array(), 100 'reference' => '42c4c2eec485ee3e159ec9884f95b431287edde4',101 101 'dev_requirement' => true, 102 102 ), … … 104 104 'pretty_version' => '1.0.5', 105 105 'version' => '1.0.5.0', 106 'reference' => 'b19cc3298482a335a95f3016d2f8a6950f0fbcd7', 106 107 'type' => 'library', 107 108 'install_path' => __DIR__ . '/../sebastian/recursion-context', 108 109 'aliases' => array(), 109 'reference' => 'b19cc3298482a335a95f3016d2f8a6950f0fbcd7',110 110 'dev_requirement' => true, 111 111 ), … … 113 113 'pretty_version' => 'v2.8.52', 114 114 'version' => '2.8.52.0', 115 'reference' => 'cbcf4b5e233af15cd2bbd50dee1ccc9b7927dc12', 115 116 'type' => 'library', 116 117 'install_path' => __DIR__ . '/../symfony/console', 117 118 'aliases' => array(), 118 'reference' => 'cbcf4b5e233af15cd2bbd50dee1ccc9b7927dc12',119 119 'dev_requirement' => true, 120 120 ), … … 122 122 'pretty_version' => 'v3.0.9', 123 123 'version' => '3.0.9.0', 124 'reference' => '697c527acd9ea1b2d3efac34d9806bf255278b0a', 124 125 'type' => 'library', 125 126 'install_path' => __DIR__ . '/../symfony/debug', 126 127 'aliases' => array(), 127 'reference' => '697c527acd9ea1b2d3efac34d9806bf255278b0a',128 128 'dev_requirement' => true, 129 129 ), … … 131 131 'pretty_version' => 'v2.8.52', 132 132 'version' => '2.8.52.0', 133 'reference' => 'a77e974a5fecb4398833b0709210e3d5e334ffb0', 133 134 'type' => 'library', 134 135 'install_path' => __DIR__ . '/../symfony/event-dispatcher', 135 136 'aliases' => array(), 136 'reference' => 'a77e974a5fecb4398833b0709210e3d5e334ffb0',137 137 'dev_requirement' => true, 138 138 ), … … 140 140 'pretty_version' => 'v2.8.52', 141 141 'version' => '2.8.52.0', 142 'reference' => '1444eac52273e345d9b95129bf914639305a9ba4', 142 143 'type' => 'library', 143 144 'install_path' => __DIR__ . '/../symfony/finder', 144 145 'aliases' => array(), 145 'reference' => '1444eac52273e345d9b95129bf914639305a9ba4',146 146 'dev_requirement' => true, 147 147 ), 148 148 'symfony/polyfill-ctype' => array( 149 'pretty_version' => 'v1.25.0', 150 'version' => '1.25.0.0', 149 'pretty_version' => 'v1.31.0', 150 'version' => '1.31.0.0', 151 'reference' => 'a3cc8b044a6ea513310cbd48ef7333b384945638', 151 152 'type' => 'library', 152 153 'install_path' => __DIR__ . '/../symfony/polyfill-ctype', 153 154 'aliases' => array(), 154 'reference' => '30885182c981ab175d4d034db0f6f469898070ab',155 155 'dev_requirement' => true, 156 156 ), 157 157 'symfony/polyfill-mbstring' => array( 158 'pretty_version' => 'v1.25.0', 159 'version' => '1.25.0.0', 158 'pretty_version' => 'v1.31.0', 159 'version' => '1.31.0.0', 160 'reference' => '85181ba99b2345b0ef10ce42ecac37612d9fd341', 160 161 'type' => 'library', 161 162 'install_path' => __DIR__ . '/../symfony/polyfill-mbstring', 162 163 'aliases' => array(), 163 'reference' => '0abb51d2f102e00a4eefcf46ba7fec406d245825',164 164 'dev_requirement' => true, 165 165 ), … … 167 167 'pretty_version' => 'v2.8.52', 168 168 'version' => '2.8.52.0', 169 'reference' => 'c3591a09c78639822b0b290d44edb69bf9f05dc8', 169 170 'type' => 'library', 170 171 'install_path' => __DIR__ . '/../symfony/process', 171 172 'aliases' => array(), 172 'reference' => 'c3591a09c78639822b0b290d44edb69bf9f05dc8',173 173 'dev_requirement' => true, 174 174 ), … … 176 176 'pretty_version' => 'v2.8.52', 177 177 'version' => '2.8.52.0', 178 'reference' => '02c1859112aa779d9ab394ae4f3381911d84052b', 178 179 'type' => 'library', 179 180 'install_path' => __DIR__ . '/../symfony/yaml', 180 181 'aliases' => array(), 181 'reference' => '02c1859112aa779d9ab394ae4f3381911d84052b',182 182 'dev_requirement' => true, 183 183 ), 184 184 'wp-cli/wp-config-transformer' => array( 185 'pretty_version' => 'v1.3.0', 186 'version' => '1.3.0.0', 185 'pretty_version' => 'v1.3.6', 186 'version' => '1.3.6.0', 187 'reference' => '88f516f44dce1660fc4b780da513e3ca12d7d24f', 187 188 'type' => 'library', 188 189 'install_path' => __DIR__ . '/../wp-cli/wp-config-transformer', 189 190 'aliases' => array(), 190 'reference' => '2e90eefc6b8f5166f53aa5414fd8f1a572164ef1',191 191 'dev_requirement' => false, 192 192 ), -
kolorweb-log-manager/trunk/vendor/doctrine/instantiator/README.md
r2732944 r3153225 15 15 16 16 ```sh 17 php composer.phar require "doctrine/instantiator:~1.0.3" 17 composer require doctrine/instantiator 18 18 ``` 19 19 -
kolorweb-log-manager/trunk/vendor/doctrine/instantiator/composer.json
r2732944 r3153225 22 22 "ext-phar": "*", 23 23 "ext-pdo": "*", 24 "doctrine/coding-standard": "^9 ",24 "doctrine/coding-standard": "^9 || ^11", 25 25 "phpbench/phpbench": "^0.16 || ^1", 26 26 "phpstan/phpstan": "^1.4", 27 27 "phpstan/phpstan-phpunit": "^1", 28 28 "phpunit/phpunit": "^7.5 || ^8.5 || ^9.5", 29 "vimeo/psalm": "^4. 22"29 "vimeo/psalm": "^4.30 || ^5.4" 30 30 }, 31 31 "autoload": { -
kolorweb-log-manager/trunk/vendor/doctrine/instantiator/psalm.xml
r2733580 r3153225 2 2 <psalm 3 3 errorLevel="7" 4 phpVersion="8. 1"4 phpVersion="8.2" 5 5 resolveFromConfigFile="true" 6 6 xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" -
kolorweb-log-manager/trunk/vendor/doctrine/instantiator/src/Doctrine/Instantiator/Instantiator.php
r2732944 r3153225 29 29 * the method {@see \Serializable::unserialize()} when dealing with classes implementing 30 30 * the {@see \Serializable} interface. 31 */ 32 public const SERIALIZATION_FORMAT_USE_UNSERIALIZER = 'C'; 31 * 32 * @deprecated This constant will be private in 2.0 33 */ 34 public const SERIALIZATION_FORMAT_USE_UNSERIALIZER = 'C'; 35 36 /** @deprecated This constant will be private in 2.0 */ 33 37 public const SERIALIZATION_FORMAT_AVOID_UNSERIALIZER = 'O'; 34 38 … … 61 65 { 62 66 if (isset(self::$cachedCloneables[$className])) { 63 /** 64 * @phpstan-var T 65 */ 67 /** @phpstan-var T */ 66 68 $cachedCloneable = self::$cachedCloneables[$className]; 67 69 -
kolorweb-log-manager/trunk/vendor/phpspec/php-diff/lib/Diff/Renderer/Html/Array.php
r2692326 r3153225 6 6 * 7 7 * Copyright (c) 2009 Chris Boulton <chris.boulton@interspire.com> 8 * 8 * 9 9 * All rights reserved. 10 * 11 * Redistribution and use in source and binary forms, with or without 10 * 11 * Redistribution and use in source and binary forms, with or without 12 12 * modification, are permitted provided that the following conditions are met: 13 13 * … … 17 17 * this list of conditions and the following disclaimer in the documentation 18 18 * and/or other materials provided with the distribution. 19 * - Neither the name of the Chris Boulton nor the names of its contributors 20 * may be used to endorse or promote products derived from this software 19 * - Neither the name of the Chris Boulton nor the names of its contributors 20 * may be used to endorse or promote products derived from this software 21 21 * without specific prior written permission. 22 22 * 23 * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" 24 * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE 25 * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE 26 * ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE 27 * LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR 28 * CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF 29 * SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS 30 * INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN 31 * CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) 32 * ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE 23 * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" 24 * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE 25 * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE 26 * ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE 27 * LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR 28 * CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF 29 * SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS 30 * INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN 31 * CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) 32 * ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE 33 33 * POSSIBILITY OF SUCH DAMAGE. 34 34 * … … 41 41 */ 42 42 43 require_once dirname( __FILE__).'/../Abstract.php';44 45 class Diff_Renderer_Html_Array extends Diff_Renderer_Abstract 46 { 43 require_once dirname( __FILE__ ) . '/../Abstract.php'; 44 45 class Diff_Renderer_Html_Array extends Diff_Renderer_Abstract { 46 47 47 /** 48 48 * @var array Array of the default options that apply to this renderer. 49 49 */ 50 50 protected $defaultOptions = array( 51 'tabSize' => 4 51 'tabSize' => 4, 52 52 ); 53 53 … … 59 59 * @return array An array of the generated chances, suitable for presentation in HTML. 60 60 */ 61 public function render() 62 { 61 public function render() { 63 62 // As we'll be modifying a & b to include our change markers, 64 63 // we need to get the contents and store them here. That way … … 69 68 $changes = array(); 70 69 $opCodes = $this->diff->getGroupedOpcodes(); 71 foreach ($opCodes as $group) {72 $blocks = array();73 $lastTag = null;70 foreach ( $opCodes as $group ) { 71 $blocks = array(); 72 $lastTag = null; 74 73 $lastBlock = 0; 75 foreach ($group as $code) {74 foreach ( $group as $code ) { 76 75 list($tag, $i1, $i2, $j1, $j2) = $code; 77 76 78 if ($tag == 'replace' && $i2 - $i1 == $j2 - $j1) {79 for ($i = 0; $i < ($i2 - $i1); ++$i) {80 $fromLine = $a[ $i1 + $i];81 $toLine = $b[$j1 + $i];82 83 list($start, $end) = $this->getChangeExtent( $fromLine, $toLine);84 if ($start != 0 || $end != 0) {85 $last = $end + strlen($fromLine);86 $fromLine = substr_replace($fromLine, "\0", $start, 0);87 $fromLine = substr_replace($fromLine, "\1", $last + 1, 0);88 $last = $end + strlen($toLine);89 $toLine = substr_replace($toLine, "\0", $start, 0);90 $toLine = substr_replace($toLine, "\1", $last + 1, 0);91 $a[ $i1 + $i] = $fromLine;92 $b[ $j1 + $i] = $toLine;77 if ( $tag == 'replace' && $i2 - $i1 == $j2 - $j1 ) { 78 for ( $i = 0; $i < ( $i2 - $i1 ); ++$i ) { 79 $fromLine = $a[ $i1 + $i ]; 80 $toLine = $b[ $j1 + $i ]; 81 82 list($start, $end) = $this->getChangeExtent( $fromLine, $toLine ); 83 if ( $start != 0 || $end != 0 ) { 84 $last = $end + strlen( $fromLine ); 85 $fromLine = substr_replace( $fromLine, "\0", $start, 0 ); 86 $fromLine = substr_replace( $fromLine, "\1", $last + 1, 0 ); 87 $last = $end + strlen( $toLine ); 88 $toLine = substr_replace( $toLine, "\0", $start, 0 ); 89 $toLine = substr_replace( $toLine, "\1", $last + 1, 0 ); 90 $a[ $i1 + $i ] = $fromLine; 91 $b[ $j1 + $i ] = $toLine; 93 92 } 94 93 } 95 94 } 96 95 97 if ($tag != $lastTag) {98 $blocks[] = array(99 'tag' => $tag,100 'base' => array(96 if ( $tag != $lastTag ) { 97 $blocks[] = array( 98 'tag' => $tag, 99 'base' => array( 101 100 'offset' => $i1, 102 'lines' => array()101 'lines' => array(), 103 102 ), 104 103 'changed' => array( 105 104 'offset' => $j1, 106 'lines' => array()107 ) 105 'lines' => array(), 106 ), 108 107 ); 109 $lastBlock = count( $blocks)-1;108 $lastBlock = count( $blocks ) - 1; 110 109 } 111 110 112 111 $lastTag = $tag; 113 112 114 if($tag == 'equal') { 115 $lines = array_slice($a, $i1, ($i2 - $i1)); 116 $blocks[$lastBlock]['base']['lines'] += $this->formatLines($lines); 117 $lines = array_slice($b, $j1, ($j2 - $j1)); 118 $blocks[$lastBlock]['changed']['lines'] += $this->formatLines($lines); 119 } 120 else { 121 if($tag == 'replace' || $tag == 'delete') { 122 $lines = array_slice($a, $i1, ($i2 - $i1)); 123 $lines = $this->formatLines($lines); 124 $lines = str_replace(array("\0", "\1"), array('<del>', '</del>'), $lines); 125 $blocks[$lastBlock]['base']['lines'] += $lines; 113 if ( $tag == 'equal' ) { 114 $lines = array_slice( $a, $i1, ( $i2 - $i1 ) ); 115 $blocks[ $lastBlock ]['base']['lines'] += $this->formatLines( $lines ); 116 $lines = array_slice( $b, $j1, ( $j2 - $j1 ) ); 117 $blocks[ $lastBlock ]['changed']['lines'] += $this->formatLines( $lines ); 118 } else { 119 if ( $tag == 'replace' || $tag == 'delete' ) { 120 $lines = array_slice( $a, $i1, ( $i2 - $i1 ) ); 121 $lines = $this->formatLines( $lines ); 122 $lines = str_replace( array( "\0", "\1" ), array( '<del>', '</del>' ), $lines ); 123 $blocks[ $lastBlock ]['base']['lines'] += $lines; 126 124 } 127 125 128 if ($tag == 'replace' || $tag == 'insert') {129 $lines = array_slice($b, $j1, ($j2 - $j1));130 $lines = $this->formatLines($lines);131 $lines = str_replace(array("\0", "\1"), array('<ins>', '</ins>'), $lines);132 $blocks[ $lastBlock]['changed']['lines'] += $lines;126 if ( $tag == 'replace' || $tag == 'insert' ) { 127 $lines = array_slice( $b, $j1, ( $j2 - $j1 ) ); 128 $lines = $this->formatLines( $lines ); 129 $lines = str_replace( array( "\0", "\1" ), array( '<ins>', '</ins>' ), $lines ); 130 $blocks[ $lastBlock ]['changed']['lines'] += $lines; 133 131 } 134 132 } … … 147 145 * @return array Array containing the starting position (0 by default) and the ending position (-1 by default) 148 146 */ 149 private function getChangeExtent($fromLine, $toLine) 150 { 147 private function getChangeExtent( $fromLine, $toLine ) { 151 148 $start = 0; 152 $limit = min( strlen($fromLine), strlen($toLine));153 while ($start < $limit && $fromLine{$start} == $toLine{$start}) {149 $limit = min( strlen( $fromLine ), strlen( $toLine ) ); 150 while ( $start < $limit && $fromLine[ $start ] == $toLine[ $start ] ) { 154 151 ++$start; 155 152 } 156 $end = -1;153 $end = -1; 157 154 $limit = $limit - $start; 158 while (-$end <= $limit && substr($fromLine, $end, 1) == substr($toLine, $end, 1)) {155 while ( -$end <= $limit && substr( $fromLine, $end, 1 ) == substr( $toLine, $end, 1 ) ) { 159 156 --$end; 160 157 } 161 158 return array( 162 159 $start, 163 $end + 1 160 $end + 1, 164 161 ); 165 162 } … … 173 170 * @return array Array of the formatted lines. 174 171 */ 175 private function formatLines($lines) 176 { 177 $lines = array_map(array($this, 'ExpandTabs'), $lines); 178 $lines = array_map(array($this, 'HtmlSafe'), $lines); 179 foreach($lines as &$line) { 180 $line = preg_replace_callback('# ( +)|^ #', __CLASS__."::fixSpaces", $line); 172 private function formatLines( $lines ) { 173 $lines = array_map( array( $this, 'ExpandTabs' ), $lines ); 174 $lines = array_map( array( $this, 'HtmlSafe' ), $lines ); 175 foreach ( $lines as &$line ) { 176 $line = preg_replace_callback( '# ( +)|^ #', __CLASS__ . '::fixSpaces', $line ); 181 177 } 182 178 return $lines; … … 189 185 * @return string The HTML representation of the string. 190 186 */ 191 public static function fixSpaces($matches) 192 { 193 $spaces = isset($matches[1]) ? $matches[1] : ''; 194 $count = strlen($spaces); 195 if($count == 0) { 187 public static function fixSpaces( $matches ) { 188 $spaces = isset( $matches[1] ) ? $matches[1] : ''; 189 $count = strlen( $spaces ); 190 if ( $count == 0 ) { 196 191 return ''; 197 192 } 198 193 199 $div = floor( $count / 2);194 $div = floor( $count / 2 ); 200 195 $mod = $count % 2; 201 return str_repeat( ' ', $div).str_repeat(' ', $mod);196 return str_repeat( ' ', $div ) . str_repeat( ' ', $mod ); 202 197 } 203 198 … … 208 203 * @return string The line with the tabs converted to spaces. 209 204 */ 210 private function expandTabs($line) 211 { 212 return str_replace("\t", str_repeat(' ', $this->options['tabSize']), $line); 205 private function expandTabs( $line ) { 206 return str_replace( "\t", str_repeat( ' ', $this->options['tabSize'] ), $line ); 213 207 } 214 208 … … 219 213 * @return string The string with the HTML characters replaced by entities. 220 214 */ 221 private function htmlSafe($string) 222 { 223 return htmlspecialchars($string, ENT_NOQUOTES, 'UTF-8'); 215 private function htmlSafe( $string ) { 216 return htmlspecialchars( $string, ENT_NOQUOTES, 'UTF-8' ); 224 217 } 225 218 } -
kolorweb-log-manager/trunk/vendor/symfony/polyfill-ctype/README.md
r2733580 r3153225 5 5 6 6 More information can be found in the 7 [main Polyfill README](https://github.com/symfony/polyfill/blob/ma ster/README.md).7 [main Polyfill README](https://github.com/symfony/polyfill/blob/main/README.md). 8 8 9 9 License -
kolorweb-log-manager/trunk/vendor/symfony/polyfill-ctype/composer.json
r2733580 r3153225 17 17 ], 18 18 "require": { 19 "php": ">=7. 1"19 "php": ">=7.2" 20 20 }, 21 21 "provide": { … … 31 31 "minimum-stability": "dev", 32 32 "extra": { 33 "branch-alias": {34 "dev-main": "1.23-dev"35 },36 33 "thanks": { 37 34 "name": "symfony/polyfill", -
kolorweb-log-manager/trunk/vendor/symfony/polyfill-mbstring/Mbstring.php
r2733580 r3153225 49 49 * - mb_strwidth - Return width of string 50 50 * - mb_substr_count - Count the number of substring occurrences 51 * - mb_ucfirst - Make a string's first character uppercase 52 * - mb_lcfirst - Make a string's first character lowercase 53 * - mb_trim - Strip whitespace (or other characters) from the beginning and end of a string 54 * - mb_ltrim - Strip whitespace (or other characters) from the beginning of a string 55 * - mb_rtrim - Strip whitespace (or other characters) from the end of a string 51 56 * 52 57 * Not implemented: … … 70 75 public const MB_CASE_FOLD = \PHP_INT_MAX; 71 76 72 private const CASE_FOLD = [77 private const SIMPLE_CASE_FOLD = [ 73 78 ['µ', 'ſ', "\xCD\x85", 'ς', "\xCF\x90", "\xCF\x91", "\xCF\x95", "\xCF\x96", "\xCF\xB0", "\xCF\xB1", "\xCF\xB5", "\xE1\xBA\x9B", "\xE1\xBE\xBE"], 74 79 ['μ', 's', 'ι', 'σ', 'β', 'θ', 'φ', 'π', 'κ', 'ρ', 'ε', "\xE1\xB9\xA1", 'ι'], … … 81 86 public static function mb_convert_encoding($s, $toEncoding, $fromEncoding = null) 82 87 { 83 if (\is_array($fromEncoding) || ($fromEncoding !== null && false !== strpos($fromEncoding, ','))) { 88 if (\is_array($s)) { 89 $r = []; 90 foreach ($s as $str) { 91 $r[] = self::mb_convert_encoding($str, $toEncoding, $fromEncoding); 92 } 93 94 return $r; 95 } 96 97 if (\is_array($fromEncoding) || (null !== $fromEncoding && false !== strpos($fromEncoding, ','))) { 84 98 $fromEncoding = self::mb_detect_encoding($s, $fromEncoding); 85 99 } else { … … 103 117 } 104 118 if ('UTF-8' !== $fromEncoding) { 105 $s = \iconv($fromEncoding, 'UTF-8//IGNORE', $s);119 $s = iconv($fromEncoding, 'UTF-8//IGNORE', $s); 106 120 } 107 121 … … 114 128 } 115 129 116 return \iconv($fromEncoding, $toEncoding.'//IGNORE', $s);130 return iconv($fromEncoding, $toEncoding.'//IGNORE', $s); 117 131 } 118 132 … … 131 145 public static function mb_decode_mimeheader($s) 132 146 { 133 return \iconv_mime_decode($s, 2, self::$internalEncoding);147 return iconv_mime_decode($s, 2, self::$internalEncoding); 134 148 } 135 149 … … 141 155 public static function mb_decode_numericentity($s, $convmap, $encoding = null) 142 156 { 143 if (null !== $s && ! is_scalar($s) && !(\is_object($s) && method_exists($s, '__toString'))) {157 if (null !== $s && !\is_scalar($s) && !(\is_object($s) && method_exists($s, '__toString'))) { 144 158 trigger_error('mb_decode_numericentity() expects parameter 1 to be string, '.\gettype($s).' given', \E_USER_WARNING); 145 159 … … 151 165 } 152 166 153 if (null !== $encoding && ! is_scalar($encoding)) {167 if (null !== $encoding && !\is_scalar($encoding)) { 154 168 trigger_error('mb_decode_numericentity() expects parameter 3 to be string, '.\gettype($s).' given', \E_USER_WARNING); 155 169 … … 167 181 $encoding = null; 168 182 if (!preg_match('//u', $s)) { 169 $s = @ \iconv('UTF-8', 'UTF-8//IGNORE', $s);170 } 171 } else { 172 $s = \iconv($encoding, 'UTF-8//IGNORE', $s);183 $s = @iconv('UTF-8', 'UTF-8//IGNORE', $s); 184 } 185 } else { 186 $s = iconv($encoding, 'UTF-8//IGNORE', $s); 173 187 } 174 188 … … 196 210 } 197 211 198 return \iconv('UTF-8', $encoding.'//IGNORE', $s);212 return iconv('UTF-8', $encoding.'//IGNORE', $s); 199 213 } 200 214 201 215 public static function mb_encode_numericentity($s, $convmap, $encoding = null, $is_hex = false) 202 216 { 203 if (null !== $s && ! is_scalar($s) && !(\is_object($s) && method_exists($s, '__toString'))) {217 if (null !== $s && !\is_scalar($s) && !(\is_object($s) && method_exists($s, '__toString'))) { 204 218 trigger_error('mb_encode_numericentity() expects parameter 1 to be string, '.\gettype($s).' given', \E_USER_WARNING); 205 219 … … 211 225 } 212 226 213 if (null !== $encoding && ! is_scalar($encoding)) {227 if (null !== $encoding && !\is_scalar($encoding)) { 214 228 trigger_error('mb_encode_numericentity() expects parameter 3 to be string, '.\gettype($s).' given', \E_USER_WARNING); 215 229 … … 217 231 } 218 232 219 if (null !== $is_hex && ! is_scalar($is_hex)) {233 if (null !== $is_hex && !\is_scalar($is_hex)) { 220 234 trigger_error('mb_encode_numericentity() expects parameter 4 to be boolean, '.\gettype($s).' given', \E_USER_WARNING); 221 235 … … 233 247 $encoding = null; 234 248 if (!preg_match('//u', $s)) { 235 $s = @ \iconv('UTF-8', 'UTF-8//IGNORE', $s);236 } 237 } else { 238 $s = \iconv($encoding, 'UTF-8//IGNORE', $s);249 $s = @iconv('UTF-8', 'UTF-8//IGNORE', $s); 250 } 251 } else { 252 $s = iconv($encoding, 'UTF-8//IGNORE', $s); 239 253 } 240 254 … … 266 280 } 267 281 268 return \iconv('UTF-8', $encoding.'//IGNORE', $result);282 return iconv('UTF-8', $encoding.'//IGNORE', $result); 269 283 } 270 284 … … 281 295 $encoding = null; 282 296 if (!preg_match('//u', $s)) { 283 $s = @ \iconv('UTF-8', 'UTF-8//IGNORE', $s);284 } 285 } else { 286 $s = \iconv($encoding, 'UTF-8//IGNORE', $s);297 $s = @iconv('UTF-8', 'UTF-8//IGNORE', $s); 298 } 299 } else { 300 $s = iconv($encoding, 'UTF-8//IGNORE', $s); 287 301 } 288 302 … … 302 316 } else { 303 317 if (self::MB_CASE_FOLD === $mode) { 304 $s = str_replace(self::CASE_FOLD[0], self::CASE_FOLD[1], $s); 318 static $caseFolding = null; 319 if (null === $caseFolding) { 320 $caseFolding = self::getData('caseFolding'); 321 } 322 $s = strtr($s, $caseFolding); 305 323 } 306 324 … … 344 362 } 345 363 346 return \iconv('UTF-8', $encoding.'//IGNORE', $s);364 return iconv('UTF-8', $encoding.'//IGNORE', $s); 347 365 } 348 366 … … 355 373 $normalizedEncoding = self::getEncoding($encoding); 356 374 357 if ('UTF-8' === $normalizedEncoding || false !== @ \iconv($normalizedEncoding, $normalizedEncoding, ' ')) {375 if ('UTF-8' === $normalizedEncoding || false !== @iconv($normalizedEncoding, $normalizedEncoding, ' ')) { 358 376 self::$internalEncoding = $normalizedEncoding; 359 377 … … 414 432 } 415 433 416 return self::mb_detect_encoding($var, [$encoding]) || false !== @\iconv($encoding, $encoding, $var); 434 if (!\is_array($var)) { 435 return self::mb_detect_encoding($var, [$encoding]) || false !== @iconv($encoding, $encoding, $var); 436 } 437 438 foreach ($var as $key => $value) { 439 if (!self::mb_check_encoding($key, $encoding)) { 440 return false; 441 } 442 if (!self::mb_check_encoding($value, $encoding)) { 443 return false; 444 } 445 } 446 447 return true; 417 448 } 418 449 … … 489 520 } 490 521 491 return @ \iconv_strlen($s, $encoding);522 return @iconv_strlen($s, $encoding); 492 523 } 493 524 … … 510 541 } 511 542 512 return \iconv_strpos($haystack, $needle, $offset, $encoding);543 return iconv_strpos($haystack, $needle, $offset, $encoding); 513 544 } 514 545 … … 534 565 535 566 $pos = '' !== $needle || 80000 > \PHP_VERSION_ID 536 ? \iconv_strrpos($haystack, $needle, $encoding)567 ? iconv_strrpos($haystack, $needle, $encoding) 537 568 : self::mb_strlen($haystack, $encoding); 538 569 … … 542 573 public static function mb_str_split($string, $split_length = 1, $encoding = null) 543 574 { 544 if (null !== $string && ! is_scalar($string) && !(\is_object($string) && method_exists($string, '__toString'))) {575 if (null !== $string && !\is_scalar($string) && !(\is_object($string) && method_exists($string, '__toString'))) { 545 576 trigger_error('mb_str_split() expects parameter 1 to be string, '.\gettype($string).' given', \E_USER_WARNING); 546 577 … … 551 582 if (80000 > \PHP_VERSION_ID) { 552 583 trigger_error('The length of each segment must be greater than zero', \E_USER_WARNING); 584 553 585 return false; 554 586 } … … 569 601 $rx .= '.{'.$split_length.'})/us'; 570 602 571 return preg_split($rx, $string, null, \PREG_SPLIT_DELIM_CAPTURE | \PREG_SPLIT_NO_EMPTY);603 return preg_split($rx, $string, -1, \PREG_SPLIT_DELIM_CAPTURE | \PREG_SPLIT_NO_EMPTY); 572 604 } 573 605 … … 618 650 619 651 if ($start < 0) { 620 $start = \iconv_strlen($s, $encoding) + $start;652 $start = iconv_strlen($s, $encoding) + $start; 621 653 if ($start < 0) { 622 654 $start = 0; … … 627 659 $length = 2147483647; 628 660 } elseif ($length < 0) { 629 $length = \iconv_strlen($s, $encoding) + $length - $start;661 $length = iconv_strlen($s, $encoding) + $length - $start; 630 662 if ($length < 0) { 631 663 return ''; … … 633 665 } 634 666 635 return (string) \iconv_substr($s, $start, $length, $encoding);667 return (string) iconv_substr($s, $start, $length, $encoding); 636 668 } 637 669 638 670 public static function mb_stripos($haystack, $needle, $offset = 0, $encoding = null) 639 671 { 640 $haystack = self::mb_convert_case($haystack, self::MB_CASE_FOLD, $encoding); 641 $needle = self::mb_convert_case($needle, self::MB_CASE_FOLD, $encoding); 672 [$haystack, $needle] = str_replace(self::SIMPLE_CASE_FOLD[0], self::SIMPLE_CASE_FOLD[1], [ 673 self::mb_convert_case($haystack, \MB_CASE_LOWER, $encoding), 674 self::mb_convert_case($needle, \MB_CASE_LOWER, $encoding), 675 ]); 642 676 643 677 return self::mb_strpos($haystack, $needle, $offset, $encoding); … … 658 692 } else { 659 693 $needle = self::mb_substr($needle, 0, 1, $encoding); 660 $pos = \iconv_strrpos($haystack, $needle, $encoding);694 $pos = iconv_strrpos($haystack, $needle, $encoding); 661 695 } 662 696 … … 674 708 public static function mb_strripos($haystack, $needle, $offset = 0, $encoding = null) 675 709 { 676 $haystack = self::mb_convert_case($haystack, self::MB_CASE_FOLD, $encoding); 677 $needle = self::mb_convert_case($needle, self::MB_CASE_FOLD, $encoding); 710 $haystack = self::mb_convert_case($haystack, \MB_CASE_LOWER, $encoding); 711 $needle = self::mb_convert_case($needle, \MB_CASE_LOWER, $encoding); 712 713 $haystack = str_replace(self::SIMPLE_CASE_FOLD[0], self::SIMPLE_CASE_FOLD[1], $haystack); 714 $needle = str_replace(self::SIMPLE_CASE_FOLD[0], self::SIMPLE_CASE_FOLD[1], $needle); 678 715 679 716 return self::mb_strrpos($haystack, $needle, $offset, $encoding); … … 737 774 738 775 if ('UTF-8' !== $encoding) { 739 $s = \iconv($encoding, 'UTF-8//IGNORE', $s);776 $s = iconv($encoding, 'UTF-8//IGNORE', $s); 740 777 } 741 778 742 779 $s = preg_replace('/[\x{1100}-\x{115F}\x{2329}\x{232A}\x{2E80}-\x{303E}\x{3040}-\x{A4CF}\x{AC00}-\x{D7A3}\x{F900}-\x{FAFF}\x{FE10}-\x{FE19}\x{FE30}-\x{FE6F}\x{FF00}-\x{FF60}\x{FFE0}-\x{FFE6}\x{20000}-\x{2FFFD}\x{30000}-\x{3FFFD}]/u', '', $s, -1, $wide); 743 780 744 return ($wide << 1) + \iconv_strlen($s, 'UTF-8');781 return ($wide << 1) + iconv_strlen($s, 'UTF-8'); 745 782 } 746 783 … … 798 835 } 799 836 837 public static function mb_str_pad(string $string, int $length, string $pad_string = ' ', int $pad_type = \STR_PAD_RIGHT, ?string $encoding = null): string 838 { 839 if (!\in_array($pad_type, [\STR_PAD_RIGHT, \STR_PAD_LEFT, \STR_PAD_BOTH], true)) { 840 throw new \ValueError('mb_str_pad(): Argument #4 ($pad_type) must be STR_PAD_LEFT, STR_PAD_RIGHT, or STR_PAD_BOTH'); 841 } 842 843 if (null === $encoding) { 844 $encoding = self::mb_internal_encoding(); 845 } else { 846 self::assertEncoding($encoding, 'mb_str_pad(): Argument #5 ($encoding) must be a valid encoding, "%s" given'); 847 } 848 849 if (self::mb_strlen($pad_string, $encoding) <= 0) { 850 throw new \ValueError('mb_str_pad(): Argument #3 ($pad_string) must be a non-empty string'); 851 } 852 853 $paddingRequired = $length - self::mb_strlen($string, $encoding); 854 855 if ($paddingRequired < 1) { 856 return $string; 857 } 858 859 switch ($pad_type) { 860 case \STR_PAD_LEFT: 861 return self::mb_substr(str_repeat($pad_string, $paddingRequired), 0, $paddingRequired, $encoding).$string; 862 case \STR_PAD_RIGHT: 863 return $string.self::mb_substr(str_repeat($pad_string, $paddingRequired), 0, $paddingRequired, $encoding); 864 default: 865 $leftPaddingLength = floor($paddingRequired / 2); 866 $rightPaddingLength = $paddingRequired - $leftPaddingLength; 867 868 return self::mb_substr(str_repeat($pad_string, $leftPaddingLength), 0, $leftPaddingLength, $encoding).$string.self::mb_substr(str_repeat($pad_string, $rightPaddingLength), 0, $rightPaddingLength, $encoding); 869 } 870 } 871 872 public static function mb_ucfirst(string $string, ?string $encoding = null): string 873 { 874 if (null === $encoding) { 875 $encoding = self::mb_internal_encoding(); 876 } else { 877 self::assertEncoding($encoding, 'mb_ucfirst(): Argument #2 ($encoding) must be a valid encoding, "%s" given'); 878 } 879 880 $firstChar = mb_substr($string, 0, 1, $encoding); 881 $firstChar = mb_convert_case($firstChar, \MB_CASE_TITLE, $encoding); 882 883 return $firstChar.mb_substr($string, 1, null, $encoding); 884 } 885 886 public static function mb_lcfirst(string $string, ?string $encoding = null): string 887 { 888 if (null === $encoding) { 889 $encoding = self::mb_internal_encoding(); 890 } else { 891 self::assertEncoding($encoding, 'mb_lcfirst(): Argument #2 ($encoding) must be a valid encoding, "%s" given'); 892 } 893 894 $firstChar = mb_substr($string, 0, 1, $encoding); 895 $firstChar = mb_convert_case($firstChar, \MB_CASE_LOWER, $encoding); 896 897 return $firstChar.mb_substr($string, 1, null, $encoding); 898 } 899 800 900 private static function getSubpart($pos, $part, $haystack, $encoding) 801 901 { … … 871 971 return $encoding; 872 972 } 973 974 public static function mb_trim(string $string, ?string $characters = null, ?string $encoding = null): string 975 { 976 return self::mb_internal_trim('{^[%s]+|[%1$s]+$}Du', $string, $characters, $encoding, __FUNCTION__); 977 } 978 979 public static function mb_ltrim(string $string, ?string $characters = null, ?string $encoding = null): string 980 { 981 return self::mb_internal_trim('{^[%s]+}Du', $string, $characters, $encoding, __FUNCTION__); 982 } 983 984 public static function mb_rtrim(string $string, ?string $characters = null, ?string $encoding = null): string 985 { 986 return self::mb_internal_trim('{[%s]+$}D', $string, $characters, $encoding, __FUNCTION__); 987 } 988 989 private static function mb_internal_trim(string $regex, string $string, ?string $characters, ?string $encoding, string $function): string 990 { 991 if (null === $encoding) { 992 $encoding = self::mb_internal_encoding(); 993 } else { 994 self::assertEncoding($encoding, $function.'(): Argument #3 ($encoding) must be a valid encoding, "%s" given'); 995 } 996 997 if ('' === $characters) { 998 return null === $encoding ? $string : self::mb_convert_encoding($string, $encoding); 999 } 1000 1001 if ('UTF-8' === $encoding) { 1002 $encoding = null; 1003 if (!preg_match('//u', $string)) { 1004 $string = @iconv('UTF-8', 'UTF-8//IGNORE', $string); 1005 } 1006 if (null !== $characters && !preg_match('//u', $characters)) { 1007 $characters = @iconv('UTF-8', 'UTF-8//IGNORE', $characters); 1008 } 1009 } else { 1010 $string = iconv($encoding, 'UTF-8//IGNORE', $string); 1011 1012 if (null !== $characters) { 1013 $characters = iconv($encoding, 'UTF-8//IGNORE', $characters); 1014 } 1015 } 1016 1017 if (null === $characters) { 1018 $characters = "\\0 \f\n\r\t\v\u{00A0}\u{1680}\u{2000}\u{2001}\u{2002}\u{2003}\u{2004}\u{2005}\u{2006}\u{2007}\u{2008}\u{2009}\u{200A}\u{2028}\u{2029}\u{202F}\u{205F}\u{3000}\u{0085}\u{180E}"; 1019 } else { 1020 $characters = preg_quote($characters); 1021 } 1022 1023 $string = preg_replace(sprintf($regex, $characters), '', $string); 1024 1025 if (null === $encoding) { 1026 return $string; 1027 } 1028 1029 return iconv('UTF-8', $encoding.'//IGNORE', $string); 1030 } 1031 1032 private static function assertEncoding(string $encoding, string $errorFormat): void 1033 { 1034 try { 1035 $validEncoding = @self::mb_check_encoding('', $encoding); 1036 } catch (\ValueError $e) { 1037 throw new \ValueError(sprintf($errorFormat, $encoding)); 1038 } 1039 1040 // BC for PHP 7.3 and lower 1041 if (!$validEncoding) { 1042 throw new \ValueError(sprintf($errorFormat, $encoding)); 1043 } 1044 } 873 1045 } -
kolorweb-log-manager/trunk/vendor/symfony/polyfill-mbstring/README.md
r2733580 r3153225 6 6 7 7 More information can be found in the 8 [main Polyfill README](https://github.com/symfony/polyfill/blob/ma ster/README.md).8 [main Polyfill README](https://github.com/symfony/polyfill/blob/main/README.md). 9 9 10 10 License -
kolorweb-log-manager/trunk/vendor/symfony/polyfill-mbstring/bootstrap.php
r2733580 r3153225 133 133 } 134 134 135 if (!function_exists('mb_str_pad')) { 136 function mb_str_pad(string $string, int $length, string $pad_string = ' ', int $pad_type = STR_PAD_RIGHT, ?string $encoding = null): string { return p\Mbstring::mb_str_pad($string, $length, $pad_string, $pad_type, $encoding); } 137 } 138 139 if (!function_exists('mb_ucfirst')) { 140 function mb_ucfirst(string $string, ?string $encoding = null): string { return p\Mbstring::mb_ucfirst($string, $encoding); } 141 } 142 143 if (!function_exists('mb_lcfirst')) { 144 function mb_lcfirst(string $string, ?string $encoding = null): string { return p\Mbstring::mb_lcfirst($string, $encoding); } 145 } 146 147 if (!function_exists('mb_trim')) { 148 function mb_trim(string $string, ?string $characters = null, ?string $encoding = null): string { return p\Mbstring::mb_trim($string, $characters, $encoding); } 149 } 150 151 if (!function_exists('mb_ltrim')) { 152 function mb_ltrim(string $string, ?string $characters = null, ?string $encoding = null): string { return p\Mbstring::mb_ltrim($string, $characters, $encoding); } 153 } 154 155 if (!function_exists('mb_rtrim')) { 156 function mb_rtrim(string $string, ?string $characters = null, ?string $encoding = null): string { return p\Mbstring::mb_rtrim($string, $characters, $encoding); } 157 } 158 159 135 160 if (extension_loaded('mbstring')) { 136 161 return; -
kolorweb-log-manager/trunk/vendor/symfony/polyfill-mbstring/bootstrap80.php
r2733580 r3153225 94 94 } 95 95 if (!function_exists('mb_get_info')) { 96 function mb_get_info(?string $type = 'all'): array|string|int|false { return p\Mbstring::mb_get_info((string) $type); }96 function mb_get_info(?string $type = 'all'): array|string|int|false|null { return p\Mbstring::mb_get_info((string) $type); } 97 97 } 98 98 if (!function_exists('mb_http_output')) { … … 129 129 } 130 130 131 if (!function_exists('mb_str_pad')) { 132 function mb_str_pad(string $string, int $length, string $pad_string = ' ', int $pad_type = STR_PAD_RIGHT, ?string $encoding = null): string { return p\Mbstring::mb_str_pad($string, $length, $pad_string, $pad_type, $encoding); } 133 } 134 135 if (!function_exists('mb_ucfirst')) { 136 function mb_ucfirst($string, ?string $encoding = null): string { return p\Mbstring::mb_ucfirst($string, $encoding); } 137 } 138 139 if (!function_exists('mb_lcfirst')) { 140 function mb_lcfirst($string, ?string $encoding = null): string { return p\Mbstring::mb_lcfirst($string, $encoding); } 141 } 142 143 if (!function_exists('mb_trim')) { 144 function mb_trim(string $string, ?string $characters = null, ?string $encoding = null): string { return p\Mbstring::mb_trim($string, $characters, $encoding); } 145 } 146 147 if (!function_exists('mb_ltrim')) { 148 function mb_ltrim(string $string, ?string $characters = null, ?string $encoding = null): string { return p\Mbstring::mb_ltrim($string, $characters, $encoding); } 149 } 150 151 if (!function_exists('mb_rtrim')) { 152 function mb_rtrim(string $string, ?string $characters = null, ?string $encoding = null): string { return p\Mbstring::mb_rtrim($string, $characters, $encoding); } 153 } 154 131 155 if (extension_loaded('mbstring')) { 132 156 return; -
kolorweb-log-manager/trunk/vendor/symfony/polyfill-mbstring/composer.json
r2733580 r3153225 17 17 ], 18 18 "require": { 19 "php": ">=7. 1"19 "php": ">=7.2" 20 20 }, 21 21 "provide": { … … 31 31 "minimum-stability": "dev", 32 32 "extra": { 33 "branch-alias": {34 "dev-main": "1.23-dev"35 },36 33 "thanks": { 37 34 "name": "symfony/polyfill", -
kolorweb-log-manager/trunk/vendor/wp-cli/wp-config-transformer/README.md
r2692326 r3153225 3 3 Programmatically edit a `wp-config.php` file. 4 4 5 [](https://travis-ci.org/wp-cli/wp-config-transformer)5 [](https://github.com/wp-cli/wp-config-transformer/actions/workflows/testing.yml) 6 6 7 7 Quick links: [Using](#using) | [Options](#options) | [How it works](#how-it-works) | [Testing](#testing) -
kolorweb-log-manager/trunk/vendor/wp-cli/wp-config-transformer/composer.json
r2692326 r3153225 15 15 "sort-packages": true, 16 16 "allow-plugins": { 17 "dealerdirect/phpcodesniffer-composer-installer": true 17 "dealerdirect/phpcodesniffer-composer-installer": true, 18 "johnpbloch/wordpress-core-installer": true 18 19 } 19 20 }, … … 22 23 }, 23 24 "require-dev": { 24 "wp-cli/wp-cli-tests": "^ 3.1"25 "wp-cli/wp-cli-tests": "^4.0" 25 26 }, 26 27 "autoload": { … … 34 35 "lint": "run-linter-tests", 35 36 "phpcs": "run-phpcs-tests", 37 "phpcbf": "run-phpcbf-cleanup", 36 38 "phpunit": "run-php-unit-tests", 37 39 "prepare-tests": "install-package-tests", -
kolorweb-log-manager/trunk/vendor/wp-cli/wp-config-transformer/src/WPConfigTransformer.php
r2692326 r3153225 71 71 } 72 72 // Normalize the newline to prevent an issue coming from OSX. 73 $this->wp_config_src = str_replace( array( "\ n\r", "\r" ), "\n", $wp_config_src );73 $this->wp_config_src = str_replace( array( "\r\n", "\n\r", "\r" ), "\n", $wp_config_src ); 74 74 $this->wp_configs = $this->parse_wp_config( $this->wp_config_src ); 75 75 … … 90 90 * @param string $name Config name. 91 91 * 92 * @return array92 * @return string|null 93 93 */ 94 94 public function get_value( $type, $name ) { … … 289 289 foreach ( token_get_all( $src ) as $token ) { 290 290 if ( in_array( $token[0], array( T_COMMENT, T_DOC_COMMENT ), true ) ) { 291 $src = str_replace( $token[1], '', $src ); 291 if ( '//' === $token[1] ) { 292 // For empty line comments, actually remove empty line comments instead of all double-slashes. 293 // See: https://github.com/wp-cli/wp-config-transformer/issues/47 294 $src = preg_replace( '/' . preg_quote( '//', '/' ) . '$/m', '', $src ); 295 } else { 296 $src = str_replace( $token[1], '', $src ); 297 } 292 298 } 293 299 }
Note: See TracChangeset
for help on using the changeset viewer.