Plugin Directory

Changeset 3397624


Ignore:
Timestamp:
11/17/2025 09:54:00 PM (2 months ago)
Author:
afragen
Message:

Update to version 1.4.0 from GitHub

Location:
core-rollback
Files:
24 edited
1 copied

Legend:

Unmodified
Added
Removed
  • core-rollback/tags/1.4.0/CHANGES.md

    r3201158 r3397624  
    11[ unreleased ]
     2
     3#### 1.4.0 / 2025-11-17
     4* return rollback offer with `update_core` transient
     5* update POT GitHub Action
    26
    37#### 1.3.7 / 2024-12-02
  • core-rollback/tags/1.4.0/core-rollback.php

    r3201158 r3397624  
    1313 * Plugin URI:        https://github.com/afragen/core-rollback
    1414 * 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.7
     15 * Version:           1.4.0
    1616 * Author:            Andy Fragen
    1717 * License:           MIT
  • core-rollback/tags/1.4.0/languages/core-rollback.pot

    r3201170 r3397624  
    1 # Copyright (C) 2024 Andy Fragen
     1# Copyright (C) 2025 Andy Fragen
    22# This file is distributed under the MIT.
    33msgid ""
    44msgstr ""
    5 "Project-Id-Version: core-rollback 1.3.7\n"
     5"Project-Id-Version: Core Rollback 1.4.0\n"
    66"Report-Msgid-Bugs-To: https://github.com/afragen/core-rollback/issues\n"
    77"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
     
    1010"Content-Type: text/plain; charset=UTF-8\n"
    1111"Content-Transfer-Encoding: 8bit\n"
    12 "POT-Creation-Date: 2024-12-02T19:52:35+00:00\n"
     12"POT-Creation-Date: 2025-11-17T21:50:42+00:00\n"
    1313"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
    14 "X-Generator: WP-CLI 2.11.0\n"
     14"X-Generator: WP-CLI 2.12.0\n"
    1515"X-Domain: core-rollback\n"
    1616
  • core-rollback/tags/1.4.0/readme.txt

    r3201158 r3397624  
    77Requires PHP: 5.6
    88Requires at least: 4.1
    9 Tested up to: 6.7
    10 Stable tag: 1.3.7
     9Tested up to: 6.9
     10Stable tag: 1.4.0
    1111
    1212Seamless 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.
     
    3535
    3636## Changelog
     37
     38#### 1.4.0 / 2025-11-17
     39* return rollback offer with `update_core` transient
     40* update POT GitHub Action
    3741
    3842#### 1.3.7 / 2024-12-02
  • core-rollback/tags/1.4.0/src/Core.php

    r2860554 r3397624  
    1010
    1111namespace Fragen\Rollback;
     12
     13use stdClass;
    1214
    1315/*
     
    7173        add_filter( 'http_request_args', [ $this, 'filter_http_request_args' ], 10, 2 );
    7274        add_filter( 'pre_http_request', [ $this, 'filter_http_request' ], 10, 3 );
     75        add_filter( 'site_transient_update_core', [ $this, 'add_rollback_offer' ], 10, 1 );
    7376    }
    7477
     
    101104     * @param string $url    URL from filter.
    102105     *
    103      * @return \stdClass $response Output from wp_remote_get().
     106     * @return stdClass $response Output from wp_remote_get().
    104107     */
    105108    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'] ) ) {
    107110            return $result;
    108111        }
     
    129132     * Update Core API update response to add rollback.
    130133     *
    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.
    133136     *
    134      * @return \stdClass
     137     * @return stdClass
    135138     */
    136139    public function set_rollback( $response, $rollback_version ) {
     
    139142        }
    140143        $body   = wp_remote_retrieve_body( $response );
    141         $offers = \json_decode( $body );
     144        $offers = json_decode( $body );
    142145        $latest = false;
    143146        $num    = count( array_keys( $offers->offers ) );
     
    156159            $offers->offers[ $num ] = static::$core_versions[ $rollback_version ];
    157160        }
     161        set_site_transient( '_core_rollback_offers', $offers->offers, 15 );
    158162
    159         $body             = \json_encode( $offers );
     163        $body             = json_encode( $offers );
    160164        $response['body'] = $body;
    161165
    162166        return $response;
    163167    }
     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    }
    164190}
  • core-rollback/tags/1.4.0/vendor/autoload.php

    r3201170 r3397624  
    1515        }
    1616    }
    17     trigger_error(
    18         $err,
    19         E_USER_ERROR
    20     );
     17    throw new RuntimeException($err);
    2118}
    2219
  • core-rollback/tags/1.4.0/vendor/composer/InstalledVersions.php

    r2937801 r3397624  
    2828{
    2929    /**
     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    /**
    3036     * @var mixed[]|null
    3137     * @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
    3238     */
    3339    private static $installed;
     40
     41    /**
     42     * @var bool
     43     */
     44    private static $installedIsLocalDir;
    3445
    3546    /**
     
    310321        self::$installed = $data;
    311322        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;
    312341    }
    313342
     
    323352
    324353        $installed = array();
     354        $copiedLocalDir = false;
    325355
    326356        if (self::$canGetVendors) {
     357            $selfDir = self::getSelfDir();
    327358            foreach (ClassLoader::getRegisteredLoaders() as $vendorDir => $loader) {
     359                $vendorDir = strtr($vendorDir, '\\', '/');
    328360                if (isset(self::$installedByVendor[$vendorDir])) {
    329361                    $installed[] = self::$installedByVendor[$vendorDir];
     
    331363                    /** @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 */
    332364                    $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;
    336370                    }
     371                }
     372                if (self::$installedIsLocalDir && $vendorDir.'/composer' === $selfDir) {
     373                    $copiedLocalDir = true;
    337374                }
    338375            }
     
    351388        }
    352389
    353         if (self::$installed !== array()) {
     390        if (self::$installed !== array() && !$copiedLocalDir) {
    354391            $installed[] = self::$installed;
    355392        }
  • core-rollback/tags/1.4.0/vendor/composer/autoload_classmap.php

    r3180137 r3397624  
    1313    'PHPCSUtils\\BackCompat\\Helper' => $vendorDir . '/phpcsstandards/phpcsutils/PHPCSUtils/BackCompat/Helper.php',
    1414    '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',
    1519    'PHPCSUtils\\Exceptions\\TestFileNotFound' => $vendorDir . '/phpcsstandards/phpcsutils/PHPCSUtils/Exceptions/TestFileNotFound.php',
    1620    'PHPCSUtils\\Exceptions\\TestMarkerNotFound' => $vendorDir . '/phpcsstandards/phpcsutils/PHPCSUtils/Exceptions/TestMarkerNotFound.php',
    1721    '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',
    1825    'PHPCSUtils\\Fixers\\SpacesFixer' => $vendorDir . '/phpcsstandards/phpcsutils/PHPCSUtils/Fixers/SpacesFixer.php',
     26    'PHPCSUtils\\Internal\\AttributeHelper' => $vendorDir . '/phpcsstandards/phpcsutils/PHPCSUtils/Internal/AttributeHelper.php',
    1927    'PHPCSUtils\\Internal\\Cache' => $vendorDir . '/phpcsstandards/phpcsutils/PHPCSUtils/Internal/Cache.php',
    2028    'PHPCSUtils\\Internal\\IsShortArrayOrList' => $vendorDir . '/phpcsstandards/phpcsutils/PHPCSUtils/Internal/IsShortArrayOrList.php',
     
    2230    'PHPCSUtils\\Internal\\NoFileCache' => $vendorDir . '/phpcsstandards/phpcsutils/PHPCSUtils/Internal/NoFileCache.php',
    2331    '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',
    2434    'PHPCSUtils\\TestUtils\\UtilityMethodTestCase' => $vendorDir . '/phpcsstandards/phpcsutils/PHPCSUtils/TestUtils/UtilityMethodTestCase.php',
    2535    'PHPCSUtils\\Tokens\\Collections' => $vendorDir . '/phpcsstandards/phpcsutils/PHPCSUtils/Tokens/Collections.php',
    2636    'PHPCSUtils\\Tokens\\TokenHelper' => $vendorDir . '/phpcsstandards/phpcsutils/PHPCSUtils/Tokens/TokenHelper.php',
    2737    'PHPCSUtils\\Utils\\Arrays' => $vendorDir . '/phpcsstandards/phpcsutils/PHPCSUtils/Utils/Arrays.php',
     38    'PHPCSUtils\\Utils\\AttributeBlock' => $vendorDir . '/phpcsstandards/phpcsutils/PHPCSUtils/Utils/AttributeBlock.php',
    2839    'PHPCSUtils\\Utils\\Conditions' => $vendorDir . '/phpcsstandards/phpcsutils/PHPCSUtils/Utils/Conditions.php',
     40    'PHPCSUtils\\Utils\\Constants' => $vendorDir . '/phpcsstandards/phpcsutils/PHPCSUtils/Utils/Constants.php',
    2941    'PHPCSUtils\\Utils\\Context' => $vendorDir . '/phpcsstandards/phpcsutils/PHPCSUtils/Utils/Context.php',
    3042    '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',
    3145    'PHPCSUtils\\Utils\\FunctionDeclarations' => $vendorDir . '/phpcsstandards/phpcsutils/PHPCSUtils/Utils/FunctionDeclarations.php',
    3246    'PHPCSUtils\\Utils\\GetTokensAsString' => $vendorDir . '/phpcsstandards/phpcsutils/PHPCSUtils/Utils/GetTokensAsString.php',
     
    4357    'PHPCSUtils\\Utils\\Scopes' => $vendorDir . '/phpcsstandards/phpcsutils/PHPCSUtils/Utils/Scopes.php',
    4458    'PHPCSUtils\\Utils\\TextStrings' => $vendorDir . '/phpcsstandards/phpcsutils/PHPCSUtils/Utils/TextStrings.php',
     59    'PHPCSUtils\\Utils\\TypeString' => $vendorDir . '/phpcsstandards/phpcsutils/PHPCSUtils/Utils/TypeString.php',
    4560    'PHPCSUtils\\Utils\\UseStatements' => $vendorDir . '/phpcsstandards/phpcsutils/PHPCSUtils/Utils/UseStatements.php',
    4661    'PHPCSUtils\\Utils\\Variables' => $vendorDir . '/phpcsstandards/phpcsutils/PHPCSUtils/Utils/Variables.php',
  • core-rollback/tags/1.4.0/vendor/composer/autoload_static.php

    r3201170 r3397624  
    3636        'PHPCSUtils\\BackCompat\\Helper' => __DIR__ . '/..' . '/phpcsstandards/phpcsutils/PHPCSUtils/BackCompat/Helper.php',
    3737        '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',
    3842        'PHPCSUtils\\Exceptions\\TestFileNotFound' => __DIR__ . '/..' . '/phpcsstandards/phpcsutils/PHPCSUtils/Exceptions/TestFileNotFound.php',
    3943        'PHPCSUtils\\Exceptions\\TestMarkerNotFound' => __DIR__ . '/..' . '/phpcsstandards/phpcsutils/PHPCSUtils/Exceptions/TestMarkerNotFound.php',
    4044        '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',
    4148        'PHPCSUtils\\Fixers\\SpacesFixer' => __DIR__ . '/..' . '/phpcsstandards/phpcsutils/PHPCSUtils/Fixers/SpacesFixer.php',
     49        'PHPCSUtils\\Internal\\AttributeHelper' => __DIR__ . '/..' . '/phpcsstandards/phpcsutils/PHPCSUtils/Internal/AttributeHelper.php',
    4250        'PHPCSUtils\\Internal\\Cache' => __DIR__ . '/..' . '/phpcsstandards/phpcsutils/PHPCSUtils/Internal/Cache.php',
    4351        'PHPCSUtils\\Internal\\IsShortArrayOrList' => __DIR__ . '/..' . '/phpcsstandards/phpcsutils/PHPCSUtils/Internal/IsShortArrayOrList.php',
     
    4553        'PHPCSUtils\\Internal\\NoFileCache' => __DIR__ . '/..' . '/phpcsstandards/phpcsutils/PHPCSUtils/Internal/NoFileCache.php',
    4654        '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',
    4757        'PHPCSUtils\\TestUtils\\UtilityMethodTestCase' => __DIR__ . '/..' . '/phpcsstandards/phpcsutils/PHPCSUtils/TestUtils/UtilityMethodTestCase.php',
    4858        'PHPCSUtils\\Tokens\\Collections' => __DIR__ . '/..' . '/phpcsstandards/phpcsutils/PHPCSUtils/Tokens/Collections.php',
    4959        'PHPCSUtils\\Tokens\\TokenHelper' => __DIR__ . '/..' . '/phpcsstandards/phpcsutils/PHPCSUtils/Tokens/TokenHelper.php',
    5060        'PHPCSUtils\\Utils\\Arrays' => __DIR__ . '/..' . '/phpcsstandards/phpcsutils/PHPCSUtils/Utils/Arrays.php',
     61        'PHPCSUtils\\Utils\\AttributeBlock' => __DIR__ . '/..' . '/phpcsstandards/phpcsutils/PHPCSUtils/Utils/AttributeBlock.php',
    5162        'PHPCSUtils\\Utils\\Conditions' => __DIR__ . '/..' . '/phpcsstandards/phpcsutils/PHPCSUtils/Utils/Conditions.php',
     63        'PHPCSUtils\\Utils\\Constants' => __DIR__ . '/..' . '/phpcsstandards/phpcsutils/PHPCSUtils/Utils/Constants.php',
    5264        'PHPCSUtils\\Utils\\Context' => __DIR__ . '/..' . '/phpcsstandards/phpcsutils/PHPCSUtils/Utils/Context.php',
    5365        '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',
    5468        'PHPCSUtils\\Utils\\FunctionDeclarations' => __DIR__ . '/..' . '/phpcsstandards/phpcsutils/PHPCSUtils/Utils/FunctionDeclarations.php',
    5569        'PHPCSUtils\\Utils\\GetTokensAsString' => __DIR__ . '/..' . '/phpcsstandards/phpcsutils/PHPCSUtils/Utils/GetTokensAsString.php',
     
    6680        'PHPCSUtils\\Utils\\Scopes' => __DIR__ . '/..' . '/phpcsstandards/phpcsutils/PHPCSUtils/Utils/Scopes.php',
    6781        'PHPCSUtils\\Utils\\TextStrings' => __DIR__ . '/..' . '/phpcsstandards/phpcsutils/PHPCSUtils/Utils/TextStrings.php',
     82        'PHPCSUtils\\Utils\\TypeString' => __DIR__ . '/..' . '/phpcsstandards/phpcsutils/PHPCSUtils/Utils/TypeString.php',
    6883        'PHPCSUtils\\Utils\\UseStatements' => __DIR__ . '/..' . '/phpcsstandards/phpcsutils/PHPCSUtils/Utils/UseStatements.php',
    6984        'PHPCSUtils\\Utils\\Variables' => __DIR__ . '/..' . '/phpcsstandards/phpcsutils/PHPCSUtils/Utils/Variables.php',
  • core-rollback/tags/1.4.0/vendor/composer/installed.json

    r3201170 r3397624  
    33        {
    44            "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",
    77            "source": {
    88                "type": "git",
    99                "url": "https://github.com/PHPCSStandards/composer-installer.git",
    10                 "reference": "4be43904336affa5c2f70744a348312336afd0da"
     10                "reference": "845eb62303d2ca9b289ef216356568ccc075ffd1"
    1111            },
    1212            "dist": {
    1313                "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",
    1616                "shasum": ""
    1717            },
    1818            "require": {
    19                 "composer-plugin-api": "^1.0 || ^2.0",
     19                "composer-plugin-api": "^2.2",
    2020                "php": ">=5.4",
    21                 "squizlabs/php_codesniffer": "^2.0 || ^3.1.0 || ^4.0"
     21                "squizlabs/php_codesniffer": "^3.1.0 || ^4.0"
    2222            },
    2323            "require-dev": {
    24                 "composer/composer": "*",
     24                "composer/composer": "^2.2",
    2525                "ext-json": "*",
    2626                "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",
    2929                "yoast/phpunit-polyfills": "^1.0"
    3030            },
    31             "time": "2023-01-05T11:28:13+00:00",
     31            "time": "2025-11-11T04:32:07+00:00",
    3232            "type": "composer-plugin",
    3333            "extra": {
     
    4747                {
    4848                    "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"
    5252                },
    5353                {
     
    5757            ],
    5858            "description": "PHP_CodeSniffer Standards Composer Installer Plugin",
    59             "homepage": "http://www.dealerdirect.com",
    6059            "keywords": [
    6160                "PHPCodeSniffer",
     
    7877            "support": {
    7978                "issues": "https://github.com/PHPCSStandards/composer-installer/issues",
     79                "security": "https://github.com/PHPCSStandards/composer-installer/security/policy",
    8080                "source": "https://github.com/PHPCSStandards/composer-installer"
    8181            },
     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            ],
    82100            "install-path": "../dealerdirect/phpcodesniffer-composer-installer"
    83101        },
    84102        {
    85103            "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",
    88106            "source": {
    89107                "type": "git",
    90108                "url": "https://github.com/PHPCSStandards/PHPCSExtra.git",
    91                 "reference": "11d387c6642b6e4acaf0bd9bf5203b8cca1ec489"
     109                "reference": "b598aa890815b8df16363271b659d73280129101"
    92110            },
    93111            "dist": {
    94112                "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",
    97115                "shasum": ""
    98116            },
    99117            "require": {
    100118                "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"
    103121            },
    104122            "require-dev": {
    105123                "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",
    108126                "phpcsstandards/phpcsdevtools": "^1.2.1",
    109                 "phpunit/phpunit": "^4.5 || ^5.0 || ^6.0 || ^7.0 || ^8.0 || ^9.0"
    110             },
    111             "time": "2023-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",
    112130            "type": "phpcodesniffer-standard",
    113131            "extra": {
     
    159177                    "url": "https://opencollective.com/php_codesniffer",
    160178                    "type": "open_collective"
     179                },
     180                {
     181                    "url": "https://thanks.dev/u/gh/phpcsstandards",
     182                    "type": "thanks_dev"
    161183                }
    162184            ],
     
    165187        {
    166188            "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",
    169191            "source": {
    170192                "type": "git",
    171193                "url": "https://github.com/PHPCSStandards/PHPCSUtils.git",
    172                 "reference": "87b233b00daf83fb70f40c9a28692be017ea7c6c"
     194                "reference": "fa82d14ad1c1713224a52c66c78478145fe454ba"
    173195            },
    174196            "dist": {
    175197                "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",
    178200                "shasum": ""
    179201            },
     
    181203                "dealerdirect/phpcodesniffer-composer-installer": "^0.4.1 || ^0.5 || ^0.6.2 || ^0.7 || ^1.0",
    182204                "php": ">=5.4",
    183                 "squizlabs/php_codesniffer": "^3.10.0 || 4.0.x-dev@dev"
     205                "squizlabs/php_codesniffer": "^3.13.5 || ^4.0.1"
    184206            },
    185207            "require-dev": {
    186208                "ext-filter": "*",
    187209                "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": "2024-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",
    193215            "type": "phpcodesniffer-standard",
    194216            "extra": {
     
    227249                "phpcs",
    228250                "phpcs3",
     251                "phpcs4",
    229252                "standards",
    230253                "static analysis",
     
    250273                    "url": "https://opencollective.com/php_codesniffer",
    251274                    "type": "open_collective"
     275                },
     276                {
     277                    "url": "https://thanks.dev/u/gh/phpcsstandards",
     278                    "type": "thanks_dev"
    252279                }
    253280            ],
     
    256283        {
    257284            "name": "squizlabs/php_codesniffer",
    258             "version": "3.11.1",
    259             "version_normalized": "3.11.1.0",
     285            "version": "3.13.5",
     286            "version_normalized": "3.13.5.0",
    260287            "source": {
    261288                "type": "git",
    262289                "url": "https://github.com/PHPCSStandards/PHP_CodeSniffer.git",
    263                 "reference": "19473c30efe4f7b3cd42522d0b2e6e7f243c6f87"
     290                "reference": "0ca86845ce43291e8f5692c7356fccf3bcf02bf4"
    264291            },
    265292            "dist": {
    266293                "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",
    269296                "shasum": ""
    270297            },
     
    278305                "phpunit/phpunit": "^4.0 || ^5.0 || ^6.0 || ^7.0 || ^8.0 || ^9.3.4"
    279306            },
    280             "time": "2024-11-16T12:02:36+00:00",
     307            "time": "2025-11-04T16:30:35+00:00",
    281308            "bin": [
    282309                "bin/phpcbf",
     
    284311            ],
    285312            "type": "library",
    286             "extra": {
    287                 "branch-alias": {
    288                     "dev-master": "3.x-dev"
    289                 }
    290             },
    291313            "installation-source": "dist",
    292314            "notification-url": "https://packagist.org/downloads/",
     
    333355                    "url": "https://opencollective.com/php_codesniffer",
    334356                    "type": "open_collective"
     357                },
     358                {
     359                    "url": "https://thanks.dev/u/gh/phpcsstandards",
     360                    "type": "thanks_dev"
    335361                }
    336362            ],
     
    339365        {
    340366            "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",
    343369            "source": {
    344370                "type": "git",
    345371                "url": "https://github.com/WordPress/WordPress-Coding-Standards.git",
    346                 "reference": "9333efcbff231f10dfd9c56bb7b65818b4733ca7"
     372                "reference": "d2421de7cec3274ae622c22c744de9a62c7925af"
    347373            },
    348374            "dist": {
    349375                "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",
    352378                "shasum": ""
    353379            },
     
    358384                "ext-xmlreader": "*",
    359385                "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"
    363389            },
    364390            "require-dev": {
    365391                "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",
    367393                "phpcompatibility/php-compatibility": "^9.0",
    368394                "phpcsstandards/phpcsdevtools": "^1.2.0",
     
    373399                "ext-mbstring": "For improved results"
    374400            },
    375             "time": "2024-03-25T16:39:00+00:00",
     401            "time": "2025-07-24T20:08:31+00:00",
    376402            "type": "phpcodesniffer-standard",
    377403            "installation-source": "dist",
  • core-rollback/tags/1.4.0/vendor/composer/installed.php

    r3201170 r3397624  
    44        'pretty_version' => 'dev-main',
    55        'version' => 'dev-main',
    6         'reference' => '499ef0f9bf0756d12450e807c82ee70cb7aa7a6d',
     6        'reference' => '123c65db471b1d56402779dce93faf5a053cb63c',
    77        'type' => 'wordpress-plugin',
    88        'install_path' => __DIR__ . '/../../',
     
    1414            'pretty_version' => 'dev-main',
    1515            'version' => 'dev-main',
    16             'reference' => '499ef0f9bf0756d12450e807c82ee70cb7aa7a6d',
     16            'reference' => '123c65db471b1d56402779dce93faf5a053cb63c',
    1717            'type' => 'wordpress-plugin',
    1818            'install_path' => __DIR__ . '/../../',
     
    2121        ),
    2222        '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',
    2626            'type' => 'composer-plugin',
    2727            'install_path' => __DIR__ . '/../dealerdirect/phpcodesniffer-composer-installer',
     
    3030        ),
    3131        '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',
    3535            'type' => 'phpcodesniffer-standard',
    3636            'install_path' => __DIR__ . '/../phpcsstandards/phpcsextra',
     
    3939        ),
    4040        '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',
    4444            'type' => 'phpcodesniffer-standard',
    4545            'install_path' => __DIR__ . '/../phpcsstandards/phpcsutils',
     
    4848        ),
    4949        'squizlabs/php_codesniffer' => array(
    50             'pretty_version' => '3.11.1',
    51             'version' => '3.11.1.0',
    52             'reference' => '19473c30efe4f7b3cd42522d0b2e6e7f243c6f87',
     50            'pretty_version' => '3.13.5',
     51            'version' => '3.13.5.0',
     52            'reference' => '0ca86845ce43291e8f5692c7356fccf3bcf02bf4',
    5353            'type' => 'library',
    5454            'install_path' => __DIR__ . '/../squizlabs/php_codesniffer',
     
    5757        ),
    5858        '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',
    6262            'type' => 'phpcodesniffer-standard',
    6363            'install_path' => __DIR__ . '/../wp-coding-standards/wpcs',
  • core-rollback/tags/1.4.0/vendor/composer/platform_check.php

    r2420146 r3397624  
    2020        }
    2121    }
    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)
    2524    );
    2625}
  • core-rollback/trunk/CHANGES.md

    r3201158 r3397624  
    11[ unreleased ]
     2
     3#### 1.4.0 / 2025-11-17
     4* return rollback offer with `update_core` transient
     5* update POT GitHub Action
    26
    37#### 1.3.7 / 2024-12-02
  • core-rollback/trunk/core-rollback.php

    r3201158 r3397624  
    1313 * Plugin URI:        https://github.com/afragen/core-rollback
    1414 * 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.7
     15 * Version:           1.4.0
    1616 * Author:            Andy Fragen
    1717 * License:           MIT
  • core-rollback/trunk/languages/core-rollback.pot

    r3201170 r3397624  
    1 # Copyright (C) 2024 Andy Fragen
     1# Copyright (C) 2025 Andy Fragen
    22# This file is distributed under the MIT.
    33msgid ""
    44msgstr ""
    5 "Project-Id-Version: core-rollback 1.3.7\n"
     5"Project-Id-Version: Core Rollback 1.4.0\n"
    66"Report-Msgid-Bugs-To: https://github.com/afragen/core-rollback/issues\n"
    77"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
     
    1010"Content-Type: text/plain; charset=UTF-8\n"
    1111"Content-Transfer-Encoding: 8bit\n"
    12 "POT-Creation-Date: 2024-12-02T19:52:35+00:00\n"
     12"POT-Creation-Date: 2025-11-17T21:50:42+00:00\n"
    1313"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
    14 "X-Generator: WP-CLI 2.11.0\n"
     14"X-Generator: WP-CLI 2.12.0\n"
    1515"X-Domain: core-rollback\n"
    1616
  • core-rollback/trunk/readme.txt

    r3201158 r3397624  
    77Requires PHP: 5.6
    88Requires at least: 4.1
    9 Tested up to: 6.7
    10 Stable tag: 1.3.7
     9Tested up to: 6.9
     10Stable tag: 1.4.0
    1111
    1212Seamless 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.
     
    3535
    3636## Changelog
     37
     38#### 1.4.0 / 2025-11-17
     39* return rollback offer with `update_core` transient
     40* update POT GitHub Action
    3741
    3842#### 1.3.7 / 2024-12-02
  • core-rollback/trunk/src/Core.php

    r2860554 r3397624  
    1010
    1111namespace Fragen\Rollback;
     12
     13use stdClass;
    1214
    1315/*
     
    7173        add_filter( 'http_request_args', [ $this, 'filter_http_request_args' ], 10, 2 );
    7274        add_filter( 'pre_http_request', [ $this, 'filter_http_request' ], 10, 3 );
     75        add_filter( 'site_transient_update_core', [ $this, 'add_rollback_offer' ], 10, 1 );
    7376    }
    7477
     
    101104     * @param string $url    URL from filter.
    102105     *
    103      * @return \stdClass $response Output from wp_remote_get().
     106     * @return stdClass $response Output from wp_remote_get().
    104107     */
    105108    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'] ) ) {
    107110            return $result;
    108111        }
     
    129132     * Update Core API update response to add rollback.
    130133     *
    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.
    133136     *
    134      * @return \stdClass
     137     * @return stdClass
    135138     */
    136139    public function set_rollback( $response, $rollback_version ) {
     
    139142        }
    140143        $body   = wp_remote_retrieve_body( $response );
    141         $offers = \json_decode( $body );
     144        $offers = json_decode( $body );
    142145        $latest = false;
    143146        $num    = count( array_keys( $offers->offers ) );
     
    156159            $offers->offers[ $num ] = static::$core_versions[ $rollback_version ];
    157160        }
     161        set_site_transient( '_core_rollback_offers', $offers->offers, 15 );
    158162
    159         $body             = \json_encode( $offers );
     163        $body             = json_encode( $offers );
    160164        $response['body'] = $body;
    161165
    162166        return $response;
    163167    }
     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    }
    164190}
  • core-rollback/trunk/vendor/autoload.php

    r3201170 r3397624  
    1515        }
    1616    }
    17     trigger_error(
    18         $err,
    19         E_USER_ERROR
    20     );
     17    throw new RuntimeException($err);
    2118}
    2219
  • core-rollback/trunk/vendor/composer/InstalledVersions.php

    r2937801 r3397624  
    2828{
    2929    /**
     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    /**
    3036     * @var mixed[]|null
    3137     * @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
    3238     */
    3339    private static $installed;
     40
     41    /**
     42     * @var bool
     43     */
     44    private static $installedIsLocalDir;
    3445
    3546    /**
     
    310321        self::$installed = $data;
    311322        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;
    312341    }
    313342
     
    323352
    324353        $installed = array();
     354        $copiedLocalDir = false;
    325355
    326356        if (self::$canGetVendors) {
     357            $selfDir = self::getSelfDir();
    327358            foreach (ClassLoader::getRegisteredLoaders() as $vendorDir => $loader) {
     359                $vendorDir = strtr($vendorDir, '\\', '/');
    328360                if (isset(self::$installedByVendor[$vendorDir])) {
    329361                    $installed[] = self::$installedByVendor[$vendorDir];
     
    331363                    /** @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 */
    332364                    $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;
    336370                    }
     371                }
     372                if (self::$installedIsLocalDir && $vendorDir.'/composer' === $selfDir) {
     373                    $copiedLocalDir = true;
    337374                }
    338375            }
     
    351388        }
    352389
    353         if (self::$installed !== array()) {
     390        if (self::$installed !== array() && !$copiedLocalDir) {
    354391            $installed[] = self::$installed;
    355392        }
  • core-rollback/trunk/vendor/composer/autoload_classmap.php

    r3180137 r3397624  
    1313    'PHPCSUtils\\BackCompat\\Helper' => $vendorDir . '/phpcsstandards/phpcsutils/PHPCSUtils/BackCompat/Helper.php',
    1414    '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',
    1519    'PHPCSUtils\\Exceptions\\TestFileNotFound' => $vendorDir . '/phpcsstandards/phpcsutils/PHPCSUtils/Exceptions/TestFileNotFound.php',
    1620    'PHPCSUtils\\Exceptions\\TestMarkerNotFound' => $vendorDir . '/phpcsstandards/phpcsutils/PHPCSUtils/Exceptions/TestMarkerNotFound.php',
    1721    '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',
    1825    'PHPCSUtils\\Fixers\\SpacesFixer' => $vendorDir . '/phpcsstandards/phpcsutils/PHPCSUtils/Fixers/SpacesFixer.php',
     26    'PHPCSUtils\\Internal\\AttributeHelper' => $vendorDir . '/phpcsstandards/phpcsutils/PHPCSUtils/Internal/AttributeHelper.php',
    1927    'PHPCSUtils\\Internal\\Cache' => $vendorDir . '/phpcsstandards/phpcsutils/PHPCSUtils/Internal/Cache.php',
    2028    'PHPCSUtils\\Internal\\IsShortArrayOrList' => $vendorDir . '/phpcsstandards/phpcsutils/PHPCSUtils/Internal/IsShortArrayOrList.php',
     
    2230    'PHPCSUtils\\Internal\\NoFileCache' => $vendorDir . '/phpcsstandards/phpcsutils/PHPCSUtils/Internal/NoFileCache.php',
    2331    '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',
    2434    'PHPCSUtils\\TestUtils\\UtilityMethodTestCase' => $vendorDir . '/phpcsstandards/phpcsutils/PHPCSUtils/TestUtils/UtilityMethodTestCase.php',
    2535    'PHPCSUtils\\Tokens\\Collections' => $vendorDir . '/phpcsstandards/phpcsutils/PHPCSUtils/Tokens/Collections.php',
    2636    'PHPCSUtils\\Tokens\\TokenHelper' => $vendorDir . '/phpcsstandards/phpcsutils/PHPCSUtils/Tokens/TokenHelper.php',
    2737    'PHPCSUtils\\Utils\\Arrays' => $vendorDir . '/phpcsstandards/phpcsutils/PHPCSUtils/Utils/Arrays.php',
     38    'PHPCSUtils\\Utils\\AttributeBlock' => $vendorDir . '/phpcsstandards/phpcsutils/PHPCSUtils/Utils/AttributeBlock.php',
    2839    'PHPCSUtils\\Utils\\Conditions' => $vendorDir . '/phpcsstandards/phpcsutils/PHPCSUtils/Utils/Conditions.php',
     40    'PHPCSUtils\\Utils\\Constants' => $vendorDir . '/phpcsstandards/phpcsutils/PHPCSUtils/Utils/Constants.php',
    2941    'PHPCSUtils\\Utils\\Context' => $vendorDir . '/phpcsstandards/phpcsutils/PHPCSUtils/Utils/Context.php',
    3042    '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',
    3145    'PHPCSUtils\\Utils\\FunctionDeclarations' => $vendorDir . '/phpcsstandards/phpcsutils/PHPCSUtils/Utils/FunctionDeclarations.php',
    3246    'PHPCSUtils\\Utils\\GetTokensAsString' => $vendorDir . '/phpcsstandards/phpcsutils/PHPCSUtils/Utils/GetTokensAsString.php',
     
    4357    'PHPCSUtils\\Utils\\Scopes' => $vendorDir . '/phpcsstandards/phpcsutils/PHPCSUtils/Utils/Scopes.php',
    4458    'PHPCSUtils\\Utils\\TextStrings' => $vendorDir . '/phpcsstandards/phpcsutils/PHPCSUtils/Utils/TextStrings.php',
     59    'PHPCSUtils\\Utils\\TypeString' => $vendorDir . '/phpcsstandards/phpcsutils/PHPCSUtils/Utils/TypeString.php',
    4560    'PHPCSUtils\\Utils\\UseStatements' => $vendorDir . '/phpcsstandards/phpcsutils/PHPCSUtils/Utils/UseStatements.php',
    4661    'PHPCSUtils\\Utils\\Variables' => $vendorDir . '/phpcsstandards/phpcsutils/PHPCSUtils/Utils/Variables.php',
  • core-rollback/trunk/vendor/composer/autoload_static.php

    r3201170 r3397624  
    3636        'PHPCSUtils\\BackCompat\\Helper' => __DIR__ . '/..' . '/phpcsstandards/phpcsutils/PHPCSUtils/BackCompat/Helper.php',
    3737        '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',
    3842        'PHPCSUtils\\Exceptions\\TestFileNotFound' => __DIR__ . '/..' . '/phpcsstandards/phpcsutils/PHPCSUtils/Exceptions/TestFileNotFound.php',
    3943        'PHPCSUtils\\Exceptions\\TestMarkerNotFound' => __DIR__ . '/..' . '/phpcsstandards/phpcsutils/PHPCSUtils/Exceptions/TestMarkerNotFound.php',
    4044        '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',
    4148        'PHPCSUtils\\Fixers\\SpacesFixer' => __DIR__ . '/..' . '/phpcsstandards/phpcsutils/PHPCSUtils/Fixers/SpacesFixer.php',
     49        'PHPCSUtils\\Internal\\AttributeHelper' => __DIR__ . '/..' . '/phpcsstandards/phpcsutils/PHPCSUtils/Internal/AttributeHelper.php',
    4250        'PHPCSUtils\\Internal\\Cache' => __DIR__ . '/..' . '/phpcsstandards/phpcsutils/PHPCSUtils/Internal/Cache.php',
    4351        'PHPCSUtils\\Internal\\IsShortArrayOrList' => __DIR__ . '/..' . '/phpcsstandards/phpcsutils/PHPCSUtils/Internal/IsShortArrayOrList.php',
     
    4553        'PHPCSUtils\\Internal\\NoFileCache' => __DIR__ . '/..' . '/phpcsstandards/phpcsutils/PHPCSUtils/Internal/NoFileCache.php',
    4654        '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',
    4757        'PHPCSUtils\\TestUtils\\UtilityMethodTestCase' => __DIR__ . '/..' . '/phpcsstandards/phpcsutils/PHPCSUtils/TestUtils/UtilityMethodTestCase.php',
    4858        'PHPCSUtils\\Tokens\\Collections' => __DIR__ . '/..' . '/phpcsstandards/phpcsutils/PHPCSUtils/Tokens/Collections.php',
    4959        'PHPCSUtils\\Tokens\\TokenHelper' => __DIR__ . '/..' . '/phpcsstandards/phpcsutils/PHPCSUtils/Tokens/TokenHelper.php',
    5060        'PHPCSUtils\\Utils\\Arrays' => __DIR__ . '/..' . '/phpcsstandards/phpcsutils/PHPCSUtils/Utils/Arrays.php',
     61        'PHPCSUtils\\Utils\\AttributeBlock' => __DIR__ . '/..' . '/phpcsstandards/phpcsutils/PHPCSUtils/Utils/AttributeBlock.php',
    5162        'PHPCSUtils\\Utils\\Conditions' => __DIR__ . '/..' . '/phpcsstandards/phpcsutils/PHPCSUtils/Utils/Conditions.php',
     63        'PHPCSUtils\\Utils\\Constants' => __DIR__ . '/..' . '/phpcsstandards/phpcsutils/PHPCSUtils/Utils/Constants.php',
    5264        'PHPCSUtils\\Utils\\Context' => __DIR__ . '/..' . '/phpcsstandards/phpcsutils/PHPCSUtils/Utils/Context.php',
    5365        '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',
    5468        'PHPCSUtils\\Utils\\FunctionDeclarations' => __DIR__ . '/..' . '/phpcsstandards/phpcsutils/PHPCSUtils/Utils/FunctionDeclarations.php',
    5569        'PHPCSUtils\\Utils\\GetTokensAsString' => __DIR__ . '/..' . '/phpcsstandards/phpcsutils/PHPCSUtils/Utils/GetTokensAsString.php',
     
    6680        'PHPCSUtils\\Utils\\Scopes' => __DIR__ . '/..' . '/phpcsstandards/phpcsutils/PHPCSUtils/Utils/Scopes.php',
    6781        'PHPCSUtils\\Utils\\TextStrings' => __DIR__ . '/..' . '/phpcsstandards/phpcsutils/PHPCSUtils/Utils/TextStrings.php',
     82        'PHPCSUtils\\Utils\\TypeString' => __DIR__ . '/..' . '/phpcsstandards/phpcsutils/PHPCSUtils/Utils/TypeString.php',
    6883        'PHPCSUtils\\Utils\\UseStatements' => __DIR__ . '/..' . '/phpcsstandards/phpcsutils/PHPCSUtils/Utils/UseStatements.php',
    6984        'PHPCSUtils\\Utils\\Variables' => __DIR__ . '/..' . '/phpcsstandards/phpcsutils/PHPCSUtils/Utils/Variables.php',
  • core-rollback/trunk/vendor/composer/installed.json

    r3201170 r3397624  
    33        {
    44            "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",
    77            "source": {
    88                "type": "git",
    99                "url": "https://github.com/PHPCSStandards/composer-installer.git",
    10                 "reference": "4be43904336affa5c2f70744a348312336afd0da"
     10                "reference": "845eb62303d2ca9b289ef216356568ccc075ffd1"
    1111            },
    1212            "dist": {
    1313                "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",
    1616                "shasum": ""
    1717            },
    1818            "require": {
    19                 "composer-plugin-api": "^1.0 || ^2.0",
     19                "composer-plugin-api": "^2.2",
    2020                "php": ">=5.4",
    21                 "squizlabs/php_codesniffer": "^2.0 || ^3.1.0 || ^4.0"
     21                "squizlabs/php_codesniffer": "^3.1.0 || ^4.0"
    2222            },
    2323            "require-dev": {
    24                 "composer/composer": "*",
     24                "composer/composer": "^2.2",
    2525                "ext-json": "*",
    2626                "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",
    2929                "yoast/phpunit-polyfills": "^1.0"
    3030            },
    31             "time": "2023-01-05T11:28:13+00:00",
     31            "time": "2025-11-11T04:32:07+00:00",
    3232            "type": "composer-plugin",
    3333            "extra": {
     
    4747                {
    4848                    "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"
    5252                },
    5353                {
     
    5757            ],
    5858            "description": "PHP_CodeSniffer Standards Composer Installer Plugin",
    59             "homepage": "http://www.dealerdirect.com",
    6059            "keywords": [
    6160                "PHPCodeSniffer",
     
    7877            "support": {
    7978                "issues": "https://github.com/PHPCSStandards/composer-installer/issues",
     79                "security": "https://github.com/PHPCSStandards/composer-installer/security/policy",
    8080                "source": "https://github.com/PHPCSStandards/composer-installer"
    8181            },
     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            ],
    82100            "install-path": "../dealerdirect/phpcodesniffer-composer-installer"
    83101        },
    84102        {
    85103            "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",
    88106            "source": {
    89107                "type": "git",
    90108                "url": "https://github.com/PHPCSStandards/PHPCSExtra.git",
    91                 "reference": "11d387c6642b6e4acaf0bd9bf5203b8cca1ec489"
     109                "reference": "b598aa890815b8df16363271b659d73280129101"
    92110            },
    93111            "dist": {
    94112                "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",
    97115                "shasum": ""
    98116            },
    99117            "require": {
    100118                "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"
    103121            },
    104122            "require-dev": {
    105123                "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",
    108126                "phpcsstandards/phpcsdevtools": "^1.2.1",
    109                 "phpunit/phpunit": "^4.5 || ^5.0 || ^6.0 || ^7.0 || ^8.0 || ^9.0"
    110             },
    111             "time": "2023-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",
    112130            "type": "phpcodesniffer-standard",
    113131            "extra": {
     
    159177                    "url": "https://opencollective.com/php_codesniffer",
    160178                    "type": "open_collective"
     179                },
     180                {
     181                    "url": "https://thanks.dev/u/gh/phpcsstandards",
     182                    "type": "thanks_dev"
    161183                }
    162184            ],
     
    165187        {
    166188            "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",
    169191            "source": {
    170192                "type": "git",
    171193                "url": "https://github.com/PHPCSStandards/PHPCSUtils.git",
    172                 "reference": "87b233b00daf83fb70f40c9a28692be017ea7c6c"
     194                "reference": "fa82d14ad1c1713224a52c66c78478145fe454ba"
    173195            },
    174196            "dist": {
    175197                "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",
    178200                "shasum": ""
    179201            },
     
    181203                "dealerdirect/phpcodesniffer-composer-installer": "^0.4.1 || ^0.5 || ^0.6.2 || ^0.7 || ^1.0",
    182204                "php": ">=5.4",
    183                 "squizlabs/php_codesniffer": "^3.10.0 || 4.0.x-dev@dev"
     205                "squizlabs/php_codesniffer": "^3.13.5 || ^4.0.1"
    184206            },
    185207            "require-dev": {
    186208                "ext-filter": "*",
    187209                "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": "2024-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",
    193215            "type": "phpcodesniffer-standard",
    194216            "extra": {
     
    227249                "phpcs",
    228250                "phpcs3",
     251                "phpcs4",
    229252                "standards",
    230253                "static analysis",
     
    250273                    "url": "https://opencollective.com/php_codesniffer",
    251274                    "type": "open_collective"
     275                },
     276                {
     277                    "url": "https://thanks.dev/u/gh/phpcsstandards",
     278                    "type": "thanks_dev"
    252279                }
    253280            ],
     
    256283        {
    257284            "name": "squizlabs/php_codesniffer",
    258             "version": "3.11.1",
    259             "version_normalized": "3.11.1.0",
     285            "version": "3.13.5",
     286            "version_normalized": "3.13.5.0",
    260287            "source": {
    261288                "type": "git",
    262289                "url": "https://github.com/PHPCSStandards/PHP_CodeSniffer.git",
    263                 "reference": "19473c30efe4f7b3cd42522d0b2e6e7f243c6f87"
     290                "reference": "0ca86845ce43291e8f5692c7356fccf3bcf02bf4"
    264291            },
    265292            "dist": {
    266293                "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",
    269296                "shasum": ""
    270297            },
     
    278305                "phpunit/phpunit": "^4.0 || ^5.0 || ^6.0 || ^7.0 || ^8.0 || ^9.3.4"
    279306            },
    280             "time": "2024-11-16T12:02:36+00:00",
     307            "time": "2025-11-04T16:30:35+00:00",
    281308            "bin": [
    282309                "bin/phpcbf",
     
    284311            ],
    285312            "type": "library",
    286             "extra": {
    287                 "branch-alias": {
    288                     "dev-master": "3.x-dev"
    289                 }
    290             },
    291313            "installation-source": "dist",
    292314            "notification-url": "https://packagist.org/downloads/",
     
    333355                    "url": "https://opencollective.com/php_codesniffer",
    334356                    "type": "open_collective"
     357                },
     358                {
     359                    "url": "https://thanks.dev/u/gh/phpcsstandards",
     360                    "type": "thanks_dev"
    335361                }
    336362            ],
     
    339365        {
    340366            "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",
    343369            "source": {
    344370                "type": "git",
    345371                "url": "https://github.com/WordPress/WordPress-Coding-Standards.git",
    346                 "reference": "9333efcbff231f10dfd9c56bb7b65818b4733ca7"
     372                "reference": "d2421de7cec3274ae622c22c744de9a62c7925af"
    347373            },
    348374            "dist": {
    349375                "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",
    352378                "shasum": ""
    353379            },
     
    358384                "ext-xmlreader": "*",
    359385                "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"
    363389            },
    364390            "require-dev": {
    365391                "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",
    367393                "phpcompatibility/php-compatibility": "^9.0",
    368394                "phpcsstandards/phpcsdevtools": "^1.2.0",
     
    373399                "ext-mbstring": "For improved results"
    374400            },
    375             "time": "2024-03-25T16:39:00+00:00",
     401            "time": "2025-07-24T20:08:31+00:00",
    376402            "type": "phpcodesniffer-standard",
    377403            "installation-source": "dist",
  • core-rollback/trunk/vendor/composer/installed.php

    r3201170 r3397624  
    44        'pretty_version' => 'dev-main',
    55        'version' => 'dev-main',
    6         'reference' => '499ef0f9bf0756d12450e807c82ee70cb7aa7a6d',
     6        'reference' => '123c65db471b1d56402779dce93faf5a053cb63c',
    77        'type' => 'wordpress-plugin',
    88        'install_path' => __DIR__ . '/../../',
     
    1414            'pretty_version' => 'dev-main',
    1515            'version' => 'dev-main',
    16             'reference' => '499ef0f9bf0756d12450e807c82ee70cb7aa7a6d',
     16            'reference' => '123c65db471b1d56402779dce93faf5a053cb63c',
    1717            'type' => 'wordpress-plugin',
    1818            'install_path' => __DIR__ . '/../../',
     
    2121        ),
    2222        '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',
    2626            'type' => 'composer-plugin',
    2727            'install_path' => __DIR__ . '/../dealerdirect/phpcodesniffer-composer-installer',
     
    3030        ),
    3131        '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',
    3535            'type' => 'phpcodesniffer-standard',
    3636            'install_path' => __DIR__ . '/../phpcsstandards/phpcsextra',
     
    3939        ),
    4040        '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',
    4444            'type' => 'phpcodesniffer-standard',
    4545            'install_path' => __DIR__ . '/../phpcsstandards/phpcsutils',
     
    4848        ),
    4949        'squizlabs/php_codesniffer' => array(
    50             'pretty_version' => '3.11.1',
    51             'version' => '3.11.1.0',
    52             'reference' => '19473c30efe4f7b3cd42522d0b2e6e7f243c6f87',
     50            'pretty_version' => '3.13.5',
     51            'version' => '3.13.5.0',
     52            'reference' => '0ca86845ce43291e8f5692c7356fccf3bcf02bf4',
    5353            'type' => 'library',
    5454            'install_path' => __DIR__ . '/../squizlabs/php_codesniffer',
     
    5757        ),
    5858        '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',
    6262            'type' => 'phpcodesniffer-standard',
    6363            'install_path' => __DIR__ . '/../wp-coding-standards/wpcs',
  • core-rollback/trunk/vendor/composer/platform_check.php

    r2420146 r3397624  
    2020        }
    2121    }
    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)
    2524    );
    2625}
Note: See TracChangeset for help on using the changeset viewer.