Update to WPCS v3 #197
Annotations
10 errors and 10 warnings
src/Context/WhenStepDefinitions.php#L64
Expected 1 blank line at end of file; 2 found
|
utils/behat-tags.php#L43
Using short ternaries is not allowed as they are rarely used correctly
|
tests/bootstrap.php#L34
Short array syntax is not allowed
|
tests/bootstrap.php#L55
Short array syntax is not allowed
|
tests/bootstrap.php#L61
Expected 1 blank line at end of file; 2 found
|
src/Context/FeatureContext.php#L63
Short array syntax is not allowed
|
src/Context/FeatureContext.php#L73
Short array syntax is not allowed
|
src/Context/FeatureContext.php#L80
Short array syntax is not allowed
|
src/Context/FeatureContext.php#L96
Short array syntax is not allowed
|
src/Context/FeatureContext.php#L98
Short array syntax is not allowed
|
tests/test-behat-tags.php#L14
File operations should use WP_Filesystem methods instead of direct PHP filesystem calls. Found: mkdir().
|
tests/test-behat-tags.php#L15
File operations should use WP_Filesystem methods instead of direct PHP filesystem calls. Found: mkdir().
|
tests/test-behat-tags.php#L22
unlink() is discouraged. Use wp_delete_file() to delete a file.
|
tests/test-behat-tags.php#L24
File operations should use WP_Filesystem methods instead of direct PHP filesystem calls. Found: rmdir().
|
tests/test-behat-tags.php#L25
File operations should use WP_Filesystem methods instead of direct PHP filesystem calls. Found: rmdir().
|
tests/test-behat-tags.php#L44
File operations should use WP_Filesystem methods instead of direct PHP filesystem calls. Found: file_put_contents().
|
tests/test-behat-tags.php#L122
File operations should use WP_Filesystem methods instead of direct PHP filesystem calls. Found: file_put_contents().
|
tests/test-behat-tags.php#L137
File operations should use WP_Filesystem methods instead of direct PHP filesystem calls. Found: file_put_contents().
|
src/Context/Support.php#L29
Loose comparisons are not allowed. Expected: "!=="; Found: "!="
|
src/Context/Support.php#L36
Loose comparisons are not allowed. Expected: "==="; Found: "=="
|
The logs for this run have expired and are no longer available.
Loading