Skip to content

Commit

Permalink
Merge pull request #376 from Yoast/feature/composer-update-requirements
Browse files Browse the repository at this point in the history
Composer: update minimum requirements for various dependencies
  • Loading branch information
jrfnl committed Apr 4, 2024
2 parents ccc28df + c4216fd commit ac8a41b
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 12 deletions.
7 changes: 0 additions & 7 deletions Yoast/ruleset.xml
Original file line number Diff line number Diff line change
Expand Up @@ -188,10 +188,6 @@
<!-- PHPCS 3.5.0: This sniff may be added to WPCS in due time and can then be removed from this ruleset. -->
<rule ref="PSR12.Files.OpenTag"/>

<!-- CS: Enforces that a PHP open tag uses lowercase. -->
<!-- PHPCSExtra 1.2.0: This sniff may be added to WPCS in due time and can then be removed from this ruleset. -->
<rule ref="Universal.PHP.LowercasePHPTag"/>

<!-- Demand that "else(if)" is on a new line after the scope closer of the preceding if. -->
<rule ref="Universal.ControlStructures.IfElseDeclaration"/>

Expand All @@ -218,9 +214,6 @@
<!-- CS/QA: Forbid the use of the and/or logical operators. -->
<rule ref="Universal.Operators.DisallowLogicalAndOr"/>

<!-- CS/QA: Forbid the use double `!`. -->
<rule ref="Universal.CodeAnalysis.NoDoubleNegative"/>

<!-- CS: enforce that boolean operators between conditions in multi-line control structures are
consistently at the start or end of the line, not a mix of both. -->
<rule ref="PSR12.ControlStructures.BooleanOperatorPlacement">
Expand Down
10 changes: 5 additions & 5 deletions composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -28,14 +28,14 @@
"ext-tokenizer": "*",
"automattic/vipwpcs": "^3.0.0",
"php-parallel-lint/php-console-highlighter": "^1.0.0",
"php-parallel-lint/php-parallel-lint": "^1.3.2",
"php-parallel-lint/php-parallel-lint": "^1.4.0",
"phpcompatibility/phpcompatibility-wp": "^2.1.4",
"phpcsstandards/phpcsextra": "^1.2.1",
"phpcsstandards/phpcsutils": "^1.0.9",
"phpcsstandards/phpcsutils": "^1.0.10",
"sirbrillig/phpcs-variable-analysis": "^2.11.17",
"slevomat/coding-standard": "^8.14.0",
"squizlabs/php_codesniffer": "^3.8.0",
"wp-coding-standards/wpcs": "^3.0.1"
"slevomat/coding-standard": "^8.15.0",
"squizlabs/php_codesniffer": "^3.9.1",
"wp-coding-standards/wpcs": "^3.1.0"
},
"require-dev": {
"phpcompatibility/php-compatibility": "^9.3.5",
Expand Down

0 comments on commit ac8a41b

Please sign in to comment.