Changeset 3397624
- Timestamp:
- 11/17/2025 09:54:00 PM (2 months ago)
- Location:
- core-rollback
- Files:
-
- 24 edited
- 1 copied
-
tags/1.4.0 (copied) (copied from core-rollback/trunk)
-
tags/1.4.0/CHANGES.md (modified) (1 diff)
-
tags/1.4.0/core-rollback.php (modified) (1 diff)
-
tags/1.4.0/languages/core-rollback.pot (modified) (2 diffs)
-
tags/1.4.0/readme.txt (modified) (2 diffs)
-
tags/1.4.0/src/Core.php (modified) (6 diffs)
-
tags/1.4.0/vendor/autoload.php (modified) (1 diff)
-
tags/1.4.0/vendor/composer/InstalledVersions.php (modified) (5 diffs)
-
tags/1.4.0/vendor/composer/autoload_classmap.php (modified) (3 diffs)
-
tags/1.4.0/vendor/composer/autoload_static.php (modified) (3 diffs)
-
tags/1.4.0/vendor/composer/installed.json (modified) (16 diffs)
-
tags/1.4.0/vendor/composer/installed.php (modified) (7 diffs)
-
tags/1.4.0/vendor/composer/platform_check.php (modified) (1 diff)
-
trunk/CHANGES.md (modified) (1 diff)
-
trunk/core-rollback.php (modified) (1 diff)
-
trunk/languages/core-rollback.pot (modified) (2 diffs)
-
trunk/readme.txt (modified) (2 diffs)
-
trunk/src/Core.php (modified) (6 diffs)
-
trunk/vendor/autoload.php (modified) (1 diff)
-
trunk/vendor/composer/InstalledVersions.php (modified) (5 diffs)
-
trunk/vendor/composer/autoload_classmap.php (modified) (3 diffs)
-
trunk/vendor/composer/autoload_static.php (modified) (3 diffs)
-
trunk/vendor/composer/installed.json (modified) (16 diffs)
-
trunk/vendor/composer/installed.php (modified) (7 diffs)
-
trunk/vendor/composer/platform_check.php (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
core-rollback/tags/1.4.0/CHANGES.md
r3201158 r3397624 1 1 [ unreleased ] 2 3 #### 1.4.0 / 2025-11-17 4 * return rollback offer with `update_core` transient 5 * update POT GitHub Action 2 6 3 7 #### 1.3.7 / 2024-12-02 -
core-rollback/tags/1.4.0/core-rollback.php
r3201158 r3397624 13 13 * Plugin URI: https://github.com/afragen/core-rollback 14 14 * Description: Seamless rollback of WordPress Core to latest release or any outdated, secure release using the Core Update API and core update methods. 15 * Version: 1. 3.715 * Version: 1.4.0 16 16 * Author: Andy Fragen 17 17 * License: MIT -
core-rollback/tags/1.4.0/languages/core-rollback.pot
r3201170 r3397624 1 # Copyright (C) 202 4Andy Fragen1 # Copyright (C) 2025 Andy Fragen 2 2 # This file is distributed under the MIT. 3 3 msgid "" 4 4 msgstr "" 5 "Project-Id-Version: core-rollback 1.3.7\n"5 "Project-Id-Version: Core Rollback 1.4.0\n" 6 6 "Report-Msgid-Bugs-To: https://github.com/afragen/core-rollback/issues\n" 7 7 "Last-Translator: FULL NAME <EMAIL@ADDRESS>\n" … … 10 10 "Content-Type: text/plain; charset=UTF-8\n" 11 11 "Content-Transfer-Encoding: 8bit\n" 12 "POT-Creation-Date: 202 4-12-02T19:52:35+00:00\n"12 "POT-Creation-Date: 2025-11-17T21:50:42+00:00\n" 13 13 "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" 14 "X-Generator: WP-CLI 2.1 1.0\n"14 "X-Generator: WP-CLI 2.12.0\n" 15 15 "X-Domain: core-rollback\n" 16 16 -
core-rollback/tags/1.4.0/readme.txt
r3201158 r3397624 7 7 Requires PHP: 5.6 8 8 Requires at least: 4.1 9 Tested up to: 6. 710 Stable tag: 1. 3.79 Tested up to: 6.9 10 Stable tag: 1.4.0 11 11 12 12 Seamless rollback of WordPress Core to latest release or any outdated, secure release using the Core Update API and core update methods. Only latest release and outdated, secure releases are offered. … … 35 35 36 36 ## Changelog 37 38 #### 1.4.0 / 2025-11-17 39 * return rollback offer with `update_core` transient 40 * update POT GitHub Action 37 41 38 42 #### 1.3.7 / 2024-12-02 -
core-rollback/tags/1.4.0/src/Core.php
r2860554 r3397624 10 10 11 11 namespace Fragen\Rollback; 12 13 use stdClass; 12 14 13 15 /* … … 71 73 add_filter( 'http_request_args', [ $this, 'filter_http_request_args' ], 10, 2 ); 72 74 add_filter( 'pre_http_request', [ $this, 'filter_http_request' ], 10, 3 ); 75 add_filter( 'site_transient_update_core', [ $this, 'add_rollback_offer' ], 10, 1 ); 73 76 } 74 77 … … 101 104 * @param string $url URL from filter. 102 105 * 103 * @return \stdClass $response Output from wp_remote_get().106 * @return stdClass $response Output from wp_remote_get(). 104 107 */ 105 108 public function filter_http_request( $result, $args, $url ) { 106 if ( $result || isset( $args['_core_rollback'] ) ) {109 if ( $result || isset( $args['_core_rollback'] ) || ! isset( $args['_rollback_version'] ) ) { 107 110 return $result; 108 111 } … … 129 132 * Update Core API update response to add rollback. 130 133 * 131 * @param \stdClass $response Core API response.132 * @param string $rollback_version Rollback version.134 * @param stdClass $response Core API response. 135 * @param string $rollback_version Rollback version. 133 136 * 134 * @return \stdClass137 * @return stdClass 135 138 */ 136 139 public function set_rollback( $response, $rollback_version ) { … … 139 142 } 140 143 $body = wp_remote_retrieve_body( $response ); 141 $offers = \json_decode( $body );144 $offers = json_decode( $body ); 142 145 $latest = false; 143 146 $num = count( array_keys( $offers->offers ) ); … … 156 159 $offers->offers[ $num ] = static::$core_versions[ $rollback_version ]; 157 160 } 161 set_site_transient( '_core_rollback_offers', $offers->offers, 15 ); 158 162 159 $body = \json_encode( $offers );163 $body = json_encode( $offers ); 160 164 $response['body'] = $body; 161 165 162 166 return $response; 163 167 } 168 169 /** 170 * Add core rollback offer to update_core transient. 171 * 172 * @param stdClass $transient Update core transient. 173 * 174 * @return stdClass 175 */ 176 public function add_rollback_offer( $transient ) { 177 $rollback = get_site_transient( '_core_rollback' ); 178 $version = $rollback['core_dropdown'] ?? ''; 179 $offers = get_site_transient( '_core_rollback_offers' ); 180 $versions = $this->get_core_versions(); 181 if ( array_keys( $versions )[0] === $version ) { 182 unset( $transient->updates[1] ); 183 } 184 if ( $offers && 'latest' === $offers[1]->response && $version === $offers[1]->version ) { 185 $transient->updates[] = $offers[1]; 186 } 187 188 return $transient; 189 } 164 190 } -
core-rollback/tags/1.4.0/vendor/autoload.php
r3201170 r3397624 15 15 } 16 16 } 17 trigger_error( 18 $err, 19 E_USER_ERROR 20 ); 17 throw new RuntimeException($err); 21 18 } 22 19 -
core-rollback/tags/1.4.0/vendor/composer/InstalledVersions.php
r2937801 r3397624 28 28 { 29 29 /** 30 * @var string|null if set (by reflection by Composer), this should be set to the path where this class is being copied to 31 * @internal 32 */ 33 private static $selfDir = null; 34 35 /** 30 36 * @var mixed[]|null 31 37 * @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 38 */ 33 39 private static $installed; 40 41 /** 42 * @var bool 43 */ 44 private static $installedIsLocalDir; 34 45 35 46 /** … … 310 321 self::$installed = $data; 311 322 self::$installedByVendor = array(); 323 324 // when using reload, we disable the duplicate protection to ensure that self::$installed data is 325 // always returned, but we cannot know whether it comes from the installed.php in __DIR__ or not, 326 // so we have to assume it does not, and that may result in duplicate data being returned when listing 327 // all installed packages for example 328 self::$installedIsLocalDir = false; 329 } 330 331 /** 332 * @return string 333 */ 334 private static function getSelfDir() 335 { 336 if (self::$selfDir === null) { 337 self::$selfDir = strtr(__DIR__, '\\', '/'); 338 } 339 340 return self::$selfDir; 312 341 } 313 342 … … 323 352 324 353 $installed = array(); 354 $copiedLocalDir = false; 325 355 326 356 if (self::$canGetVendors) { 357 $selfDir = self::getSelfDir(); 327 358 foreach (ClassLoader::getRegisteredLoaders() as $vendorDir => $loader) { 359 $vendorDir = strtr($vendorDir, '\\', '/'); 328 360 if (isset(self::$installedByVendor[$vendorDir])) { 329 361 $installed[] = self::$installedByVendor[$vendorDir]; … … 331 363 /** @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 364 $required = require $vendorDir.'/composer/installed.php'; 333 $installed[] = self::$installedByVendor[$vendorDir] = $required; 334 if (null === self::$installed && strtr($vendorDir.'/composer', '\\', '/') === strtr(__DIR__, '\\', '/')) { 335 self::$installed = $installed[count($installed) - 1]; 365 self::$installedByVendor[$vendorDir] = $required; 366 $installed[] = $required; 367 if (self::$installed === null && $vendorDir.'/composer' === $selfDir) { 368 self::$installed = $required; 369 self::$installedIsLocalDir = true; 336 370 } 371 } 372 if (self::$installedIsLocalDir && $vendorDir.'/composer' === $selfDir) { 373 $copiedLocalDir = true; 337 374 } 338 375 } … … 351 388 } 352 389 353 if (self::$installed !== array() ) {390 if (self::$installed !== array() && !$copiedLocalDir) { 354 391 $installed[] = self::$installed; 355 392 } -
core-rollback/tags/1.4.0/vendor/composer/autoload_classmap.php
r3180137 r3397624 13 13 'PHPCSUtils\\BackCompat\\Helper' => $vendorDir . '/phpcsstandards/phpcsutils/PHPCSUtils/BackCompat/Helper.php', 14 14 'PHPCSUtils\\Exceptions\\InvalidTokenArray' => $vendorDir . '/phpcsstandards/phpcsutils/PHPCSUtils/Exceptions/InvalidTokenArray.php', 15 'PHPCSUtils\\Exceptions\\LogicException' => $vendorDir . '/phpcsstandards/phpcsutils/PHPCSUtils/Exceptions/LogicException.php', 16 'PHPCSUtils\\Exceptions\\MissingArgumentError' => $vendorDir . '/phpcsstandards/phpcsutils/PHPCSUtils/Exceptions/MissingArgumentError.php', 17 'PHPCSUtils\\Exceptions\\OutOfBoundsStackPtr' => $vendorDir . '/phpcsstandards/phpcsutils/PHPCSUtils/Exceptions/OutOfBoundsStackPtr.php', 18 'PHPCSUtils\\Exceptions\\RuntimeException' => $vendorDir . '/phpcsstandards/phpcsutils/PHPCSUtils/Exceptions/RuntimeException.php', 15 19 'PHPCSUtils\\Exceptions\\TestFileNotFound' => $vendorDir . '/phpcsstandards/phpcsutils/PHPCSUtils/Exceptions/TestFileNotFound.php', 16 20 'PHPCSUtils\\Exceptions\\TestMarkerNotFound' => $vendorDir . '/phpcsstandards/phpcsutils/PHPCSUtils/Exceptions/TestMarkerNotFound.php', 17 21 'PHPCSUtils\\Exceptions\\TestTargetNotFound' => $vendorDir . '/phpcsstandards/phpcsutils/PHPCSUtils/Exceptions/TestTargetNotFound.php', 22 'PHPCSUtils\\Exceptions\\TypeError' => $vendorDir . '/phpcsstandards/phpcsutils/PHPCSUtils/Exceptions/TypeError.php', 23 'PHPCSUtils\\Exceptions\\UnexpectedTokenType' => $vendorDir . '/phpcsstandards/phpcsutils/PHPCSUtils/Exceptions/UnexpectedTokenType.php', 24 'PHPCSUtils\\Exceptions\\ValueError' => $vendorDir . '/phpcsstandards/phpcsutils/PHPCSUtils/Exceptions/ValueError.php', 18 25 'PHPCSUtils\\Fixers\\SpacesFixer' => $vendorDir . '/phpcsstandards/phpcsutils/PHPCSUtils/Fixers/SpacesFixer.php', 26 'PHPCSUtils\\Internal\\AttributeHelper' => $vendorDir . '/phpcsstandards/phpcsutils/PHPCSUtils/Internal/AttributeHelper.php', 19 27 'PHPCSUtils\\Internal\\Cache' => $vendorDir . '/phpcsstandards/phpcsutils/PHPCSUtils/Internal/Cache.php', 20 28 'PHPCSUtils\\Internal\\IsShortArrayOrList' => $vendorDir . '/phpcsstandards/phpcsutils/PHPCSUtils/Internal/IsShortArrayOrList.php', … … 22 30 'PHPCSUtils\\Internal\\NoFileCache' => $vendorDir . '/phpcsstandards/phpcsutils/PHPCSUtils/Internal/NoFileCache.php', 23 31 'PHPCSUtils\\Internal\\StableCollections' => $vendorDir . '/phpcsstandards/phpcsutils/PHPCSUtils/Internal/StableCollections.php', 32 'PHPCSUtils\\TestUtils\\ConfigDouble' => $vendorDir . '/phpcsstandards/phpcsutils/PHPCSUtils/TestUtils/ConfigDouble.php', 33 'PHPCSUtils\\TestUtils\\RulesetDouble' => $vendorDir . '/phpcsstandards/phpcsutils/PHPCSUtils/TestUtils/RulesetDouble.php', 24 34 'PHPCSUtils\\TestUtils\\UtilityMethodTestCase' => $vendorDir . '/phpcsstandards/phpcsutils/PHPCSUtils/TestUtils/UtilityMethodTestCase.php', 25 35 'PHPCSUtils\\Tokens\\Collections' => $vendorDir . '/phpcsstandards/phpcsutils/PHPCSUtils/Tokens/Collections.php', 26 36 'PHPCSUtils\\Tokens\\TokenHelper' => $vendorDir . '/phpcsstandards/phpcsutils/PHPCSUtils/Tokens/TokenHelper.php', 27 37 'PHPCSUtils\\Utils\\Arrays' => $vendorDir . '/phpcsstandards/phpcsutils/PHPCSUtils/Utils/Arrays.php', 38 'PHPCSUtils\\Utils\\AttributeBlock' => $vendorDir . '/phpcsstandards/phpcsutils/PHPCSUtils/Utils/AttributeBlock.php', 28 39 'PHPCSUtils\\Utils\\Conditions' => $vendorDir . '/phpcsstandards/phpcsutils/PHPCSUtils/Utils/Conditions.php', 40 'PHPCSUtils\\Utils\\Constants' => $vendorDir . '/phpcsstandards/phpcsutils/PHPCSUtils/Utils/Constants.php', 29 41 'PHPCSUtils\\Utils\\Context' => $vendorDir . '/phpcsstandards/phpcsutils/PHPCSUtils/Utils/Context.php', 30 42 'PHPCSUtils\\Utils\\ControlStructures' => $vendorDir . '/phpcsstandards/phpcsutils/PHPCSUtils/Utils/ControlStructures.php', 43 'PHPCSUtils\\Utils\\FileInfo' => $vendorDir . '/phpcsstandards/phpcsutils/PHPCSUtils/Utils/FileInfo.php', 44 'PHPCSUtils\\Utils\\FilePath' => $vendorDir . '/phpcsstandards/phpcsutils/PHPCSUtils/Utils/FilePath.php', 31 45 'PHPCSUtils\\Utils\\FunctionDeclarations' => $vendorDir . '/phpcsstandards/phpcsutils/PHPCSUtils/Utils/FunctionDeclarations.php', 32 46 'PHPCSUtils\\Utils\\GetTokensAsString' => $vendorDir . '/phpcsstandards/phpcsutils/PHPCSUtils/Utils/GetTokensAsString.php', … … 43 57 'PHPCSUtils\\Utils\\Scopes' => $vendorDir . '/phpcsstandards/phpcsutils/PHPCSUtils/Utils/Scopes.php', 44 58 'PHPCSUtils\\Utils\\TextStrings' => $vendorDir . '/phpcsstandards/phpcsutils/PHPCSUtils/Utils/TextStrings.php', 59 'PHPCSUtils\\Utils\\TypeString' => $vendorDir . '/phpcsstandards/phpcsutils/PHPCSUtils/Utils/TypeString.php', 45 60 'PHPCSUtils\\Utils\\UseStatements' => $vendorDir . '/phpcsstandards/phpcsutils/PHPCSUtils/Utils/UseStatements.php', 46 61 'PHPCSUtils\\Utils\\Variables' => $vendorDir . '/phpcsstandards/phpcsutils/PHPCSUtils/Utils/Variables.php', -
core-rollback/tags/1.4.0/vendor/composer/autoload_static.php
r3201170 r3397624 36 36 'PHPCSUtils\\BackCompat\\Helper' => __DIR__ . '/..' . '/phpcsstandards/phpcsutils/PHPCSUtils/BackCompat/Helper.php', 37 37 'PHPCSUtils\\Exceptions\\InvalidTokenArray' => __DIR__ . '/..' . '/phpcsstandards/phpcsutils/PHPCSUtils/Exceptions/InvalidTokenArray.php', 38 'PHPCSUtils\\Exceptions\\LogicException' => __DIR__ . '/..' . '/phpcsstandards/phpcsutils/PHPCSUtils/Exceptions/LogicException.php', 39 'PHPCSUtils\\Exceptions\\MissingArgumentError' => __DIR__ . '/..' . '/phpcsstandards/phpcsutils/PHPCSUtils/Exceptions/MissingArgumentError.php', 40 'PHPCSUtils\\Exceptions\\OutOfBoundsStackPtr' => __DIR__ . '/..' . '/phpcsstandards/phpcsutils/PHPCSUtils/Exceptions/OutOfBoundsStackPtr.php', 41 'PHPCSUtils\\Exceptions\\RuntimeException' => __DIR__ . '/..' . '/phpcsstandards/phpcsutils/PHPCSUtils/Exceptions/RuntimeException.php', 38 42 'PHPCSUtils\\Exceptions\\TestFileNotFound' => __DIR__ . '/..' . '/phpcsstandards/phpcsutils/PHPCSUtils/Exceptions/TestFileNotFound.php', 39 43 'PHPCSUtils\\Exceptions\\TestMarkerNotFound' => __DIR__ . '/..' . '/phpcsstandards/phpcsutils/PHPCSUtils/Exceptions/TestMarkerNotFound.php', 40 44 'PHPCSUtils\\Exceptions\\TestTargetNotFound' => __DIR__ . '/..' . '/phpcsstandards/phpcsutils/PHPCSUtils/Exceptions/TestTargetNotFound.php', 45 'PHPCSUtils\\Exceptions\\TypeError' => __DIR__ . '/..' . '/phpcsstandards/phpcsutils/PHPCSUtils/Exceptions/TypeError.php', 46 'PHPCSUtils\\Exceptions\\UnexpectedTokenType' => __DIR__ . '/..' . '/phpcsstandards/phpcsutils/PHPCSUtils/Exceptions/UnexpectedTokenType.php', 47 'PHPCSUtils\\Exceptions\\ValueError' => __DIR__ . '/..' . '/phpcsstandards/phpcsutils/PHPCSUtils/Exceptions/ValueError.php', 41 48 'PHPCSUtils\\Fixers\\SpacesFixer' => __DIR__ . '/..' . '/phpcsstandards/phpcsutils/PHPCSUtils/Fixers/SpacesFixer.php', 49 'PHPCSUtils\\Internal\\AttributeHelper' => __DIR__ . '/..' . '/phpcsstandards/phpcsutils/PHPCSUtils/Internal/AttributeHelper.php', 42 50 'PHPCSUtils\\Internal\\Cache' => __DIR__ . '/..' . '/phpcsstandards/phpcsutils/PHPCSUtils/Internal/Cache.php', 43 51 'PHPCSUtils\\Internal\\IsShortArrayOrList' => __DIR__ . '/..' . '/phpcsstandards/phpcsutils/PHPCSUtils/Internal/IsShortArrayOrList.php', … … 45 53 'PHPCSUtils\\Internal\\NoFileCache' => __DIR__ . '/..' . '/phpcsstandards/phpcsutils/PHPCSUtils/Internal/NoFileCache.php', 46 54 'PHPCSUtils\\Internal\\StableCollections' => __DIR__ . '/..' . '/phpcsstandards/phpcsutils/PHPCSUtils/Internal/StableCollections.php', 55 'PHPCSUtils\\TestUtils\\ConfigDouble' => __DIR__ . '/..' . '/phpcsstandards/phpcsutils/PHPCSUtils/TestUtils/ConfigDouble.php', 56 'PHPCSUtils\\TestUtils\\RulesetDouble' => __DIR__ . '/..' . '/phpcsstandards/phpcsutils/PHPCSUtils/TestUtils/RulesetDouble.php', 47 57 'PHPCSUtils\\TestUtils\\UtilityMethodTestCase' => __DIR__ . '/..' . '/phpcsstandards/phpcsutils/PHPCSUtils/TestUtils/UtilityMethodTestCase.php', 48 58 'PHPCSUtils\\Tokens\\Collections' => __DIR__ . '/..' . '/phpcsstandards/phpcsutils/PHPCSUtils/Tokens/Collections.php', 49 59 'PHPCSUtils\\Tokens\\TokenHelper' => __DIR__ . '/..' . '/phpcsstandards/phpcsutils/PHPCSUtils/Tokens/TokenHelper.php', 50 60 'PHPCSUtils\\Utils\\Arrays' => __DIR__ . '/..' . '/phpcsstandards/phpcsutils/PHPCSUtils/Utils/Arrays.php', 61 'PHPCSUtils\\Utils\\AttributeBlock' => __DIR__ . '/..' . '/phpcsstandards/phpcsutils/PHPCSUtils/Utils/AttributeBlock.php', 51 62 'PHPCSUtils\\Utils\\Conditions' => __DIR__ . '/..' . '/phpcsstandards/phpcsutils/PHPCSUtils/Utils/Conditions.php', 63 'PHPCSUtils\\Utils\\Constants' => __DIR__ . '/..' . '/phpcsstandards/phpcsutils/PHPCSUtils/Utils/Constants.php', 52 64 'PHPCSUtils\\Utils\\Context' => __DIR__ . '/..' . '/phpcsstandards/phpcsutils/PHPCSUtils/Utils/Context.php', 53 65 'PHPCSUtils\\Utils\\ControlStructures' => __DIR__ . '/..' . '/phpcsstandards/phpcsutils/PHPCSUtils/Utils/ControlStructures.php', 66 'PHPCSUtils\\Utils\\FileInfo' => __DIR__ . '/..' . '/phpcsstandards/phpcsutils/PHPCSUtils/Utils/FileInfo.php', 67 'PHPCSUtils\\Utils\\FilePath' => __DIR__ . '/..' . '/phpcsstandards/phpcsutils/PHPCSUtils/Utils/FilePath.php', 54 68 'PHPCSUtils\\Utils\\FunctionDeclarations' => __DIR__ . '/..' . '/phpcsstandards/phpcsutils/PHPCSUtils/Utils/FunctionDeclarations.php', 55 69 'PHPCSUtils\\Utils\\GetTokensAsString' => __DIR__ . '/..' . '/phpcsstandards/phpcsutils/PHPCSUtils/Utils/GetTokensAsString.php', … … 66 80 'PHPCSUtils\\Utils\\Scopes' => __DIR__ . '/..' . '/phpcsstandards/phpcsutils/PHPCSUtils/Utils/Scopes.php', 67 81 'PHPCSUtils\\Utils\\TextStrings' => __DIR__ . '/..' . '/phpcsstandards/phpcsutils/PHPCSUtils/Utils/TextStrings.php', 82 'PHPCSUtils\\Utils\\TypeString' => __DIR__ . '/..' . '/phpcsstandards/phpcsutils/PHPCSUtils/Utils/TypeString.php', 68 83 'PHPCSUtils\\Utils\\UseStatements' => __DIR__ . '/..' . '/phpcsstandards/phpcsutils/PHPCSUtils/Utils/UseStatements.php', 69 84 'PHPCSUtils\\Utils\\Variables' => __DIR__ . '/..' . '/phpcsstandards/phpcsutils/PHPCSUtils/Utils/Variables.php', -
core-rollback/tags/1.4.0/vendor/composer/installed.json
r3201170 r3397624 3 3 { 4 4 "name": "dealerdirect/phpcodesniffer-composer-installer", 5 "version": "v1. 0.0",6 "version_normalized": "1. 0.0.0",5 "version": "v1.2.0", 6 "version_normalized": "1.2.0.0", 7 7 "source": { 8 8 "type": "git", 9 9 "url": "https://github.com/PHPCSStandards/composer-installer.git", 10 "reference": " 4be43904336affa5c2f70744a348312336afd0da"10 "reference": "845eb62303d2ca9b289ef216356568ccc075ffd1" 11 11 }, 12 12 "dist": { 13 13 "type": "zip", 14 "url": "https://api.github.com/repos/PHPCSStandards/composer-installer/zipball/ 4be43904336affa5c2f70744a348312336afd0da",15 "reference": " 4be43904336affa5c2f70744a348312336afd0da",14 "url": "https://api.github.com/repos/PHPCSStandards/composer-installer/zipball/845eb62303d2ca9b289ef216356568ccc075ffd1", 15 "reference": "845eb62303d2ca9b289ef216356568ccc075ffd1", 16 16 "shasum": "" 17 17 }, 18 18 "require": { 19 "composer-plugin-api": "^ 1.0 || ^2.0",19 "composer-plugin-api": "^2.2", 20 20 "php": ">=5.4", 21 "squizlabs/php_codesniffer": "^ 2.0 || ^3.1.0 || ^4.0"21 "squizlabs/php_codesniffer": "^3.1.0 || ^4.0" 22 22 }, 23 23 "require-dev": { 24 "composer/composer": " *",24 "composer/composer": "^2.2", 25 25 "ext-json": "*", 26 26 "ext-zip": "*", 27 "php-parallel-lint/php-parallel-lint": "^1. 3.1",28 "phpcompatibility/php-compatibility": "^9.0 ",27 "php-parallel-lint/php-parallel-lint": "^1.4.0", 28 "phpcompatibility/php-compatibility": "^9.0 || ^10.0.0@dev", 29 29 "yoast/phpunit-polyfills": "^1.0" 30 30 }, 31 "time": "202 3-01-05T11:28:13+00:00",31 "time": "2025-11-11T04:32:07+00:00", 32 32 "type": "composer-plugin", 33 33 "extra": { … … 47 47 { 48 48 "name": "Franck Nijhof", 49 "email": " franck.nijhof@dealerdirect.com",50 "homepage": "http ://www.frenck.nl",51 "role": " Developer / IT Manager"49 "email": "opensource@frenck.dev", 50 "homepage": "https://frenck.dev", 51 "role": "Open source developer" 52 52 }, 53 53 { … … 57 57 ], 58 58 "description": "PHP_CodeSniffer Standards Composer Installer Plugin", 59 "homepage": "http://www.dealerdirect.com",60 59 "keywords": [ 61 60 "PHPCodeSniffer", … … 78 77 "support": { 79 78 "issues": "https://github.com/PHPCSStandards/composer-installer/issues", 79 "security": "https://github.com/PHPCSStandards/composer-installer/security/policy", 80 80 "source": "https://github.com/PHPCSStandards/composer-installer" 81 81 }, 82 "funding": [ 83 { 84 "url": "https://github.com/PHPCSStandards", 85 "type": "github" 86 }, 87 { 88 "url": "https://github.com/jrfnl", 89 "type": "github" 90 }, 91 { 92 "url": "https://opencollective.com/php_codesniffer", 93 "type": "open_collective" 94 }, 95 { 96 "url": "https://thanks.dev/u/gh/phpcsstandards", 97 "type": "thanks_dev" 98 } 99 ], 82 100 "install-path": "../dealerdirect/phpcodesniffer-composer-installer" 83 101 }, 84 102 { 85 103 "name": "phpcsstandards/phpcsextra", 86 "version": "1. 2.1",87 "version_normalized": "1. 2.1.0",104 "version": "1.5.0", 105 "version_normalized": "1.5.0.0", 88 106 "source": { 89 107 "type": "git", 90 108 "url": "https://github.com/PHPCSStandards/PHPCSExtra.git", 91 "reference": " 11d387c6642b6e4acaf0bd9bf5203b8cca1ec489"109 "reference": "b598aa890815b8df16363271b659d73280129101" 92 110 }, 93 111 "dist": { 94 112 "type": "zip", 95 "url": "https://api.github.com/repos/PHPCSStandards/PHPCSExtra/zipball/ 11d387c6642b6e4acaf0bd9bf5203b8cca1ec489",96 "reference": " 11d387c6642b6e4acaf0bd9bf5203b8cca1ec489",113 "url": "https://api.github.com/repos/PHPCSStandards/PHPCSExtra/zipball/b598aa890815b8df16363271b659d73280129101", 114 "reference": "b598aa890815b8df16363271b659d73280129101", 97 115 "shasum": "" 98 116 }, 99 117 "require": { 100 118 "php": ">=5.4", 101 "phpcsstandards/phpcsutils": "^1. 0.9",102 "squizlabs/php_codesniffer": "^3. 8.0"119 "phpcsstandards/phpcsutils": "^1.2.0", 120 "squizlabs/php_codesniffer": "^3.13.5 || ^4.0.1" 103 121 }, 104 122 "require-dev": { 105 123 "php-parallel-lint/php-console-highlighter": "^1.0", 106 "php-parallel-lint/php-parallel-lint": "^1. 3.2",107 "phpcsstandards/phpcsdevcs": "^1. 1.6",124 "php-parallel-lint/php-parallel-lint": "^1.4.0", 125 "phpcsstandards/phpcsdevcs": "^1.2.0", 108 126 "phpcsstandards/phpcsdevtools": "^1.2.1", 109 "phpunit/phpunit": "^4.5 || ^5.0 || ^6.0 || ^7.0 || ^8.0 || ^9. 0"110 }, 111 "time": "202 3-12-08T16:49:07+00:00",127 "phpunit/phpunit": "^4.5 || ^5.0 || ^6.0 || ^7.0 || ^8.0 || ^9.3.4" 128 }, 129 "time": "2025-11-12T23:06:57+00:00", 112 130 "type": "phpcodesniffer-standard", 113 131 "extra": { … … 159 177 "url": "https://opencollective.com/php_codesniffer", 160 178 "type": "open_collective" 179 }, 180 { 181 "url": "https://thanks.dev/u/gh/phpcsstandards", 182 "type": "thanks_dev" 161 183 } 162 184 ], … … 165 187 { 166 188 "name": "phpcsstandards/phpcsutils", 167 "version": "1. 0.12",168 "version_normalized": "1. 0.12.0",189 "version": "1.2.0", 190 "version_normalized": "1.2.0.0", 169 191 "source": { 170 192 "type": "git", 171 193 "url": "https://github.com/PHPCSStandards/PHPCSUtils.git", 172 "reference": " 87b233b00daf83fb70f40c9a28692be017ea7c6c"194 "reference": "fa82d14ad1c1713224a52c66c78478145fe454ba" 173 195 }, 174 196 "dist": { 175 197 "type": "zip", 176 "url": "https://api.github.com/repos/PHPCSStandards/PHPCSUtils/zipball/ 87b233b00daf83fb70f40c9a28692be017ea7c6c",177 "reference": " 87b233b00daf83fb70f40c9a28692be017ea7c6c",198 "url": "https://api.github.com/repos/PHPCSStandards/PHPCSUtils/zipball/fa82d14ad1c1713224a52c66c78478145fe454ba", 199 "reference": "fa82d14ad1c1713224a52c66c78478145fe454ba", 178 200 "shasum": "" 179 201 }, … … 181 203 "dealerdirect/phpcodesniffer-composer-installer": "^0.4.1 || ^0.5 || ^0.6.2 || ^0.7 || ^1.0", 182 204 "php": ">=5.4", 183 "squizlabs/php_codesniffer": "^3.1 0.0 || 4.0.x-dev@dev"205 "squizlabs/php_codesniffer": "^3.13.5 || ^4.0.1" 184 206 }, 185 207 "require-dev": { 186 208 "ext-filter": "*", 187 209 "php-parallel-lint/php-console-highlighter": "^1.0", 188 "php-parallel-lint/php-parallel-lint": "^1. 3.2",189 "phpcsstandards/phpcsdevcs": "^1. 1.6",190 "yoast/phpunit-polyfills": "^1.1.0 || ^2.0.0 "191 }, 192 "time": "202 4-05-20T13:34:27+00:00",210 "php-parallel-lint/php-parallel-lint": "^1.4.0", 211 "phpcsstandards/phpcsdevcs": "^1.2.0", 212 "yoast/phpunit-polyfills": "^1.1.0 || ^2.0.0 || ^3.0.0" 213 }, 214 "time": "2025-11-11T00:17:56+00:00", 193 215 "type": "phpcodesniffer-standard", 194 216 "extra": { … … 227 249 "phpcs", 228 250 "phpcs3", 251 "phpcs4", 229 252 "standards", 230 253 "static analysis", … … 250 273 "url": "https://opencollective.com/php_codesniffer", 251 274 "type": "open_collective" 275 }, 276 { 277 "url": "https://thanks.dev/u/gh/phpcsstandards", 278 "type": "thanks_dev" 252 279 } 253 280 ], … … 256 283 { 257 284 "name": "squizlabs/php_codesniffer", 258 "version": "3.1 1.1",259 "version_normalized": "3.1 1.1.0",285 "version": "3.13.5", 286 "version_normalized": "3.13.5.0", 260 287 "source": { 261 288 "type": "git", 262 289 "url": "https://github.com/PHPCSStandards/PHP_CodeSniffer.git", 263 "reference": " 19473c30efe4f7b3cd42522d0b2e6e7f243c6f87"290 "reference": "0ca86845ce43291e8f5692c7356fccf3bcf02bf4" 264 291 }, 265 292 "dist": { 266 293 "type": "zip", 267 "url": "https://api.github.com/repos/PHPCSStandards/PHP_CodeSniffer/zipball/ 19473c30efe4f7b3cd42522d0b2e6e7f243c6f87",268 "reference": " 19473c30efe4f7b3cd42522d0b2e6e7f243c6f87",294 "url": "https://api.github.com/repos/PHPCSStandards/PHP_CodeSniffer/zipball/0ca86845ce43291e8f5692c7356fccf3bcf02bf4", 295 "reference": "0ca86845ce43291e8f5692c7356fccf3bcf02bf4", 269 296 "shasum": "" 270 297 }, … … 278 305 "phpunit/phpunit": "^4.0 || ^5.0 || ^6.0 || ^7.0 || ^8.0 || ^9.3.4" 279 306 }, 280 "time": "202 4-11-16T12:02:36+00:00",307 "time": "2025-11-04T16:30:35+00:00", 281 308 "bin": [ 282 309 "bin/phpcbf", … … 284 311 ], 285 312 "type": "library", 286 "extra": {287 "branch-alias": {288 "dev-master": "3.x-dev"289 }290 },291 313 "installation-source": "dist", 292 314 "notification-url": "https://packagist.org/downloads/", … … 333 355 "url": "https://opencollective.com/php_codesniffer", 334 356 "type": "open_collective" 357 }, 358 { 359 "url": "https://thanks.dev/u/gh/phpcsstandards", 360 "type": "thanks_dev" 335 361 } 336 362 ], … … 339 365 { 340 366 "name": "wp-coding-standards/wpcs", 341 "version": "3. 1.0",342 "version_normalized": "3. 1.0.0",367 "version": "3.2.0", 368 "version_normalized": "3.2.0.0", 343 369 "source": { 344 370 "type": "git", 345 371 "url": "https://github.com/WordPress/WordPress-Coding-Standards.git", 346 "reference": " 9333efcbff231f10dfd9c56bb7b65818b4733ca7"372 "reference": "d2421de7cec3274ae622c22c744de9a62c7925af" 347 373 }, 348 374 "dist": { 349 375 "type": "zip", 350 "url": "https://api.github.com/repos/WordPress/WordPress-Coding-Standards/zipball/ 9333efcbff231f10dfd9c56bb7b65818b4733ca7",351 "reference": " 9333efcbff231f10dfd9c56bb7b65818b4733ca7",376 "url": "https://api.github.com/repos/WordPress/WordPress-Coding-Standards/zipball/d2421de7cec3274ae622c22c744de9a62c7925af", 377 "reference": "d2421de7cec3274ae622c22c744de9a62c7925af", 352 378 "shasum": "" 353 379 }, … … 358 384 "ext-xmlreader": "*", 359 385 "php": ">=5.4", 360 "phpcsstandards/phpcsextra": "^1. 2.1",361 "phpcsstandards/phpcsutils": "^1. 0.10",362 "squizlabs/php_codesniffer": "^3. 9.0"386 "phpcsstandards/phpcsextra": "^1.4.0", 387 "phpcsstandards/phpcsutils": "^1.1.0", 388 "squizlabs/php_codesniffer": "^3.13.0" 363 389 }, 364 390 "require-dev": { 365 391 "php-parallel-lint/php-console-highlighter": "^1.0.0", 366 "php-parallel-lint/php-parallel-lint": "^1. 3.2",392 "php-parallel-lint/php-parallel-lint": "^1.4.0", 367 393 "phpcompatibility/php-compatibility": "^9.0", 368 394 "phpcsstandards/phpcsdevtools": "^1.2.0", … … 373 399 "ext-mbstring": "For improved results" 374 400 }, 375 "time": "202 4-03-25T16:39:00+00:00",401 "time": "2025-07-24T20:08:31+00:00", 376 402 "type": "phpcodesniffer-standard", 377 403 "installation-source": "dist", -
core-rollback/tags/1.4.0/vendor/composer/installed.php
r3201170 r3397624 4 4 'pretty_version' => 'dev-main', 5 5 'version' => 'dev-main', 6 'reference' => ' 499ef0f9bf0756d12450e807c82ee70cb7aa7a6d',6 'reference' => '123c65db471b1d56402779dce93faf5a053cb63c', 7 7 'type' => 'wordpress-plugin', 8 8 'install_path' => __DIR__ . '/../../', … … 14 14 'pretty_version' => 'dev-main', 15 15 'version' => 'dev-main', 16 'reference' => ' 499ef0f9bf0756d12450e807c82ee70cb7aa7a6d',16 'reference' => '123c65db471b1d56402779dce93faf5a053cb63c', 17 17 'type' => 'wordpress-plugin', 18 18 'install_path' => __DIR__ . '/../../', … … 21 21 ), 22 22 'dealerdirect/phpcodesniffer-composer-installer' => array( 23 'pretty_version' => 'v1. 0.0',24 'version' => '1. 0.0.0',25 'reference' => ' 4be43904336affa5c2f70744a348312336afd0da',23 'pretty_version' => 'v1.2.0', 24 'version' => '1.2.0.0', 25 'reference' => '845eb62303d2ca9b289ef216356568ccc075ffd1', 26 26 'type' => 'composer-plugin', 27 27 'install_path' => __DIR__ . '/../dealerdirect/phpcodesniffer-composer-installer', … … 30 30 ), 31 31 'phpcsstandards/phpcsextra' => array( 32 'pretty_version' => '1. 2.1',33 'version' => '1. 2.1.0',34 'reference' => ' 11d387c6642b6e4acaf0bd9bf5203b8cca1ec489',32 'pretty_version' => '1.5.0', 33 'version' => '1.5.0.0', 34 'reference' => 'b598aa890815b8df16363271b659d73280129101', 35 35 'type' => 'phpcodesniffer-standard', 36 36 'install_path' => __DIR__ . '/../phpcsstandards/phpcsextra', … … 39 39 ), 40 40 'phpcsstandards/phpcsutils' => array( 41 'pretty_version' => '1. 0.12',42 'version' => '1. 0.12.0',43 'reference' => ' 87b233b00daf83fb70f40c9a28692be017ea7c6c',41 'pretty_version' => '1.2.0', 42 'version' => '1.2.0.0', 43 'reference' => 'fa82d14ad1c1713224a52c66c78478145fe454ba', 44 44 'type' => 'phpcodesniffer-standard', 45 45 'install_path' => __DIR__ . '/../phpcsstandards/phpcsutils', … … 48 48 ), 49 49 'squizlabs/php_codesniffer' => array( 50 'pretty_version' => '3.1 1.1',51 'version' => '3.1 1.1.0',52 'reference' => ' 19473c30efe4f7b3cd42522d0b2e6e7f243c6f87',50 'pretty_version' => '3.13.5', 51 'version' => '3.13.5.0', 52 'reference' => '0ca86845ce43291e8f5692c7356fccf3bcf02bf4', 53 53 'type' => 'library', 54 54 'install_path' => __DIR__ . '/../squizlabs/php_codesniffer', … … 57 57 ), 58 58 'wp-coding-standards/wpcs' => array( 59 'pretty_version' => '3. 1.0',60 'version' => '3. 1.0.0',61 'reference' => ' 9333efcbff231f10dfd9c56bb7b65818b4733ca7',59 'pretty_version' => '3.2.0', 60 'version' => '3.2.0.0', 61 'reference' => 'd2421de7cec3274ae622c22c744de9a62c7925af', 62 62 'type' => 'phpcodesniffer-standard', 63 63 'install_path' => __DIR__ . '/../wp-coding-standards/wpcs', -
core-rollback/tags/1.4.0/vendor/composer/platform_check.php
r2420146 r3397624 20 20 } 21 21 } 22 trigger_error( 23 'Composer detected issues in your platform: ' . implode(' ', $issues), 24 E_USER_ERROR 22 throw new \RuntimeException( 23 'Composer detected issues in your platform: ' . implode(' ', $issues) 25 24 ); 26 25 } -
core-rollback/trunk/CHANGES.md
r3201158 r3397624 1 1 [ unreleased ] 2 3 #### 1.4.0 / 2025-11-17 4 * return rollback offer with `update_core` transient 5 * update POT GitHub Action 2 6 3 7 #### 1.3.7 / 2024-12-02 -
core-rollback/trunk/core-rollback.php
r3201158 r3397624 13 13 * Plugin URI: https://github.com/afragen/core-rollback 14 14 * Description: Seamless rollback of WordPress Core to latest release or any outdated, secure release using the Core Update API and core update methods. 15 * Version: 1. 3.715 * Version: 1.4.0 16 16 * Author: Andy Fragen 17 17 * License: MIT -
core-rollback/trunk/languages/core-rollback.pot
r3201170 r3397624 1 # Copyright (C) 202 4Andy Fragen1 # Copyright (C) 2025 Andy Fragen 2 2 # This file is distributed under the MIT. 3 3 msgid "" 4 4 msgstr "" 5 "Project-Id-Version: core-rollback 1.3.7\n"5 "Project-Id-Version: Core Rollback 1.4.0\n" 6 6 "Report-Msgid-Bugs-To: https://github.com/afragen/core-rollback/issues\n" 7 7 "Last-Translator: FULL NAME <EMAIL@ADDRESS>\n" … … 10 10 "Content-Type: text/plain; charset=UTF-8\n" 11 11 "Content-Transfer-Encoding: 8bit\n" 12 "POT-Creation-Date: 202 4-12-02T19:52:35+00:00\n"12 "POT-Creation-Date: 2025-11-17T21:50:42+00:00\n" 13 13 "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" 14 "X-Generator: WP-CLI 2.1 1.0\n"14 "X-Generator: WP-CLI 2.12.0\n" 15 15 "X-Domain: core-rollback\n" 16 16 -
core-rollback/trunk/readme.txt
r3201158 r3397624 7 7 Requires PHP: 5.6 8 8 Requires at least: 4.1 9 Tested up to: 6. 710 Stable tag: 1. 3.79 Tested up to: 6.9 10 Stable tag: 1.4.0 11 11 12 12 Seamless rollback of WordPress Core to latest release or any outdated, secure release using the Core Update API and core update methods. Only latest release and outdated, secure releases are offered. … … 35 35 36 36 ## Changelog 37 38 #### 1.4.0 / 2025-11-17 39 * return rollback offer with `update_core` transient 40 * update POT GitHub Action 37 41 38 42 #### 1.3.7 / 2024-12-02 -
core-rollback/trunk/src/Core.php
r2860554 r3397624 10 10 11 11 namespace Fragen\Rollback; 12 13 use stdClass; 12 14 13 15 /* … … 71 73 add_filter( 'http_request_args', [ $this, 'filter_http_request_args' ], 10, 2 ); 72 74 add_filter( 'pre_http_request', [ $this, 'filter_http_request' ], 10, 3 ); 75 add_filter( 'site_transient_update_core', [ $this, 'add_rollback_offer' ], 10, 1 ); 73 76 } 74 77 … … 101 104 * @param string $url URL from filter. 102 105 * 103 * @return \stdClass $response Output from wp_remote_get().106 * @return stdClass $response Output from wp_remote_get(). 104 107 */ 105 108 public function filter_http_request( $result, $args, $url ) { 106 if ( $result || isset( $args['_core_rollback'] ) ) {109 if ( $result || isset( $args['_core_rollback'] ) || ! isset( $args['_rollback_version'] ) ) { 107 110 return $result; 108 111 } … … 129 132 * Update Core API update response to add rollback. 130 133 * 131 * @param \stdClass $response Core API response.132 * @param string $rollback_version Rollback version.134 * @param stdClass $response Core API response. 135 * @param string $rollback_version Rollback version. 133 136 * 134 * @return \stdClass137 * @return stdClass 135 138 */ 136 139 public function set_rollback( $response, $rollback_version ) { … … 139 142 } 140 143 $body = wp_remote_retrieve_body( $response ); 141 $offers = \json_decode( $body );144 $offers = json_decode( $body ); 142 145 $latest = false; 143 146 $num = count( array_keys( $offers->offers ) ); … … 156 159 $offers->offers[ $num ] = static::$core_versions[ $rollback_version ]; 157 160 } 161 set_site_transient( '_core_rollback_offers', $offers->offers, 15 ); 158 162 159 $body = \json_encode( $offers );163 $body = json_encode( $offers ); 160 164 $response['body'] = $body; 161 165 162 166 return $response; 163 167 } 168 169 /** 170 * Add core rollback offer to update_core transient. 171 * 172 * @param stdClass $transient Update core transient. 173 * 174 * @return stdClass 175 */ 176 public function add_rollback_offer( $transient ) { 177 $rollback = get_site_transient( '_core_rollback' ); 178 $version = $rollback['core_dropdown'] ?? ''; 179 $offers = get_site_transient( '_core_rollback_offers' ); 180 $versions = $this->get_core_versions(); 181 if ( array_keys( $versions )[0] === $version ) { 182 unset( $transient->updates[1] ); 183 } 184 if ( $offers && 'latest' === $offers[1]->response && $version === $offers[1]->version ) { 185 $transient->updates[] = $offers[1]; 186 } 187 188 return $transient; 189 } 164 190 } -
core-rollback/trunk/vendor/autoload.php
r3201170 r3397624 15 15 } 16 16 } 17 trigger_error( 18 $err, 19 E_USER_ERROR 20 ); 17 throw new RuntimeException($err); 21 18 } 22 19 -
core-rollback/trunk/vendor/composer/InstalledVersions.php
r2937801 r3397624 28 28 { 29 29 /** 30 * @var string|null if set (by reflection by Composer), this should be set to the path where this class is being copied to 31 * @internal 32 */ 33 private static $selfDir = null; 34 35 /** 30 36 * @var mixed[]|null 31 37 * @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 38 */ 33 39 private static $installed; 40 41 /** 42 * @var bool 43 */ 44 private static $installedIsLocalDir; 34 45 35 46 /** … … 310 321 self::$installed = $data; 311 322 self::$installedByVendor = array(); 323 324 // when using reload, we disable the duplicate protection to ensure that self::$installed data is 325 // always returned, but we cannot know whether it comes from the installed.php in __DIR__ or not, 326 // so we have to assume it does not, and that may result in duplicate data being returned when listing 327 // all installed packages for example 328 self::$installedIsLocalDir = false; 329 } 330 331 /** 332 * @return string 333 */ 334 private static function getSelfDir() 335 { 336 if (self::$selfDir === null) { 337 self::$selfDir = strtr(__DIR__, '\\', '/'); 338 } 339 340 return self::$selfDir; 312 341 } 313 342 … … 323 352 324 353 $installed = array(); 354 $copiedLocalDir = false; 325 355 326 356 if (self::$canGetVendors) { 357 $selfDir = self::getSelfDir(); 327 358 foreach (ClassLoader::getRegisteredLoaders() as $vendorDir => $loader) { 359 $vendorDir = strtr($vendorDir, '\\', '/'); 328 360 if (isset(self::$installedByVendor[$vendorDir])) { 329 361 $installed[] = self::$installedByVendor[$vendorDir]; … … 331 363 /** @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 364 $required = require $vendorDir.'/composer/installed.php'; 333 $installed[] = self::$installedByVendor[$vendorDir] = $required; 334 if (null === self::$installed && strtr($vendorDir.'/composer', '\\', '/') === strtr(__DIR__, '\\', '/')) { 335 self::$installed = $installed[count($installed) - 1]; 365 self::$installedByVendor[$vendorDir] = $required; 366 $installed[] = $required; 367 if (self::$installed === null && $vendorDir.'/composer' === $selfDir) { 368 self::$installed = $required; 369 self::$installedIsLocalDir = true; 336 370 } 371 } 372 if (self::$installedIsLocalDir && $vendorDir.'/composer' === $selfDir) { 373 $copiedLocalDir = true; 337 374 } 338 375 } … … 351 388 } 352 389 353 if (self::$installed !== array() ) {390 if (self::$installed !== array() && !$copiedLocalDir) { 354 391 $installed[] = self::$installed; 355 392 } -
core-rollback/trunk/vendor/composer/autoload_classmap.php
r3180137 r3397624 13 13 'PHPCSUtils\\BackCompat\\Helper' => $vendorDir . '/phpcsstandards/phpcsutils/PHPCSUtils/BackCompat/Helper.php', 14 14 'PHPCSUtils\\Exceptions\\InvalidTokenArray' => $vendorDir . '/phpcsstandards/phpcsutils/PHPCSUtils/Exceptions/InvalidTokenArray.php', 15 'PHPCSUtils\\Exceptions\\LogicException' => $vendorDir . '/phpcsstandards/phpcsutils/PHPCSUtils/Exceptions/LogicException.php', 16 'PHPCSUtils\\Exceptions\\MissingArgumentError' => $vendorDir . '/phpcsstandards/phpcsutils/PHPCSUtils/Exceptions/MissingArgumentError.php', 17 'PHPCSUtils\\Exceptions\\OutOfBoundsStackPtr' => $vendorDir . '/phpcsstandards/phpcsutils/PHPCSUtils/Exceptions/OutOfBoundsStackPtr.php', 18 'PHPCSUtils\\Exceptions\\RuntimeException' => $vendorDir . '/phpcsstandards/phpcsutils/PHPCSUtils/Exceptions/RuntimeException.php', 15 19 'PHPCSUtils\\Exceptions\\TestFileNotFound' => $vendorDir . '/phpcsstandards/phpcsutils/PHPCSUtils/Exceptions/TestFileNotFound.php', 16 20 'PHPCSUtils\\Exceptions\\TestMarkerNotFound' => $vendorDir . '/phpcsstandards/phpcsutils/PHPCSUtils/Exceptions/TestMarkerNotFound.php', 17 21 'PHPCSUtils\\Exceptions\\TestTargetNotFound' => $vendorDir . '/phpcsstandards/phpcsutils/PHPCSUtils/Exceptions/TestTargetNotFound.php', 22 'PHPCSUtils\\Exceptions\\TypeError' => $vendorDir . '/phpcsstandards/phpcsutils/PHPCSUtils/Exceptions/TypeError.php', 23 'PHPCSUtils\\Exceptions\\UnexpectedTokenType' => $vendorDir . '/phpcsstandards/phpcsutils/PHPCSUtils/Exceptions/UnexpectedTokenType.php', 24 'PHPCSUtils\\Exceptions\\ValueError' => $vendorDir . '/phpcsstandards/phpcsutils/PHPCSUtils/Exceptions/ValueError.php', 18 25 'PHPCSUtils\\Fixers\\SpacesFixer' => $vendorDir . '/phpcsstandards/phpcsutils/PHPCSUtils/Fixers/SpacesFixer.php', 26 'PHPCSUtils\\Internal\\AttributeHelper' => $vendorDir . '/phpcsstandards/phpcsutils/PHPCSUtils/Internal/AttributeHelper.php', 19 27 'PHPCSUtils\\Internal\\Cache' => $vendorDir . '/phpcsstandards/phpcsutils/PHPCSUtils/Internal/Cache.php', 20 28 'PHPCSUtils\\Internal\\IsShortArrayOrList' => $vendorDir . '/phpcsstandards/phpcsutils/PHPCSUtils/Internal/IsShortArrayOrList.php', … … 22 30 'PHPCSUtils\\Internal\\NoFileCache' => $vendorDir . '/phpcsstandards/phpcsutils/PHPCSUtils/Internal/NoFileCache.php', 23 31 'PHPCSUtils\\Internal\\StableCollections' => $vendorDir . '/phpcsstandards/phpcsutils/PHPCSUtils/Internal/StableCollections.php', 32 'PHPCSUtils\\TestUtils\\ConfigDouble' => $vendorDir . '/phpcsstandards/phpcsutils/PHPCSUtils/TestUtils/ConfigDouble.php', 33 'PHPCSUtils\\TestUtils\\RulesetDouble' => $vendorDir . '/phpcsstandards/phpcsutils/PHPCSUtils/TestUtils/RulesetDouble.php', 24 34 'PHPCSUtils\\TestUtils\\UtilityMethodTestCase' => $vendorDir . '/phpcsstandards/phpcsutils/PHPCSUtils/TestUtils/UtilityMethodTestCase.php', 25 35 'PHPCSUtils\\Tokens\\Collections' => $vendorDir . '/phpcsstandards/phpcsutils/PHPCSUtils/Tokens/Collections.php', 26 36 'PHPCSUtils\\Tokens\\TokenHelper' => $vendorDir . '/phpcsstandards/phpcsutils/PHPCSUtils/Tokens/TokenHelper.php', 27 37 'PHPCSUtils\\Utils\\Arrays' => $vendorDir . '/phpcsstandards/phpcsutils/PHPCSUtils/Utils/Arrays.php', 38 'PHPCSUtils\\Utils\\AttributeBlock' => $vendorDir . '/phpcsstandards/phpcsutils/PHPCSUtils/Utils/AttributeBlock.php', 28 39 'PHPCSUtils\\Utils\\Conditions' => $vendorDir . '/phpcsstandards/phpcsutils/PHPCSUtils/Utils/Conditions.php', 40 'PHPCSUtils\\Utils\\Constants' => $vendorDir . '/phpcsstandards/phpcsutils/PHPCSUtils/Utils/Constants.php', 29 41 'PHPCSUtils\\Utils\\Context' => $vendorDir . '/phpcsstandards/phpcsutils/PHPCSUtils/Utils/Context.php', 30 42 'PHPCSUtils\\Utils\\ControlStructures' => $vendorDir . '/phpcsstandards/phpcsutils/PHPCSUtils/Utils/ControlStructures.php', 43 'PHPCSUtils\\Utils\\FileInfo' => $vendorDir . '/phpcsstandards/phpcsutils/PHPCSUtils/Utils/FileInfo.php', 44 'PHPCSUtils\\Utils\\FilePath' => $vendorDir . '/phpcsstandards/phpcsutils/PHPCSUtils/Utils/FilePath.php', 31 45 'PHPCSUtils\\Utils\\FunctionDeclarations' => $vendorDir . '/phpcsstandards/phpcsutils/PHPCSUtils/Utils/FunctionDeclarations.php', 32 46 'PHPCSUtils\\Utils\\GetTokensAsString' => $vendorDir . '/phpcsstandards/phpcsutils/PHPCSUtils/Utils/GetTokensAsString.php', … … 43 57 'PHPCSUtils\\Utils\\Scopes' => $vendorDir . '/phpcsstandards/phpcsutils/PHPCSUtils/Utils/Scopes.php', 44 58 'PHPCSUtils\\Utils\\TextStrings' => $vendorDir . '/phpcsstandards/phpcsutils/PHPCSUtils/Utils/TextStrings.php', 59 'PHPCSUtils\\Utils\\TypeString' => $vendorDir . '/phpcsstandards/phpcsutils/PHPCSUtils/Utils/TypeString.php', 45 60 'PHPCSUtils\\Utils\\UseStatements' => $vendorDir . '/phpcsstandards/phpcsutils/PHPCSUtils/Utils/UseStatements.php', 46 61 'PHPCSUtils\\Utils\\Variables' => $vendorDir . '/phpcsstandards/phpcsutils/PHPCSUtils/Utils/Variables.php', -
core-rollback/trunk/vendor/composer/autoload_static.php
r3201170 r3397624 36 36 'PHPCSUtils\\BackCompat\\Helper' => __DIR__ . '/..' . '/phpcsstandards/phpcsutils/PHPCSUtils/BackCompat/Helper.php', 37 37 'PHPCSUtils\\Exceptions\\InvalidTokenArray' => __DIR__ . '/..' . '/phpcsstandards/phpcsutils/PHPCSUtils/Exceptions/InvalidTokenArray.php', 38 'PHPCSUtils\\Exceptions\\LogicException' => __DIR__ . '/..' . '/phpcsstandards/phpcsutils/PHPCSUtils/Exceptions/LogicException.php', 39 'PHPCSUtils\\Exceptions\\MissingArgumentError' => __DIR__ . '/..' . '/phpcsstandards/phpcsutils/PHPCSUtils/Exceptions/MissingArgumentError.php', 40 'PHPCSUtils\\Exceptions\\OutOfBoundsStackPtr' => __DIR__ . '/..' . '/phpcsstandards/phpcsutils/PHPCSUtils/Exceptions/OutOfBoundsStackPtr.php', 41 'PHPCSUtils\\Exceptions\\RuntimeException' => __DIR__ . '/..' . '/phpcsstandards/phpcsutils/PHPCSUtils/Exceptions/RuntimeException.php', 38 42 'PHPCSUtils\\Exceptions\\TestFileNotFound' => __DIR__ . '/..' . '/phpcsstandards/phpcsutils/PHPCSUtils/Exceptions/TestFileNotFound.php', 39 43 'PHPCSUtils\\Exceptions\\TestMarkerNotFound' => __DIR__ . '/..' . '/phpcsstandards/phpcsutils/PHPCSUtils/Exceptions/TestMarkerNotFound.php', 40 44 'PHPCSUtils\\Exceptions\\TestTargetNotFound' => __DIR__ . '/..' . '/phpcsstandards/phpcsutils/PHPCSUtils/Exceptions/TestTargetNotFound.php', 45 'PHPCSUtils\\Exceptions\\TypeError' => __DIR__ . '/..' . '/phpcsstandards/phpcsutils/PHPCSUtils/Exceptions/TypeError.php', 46 'PHPCSUtils\\Exceptions\\UnexpectedTokenType' => __DIR__ . '/..' . '/phpcsstandards/phpcsutils/PHPCSUtils/Exceptions/UnexpectedTokenType.php', 47 'PHPCSUtils\\Exceptions\\ValueError' => __DIR__ . '/..' . '/phpcsstandards/phpcsutils/PHPCSUtils/Exceptions/ValueError.php', 41 48 'PHPCSUtils\\Fixers\\SpacesFixer' => __DIR__ . '/..' . '/phpcsstandards/phpcsutils/PHPCSUtils/Fixers/SpacesFixer.php', 49 'PHPCSUtils\\Internal\\AttributeHelper' => __DIR__ . '/..' . '/phpcsstandards/phpcsutils/PHPCSUtils/Internal/AttributeHelper.php', 42 50 'PHPCSUtils\\Internal\\Cache' => __DIR__ . '/..' . '/phpcsstandards/phpcsutils/PHPCSUtils/Internal/Cache.php', 43 51 'PHPCSUtils\\Internal\\IsShortArrayOrList' => __DIR__ . '/..' . '/phpcsstandards/phpcsutils/PHPCSUtils/Internal/IsShortArrayOrList.php', … … 45 53 'PHPCSUtils\\Internal\\NoFileCache' => __DIR__ . '/..' . '/phpcsstandards/phpcsutils/PHPCSUtils/Internal/NoFileCache.php', 46 54 'PHPCSUtils\\Internal\\StableCollections' => __DIR__ . '/..' . '/phpcsstandards/phpcsutils/PHPCSUtils/Internal/StableCollections.php', 55 'PHPCSUtils\\TestUtils\\ConfigDouble' => __DIR__ . '/..' . '/phpcsstandards/phpcsutils/PHPCSUtils/TestUtils/ConfigDouble.php', 56 'PHPCSUtils\\TestUtils\\RulesetDouble' => __DIR__ . '/..' . '/phpcsstandards/phpcsutils/PHPCSUtils/TestUtils/RulesetDouble.php', 47 57 'PHPCSUtils\\TestUtils\\UtilityMethodTestCase' => __DIR__ . '/..' . '/phpcsstandards/phpcsutils/PHPCSUtils/TestUtils/UtilityMethodTestCase.php', 48 58 'PHPCSUtils\\Tokens\\Collections' => __DIR__ . '/..' . '/phpcsstandards/phpcsutils/PHPCSUtils/Tokens/Collections.php', 49 59 'PHPCSUtils\\Tokens\\TokenHelper' => __DIR__ . '/..' . '/phpcsstandards/phpcsutils/PHPCSUtils/Tokens/TokenHelper.php', 50 60 'PHPCSUtils\\Utils\\Arrays' => __DIR__ . '/..' . '/phpcsstandards/phpcsutils/PHPCSUtils/Utils/Arrays.php', 61 'PHPCSUtils\\Utils\\AttributeBlock' => __DIR__ . '/..' . '/phpcsstandards/phpcsutils/PHPCSUtils/Utils/AttributeBlock.php', 51 62 'PHPCSUtils\\Utils\\Conditions' => __DIR__ . '/..' . '/phpcsstandards/phpcsutils/PHPCSUtils/Utils/Conditions.php', 63 'PHPCSUtils\\Utils\\Constants' => __DIR__ . '/..' . '/phpcsstandards/phpcsutils/PHPCSUtils/Utils/Constants.php', 52 64 'PHPCSUtils\\Utils\\Context' => __DIR__ . '/..' . '/phpcsstandards/phpcsutils/PHPCSUtils/Utils/Context.php', 53 65 'PHPCSUtils\\Utils\\ControlStructures' => __DIR__ . '/..' . '/phpcsstandards/phpcsutils/PHPCSUtils/Utils/ControlStructures.php', 66 'PHPCSUtils\\Utils\\FileInfo' => __DIR__ . '/..' . '/phpcsstandards/phpcsutils/PHPCSUtils/Utils/FileInfo.php', 67 'PHPCSUtils\\Utils\\FilePath' => __DIR__ . '/..' . '/phpcsstandards/phpcsutils/PHPCSUtils/Utils/FilePath.php', 54 68 'PHPCSUtils\\Utils\\FunctionDeclarations' => __DIR__ . '/..' . '/phpcsstandards/phpcsutils/PHPCSUtils/Utils/FunctionDeclarations.php', 55 69 'PHPCSUtils\\Utils\\GetTokensAsString' => __DIR__ . '/..' . '/phpcsstandards/phpcsutils/PHPCSUtils/Utils/GetTokensAsString.php', … … 66 80 'PHPCSUtils\\Utils\\Scopes' => __DIR__ . '/..' . '/phpcsstandards/phpcsutils/PHPCSUtils/Utils/Scopes.php', 67 81 'PHPCSUtils\\Utils\\TextStrings' => __DIR__ . '/..' . '/phpcsstandards/phpcsutils/PHPCSUtils/Utils/TextStrings.php', 82 'PHPCSUtils\\Utils\\TypeString' => __DIR__ . '/..' . '/phpcsstandards/phpcsutils/PHPCSUtils/Utils/TypeString.php', 68 83 'PHPCSUtils\\Utils\\UseStatements' => __DIR__ . '/..' . '/phpcsstandards/phpcsutils/PHPCSUtils/Utils/UseStatements.php', 69 84 'PHPCSUtils\\Utils\\Variables' => __DIR__ . '/..' . '/phpcsstandards/phpcsutils/PHPCSUtils/Utils/Variables.php', -
core-rollback/trunk/vendor/composer/installed.json
r3201170 r3397624 3 3 { 4 4 "name": "dealerdirect/phpcodesniffer-composer-installer", 5 "version": "v1. 0.0",6 "version_normalized": "1. 0.0.0",5 "version": "v1.2.0", 6 "version_normalized": "1.2.0.0", 7 7 "source": { 8 8 "type": "git", 9 9 "url": "https://github.com/PHPCSStandards/composer-installer.git", 10 "reference": " 4be43904336affa5c2f70744a348312336afd0da"10 "reference": "845eb62303d2ca9b289ef216356568ccc075ffd1" 11 11 }, 12 12 "dist": { 13 13 "type": "zip", 14 "url": "https://api.github.com/repos/PHPCSStandards/composer-installer/zipball/ 4be43904336affa5c2f70744a348312336afd0da",15 "reference": " 4be43904336affa5c2f70744a348312336afd0da",14 "url": "https://api.github.com/repos/PHPCSStandards/composer-installer/zipball/845eb62303d2ca9b289ef216356568ccc075ffd1", 15 "reference": "845eb62303d2ca9b289ef216356568ccc075ffd1", 16 16 "shasum": "" 17 17 }, 18 18 "require": { 19 "composer-plugin-api": "^ 1.0 || ^2.0",19 "composer-plugin-api": "^2.2", 20 20 "php": ">=5.4", 21 "squizlabs/php_codesniffer": "^ 2.0 || ^3.1.0 || ^4.0"21 "squizlabs/php_codesniffer": "^3.1.0 || ^4.0" 22 22 }, 23 23 "require-dev": { 24 "composer/composer": " *",24 "composer/composer": "^2.2", 25 25 "ext-json": "*", 26 26 "ext-zip": "*", 27 "php-parallel-lint/php-parallel-lint": "^1. 3.1",28 "phpcompatibility/php-compatibility": "^9.0 ",27 "php-parallel-lint/php-parallel-lint": "^1.4.0", 28 "phpcompatibility/php-compatibility": "^9.0 || ^10.0.0@dev", 29 29 "yoast/phpunit-polyfills": "^1.0" 30 30 }, 31 "time": "202 3-01-05T11:28:13+00:00",31 "time": "2025-11-11T04:32:07+00:00", 32 32 "type": "composer-plugin", 33 33 "extra": { … … 47 47 { 48 48 "name": "Franck Nijhof", 49 "email": " franck.nijhof@dealerdirect.com",50 "homepage": "http ://www.frenck.nl",51 "role": " Developer / IT Manager"49 "email": "opensource@frenck.dev", 50 "homepage": "https://frenck.dev", 51 "role": "Open source developer" 52 52 }, 53 53 { … … 57 57 ], 58 58 "description": "PHP_CodeSniffer Standards Composer Installer Plugin", 59 "homepage": "http://www.dealerdirect.com",60 59 "keywords": [ 61 60 "PHPCodeSniffer", … … 78 77 "support": { 79 78 "issues": "https://github.com/PHPCSStandards/composer-installer/issues", 79 "security": "https://github.com/PHPCSStandards/composer-installer/security/policy", 80 80 "source": "https://github.com/PHPCSStandards/composer-installer" 81 81 }, 82 "funding": [ 83 { 84 "url": "https://github.com/PHPCSStandards", 85 "type": "github" 86 }, 87 { 88 "url": "https://github.com/jrfnl", 89 "type": "github" 90 }, 91 { 92 "url": "https://opencollective.com/php_codesniffer", 93 "type": "open_collective" 94 }, 95 { 96 "url": "https://thanks.dev/u/gh/phpcsstandards", 97 "type": "thanks_dev" 98 } 99 ], 82 100 "install-path": "../dealerdirect/phpcodesniffer-composer-installer" 83 101 }, 84 102 { 85 103 "name": "phpcsstandards/phpcsextra", 86 "version": "1. 2.1",87 "version_normalized": "1. 2.1.0",104 "version": "1.5.0", 105 "version_normalized": "1.5.0.0", 88 106 "source": { 89 107 "type": "git", 90 108 "url": "https://github.com/PHPCSStandards/PHPCSExtra.git", 91 "reference": " 11d387c6642b6e4acaf0bd9bf5203b8cca1ec489"109 "reference": "b598aa890815b8df16363271b659d73280129101" 92 110 }, 93 111 "dist": { 94 112 "type": "zip", 95 "url": "https://api.github.com/repos/PHPCSStandards/PHPCSExtra/zipball/ 11d387c6642b6e4acaf0bd9bf5203b8cca1ec489",96 "reference": " 11d387c6642b6e4acaf0bd9bf5203b8cca1ec489",113 "url": "https://api.github.com/repos/PHPCSStandards/PHPCSExtra/zipball/b598aa890815b8df16363271b659d73280129101", 114 "reference": "b598aa890815b8df16363271b659d73280129101", 97 115 "shasum": "" 98 116 }, 99 117 "require": { 100 118 "php": ">=5.4", 101 "phpcsstandards/phpcsutils": "^1. 0.9",102 "squizlabs/php_codesniffer": "^3. 8.0"119 "phpcsstandards/phpcsutils": "^1.2.0", 120 "squizlabs/php_codesniffer": "^3.13.5 || ^4.0.1" 103 121 }, 104 122 "require-dev": { 105 123 "php-parallel-lint/php-console-highlighter": "^1.0", 106 "php-parallel-lint/php-parallel-lint": "^1. 3.2",107 "phpcsstandards/phpcsdevcs": "^1. 1.6",124 "php-parallel-lint/php-parallel-lint": "^1.4.0", 125 "phpcsstandards/phpcsdevcs": "^1.2.0", 108 126 "phpcsstandards/phpcsdevtools": "^1.2.1", 109 "phpunit/phpunit": "^4.5 || ^5.0 || ^6.0 || ^7.0 || ^8.0 || ^9. 0"110 }, 111 "time": "202 3-12-08T16:49:07+00:00",127 "phpunit/phpunit": "^4.5 || ^5.0 || ^6.0 || ^7.0 || ^8.0 || ^9.3.4" 128 }, 129 "time": "2025-11-12T23:06:57+00:00", 112 130 "type": "phpcodesniffer-standard", 113 131 "extra": { … … 159 177 "url": "https://opencollective.com/php_codesniffer", 160 178 "type": "open_collective" 179 }, 180 { 181 "url": "https://thanks.dev/u/gh/phpcsstandards", 182 "type": "thanks_dev" 161 183 } 162 184 ], … … 165 187 { 166 188 "name": "phpcsstandards/phpcsutils", 167 "version": "1. 0.12",168 "version_normalized": "1. 0.12.0",189 "version": "1.2.0", 190 "version_normalized": "1.2.0.0", 169 191 "source": { 170 192 "type": "git", 171 193 "url": "https://github.com/PHPCSStandards/PHPCSUtils.git", 172 "reference": " 87b233b00daf83fb70f40c9a28692be017ea7c6c"194 "reference": "fa82d14ad1c1713224a52c66c78478145fe454ba" 173 195 }, 174 196 "dist": { 175 197 "type": "zip", 176 "url": "https://api.github.com/repos/PHPCSStandards/PHPCSUtils/zipball/ 87b233b00daf83fb70f40c9a28692be017ea7c6c",177 "reference": " 87b233b00daf83fb70f40c9a28692be017ea7c6c",198 "url": "https://api.github.com/repos/PHPCSStandards/PHPCSUtils/zipball/fa82d14ad1c1713224a52c66c78478145fe454ba", 199 "reference": "fa82d14ad1c1713224a52c66c78478145fe454ba", 178 200 "shasum": "" 179 201 }, … … 181 203 "dealerdirect/phpcodesniffer-composer-installer": "^0.4.1 || ^0.5 || ^0.6.2 || ^0.7 || ^1.0", 182 204 "php": ">=5.4", 183 "squizlabs/php_codesniffer": "^3.1 0.0 || 4.0.x-dev@dev"205 "squizlabs/php_codesniffer": "^3.13.5 || ^4.0.1" 184 206 }, 185 207 "require-dev": { 186 208 "ext-filter": "*", 187 209 "php-parallel-lint/php-console-highlighter": "^1.0", 188 "php-parallel-lint/php-parallel-lint": "^1. 3.2",189 "phpcsstandards/phpcsdevcs": "^1. 1.6",190 "yoast/phpunit-polyfills": "^1.1.0 || ^2.0.0 "191 }, 192 "time": "202 4-05-20T13:34:27+00:00",210 "php-parallel-lint/php-parallel-lint": "^1.4.0", 211 "phpcsstandards/phpcsdevcs": "^1.2.0", 212 "yoast/phpunit-polyfills": "^1.1.0 || ^2.0.0 || ^3.0.0" 213 }, 214 "time": "2025-11-11T00:17:56+00:00", 193 215 "type": "phpcodesniffer-standard", 194 216 "extra": { … … 227 249 "phpcs", 228 250 "phpcs3", 251 "phpcs4", 229 252 "standards", 230 253 "static analysis", … … 250 273 "url": "https://opencollective.com/php_codesniffer", 251 274 "type": "open_collective" 275 }, 276 { 277 "url": "https://thanks.dev/u/gh/phpcsstandards", 278 "type": "thanks_dev" 252 279 } 253 280 ], … … 256 283 { 257 284 "name": "squizlabs/php_codesniffer", 258 "version": "3.1 1.1",259 "version_normalized": "3.1 1.1.0",285 "version": "3.13.5", 286 "version_normalized": "3.13.5.0", 260 287 "source": { 261 288 "type": "git", 262 289 "url": "https://github.com/PHPCSStandards/PHP_CodeSniffer.git", 263 "reference": " 19473c30efe4f7b3cd42522d0b2e6e7f243c6f87"290 "reference": "0ca86845ce43291e8f5692c7356fccf3bcf02bf4" 264 291 }, 265 292 "dist": { 266 293 "type": "zip", 267 "url": "https://api.github.com/repos/PHPCSStandards/PHP_CodeSniffer/zipball/ 19473c30efe4f7b3cd42522d0b2e6e7f243c6f87",268 "reference": " 19473c30efe4f7b3cd42522d0b2e6e7f243c6f87",294 "url": "https://api.github.com/repos/PHPCSStandards/PHP_CodeSniffer/zipball/0ca86845ce43291e8f5692c7356fccf3bcf02bf4", 295 "reference": "0ca86845ce43291e8f5692c7356fccf3bcf02bf4", 269 296 "shasum": "" 270 297 }, … … 278 305 "phpunit/phpunit": "^4.0 || ^5.0 || ^6.0 || ^7.0 || ^8.0 || ^9.3.4" 279 306 }, 280 "time": "202 4-11-16T12:02:36+00:00",307 "time": "2025-11-04T16:30:35+00:00", 281 308 "bin": [ 282 309 "bin/phpcbf", … … 284 311 ], 285 312 "type": "library", 286 "extra": {287 "branch-alias": {288 "dev-master": "3.x-dev"289 }290 },291 313 "installation-source": "dist", 292 314 "notification-url": "https://packagist.org/downloads/", … … 333 355 "url": "https://opencollective.com/php_codesniffer", 334 356 "type": "open_collective" 357 }, 358 { 359 "url": "https://thanks.dev/u/gh/phpcsstandards", 360 "type": "thanks_dev" 335 361 } 336 362 ], … … 339 365 { 340 366 "name": "wp-coding-standards/wpcs", 341 "version": "3. 1.0",342 "version_normalized": "3. 1.0.0",367 "version": "3.2.0", 368 "version_normalized": "3.2.0.0", 343 369 "source": { 344 370 "type": "git", 345 371 "url": "https://github.com/WordPress/WordPress-Coding-Standards.git", 346 "reference": " 9333efcbff231f10dfd9c56bb7b65818b4733ca7"372 "reference": "d2421de7cec3274ae622c22c744de9a62c7925af" 347 373 }, 348 374 "dist": { 349 375 "type": "zip", 350 "url": "https://api.github.com/repos/WordPress/WordPress-Coding-Standards/zipball/ 9333efcbff231f10dfd9c56bb7b65818b4733ca7",351 "reference": " 9333efcbff231f10dfd9c56bb7b65818b4733ca7",376 "url": "https://api.github.com/repos/WordPress/WordPress-Coding-Standards/zipball/d2421de7cec3274ae622c22c744de9a62c7925af", 377 "reference": "d2421de7cec3274ae622c22c744de9a62c7925af", 352 378 "shasum": "" 353 379 }, … … 358 384 "ext-xmlreader": "*", 359 385 "php": ">=5.4", 360 "phpcsstandards/phpcsextra": "^1. 2.1",361 "phpcsstandards/phpcsutils": "^1. 0.10",362 "squizlabs/php_codesniffer": "^3. 9.0"386 "phpcsstandards/phpcsextra": "^1.4.0", 387 "phpcsstandards/phpcsutils": "^1.1.0", 388 "squizlabs/php_codesniffer": "^3.13.0" 363 389 }, 364 390 "require-dev": { 365 391 "php-parallel-lint/php-console-highlighter": "^1.0.0", 366 "php-parallel-lint/php-parallel-lint": "^1. 3.2",392 "php-parallel-lint/php-parallel-lint": "^1.4.0", 367 393 "phpcompatibility/php-compatibility": "^9.0", 368 394 "phpcsstandards/phpcsdevtools": "^1.2.0", … … 373 399 "ext-mbstring": "For improved results" 374 400 }, 375 "time": "202 4-03-25T16:39:00+00:00",401 "time": "2025-07-24T20:08:31+00:00", 376 402 "type": "phpcodesniffer-standard", 377 403 "installation-source": "dist", -
core-rollback/trunk/vendor/composer/installed.php
r3201170 r3397624 4 4 'pretty_version' => 'dev-main', 5 5 'version' => 'dev-main', 6 'reference' => ' 499ef0f9bf0756d12450e807c82ee70cb7aa7a6d',6 'reference' => '123c65db471b1d56402779dce93faf5a053cb63c', 7 7 'type' => 'wordpress-plugin', 8 8 'install_path' => __DIR__ . '/../../', … … 14 14 'pretty_version' => 'dev-main', 15 15 'version' => 'dev-main', 16 'reference' => ' 499ef0f9bf0756d12450e807c82ee70cb7aa7a6d',16 'reference' => '123c65db471b1d56402779dce93faf5a053cb63c', 17 17 'type' => 'wordpress-plugin', 18 18 'install_path' => __DIR__ . '/../../', … … 21 21 ), 22 22 'dealerdirect/phpcodesniffer-composer-installer' => array( 23 'pretty_version' => 'v1. 0.0',24 'version' => '1. 0.0.0',25 'reference' => ' 4be43904336affa5c2f70744a348312336afd0da',23 'pretty_version' => 'v1.2.0', 24 'version' => '1.2.0.0', 25 'reference' => '845eb62303d2ca9b289ef216356568ccc075ffd1', 26 26 'type' => 'composer-plugin', 27 27 'install_path' => __DIR__ . '/../dealerdirect/phpcodesniffer-composer-installer', … … 30 30 ), 31 31 'phpcsstandards/phpcsextra' => array( 32 'pretty_version' => '1. 2.1',33 'version' => '1. 2.1.0',34 'reference' => ' 11d387c6642b6e4acaf0bd9bf5203b8cca1ec489',32 'pretty_version' => '1.5.0', 33 'version' => '1.5.0.0', 34 'reference' => 'b598aa890815b8df16363271b659d73280129101', 35 35 'type' => 'phpcodesniffer-standard', 36 36 'install_path' => __DIR__ . '/../phpcsstandards/phpcsextra', … … 39 39 ), 40 40 'phpcsstandards/phpcsutils' => array( 41 'pretty_version' => '1. 0.12',42 'version' => '1. 0.12.0',43 'reference' => ' 87b233b00daf83fb70f40c9a28692be017ea7c6c',41 'pretty_version' => '1.2.0', 42 'version' => '1.2.0.0', 43 'reference' => 'fa82d14ad1c1713224a52c66c78478145fe454ba', 44 44 'type' => 'phpcodesniffer-standard', 45 45 'install_path' => __DIR__ . '/../phpcsstandards/phpcsutils', … … 48 48 ), 49 49 'squizlabs/php_codesniffer' => array( 50 'pretty_version' => '3.1 1.1',51 'version' => '3.1 1.1.0',52 'reference' => ' 19473c30efe4f7b3cd42522d0b2e6e7f243c6f87',50 'pretty_version' => '3.13.5', 51 'version' => '3.13.5.0', 52 'reference' => '0ca86845ce43291e8f5692c7356fccf3bcf02bf4', 53 53 'type' => 'library', 54 54 'install_path' => __DIR__ . '/../squizlabs/php_codesniffer', … … 57 57 ), 58 58 'wp-coding-standards/wpcs' => array( 59 'pretty_version' => '3. 1.0',60 'version' => '3. 1.0.0',61 'reference' => ' 9333efcbff231f10dfd9c56bb7b65818b4733ca7',59 'pretty_version' => '3.2.0', 60 'version' => '3.2.0.0', 61 'reference' => 'd2421de7cec3274ae622c22c744de9a62c7925af', 62 62 'type' => 'phpcodesniffer-standard', 63 63 'install_path' => __DIR__ . '/../wp-coding-standards/wpcs', -
core-rollback/trunk/vendor/composer/platform_check.php
r2420146 r3397624 20 20 } 21 21 } 22 trigger_error( 23 'Composer detected issues in your platform: ' . implode(' ', $issues), 24 E_USER_ERROR 22 throw new \RuntimeException( 23 'Composer detected issues in your platform: ' . implode(' ', $issues) 25 24 ); 26 25 }
Note: See TracChangeset
for help on using the changeset viewer.