Skip to content

Commit

Permalink
Update PHPCompatibility snapshots
Browse files Browse the repository at this point in the history
  • Loading branch information
Luc45 committed May 9, 2024
1 parent 282e1fa commit 36dc677
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 31 deletions.
1 change: 1 addition & 0 deletions _tests/phpcompatibility/sut_72_to_74/env.php
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
<?php
return [
'params' => [
'--min_php_version' => '7.2',
'--max_php_version' => '7.4',
],
];
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
"woocommerce_version": "6.0.0-normalized",
"php_version": "7.4",
"max_php_version": "8.3",
"min_php_version": "7.2",
"min_php_version": "7.4",
"additional_woo_plugins": [],
"additional_wp_plugins": [],
"test_log": "",
Expand All @@ -31,7 +31,7 @@
},
"test_results_manager_url": "https:\\/\\/test-results-manager.com",
"test_results_manager_expiration": 1234567890,
"test_summary": "Errors: 13 Warnings: 5",
"test_summary": "Errors: 10 Warnings: 5",
"debug_log": "",
"version": "Undefined",
"update_complete": true,
Expand All @@ -46,42 +46,15 @@
"tool": {
"phpcs": {
"totals": {
"errors": 13,
"errors": 10,
"warnings": 5,
"fixable": 1
},
"files": {
"\\/home\\/runner\\/work\\/qit-runner\\/qit-runner\\/ci\\/plugins\\/woocommerce-product-feeds\\/woocommerce-product-feeds.php": {
"errors": 13,
"errors": 10,
"warnings": 5,
"messages": [
{
"message": "Trailing commas are not allowed in function calls in PHP 7.2 or earlier",
"source": "PHPCompatibility.Syntax.NewFunctionCallTrailingComma.FoundInFunctionCall",
"severity": 5,
"fixable": false,
"type": "ERROR",
"line": 19,
"column": 30
},
{
"message": "The \\"fn\\" keyword for arrow functions is not present in PHP version 7.3 or earlier",
"source": "PHPCompatibility.Keywords.NewKeywords.t_fnFound",
"severity": 5,
"fixable": false,
"type": "ERROR",
"line": 22,
"column": 18
},
{
"message": "Typed properties are not supported in PHP 7.3 or earlier. Found: string",
"source": "PHPCompatibility.Classes.NewTypedProperties.Found",
"severity": 5,
"fixable": false,
"type": "ERROR",
"line": 29,
"column": 11
},
{
"message": "Readonly properties are not supported in PHP 8.0 or earlier. Property $foo was declared as readonly.",
"source": "PHPCompatibility.Classes.NewReadonlyProperties.Found",
Expand Down

0 comments on commit 36dc677

Please sign in to comment.