Skip to:
Content

bbPress.org

Changeset 7352 for trunk/composer.json


Ignore:
Timestamp:
11/14/2025 04:17:43 PM (8 months ago)
Author:
johnjamesjacoby
Message:

Tools - Build: Clean-up PHPCS, and enforce Yoda conditionals.

This commit includes changes to various PHP files, Composer requirements, and PHPCS config, to confirm that the WordPress.PHP.YodaConditions code sniff passes.

Props sirlouen.

In trunk, for 2.7.

Fixes #3613.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/composer.json

    r7106 r7352  
    44        "description": "bbPress is forum software with a twist from the creators of WordPress.",
    55        "require-dev": {
     6                "squizlabs/php_codesniffer": "^3.7.2",
    67                "phpcompatibility/phpcompatibility-wp": "^2.1",
    7                 "wp-coding-standards/wpcs": "^2.3",
    8                 "dealerdirect/phpcodesniffer-composer-installer": "^0.6.2"
     8                "wp-coding-standards/wpcs": "^3.0",
     9                "dealerdirect/phpcodesniffer-composer-installer": "^1.0",
     10                "phpunit/phpunit": "^9",
     11                "yoast/phpunit-polyfills": "^3.0"
    912        },
    1013        "minimum-stability": "dev",
Note: See TracChangeset for help on using the changeset viewer.