Make WordPress Core

Changeset 63198


Ignore:
Timestamp:
08/12/2026 04:14:40 AM (3 months ago)
Author:
desrosj
Message:

Build/Test Tools: Update php_codesniffer in the 6.3 branch.

This addresses a Composer error where the defined requirements could not be resolved into an installable set of packages due to a new, higher transitive dependency floor.

Props jonsurrell, desrosj, jeremyfelt.
See #65739.

Location:
branches/6.3
Files:
5 edited

Legend:

Unmodified
Added
Removed
  • branches/6.3/composer.json

    r63045 r63198  
    1515        "require-dev": {
    1616                "dealerdirect/phpcodesniffer-composer-installer": "^0.7.0",
    17                 "squizlabs/php_codesniffer": "3.6.0",
     17                "squizlabs/php_codesniffer": "3.13.6",
    1818                "wp-coding-standards/wpcs": "~2.3.0",
    1919                "phpcompatibility/phpcompatibility-wp": "~2.1.3",
    … …  
    2121        },
    2222        "config": {
    23                 "audit": { "ignore": [ "GHSA-3pwp-g2mj-5p3v", "GHSA-hmqg-cxww-wqhq", "PKSA-rdkp-vv9z-mjkg" ] },
     23                "audit": { "ignore": [ "GHSA-3pwp-g2mj-5p3v" ] },
    2424                "allow-plugins": {
    2525                        "dealerdirect/phpcodesniffer-composer-installer": true
  • branches/6.3/src/wp-admin/includes/class-wp-list-table.php

    r56843 r63198  
    198198        public function __set( $name, $value ) {
    199199                if ( in_array( $name, $this->compat_fields, true ) ) {
    200                         return $this->$name = $value;
     200                        $this->$name = $value;
     201
     202                        return $value;
    201203                }
    202204        }
  • branches/6.3/src/wp-includes/class-wp-object-cache.php

    r55549 r63198  
    105105         */
    106106        public function __set( $name, $value ) {
    107                 return $this->$name = $value;
     107                $this->$name = $value;
     108
     109                return $value;
    108110        }
    109111
  • branches/6.3/src/wp-includes/class-wp-text-diff-renderer-table.php

    r56178 r63198  
    533533        public function __set( $name, $value ) {
    534534                if ( in_array( $name, $this->compat_fields, true ) ) {
    535                         return $this->$name = $value;
     535                        $this->$name = $value;
     536
     537                        return $value;
    536538                }
    537539        }
  • branches/6.3/src/wp-includes/class-wp-user-query.php

    r56427 r63198  
    11341134        public function __set( $name, $value ) {
    11351135                if ( in_array( $name, $this->compat_fields, true ) ) {
    1136                         return $this->$name = $value;
     1136                        $this->$name = $value;
     1137
     1138                        return $value;
    11371139                }
    11381140        }
Note: See TracChangeset for help on using the changeset viewer.