Add comprehensive test suite and fix main site compat #336
Annotations
10 errors and 10 warnings
|
Annotate PR with PHPCS results:
tests/WP_Ultimo/Admin_Pages/Customer_List_Admin_Page_Test.php#L1
Class file names should be based on the class name with "class-" prepended. Expected class-customer-list-admin-page-test.php, but found Customer_List_Admin_Page_Test.php.
|
|
Annotate PR with PHPCS results:
tests/WP_Ultimo/Admin_Pages/Customer_List_Admin_Page_Test.php#L1
Filenames should be all lowercase with hyphens as word separators. Expected customer-list-admin-page-test.php, but found Customer_List_Admin_Page_Test.php.
|
|
Annotate PR with PHPCS results:
tests/WP_Ultimo/Database/Product_Type_Test.php#L1
Class file names should be based on the class name with "class-" prepended. Expected class-product-type-test.php, but found Product_Type_Test.php.
|
|
Annotate PR with PHPCS results:
tests/WP_Ultimo/Database/Product_Type_Test.php#L1
Filenames should be all lowercase with hyphens as word separators. Expected product-type-test.php, but found Product_Type_Test.php.
|
|
Annotate PR with PHPCS results:
tests/WP_Ultimo/Helpers/Validation_Rules/State_Test.php#L1
Class file names should be based on the class name with "class-" prepended. Expected class-state-test.php, but found State_Test.php.
|
|
Annotate PR with PHPCS results:
tests/WP_Ultimo/Helpers/Validation_Rules/State_Test.php#L1
Filenames should be all lowercase with hyphens as word separators. Expected state-test.php, but found State_Test.php.
|
|
Annotate PR with PHPCS results:
tests/WP_Ultimo/Checkout/Signup_Fields/Signup_Field_Hidden_Test.php#L1
Class file names should be based on the class name with "class-" prepended. Expected class-signup-field-hidden-test.php, but found Signup_Field_Hidden_Test.php.
|
|
Annotate PR with PHPCS results:
tests/WP_Ultimo/Checkout/Signup_Fields/Signup_Field_Hidden_Test.php#L1
Filenames should be all lowercase with hyphens as word separators. Expected signup-field-hidden-test.php, but found Signup_Field_Hidden_Test.php.
|
|
Annotate PR with PHPCS results:
tests/WP_Ultimo/Checkout/Signup_Fields/Signup_Field_Email_Test.php#L1
Class file names should be based on the class name with "class-" prepended. Expected class-signup-field-email-test.php, but found Signup_Field_Email_Test.php.
|
|
Annotate PR with PHPCS results:
tests/WP_Ultimo/Checkout/Signup_Fields/Signup_Field_Email_Test.php#L1
Filenames should be all lowercase with hyphens as word separators. Expected signup-field-email-test.php, but found Signup_Field_Email_Test.php.
|
|
Annotate PR with PHPCS results:
tests/WP_Ultimo/SSO/SSO_Test.php#L460
Equals sign not aligned with surrounding assignments; expected 3 spaces but found 4 spaces
|
|
Annotate PR with PHPCS results:
tests/WP_Ultimo/SSO/SSO_Test.php#L459
Equals sign not aligned with surrounding assignments; expected 4 spaces but found 5 spaces
|
|
Annotate PR with PHPCS results:
tests/WP_Ultimo/SSO/SSO_Test.php#L397
file_get_contents() is discouraged. Use wp_remote_get() for remote URLs instead.
|
|
Annotate PR with PHPCS results:
tests/WP_Ultimo/SSO/SSO_Test.php#L380
file_get_contents() is discouraged. Use wp_remote_get() for remote URLs instead.
|
|
Annotate PR with PHPCS results:
tests/WP_Ultimo/SSO/SSO_Test.php#L362
file_get_contents() is discouraged. Use wp_remote_get() for remote URLs instead.
|
|
Annotate PR with PHPCS results:
tests/WP_Ultimo/Functions/Env_Functions_Test.php#L40
Equals sign not aligned with surrounding assignments; expected 2 spaces but found 1 space
|
|
Annotate PR with PHPCS results:
tests/WP_Ultimo/Functions/Date_Functions_Test.php#L117
Equals sign not aligned with surrounding assignments; expected 4 spaces but found 1 space
|
|
Annotate PR with PHPCS results:
tests/WP_Ultimo/Functions/Date_Functions_Test.php#L95
Equals sign not aligned with surrounding assignments; expected 5 spaces but found 1 space
|
|
Annotate PR with PHPCS results:
tests/WP_Ultimo/Functions/Date_Functions_Test.php#L77
Equals sign not aligned with surrounding assignments; expected 2 spaces but found 1 space
|
|
Annotate PR with PHPCS results
Unexpected input(s) 'notices-as-failures', valid inputs are ['entryPoint', 'args', 'graceful-warnings', 'colorize', 'notices-as-warnings', 'errors-as-warnings', 'prepend-filename', 'prepend-source', 'files']
|
Loading