Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Event Automator Tests merge #2092

Merged

Conversation

pattihis
Copy link
Contributor

@pattihis pattihis commented May 21, 2024

🎫 Ticket

EVA-153

✔️ Checklist

  • Changelog entry in the readme.txt file.
  • Code is covered by NEW wpunit or integration tests.
  • Code is covered by EXISTING wpunit or integration tests.
  • Are all the required tests passing?
  • Automated code review comments are addressed.
  • Have you added Artifacts?
  • Check the base branch for your PR.
  • Add your PR to the project board for the release.

pattihis added 2 commits May 20, 2024 23:44
…events-calendar/tribe-common into EVA-153-Event-Automator-Tests-Merge

* 'bucket/plugin-consolidation' of https://github.com/the-events-calendar/tribe-common:
  Remove dependency checks.
  test(Controller_Test_Case) do not enforce callable type
  EVA-145 Deprecated Constants
@pattihis pattihis self-assigned this May 21, 2024
Copy link
Contributor

@tec-bot tec-bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Remaining comments which cannot be posted as a review comment to avoid GitHub Rate Limit

phpcs

tests/wpunit/Common/Event_Automator/Power_Automate/Triggers/AttendeesTest.php|9 col 1| StellarWP.Classes.ValidClassName.NotSnakeCase
Class name "AttendeesTest" is not in Capitalized_Snake_Case format
tests/wpunit/Common/Event_Automator/Power_Automate/Triggers/AttendeesTest.php|40 col 9| PEAR.Functions.FunctionCallSignature.ContentAfterOpenBracket
Opening parenthesis of a multi-line function call must be the last content on the line
tests/wpunit/Common/Event_Automator/Power_Automate/Triggers/AttendeesTest.php|43 col 11| PEAR.Functions.FunctionCallSignature.CloseBracketLine
Closing parenthesis of a multi-line function call must be on a line by itself
tests/wpunit/Common/Event_Automator/Power_Automate/Triggers/AttendeesTest.php|54 col 123| NormalizedArrays.Arrays.CommaAfterLast.FoundSingleLine
A comma after the last array item in a single-line array is not allowed.
tests/wpunit/Common/Event_Automator/Power_Automate/Triggers/AttendeesTest.php|183 col 9| PEAR.Functions.FunctionCallSignature.ContentAfterOpenBracket
Opening parenthesis of a multi-line function call must be the last content on the line
tests/wpunit/Common/Event_Automator/Power_Automate/Triggers/AttendeesTest.php|183 col 79| Generic.CodeAnalysis.UnusedFunctionParameter.Found
The method parameter $enable_add_to_queue is never used
tests/wpunit/Common/Event_Automator/Power_Automate/Triggers/AttendeesTest.php|183 col 79| PEAR.Functions.FunctionCallSignature.MultipleArguments
Only one argument is allowed per line in a multi-line function call
tests/wpunit/Common/Event_Automator/Power_Automate/Triggers/AttendeesTest.php|185 col 12| PEAR.Functions.FunctionCallSignature.MultipleArguments
Only one argument is allowed per line in a multi-line function call
tests/wpunit/Common/Event_Automator/Power_Automate/Triggers/AttendeesTest.php|185 col 15| PEAR.Functions.FunctionCallSignature.CloseBracketLine
Closing parenthesis of a multi-line function call must be on a line by itself
tests/wpunit/Common/Event_Automator/Power_Automate/Triggers/CanceledEventTest.php|8 col 1| StellarWP.Classes.ValidClassName.NotSnakeCase
Class name "CanceledEventTest" is not in Capitalized_Snake_Case format
tests/wpunit/Common/Event_Automator/Power_Automate/Triggers/CanceledEventTest.php|84 col 9| PEAR.Functions.FunctionCallSignature.ContentAfterOpenBracket
Opening parenthesis of a multi-line function call must be the last content on the line
tests/wpunit/Common/Event_Automator/Power_Automate/Triggers/CanceledEventTest.php|84 col 79| Generic.CodeAnalysis.UnusedFunctionParameter.Found
The method parameter $enable_add_to_queue is never used
tests/wpunit/Common/Event_Automator/Power_Automate/Triggers/CanceledEventTest.php|84 col 79| PEAR.Functions.FunctionCallSignature.MultipleArguments
Only one argument is allowed per line in a multi-line function call
tests/wpunit/Common/Event_Automator/Power_Automate/Triggers/CanceledEventTest.php|86 col 12| PEAR.Functions.FunctionCallSignature.MultipleArguments
Only one argument is allowed per line in a multi-line function call
tests/wpunit/Common/Event_Automator/Power_Automate/Triggers/CanceledEventTest.php|86 col 15| PEAR.Functions.FunctionCallSignature.CloseBracketLine
Closing parenthesis of a multi-line function call must be on a line by itself
tests/wpunit/Common/Event_Automator/Power_Automate/Triggers/CheckinTest.php|12 col 1| StellarWP.Classes.ValidClassName.NotSnakeCase
Class name "CheckinTest" is not in Capitalized_Snake_Case format
tests/wpunit/Common/Event_Automator/Power_Automate/Triggers/CheckinTest.php|43 col 9| PEAR.Functions.FunctionCallSignature.ContentAfterOpenBracket
Opening parenthesis of a multi-line function call must be the last content on the line
tests/wpunit/Common/Event_Automator/Power_Automate/Triggers/CheckinTest.php|46 col 11| PEAR.Functions.FunctionCallSignature.CloseBracketLine
Closing parenthesis of a multi-line function call must be on a line by itself
tests/wpunit/Common/Event_Automator/Power_Automate/Triggers/CheckinTest.php|207 col 9| PEAR.Functions.FunctionCallSignature.ContentAfterOpenBracket
Opening parenthesis of a multi-line function call must be the last content on the line
tests/wpunit/Common/Event_Automator/Power_Automate/Triggers/CheckinTest.php|207 col 79| Generic.CodeAnalysis.UnusedFunctionParameter.Found
The method parameter $enable_add_to_queue is never used
tests/wpunit/Common/Event_Automator/Power_Automate/Triggers/CheckinTest.php|207 col 79| PEAR.Functions.FunctionCallSignature.MultipleArguments
Only one argument is allowed per line in a multi-line function call
tests/wpunit/Common/Event_Automator/Power_Automate/Triggers/CheckinTest.php|209 col 12| PEAR.Functions.FunctionCallSignature.MultipleArguments
Only one argument is allowed per line in a multi-line function call
tests/wpunit/Common/Event_Automator/Power_Automate/Triggers/CheckinTest.php|209 col 15| PEAR.Functions.FunctionCallSignature.CloseBracketLine
Closing parenthesis of a multi-line function call must be on a line by itself
tests/wpunit/Common/Event_Automator/Power_Automate/Triggers/NewEventTest.php|8 col 1| StellarWP.Classes.ValidClassName.NotSnakeCase
Class name "NewEventTest" is not in Capitalized_Snake_Case format
tests/wpunit/Common/Event_Automator/Power_Automate/Triggers/NewEventTest.php|29 col 9| PEAR.Functions.FunctionCallSignature.ContentAfterOpenBracket
Opening parenthesis of a multi-line function call must be the last content on the line
tests/wpunit/Common/Event_Automator/Power_Automate/Triggers/NewEventTest.php|32 col 11| PEAR.Functions.FunctionCallSignature.CloseBracketLine
Closing parenthesis of a multi-line function call must be on a line by itself
tests/wpunit/Common/Event_Automator/Power_Automate/Triggers/NewEventTest.php|52 col 132| NormalizedArrays.Arrays.CommaAfterLast.FoundSingleLine
A comma after the last array item in a single-line array is not allowed.
tests/wpunit/Common/Event_Automator/Power_Automate/Triggers/NewEventTest.php|89 col 9| PEAR.Functions.FunctionCallSignature.ContentAfterOpenBracket
Opening parenthesis of a multi-line function call must be the last content on the line
tests/wpunit/Common/Event_Automator/Power_Automate/Triggers/NewEventTest.php|89 col 79| Generic.CodeAnalysis.UnusedFunctionParameter.Found
The method parameter $enable_add_to_queue is never used
tests/wpunit/Common/Event_Automator/Power_Automate/Triggers/NewEventTest.php|89 col 79| PEAR.Functions.FunctionCallSignature.MultipleArguments
Only one argument is allowed per line in a multi-line function call
tests/wpunit/Common/Event_Automator/Power_Automate/Triggers/NewEventTest.php|91 col 12| PEAR.Functions.FunctionCallSignature.MultipleArguments
Only one argument is allowed per line in a multi-line function call
tests/wpunit/Common/Event_Automator/Power_Automate/Triggers/NewEventTest.php|91 col 15| PEAR.Functions.FunctionCallSignature.CloseBracketLine
Closing parenthesis of a multi-line function call must be on a line by itself
tests/wpunit/Common/Event_Automator/Power_Automate/Triggers/OrdersTest.php|9 col 1| StellarWP.Classes.ValidClassName.NotSnakeCase
Class name "OrdersTest" is not in Capitalized_Snake_Case format
tests/wpunit/Common/Event_Automator/Power_Automate/Triggers/OrdersTest.php|9 col 1| PSR2.Classes.ClassDeclaration.SpaceAfterKeyword
Expected 1 space after class keyword; 2 found
tests/wpunit/Common/Event_Automator/Power_Automate/Triggers/OrdersTest.php|40 col 9| PEAR.Functions.FunctionCallSignature.ContentAfterOpenBracket
Opening parenthesis of a multi-line function call must be the last content on the line
tests/wpunit/Common/Event_Automator/Power_Automate/Triggers/OrdersTest.php|43 col 11| PEAR.Functions.FunctionCallSignature.CloseBracketLine
Closing parenthesis of a multi-line function call must be on a line by itself
tests/wpunit/Common/Event_Automator/Power_Automate/Triggers/OrdersTest.php|193 col 9| PEAR.Functions.FunctionCallSignature.ContentAfterOpenBracket
Opening parenthesis of a multi-line function call must be the last content on the line
tests/wpunit/Common/Event_Automator/Power_Automate/Triggers/OrdersTest.php|193 col 79| Generic.CodeAnalysis.UnusedFunctionParameter.Found
The method parameter $enable_add_to_queue is never used
tests/wpunit/Common/Event_Automator/Power_Automate/Triggers/OrdersTest.php|193 col 79| PEAR.Functions.FunctionCallSignature.MultipleArguments
Only one argument is allowed per line in a multi-line function call
tests/wpunit/Common/Event_Automator/Power_Automate/Triggers/OrdersTest.php|195 col 12| PEAR.Functions.FunctionCallSignature.MultipleArguments
Only one argument is allowed per line in a multi-line function call
tests/wpunit/Common/Event_Automator/Power_Automate/Triggers/OrdersTest.php|195 col 15| PEAR.Functions.FunctionCallSignature.CloseBracketLine
Closing parenthesis of a multi-line function call must be on a line by itself
tests/wpunit/Common/Event_Automator/Power_Automate/Triggers/RefundedOrdersTest.php|9 col 1| StellarWP.Classes.ValidClassName.NotSnakeCase
Class name "RefundedOrdersTest" is not in Capitalized_Snake_Case format
tests/wpunit/Common/Event_Automator/Power_Automate/Triggers/RefundedOrdersTest.php|40 col 9| PEAR.Functions.FunctionCallSignature.ContentAfterOpenBracket
Opening parenthesis of a multi-line function call must be the last content on the line
tests/wpunit/Common/Event_Automator/Power_Automate/Triggers/RefundedOrdersTest.php|43 col 11| PEAR.Functions.FunctionCallSignature.CloseBracketLine
Closing parenthesis of a multi-line function call must be on a line by itself
tests/wpunit/Common/Event_Automator/Power_Automate/Triggers/RefundedOrdersTest.php|54 col 23| Generic.Formatting.MultipleStatementAlignment.NotSameWarning
Equals sign not aligned with surrounding assignments; expected 17 spaces but found 8 spaces
tests/wpunit/Common/Event_Automator/Power_Automate/Triggers/RefundedOrdersTest.php|55 col 23| Generic.Formatting.MultipleStatementAlignment.NotSameWarning
Equals sign not aligned with surrounding assignments; expected 12 spaces but found 3 spaces
tests/wpunit/Common/Event_Automator/Power_Automate/Triggers/RefundedOrdersTest.php|78 col 9| PEAR.Functions.FunctionCallSignature.ContentAfterOpenBracket
Opening parenthesis of a multi-line function call must be the last content on the line
tests/wpunit/Common/Event_Automator/Power_Automate/Triggers/RefundedOrdersTest.php|78 col 85| Generic.CodeAnalysis.UnusedFunctionParameter.FoundAfterLastUsed
The method parameter $endpoint is never used
tests/wpunit/Common/Event_Automator/Power_Automate/Triggers/RefundedOrdersTest.php|78 col 85| PEAR.Functions.FunctionCallSignature.MultipleArguments
Only one argument is allowed per line in a multi-line function call
tests/wpunit/Common/Event_Automator/Power_Automate/Triggers/RefundedOrdersTest.php|84 col 12| PEAR.Functions.FunctionCallSignature.MultipleArguments
Only one argument is allowed per line in a multi-line function call
tests/wpunit/Common/Event_Automator/Power_Automate/Triggers/RefundedOrdersTest.php|84 col 16| PEAR.Functions.FunctionCallSignature.MultipleArguments
Only one argument is allowed per line in a multi-line function call
tests/wpunit/Common/Event_Automator/Power_Automate/Triggers/RefundedOrdersTest.php|84 col 18| PEAR.Functions.FunctionCallSignature.CloseBracketLine
Closing parenthesis of a multi-line function call must be on a line by itself
tests/wpunit/Common/Event_Automator/Power_Automate/Triggers/RefundedOrdersTest.php|86 col 23| Generic.Formatting.MultipleStatementAlignment.IncorrectWarning
Equals sign not aligned correctly; expected 1 space but found 8 spaces
tests/wpunit/Common/Event_Automator/Power_Automate/Triggers/RefundedOrdersTest.php|95 col 23| Generic.Formatting.MultipleStatementAlignment.NotSameWarning
Equals sign not aligned with surrounding assignments; expected 17 spaces but found 8 spaces
tests/wpunit/Common/Event_Automator/Power_Automate/Triggers/RefundedOrdersTest.php|96 col 23| Generic.Formatting.MultipleStatementAlignment.NotSameWarning
Equals sign not aligned with surrounding assignments; expected 12 spaces but found 3 spaces
tests/wpunit/Common/Event_Automator/Power_Automate/Triggers/RefundedOrdersTest.php|120 col 9| PEAR.Functions.FunctionCallSignature.ContentAfterOpenBracket
Opening parenthesis of a multi-line function call must be the last content on the line
tests/wpunit/Common/Event_Automator/Power_Automate/Triggers/RefundedOrdersTest.php|120 col 85| Generic.CodeAnalysis.UnusedFunctionParameter.FoundAfterLastUsed
The method parameter $endpoint is never used
tests/wpunit/Common/Event_Automator/Power_Automate/Triggers/RefundedOrdersTest.php|120 col 85| PEAR.Functions.FunctionCallSignature.MultipleArguments
Only one argument is allowed per line in a multi-line function call
tests/wpunit/Common/Event_Automator/Power_Automate/Triggers/RefundedOrdersTest.php|127 col 12| PEAR.Functions.FunctionCallSignature.MultipleArguments
Only one argument is allowed per line in a multi-line function call
tests/wpunit/Common/Event_Automator/Power_Automate/Triggers/RefundedOrdersTest.php|127 col 16| PEAR.Functions.FunctionCallSignature.MultipleArguments
Only one argument is allowed per line in a multi-line function call
tests/wpunit/Common/Event_Automator/Power_Automate/Triggers/RefundedOrdersTest.php|127 col 18| PEAR.Functions.FunctionCallSignature.CloseBracketLine
Closing parenthesis of a multi-line function call must be on a line by itself
tests/wpunit/Common/Event_Automator/Power_Automate/Triggers/RefundedOrdersTest.php|129 col 23| Generic.Formatting.MultipleStatementAlignment.IncorrectWarning
Equals sign not aligned correctly; expected 1 space but found 8 spaces
tests/wpunit/Common/Event_Automator/Power_Automate/Triggers/RefundedOrdersTest.php|138 col 23| Generic.Formatting.MultipleStatementAlignment.NotSameWarning
Equals sign not aligned with surrounding assignments; expected 17 spaces but found 8 spaces
tests/wpunit/Common/Event_Automator/Power_Automate/Triggers/RefundedOrdersTest.php|139 col 23| Generic.Formatting.MultipleStatementAlignment.NotSameWarning
Equals sign not aligned with surrounding assignments; expected 12 spaces but found 3 spaces
tests/wpunit/Common/Event_Automator/Power_Automate/Triggers/RefundedOrdersTest.php|154 col 23| Generic.Formatting.MultipleStatementAlignment.NotSameWarning
Equals sign not aligned with surrounding assignments; expected 17 spaces but found 8 spaces
tests/wpunit/Common/Event_Automator/Power_Automate/Triggers/RefundedOrdersTest.php|155 col 23| Generic.Formatting.MultipleStatementAlignment.NotSameWarning
Equals sign not aligned with surrounding assignments; expected 12 spaces but found 3 spaces
tests/wpunit/Common/Event_Automator/Power_Automate/Triggers/RefundedOrdersTest.php|156 col 23| Generic.Formatting.MultipleStatementAlignment.NotSameWarning
Equals sign not aligned with surrounding assignments; expected 12 spaces but found 3 spaces
tests/wpunit/Common/Event_Automator/Power_Automate/Triggers/RefundedOrdersTest.php|157 col 23| Generic.Formatting.MultipleStatementAlignment.NotSameWarning
Equals sign not aligned with surrounding assignments; expected 12 spaces but found 3 spaces
tests/wpunit/Common/Event_Automator/Power_Automate/Triggers/RefundedOrdersTest.php|158 col 23| Generic.Formatting.MultipleStatementAlignment.NotSameWarning
Equals sign not aligned with surrounding assignments; expected 13 spaces but found 4 spaces
tests/wpunit/Common/Event_Automator/Power_Automate/Triggers/RefundedOrdersTest.php|172 col 9| PEAR.Functions.FunctionCallSignature.ContentAfterOpenBracket
Opening parenthesis of a multi-line function call must be the last content on the line
tests/wpunit/Common/Event_Automator/Power_Automate/Triggers/RefundedOrdersTest.php|172 col 79| Generic.CodeAnalysis.UnusedFunctionParameter.Found
The method parameter $enable_add_to_queue is never used
tests/wpunit/Common/Event_Automator/Power_Automate/Triggers/RefundedOrdersTest.php|172 col 79| PEAR.Functions.FunctionCallSignature.MultipleArguments
Only one argument is allowed per line in a multi-line function call
tests/wpunit/Common/Event_Automator/Power_Automate/Triggers/RefundedOrdersTest.php|174 col 12| PEAR.Functions.FunctionCallSignature.MultipleArguments
Only one argument is allowed per line in a multi-line function call
tests/wpunit/Common/Event_Automator/Power_Automate/Triggers/RefundedOrdersTest.php|174 col 15| PEAR.Functions.FunctionCallSignature.CloseBracketLine
Closing parenthesis of a multi-line function call must be on a line by itself
tests/wpunit/Common/Event_Automator/Power_Automate/Triggers/RefundedOrdersTest.php|177 col 23| Generic.Formatting.MultipleStatementAlignment.NotSameWarning
Equals sign not aligned with surrounding assignments; expected 17 spaces but found 8 spaces
tests/wpunit/Common/Event_Automator/Power_Automate/Triggers/RefundedOrdersTest.php|178 col 23| Generic.Formatting.MultipleStatementAlignment.NotSameWarning
Equals sign not aligned with surrounding assignments; expected 12 spaces but found 3 spaces
tests/wpunit/Common/Event_Automator/Power_Automate/Triggers/UpdatedAttendeesTest.php|9 col 1| StellarWP.Classes.ValidClassName.NotSnakeCase
Class name "UpdatedAttendeesTest" is not in Capitalized_Snake_Case format
tests/wpunit/Common/Event_Automator/Power_Automate/Triggers/UpdatedAttendeesTest.php|40 col 9| PEAR.Functions.FunctionCallSignature.ContentAfterOpenBracket
Opening parenthesis of a multi-line function call must be the last content on the line
tests/wpunit/Common/Event_Automator/Power_Automate/Triggers/UpdatedAttendeesTest.php|43 col 11| PEAR.Functions.FunctionCallSignature.CloseBracketLine
Closing parenthesis of a multi-line function call must be on a line by itself
tests/wpunit/Common/Event_Automator/Power_Automate/Triggers/UpdatedAttendeesTest.php|152 col 9| PEAR.Functions.FunctionCallSignature.ContentAfterOpenBracket
Opening parenthesis of a multi-line function call must be the last content on the line
tests/wpunit/Common/Event_Automator/Power_Automate/Triggers/UpdatedAttendeesTest.php|152 col 79| Generic.CodeAnalysis.UnusedFunctionParameter.Found
The method parameter $enable_add_to_queue is never used
tests/wpunit/Common/Event_Automator/Power_Automate/Triggers/UpdatedAttendeesTest.php|152 col 79| PEAR.Functions.FunctionCallSignature.MultipleArguments
Only one argument is allowed per line in a multi-line function call
tests/wpunit/Common/Event_Automator/Power_Automate/Triggers/UpdatedAttendeesTest.php|154 col 12| PEAR.Functions.FunctionCallSignature.MultipleArguments
Only one argument is allowed per line in a multi-line function call
tests/wpunit/Common/Event_Automator/Power_Automate/Triggers/UpdatedAttendeesTest.php|154 col 15| PEAR.Functions.FunctionCallSignature.CloseBracketLine
Closing parenthesis of a multi-line function call must be on a line by itself
tests/wpunit/Common/Event_Automator/Power_Automate/Triggers/UpdatedEventTest.php|8 col 1| StellarWP.Classes.ValidClassName.NotSnakeCase
Class name "UpdatedEventTest" is not in Capitalized_Snake_Case format
tests/wpunit/Common/Event_Automator/Power_Automate/Triggers/UpdatedEventTest.php|29 col 9| PEAR.Functions.FunctionCallSignature.ContentAfterOpenBracket
Opening parenthesis of a multi-line function call must be the last content on the line
tests/wpunit/Common/Event_Automator/Power_Automate/Triggers/UpdatedEventTest.php|32 col 11| PEAR.Functions.FunctionCallSignature.CloseBracketLine
Closing parenthesis of a multi-line function call must be on a line by itself
tests/wpunit/Common/Event_Automator/Power_Automate/Triggers/UpdatedEventTest.php|52 col 140| NormalizedArrays.Arrays.CommaAfterLast.FoundSingleLine
A comma after the last array item in a single-line array is not allowed.
tests/wpunit/Common/Event_Automator/Power_Automate/Triggers/UpdatedEventTest.php|89 col 9| PEAR.Functions.FunctionCallSignature.ContentAfterOpenBracket
Opening parenthesis of a multi-line function call must be the last content on the line
tests/wpunit/Common/Event_Automator/Power_Automate/Triggers/UpdatedEventTest.php|89 col 79| Generic.CodeAnalysis.UnusedFunctionParameter.Found
The method parameter $enable_add_to_queue is never used
tests/wpunit/Common/Event_Automator/Power_Automate/Triggers/UpdatedEventTest.php|89 col 79| PEAR.Functions.FunctionCallSignature.MultipleArguments
Only one argument is allowed per line in a multi-line function call
tests/wpunit/Common/Event_Automator/Power_Automate/Triggers/UpdatedEventTest.php|91 col 12| PEAR.Functions.FunctionCallSignature.MultipleArguments
Only one argument is allowed per line in a multi-line function call
tests/wpunit/Common/Event_Automator/Power_Automate/Triggers/UpdatedEventTest.php|91 col 15| PEAR.Functions.FunctionCallSignature.CloseBracketLine
Closing parenthesis of a multi-line function call must be on a line by itself
tests/wpunit/Common/Event_Automator/Traits/Maps/AttendeeTest.php|11 col 1| StellarWP.Classes.ValidClassName.NotSnakeCase
Class name "AttendeeTest" is not in Capitalized_Snake_Case format
tests/wpunit/Common/Event_Automator/Traits/Maps/AttendeeTest.php|54 col 26| Generic.Formatting.MultipleStatementAlignment.NotSameWarning
Equals sign not aligned with surrounding assignments; expected 4 spaces but found 11 spaces
tests/wpunit/Common/Event_Automator/Traits/Maps/AttendeeTest.php|55 col 26| Generic.Formatting.MultipleStatementAlignment.NotSameWarning
Equals sign not aligned with surrounding assignments; expected 1 space but found 8 spaces
tests/wpunit/Common/Event_Automator/Traits/Maps/AttendeeTest.php|65 col 26| Generic.Formatting.MultipleStatementAlignment.NotSameWarning
Equals sign not aligned with surrounding assignments; expected 9 spaces but found 11 spaces
tests/wpunit/Common/Event_Automator/Traits/Maps/AttendeeTest.php|66 col 20| Generic.Formatting.MultipleStatementAlignment.NotSameWarning
Equals sign not aligned with surrounding assignments; expected 5 spaces but found 1 space
tests/wpunit/Common/Event_Automator/Traits/Maps/AttendeeTest.php|67 col 25| WordPress.Arrays.MultipleStatementAlignment.DoubleArrowNotAligned
Array double arrow not aligned correctly; expected 5 space(s) between "'full_name'" and double arrow, but found 1.
tests/wpunit/Common/Event_Automator/Traits/Maps/AttendeeTest.php|70 col 19| Generic.Formatting.MultipleStatementAlignment.NotSameWarning
Equals sign not aligned with surrounding assignments; expected 6 spaces but found 1 space
tests/wpunit/Common/Event_Automator/Traits/Maps/AttendeeTest.php|96 col 26| Generic.Formatting.MultipleStatementAlignment.NotSameWarning
Equals sign not aligned with surrounding assignments; expected 9 spaces but found 11 spaces
tests/wpunit/Common/Event_Automator/Traits/Maps/AttendeeTest.php|97 col 20| Generic.Formatting.MultipleStatementAlignment.NotSameWarning
Equals sign not aligned with surrounding assignments; expected 5 spaces but found 1 space
tests/wpunit/Common/Event_Automator/Traits/Maps/AttendeeTest.php|98 col 25| WordPress.Arrays.MultipleStatementAlignment.DoubleArrowNotAligned
Array double arrow not aligned correctly; expected 5 space(s) between "'full_name'" and double arrow, but found 1.
tests/wpunit/Common/Event_Automator/Traits/Maps/AttendeeTest.php|101 col 19| Generic.Formatting.MultipleStatementAlignment.NotSameWarning
Equals sign not aligned with surrounding assignments; expected 6 spaces but found 1 space
tests/wpunit/Common/Event_Automator/Traits/Maps/AttendeeTest.php|126 col 26| Generic.Formatting.MultipleStatementAlignment.NotSameWarning
Equals sign not aligned with surrounding assignments; expected 9 spaces but found 11 spaces
tests/wpunit/Common/Event_Automator/Traits/Maps/AttendeeTest.php|127 col 20| Generic.Formatting.MultipleStatementAlignment.NotSameWarning
Equals sign not aligned with surrounding assignments; expected 5 spaces but found 1 space
tests/wpunit/Common/Event_Automator/Traits/Maps/AttendeeTest.php|128 col 25| WordPress.Arrays.MultipleStatementAlignment.DoubleArrowNotAligned
Array double arrow not aligned correctly; expected 5 space(s) between "'full_name'" and double arrow, but found 1.
tests/wpunit/Common/Event_Automator/Traits/Maps/AttendeeTest.php|131 col 19| Generic.Formatting.MultipleStatementAlignment.NotSameWarning
Equals sign not aligned with surrounding assignments; expected 6 spaces but found 1 space
tests/wpunit/Common/Event_Automator/Traits/Maps/Commerce/TicketsCommerceTest.php|11 col 1| StellarWP.Classes.ValidClassName.NotSnakeCase
Class name "TicketsCommerceTest" is not in Capitalized_Snake_Case format
tests/wpunit/Common/Event_Automator/Traits/Maps/Commerce/WooCommerceTest.php|11 col 1| StellarWP.Classes.ValidClassName.NotSnakeCase
Class name "WooCommerceTest" is not in Capitalized_Snake_Case format
tests/wpunit/Common/Event_Automator/Traits/Maps/EventTest.php|16 col 1| StellarWP.Classes.ValidClassName.NotSnakeCase
Class name "EventTest" is not in Capitalized_Snake_Case format
tests/wpunit/Common/Event_Automator/Traits/Maps/EventTest.php|50 col 21| Generic.Formatting.MultipleStatementAlignment.NotSameWarning
Equals sign not aligned with surrounding assignments; expected 5 spaces but found 6 spaces
tests/wpunit/Common/Event_Automator/Traits/Maps/EventTest.php|52 col 25| Generic.Formatting.MultipleStatementAlignment.NotSameWarning
Equals sign not aligned with surrounding assignments; expected 5 spaces but found 1 space
tests/wpunit/Common/Event_Automator/Traits/Maps/EventTest.php|52 col 27| WordPress.DateTime.RestrictedFunctions.date_date
date() is affected by runtime timezone changes which can cause date/time to be incorrectly displayed. Use gmdate() instead.
tests/wpunit/Common/Event_Automator/Traits/Maps/EventTest.php|59 col 1| Universal.WhiteSpace.PrecisionAlignment.Found
Found precision alignment of 2 spaces.
tests/wpunit/Common/Event_Automator/Traits/Maps/EventTest.php|59 col 15| WordPress.Arrays.ArrayIndentation.ItemNotAligned
Array item not aligned correctly; expected 16 spaces but found 14
tests/wpunit/Common/Event_Automator/Traits/Maps/EventTest.php|59 col 31| WordPress.Arrays.MultipleStatementAlignment.DoubleArrowNotAligned
Array double arrow not aligned correctly; expected 5 space(s) between "'post_modified'" and double arrow, but found 1.
tests/wpunit/Common/Event_Automator/Traits/Maps/EventTest.php|60 col 1| Universal.WhiteSpace.PrecisionAlignment.Found
Found precision alignment of 2 spaces.
tests/wpunit/Common/Event_Automator/Traits/Maps/EventTest.php|60 col 15| WordPress.Arrays.ArrayIndentation.ItemNotAligned
Array item not aligned correctly; expected 16 spaces but found 14
tests/wpunit/Common/Event_Automator/Traits/Maps/EventTest.php|60 col 38| NormalizedArrays.Arrays.CommaAfterLast.MissingMultiLine
There should be a comma after the last array item in a multi-line array.
tests/wpunit/Common/Event_Automator/Traits/Maps/EventTest.php|60 col 38| SlevomatCodingStandard.Arrays.TrailingArrayComma.MissingTrailingComma
Multi-line arrays must have a trailing comma after the last element.
tests/wpunit/Common/Event_Automator/Traits/Maps/EventTest.php|62 col 13| NormalizedArrays.Arrays.ArrayBraceSpacing.SpaceAfterArrayOpenerSingleLine
Expected 1 space after the array opener in a single line array. Found: no spaces
tests/wpunit/Common/Event_Automator/Traits/Maps/EventTest.php|62 col 32| NormalizedArrays.Arrays.ArrayBraceSpacing.SpaceBeforeArrayCloserSingleLine
Expected 1 space before the array closer in a single line array. Found: no spaces
tests/wpunit/Common/Event_Automator/Traits/Maps/EventTest.php|63 col 13| NormalizedArrays.Arrays.ArrayBraceSpacing.SpaceAfterArrayOpenerSingleLine
Expected 1 space after the array opener in a single line array. Found: no spaces
tests/wpunit/Common/Event_Automator/Traits/Maps/EventTest.php|63 col 24| NormalizedArrays.Arrays.ArrayBraceSpacing.SpaceBeforeArrayCloserSingleLine
Expected 1 space before the array closer in a single line array. Found: no spaces
tests/wpunit/Common/Event_Automator/Traits/Maps/EventTest.php|64 col 13| NormalizedArrays.Arrays.ArrayBraceSpacing.SpaceAfterArrayOpenerSingleLine
Expected 1 space after the array opener in a single line array. Found: no spaces
tests/wpunit/Common/Event_Automator/Traits/Maps/EventTest.php|64 col 18| NormalizedArrays.Arrays.ArrayBraceSpacing.SpaceBeforeArrayCloserSingleLine
Expected 1 space before the array closer in a single line array. Found: no spaces
tests/wpunit/Common/Event_Automator/Traits/Maps/EventTest.php|83 col 9| PEAR.Functions.FunctionCallSignature.ContentAfterOpenBracket
Opening parenthesis of a multi-line function call must be the last content on the line
tests/wpunit/Common/Event_Automator/Traits/Maps/EventTest.php|83 col 56| Generic.CodeAnalysis.UnusedFunctionParameter.FoundAfterLastUsed
The method parameter $event is never used
tests/wpunit/Common/Event_Automator/Traits/Maps/EventTest.php|83 col 56| PEAR.Functions.FunctionCallSignature.MultipleArguments
Only one argument is allowed per line in a multi-line function call
tests/wpunit/Common/Event_Automator/Traits/Maps/EventTest.php|87 col 12| PEAR.Functions.FunctionCallSignature.MultipleArguments
Only one argument is allowed per line in a multi-line function call
tests/wpunit/Common/Event_Automator/Traits/Maps/EventTest.php|87 col 16| PEAR.Functions.FunctionCallSignature.MultipleArguments
Only one argument is allowed per line in a multi-line function call
tests/wpunit/Common/Event_Automator/Traits/Maps/EventTest.php|87 col 18| PEAR.Functions.FunctionCallSignature.CloseBracketLine
Closing parenthesis of a multi-line function call must be on a line by itself
tests/wpunit/Common/Event_Automator/Traits/Maps/EventTest.php|161 col 22| Generic.Formatting.MultipleStatementAlignment.NotSameWarning
Equals sign not aligned with surrounding assignments; expected 2 spaces but found 3 spaces
tests/wpunit/Common/Event_Automator/Traits/Maps/EventTest.php|164 col 22| Generic.Formatting.MultipleStatementAlignment.NotSameWarning
Equals sign not aligned with surrounding assignments; expected 6 spaces but found 7 spaces
tests/wpunit/Common/Event_Automator/Traits/Maps/EventTest.php|191 col 168| WordPress.Arrays.ArrayDeclarationSpacing.AssociativeArrayFound
When a multi-item array uses associative keys, each value should start on a new line.
tests/wpunit/Common/Event_Automator/Traits/Maps/EventTest.php|192 col 183| WordPress.Arrays.ArrayDeclarationSpacing.AssociativeArrayFound
When a multi-item array uses associative keys, each value should start on a new line.
tests/wpunit/Common/Event_Automator/Traits/Maps/EventTest.php|193 col 193| WordPress.Arrays.ArrayDeclarationSpacing.AssociativeArrayFound
When a multi-item array uses associative keys, each value should start on a new line.
tests/wpunit/Common/Event_Automator/Traits/Maps/EventTest.php|203 col 43| WordPress.WP.AlternativeFunctions.json_encode_json_encode
json_encode() is discouraged. Use wp_json_encode() instead.
tests/wpunit/Common/Event_Automator/Traits/Maps/EventTest.php|210 col 128| WordPress.Arrays.ArrayDeclarationSpacing.AssociativeArrayFound
When a multi-item array uses associative keys, each value should start on a new line.
tests/wpunit/Common/Event_Automator/Traits/Maps/EventTest.php|211 col 128| WordPress.Arrays.ArrayDeclarationSpacing.AssociativeArrayFound
When a multi-item array uses associative keys, each value should start on a new line.
tests/wpunit/Common/Event_Automator/Traits/Maps/EventTest.php|221 col 43| WordPress.WP.AlternativeFunctions.json_encode_json_encode
json_encode() is discouraged. Use wp_json_encode() instead.
tests/wpunit/Common/Event_Automator/Traits/Maps/EventTest.php|241 col 43| WordPress.WP.AlternativeFunctions.json_encode_json_encode
json_encode() is discouraged. Use wp_json_encode() instead.
tests/wpunit/Common/Event_Automator/Traits/Maps/EventTest.php|261 col 43| WordPress.WP.AlternativeFunctions.json_encode_json_encode
json_encode() is discouraged. Use wp_json_encode() instead.
tests/wpunit/Common/Event_Automator/Traits/Maps/EventTest.php|284 col 43| WordPress.WP.AlternativeFunctions.json_encode_json_encode
json_encode() is discouraged. Use wp_json_encode() instead.
tests/wpunit/Common/Event_Automator/Traits/Maps/EventTest.php|345 col 17| Generic.Formatting.MultipleStatementAlignment.NotSameWarning
Equals sign not aligned with surrounding assignments; expected 4 spaces but found 2 spaces
tests/wpunit/Common/Event_Automator/Traits/Maps/EventTest.php|346 col 17| Generic.Formatting.MultipleStatementAlignment.NotSameWarning
Equals sign not aligned with surrounding assignments; expected 3 spaces but found 1 space
tests/wpunit/Common/Event_Automator/Traits/Maps/TicketsTest.php|11 col 1| StellarWP.Classes.ValidClassName.NotSnakeCase
Class name "TicketsTest" is not in Capitalized_Snake_Case format
tests/wpunit/Common/Event_Automator/Traits/Maps/TicketsTest.php|80 col 20| Generic.Formatting.MultipleStatementAlignment.NotSameWarning
Equals sign not aligned with surrounding assignments; expected 7 spaces but found 5 spaces
tests/wpunit/Common/Event_Automator/Traits/Maps/TicketsTest.php|81 col 20| Generic.Formatting.MultipleStatementAlignment.NotSameWarning
Equals sign not aligned with surrounding assignments; expected 3 spaces but found 1 space
tests/wpunit/Common/Event_Automator/Traits/Maps/TicketsTest.php|109 col 20| Generic.Formatting.MultipleStatementAlignment.NotSameWarning
Equals sign not aligned with surrounding assignments; expected 7 spaces but found 5 spaces
tests/wpunit/Common/Event_Automator/Traits/Maps/TicketsTest.php|110 col 20| Generic.Formatting.MultipleStatementAlignment.NotSameWarning
Equals sign not aligned with surrounding assignments; expected 3 spaces but found 1 space
tests/wpunit/Common/Event_Automator/Zapier/ApiAJAXTest.php|8 col 1| StellarWP.Classes.ValidClassName.NotSnakeCase
Class name "ApiAJAX" is not in Capitalized_Snake_Case format
tests/wpunit/Common/Event_Automator/Zapier/ApiAJAXTest.php|13 col 12| PSR2.Methods.MethodDeclaration.Underscore
Method name "_tearDown" should not be prefixed with an underscore to indicate visibility
tests/wpunit/Common/Event_Automator/Zapier/ApiAJAXTest.php|40 col 11| Generic.CodeAnalysis.EmptyStatement.DetectedCatch
Empty CATCH statement detected
tests/wpunit/Common/Event_Automator/Zapier/ApiAJAXTest.php|54 col 23| PEAR.Functions.FunctionCallSignature.ContentAfterOpenBracket
Opening parenthesis of a multi-line function call must be the last content on the line
tests/wpunit/Common/Event_Automator/Zapier/ApiAJAXTest.php|54 col 46| PEAR.Functions.FunctionCallSignature.MultipleArguments
Only one argument is allowed per line in a multi-line function call
tests/wpunit/Common/Event_Automator/Zapier/ApiAJAXTest.php|54 col 115| PEAR.Functions.FunctionCallSignature.MultipleArguments
Only one argument is allowed per line in a multi-line function call
tests/wpunit/Common/Event_Automator/Zapier/ApiAJAXTest.php|55 col 41| Generic.CodeAnalysis.UnusedFunctionParameter.FoundAfterLastUsed
The method parameter $prefix is never used
tests/wpunit/Common/Event_Automator/Zapier/ApiAJAXTest.php|55 col 41| Generic.CodeAnalysis.UnusedFunctionParameter.FoundAfterLastUsed
The method parameter $length is never used
tests/wpunit/Common/Event_Automator/Zapier/ApiAJAXTest.php|58 col 11| PEAR.Functions.FunctionCallSignature.CloseBracketLine
Closing parenthesis of a multi-line function call must be on a line by itself
tests/wpunit/Common/Event_Automator/Zapier/ApiAJAXTest.php|62 col 11| Generic.CodeAnalysis.EmptyStatement.DetectedCatch
Empty CATCH statement detected
tests/wpunit/Common/Event_Automator/Zapier/ApiAJAXTest.php|89 col 23| PEAR.Functions.FunctionCallSignature.ContentAfterOpenBracket
Opening parenthesis of a multi-line function call must be the last content on the line
tests/wpunit/Common/Event_Automator/Zapier/ApiAJAXTest.php|89 col 46| PEAR.Functions.FunctionCallSignature.MultipleArguments
Only one argument is allowed per line in a multi-line function call
tests/wpunit/Common/Event_Automator/Zapier/ApiAJAXTest.php|89 col 115| PEAR.Functions.FunctionCallSignature.MultipleArguments
Only one argument is allowed per line in a multi-line function call
tests/wpunit/Common/Event_Automator/Zapier/ApiAJAXTest.php|90 col 41| Generic.CodeAnalysis.UnusedFunctionParameter.FoundAfterLastUsed
The method parameter $prefix is never used
tests/wpunit/Common/Event_Automator/Zapier/ApiAJAXTest.php|90 col 41| Generic.CodeAnalysis.UnusedFunctionParameter.FoundAfterLastUsed
The method parameter $length is never used
tests/wpunit/Common/Event_Automator/Zapier/ApiAJAXTest.php|93 col 11| PEAR.Functions.FunctionCallSignature.CloseBracketLine
Closing parenthesis of a multi-line function call must be on a line by itself
tests/wpunit/Common/Event_Automator/Zapier/ApiAJAXTest.php|102 col 11| Generic.CodeAnalysis.EmptyStatement.DetectedCatch
Empty CATCH statement detected
tests/wpunit/Common/Event_Automator/Zapier/ApiAJAXTest.php|136 col 11| Generic.CodeAnalysis.EmptyStatement.DetectedCatch
Empty CATCH statement detected
tests/wpunit/Common/Event_Automator/Zapier/ApiTest.php|7 col 1| StellarWP.Classes.ValidClassName.NotSnakeCase
Class name "ApiTest" is not in Capitalized_Snake_Case format
tests/wpunit/Common/Event_Automator/Zapier/ApiTest.php|91 col 14| Generic.Formatting.MultipleStatementAlignment.NotSameWarning
Equals sign not aligned with surrounding assignments; expected 13 spaces but found 1 space
tests/wpunit/Common/Event_Automator/Zapier/EndpointsManagerTest.php|10 col 1| StellarWP.Classes.ValidClassName.NotSnakeCase
Class name "EndpointsManagerTest" is not in Capitalized_Snake_Case format
tests/wpunit/Common/Event_Automator/Zapier/EndpointsManagerTest.php|15 col 12| PSR2.Methods.MethodDeclaration.Underscore
Method name "_tearDown" should not be prefixed with an underscore to indicate visibility
tests/wpunit/Common/Event_Automator/Zapier/EndpointsManagerTest.php|43 col 37| Generic.WhiteSpace.IncrementDecrementSpacing.SpaceAfterIncrement
Expected no spaces between $i and the increment operator; 1 found
tests/wpunit/Common/Event_Automator/Zapier/EndpointsManagerTest.php|44 col 29| WordPress.WP.AlternativeFunctions.rand_rand
rand() is discouraged. Use the far less predictable wp_rand() instead.
tests/wpunit/Common/Event_Automator/Zapier/EndpointsManagerTest.php|58 col 11| Generic.CodeAnalysis.EmptyStatement.DetectedCatch
Empty CATCH statement detected
tests/wpunit/Common/Event_Automator/Zapier/EndpointsManagerTest.php|74 col 11| Generic.CodeAnalysis.EmptyStatement.DetectedCatch
Empty CATCH statement detected
tests/wpunit/Common/Event_Automator/Zapier/EndpointsManagerTest.php|90 col 11| Generic.CodeAnalysis.EmptyStatement.DetectedCatch
Empty CATCH statement detected
tests/wpunit/Common/Event_Automator/Zapier/EndpointsManagerTest.php|139 col 11| Generic.CodeAnalysis.EmptyStatement.DetectedCatch
Empty CATCH statement detected
tests/wpunit/Common/Event_Automator/Zapier/EndpointsManagerTest.php|181 col 11| Generic.CodeAnalysis.EmptyStatement.DetectedCatch
Empty CATCH statement detected
tests/wpunit/Common/Event_Automator/Zapier/EndpointsManagerTest.php|223 col 13| Generic.CodeAnalysis.EmptyStatement.DetectedIf
Empty IF statement detected
tests/wpunit/Common/Event_Automator/Zapier/EndpointsManagerTest.php|223 col 31| WordPress.WhiteSpace.OperatorSpacing.NoSpaceAfter
Expected 1 space after "==="; 0 found
tests/wpunit/Common/Event_Automator/Zapier/EndpointsManagerTest.php|224 col 17| Squiz.PHP.CommentedOutCode.Found
This comment is 80% valid code; is this commented out code?
tests/wpunit/Common/Event_Automator/Zapier/EndpointsManagerTest.php|227 col 11| Generic.CodeAnalysis.EmptyStatement.DetectedCatch
Empty CATCH statement detected
tests/wpunit/Common/Event_Automator/Zapier/EndpointsManagerTest.php|235 col 9| Generic.CodeAnalysis.EmptyStatement.DetectedIf
Empty IF statement detected
tests/wpunit/Common/Event_Automator/Zapier/EndpointsManagerTest.php|235 col 27| WordPress.WhiteSpace.OperatorSpacing.NoSpaceAfter
Expected 1 space after "==="; 0 found
tests/wpunit/Common/Event_Automator/Zapier/EndpointsManagerTest.php|236 col 13| Squiz.PHP.CommentedOutCode.Found
This comment is 80% valid code; is this commented out code?
tests/wpunit/Common/Event_Automator/Zapier/Triggers/AttendeesTest.php|9 col 1| StellarWP.Classes.ValidClassName.NotSnakeCase
Class name "AttendeesTest" is not in Capitalized_Snake_Case format
tests/wpunit/Common/Event_Automator/Zapier/Triggers/AttendeesTest.php|40 col 9| PEAR.Functions.FunctionCallSignature.ContentAfterOpenBracket
Opening parenthesis of a multi-line function call must be the last content on the line
tests/wpunit/Common/Event_Automator/Zapier/Triggers/AttendeesTest.php|43 col 11| PEAR.Functions.FunctionCallSignature.CloseBracketLine
Closing parenthesis of a multi-line function call must be on a line by itself
tests/wpunit/Common/Event_Automator/Zapier/Triggers/AttendeesTest.php|54 col 114| NormalizedArrays.Arrays.CommaAfterLast.FoundSingleLine
A comma after the last array item in a single-line array is not allowed.
tests/wpunit/Common/Event_Automator/Zapier/Triggers/AttendeesTest.php|183 col 9| PEAR.Functions.FunctionCallSignature.ContentAfterOpenBracket
Opening parenthesis of a multi-line function call must be the last content on the line
tests/wpunit/Common/Event_Automator/Zapier/Triggers/AttendeesTest.php|183 col 71| Generic.CodeAnalysis.UnusedFunctionParameter.Found
The method parameter $enable_add_to_queue is never used
tests/wpunit/Common/Event_Automator/Zapier/Triggers/AttendeesTest.php|183 col 71| PEAR.Functions.FunctionCallSignature.MultipleArguments
Only one argument is allowed per line in a multi-line function call
tests/wpunit/Common/Event_Automator/Zapier/Triggers/AttendeesTest.php|185 col 12| PEAR.Functions.FunctionCallSignature.MultipleArguments
Only one argument is allowed per line in a multi-line function call
tests/wpunit/Common/Event_Automator/Zapier/Triggers/AttendeesTest.php|185 col 15| PEAR.Functions.FunctionCallSignature.CloseBracketLine
Closing parenthesis of a multi-line function call must be on a line by itself
tests/wpunit/Common/Event_Automator/Zapier/Triggers/CanceledEventTest.php|8 col 1| StellarWP.Classes.ValidClassName.NotSnakeCase
Class name "CanceledEventTest" is not in Capitalized_Snake_Case format
tests/wpunit/Common/Event_Automator/Zapier/Triggers/CanceledEventTest.php|84 col 9| PEAR.Functions.FunctionCallSignature.ContentAfterOpenBracket
Opening parenthesis of a multi-line function call must be the last content on the line
tests/wpunit/Common/Event_Automator/Zapier/Triggers/CanceledEventTest.php|84 col 71| Generic.CodeAnalysis.UnusedFunctionParameter.Found
The method parameter $enable_add_to_queue is never used
tests/wpunit/Common/Event_Automator/Zapier/Triggers/CanceledEventTest.php|84 col 71| PEAR.Functions.FunctionCallSignature.MultipleArguments
Only one argument is allowed per line in a multi-line function call
tests/wpunit/Common/Event_Automator/Zapier/Triggers/CanceledEventTest.php|86 col 12| PEAR.Functions.FunctionCallSignature.MultipleArguments
Only one argument is allowed per line in a multi-line function call
tests/wpunit/Common/Event_Automator/Zapier/Triggers/CanceledEventTest.php|86 col 15| PEAR.Functions.FunctionCallSignature.CloseBracketLine
Closing parenthesis of a multi-line function call must be on a line by itself
tests/wpunit/Common/Event_Automator/Zapier/Triggers/CanceledEventTest.php|95 col 1| PSR2.Classes.ClassDeclaration.CloseBraceAfterBody
The closing brace for the class must go on the next line after the body
tests/wpunit/Common/Event_Automator/Zapier/Triggers/CheckinTest.php|12 col 1| StellarWP.Classes.ValidClassName.NotSnakeCase
Class name "CheckinTest" is not in Capitalized_Snake_Case format
tests/wpunit/Common/Event_Automator/Zapier/Triggers/CheckinTest.php|43 col 9| PEAR.Functions.FunctionCallSignature.ContentAfterOpenBracket
Opening parenthesis of a multi-line function call must be the last content on the line
tests/wpunit/Common/Event_Automator/Zapier/Triggers/CheckinTest.php|46 col 11| PEAR.Functions.FunctionCallSignature.CloseBracketLine
Closing parenthesis of a multi-line function call must be on a line by itself
tests/wpunit/Common/Event_Automator/Zapier/Triggers/CheckinTest.php|206 col 9| PEAR.Functions.FunctionCallSignature.ContentAfterOpenBracket
Opening parenthesis of a multi-line function call must be the last content on the line
tests/wpunit/Common/Event_Automator/Zapier/Triggers/CheckinTest.php|206 col 71| Generic.CodeAnalysis.UnusedFunctionParameter.Found
The method parameter $enable_add_to_queue is never used
tests/wpunit/Common/Event_Automator/Zapier/Triggers/CheckinTest.php|206 col 71| PEAR.Functions.FunctionCallSignature.MultipleArguments
Only one argument is allowed per line in a multi-line function call
tests/wpunit/Common/Event_Automator/Zapier/Triggers/CheckinTest.php|208 col 12| PEAR.Functions.FunctionCallSignature.MultipleArguments
Only one argument is allowed per line in a multi-line function call
tests/wpunit/Common/Event_Automator/Zapier/Triggers/CheckinTest.php|208 col 15| PEAR.Functions.FunctionCallSignature.CloseBracketLine
Closing parenthesis of a multi-line function call must be on a line by itself
tests/wpunit/Common/Event_Automator/Zapier/Triggers/NewEventTest.php|8 col 1| StellarWP.Classes.ValidClassName.NotSnakeCase
Class name "NewEventTest" is not in Capitalized_Snake_Case format
tests/wpunit/Common/Event_Automator/Zapier/Triggers/NewEventTest.php|29 col 9| PEAR.Functions.FunctionCallSignature.ContentAfterOpenBracket
Opening parenthesis of a multi-line function call must be the last content on the line
tests/wpunit/Common/Event_Automator/Zapier/Triggers/NewEventTest.php|32 col 11| PEAR.Functions.FunctionCallSignature.CloseBracketLine
Closing parenthesis of a multi-line function call must be on a line by itself
tests/wpunit/Common/Event_Automator/Zapier/Triggers/NewEventTest.php|52 col 124| NormalizedArrays.Arrays.CommaAfterLast.FoundSingleLine
A comma after the last array item in a single-line array is not allowed.
tests/wpunit/Common/Event_Automator/Zapier/Triggers/NewEventTest.php|89 col 9| PEAR.Functions.FunctionCallSignature.ContentAfterOpenBracket
Opening parenthesis of a multi-line function call must be the last content on the line
tests/wpunit/Common/Event_Automator/Zapier/Triggers/NewEventTest.php|89 col 71| Generic.CodeAnalysis.UnusedFunctionParameter.Found
The method parameter $enable_add_to_queue is never used
tests/wpunit/Common/Event_Automator/Zapier/Triggers/NewEventTest.php|89 col 71| PEAR.Functions.FunctionCallSignature.MultipleArguments
Only one argument is allowed per line in a multi-line function call
tests/wpunit/Common/Event_Automator/Zapier/Triggers/NewEventTest.php|91 col 12| PEAR.Functions.FunctionCallSignature.MultipleArguments
Only one argument is allowed per line in a multi-line function call
tests/wpunit/Common/Event_Automator/Zapier/Triggers/NewEventTest.php|91 col 15| PEAR.Functions.FunctionCallSignature.CloseBracketLine
Closing parenthesis of a multi-line function call must be on a line by itself
tests/wpunit/Common/Event_Automator/Zapier/Triggers/OrdersTest.php|9 col 1| StellarWP.Classes.ValidClassName.NotSnakeCase
Class name "OrdersTest" is not in Capitalized_Snake_Case format
tests/wpunit/Common/Event_Automator/Zapier/Triggers/OrdersTest.php|9 col 1| PSR2.Classes.ClassDeclaration.SpaceAfterKeyword
Expected 1 space after class keyword; 2 found
tests/wpunit/Common/Event_Automator/Zapier/Triggers/OrdersTest.php|40 col 9| PEAR.Functions.FunctionCallSignature.ContentAfterOpenBracket
Opening parenthesis of a multi-line function call must be the last content on the line
tests/wpunit/Common/Event_Automator/Zapier/Triggers/OrdersTest.php|43 col 11| PEAR.Functions.FunctionCallSignature.CloseBracketLine
Closing parenthesis of a multi-line function call must be on a line by itself
tests/wpunit/Common/Event_Automator/Zapier/Triggers/OrdersTest.php|192 col 9| PEAR.Functions.FunctionCallSignature.ContentAfterOpenBracket
Opening parenthesis of a multi-line function call must be the last content on the line
tests/wpunit/Common/Event_Automator/Zapier/Triggers/OrdersTest.php|192 col 71| Generic.CodeAnalysis.UnusedFunctionParameter.Found
The method parameter $enable_add_to_queue is never used
tests/wpunit/Common/Event_Automator/Zapier/Triggers/OrdersTest.php|192 col 71| PEAR.Functions.FunctionCallSignature.MultipleArguments
Only one argument is allowed per line in a multi-line function call
tests/wpunit/Common/Event_Automator/Zapier/Triggers/OrdersTest.php|194 col 12| PEAR.Functions.FunctionCallSignature.MultipleArguments
Only one argument is allowed per line in a multi-line function call
tests/wpunit/Common/Event_Automator/Zapier/Triggers/OrdersTest.php|194 col 15| PEAR.Functions.FunctionCallSignature.CloseBracketLine
Closing parenthesis of a multi-line function call must be on a line by itself
tests/wpunit/Common/Event_Automator/Zapier/Triggers/OrdersTest.php|204 col 1| PSR2.Classes.ClassDeclaration.CloseBraceAfterBody
The closing brace for the class must go on the next line after the body
tests/wpunit/Common/Event_Automator/Zapier/Triggers/RefundedOrdersTest.php|9 col 1| StellarWP.Classes.ValidClassName.NotSnakeCase
Class name "RefundedOrdersTest" is not in Capitalized_Snake_Case format
tests/wpunit/Common/Event_Automator/Zapier/Triggers/RefundedOrdersTest.php|40 col 9| PEAR.Functions.FunctionCallSignature.ContentAfterOpenBracket
Opening parenthesis of a multi-line function call must be the last content on the line
tests/wpunit/Common/Event_Automator/Zapier/Triggers/RefundedOrdersTest.php|43 col 11| PEAR.Functions.FunctionCallSignature.CloseBracketLine
Closing parenthesis of a multi-line function call must be on a line by itself
tests/wpunit/Common/Event_Automator/Zapier/Triggers/RefundedOrdersTest.php|54 col 23| Generic.Formatting.MultipleStatementAlignment.NotSameWarning
Equals sign not aligned with surrounding assignments; expected 17 spaces but found 8 spaces
tests/wpunit/Common/Event_Automator/Zapier/Triggers/RefundedOrdersTest.php|55 col 23| Generic.Formatting.MultipleStatementAlignment.NotSameWarning
Equals sign not aligned with surrounding assignments; expected 12 spaces but found 3 spaces
tests/wpunit/Common/Event_Automator/Zapier/Triggers/RefundedOrdersTest.php|78 col 9| PEAR.Functions.FunctionCallSignature.ContentAfterOpenBracket
Opening parenthesis of a multi-line function call must be the last content on the line
tests/wpunit/Common/Event_Automator/Zapier/Triggers/RefundedOrdersTest.php|78 col 85| Generic.CodeAnalysis.UnusedFunctionParameter.FoundAfterLastUsed
The method parameter $endpoint is never used
tests/wpunit/Common/Event_Automator/Zapier/Triggers/RefundedOrdersTest.php|78 col 85| PEAR.Functions.FunctionCallSignature.MultipleArguments
Only one argument is allowed per line in a multi-line function call
tests/wpunit/Common/Event_Automator/Zapier/Triggers/RefundedOrdersTest.php|84 col 12| PEAR.Functions.FunctionCallSignature.MultipleArguments
Only one argument is allowed per line in a multi-line function call
tests/wpunit/Common/Event_Automator/Zapier/Triggers/RefundedOrdersTest.php|84 col 16| PEAR.Functions.FunctionCallSignature.MultipleArguments
Only one argument is allowed per line in a multi-line function call
tests/wpunit/Common/Event_Automator/Zapier/Triggers/RefundedOrdersTest.php|84 col 18| PEAR.Functions.FunctionCallSignature.CloseBracketLine
Closing parenthesis of a multi-line function call must be on a line by itself
tests/wpunit/Common/Event_Automator/Zapier/Triggers/RefundedOrdersTest.php|86 col 23| Generic.Formatting.MultipleStatementAlignment.IncorrectWarning
Equals sign not aligned correctly; expected 1 space but found 8 spaces
tests/wpunit/Common/Event_Automator/Zapier/Triggers/RefundedOrdersTest.php|95 col 23| Generic.Formatting.MultipleStatementAlignment.NotSameWarning
Equals sign not aligned with surrounding assignments; expected 17 spaces but found 8 spaces
tests/wpunit/Common/Event_Automator/Zapier/Triggers/RefundedOrdersTest.php|96 col 23| Generic.Formatting.MultipleStatementAlignment.NotSameWarning
Equals sign not aligned with surrounding assignments; expected 12 spaces but found 3 spaces
tests/wpunit/Common/Event_Automator/Zapier/Triggers/RefundedOrdersTest.php|120 col 9| PEAR.Functions.FunctionCallSignature.ContentAfterOpenBracket
Opening parenthesis of a multi-line function call must be the last content on the line
tests/wpunit/Common/Event_Automator/Zapier/Triggers/RefundedOrdersTest.php|120 col 85| Generic.CodeAnalysis.UnusedFunctionParameter.FoundAfterLastUsed
The method parameter $endpoint is never used
tests/wpunit/Common/Event_Automator/Zapier/Triggers/RefundedOrdersTest.php|120 col 85| PEAR.Functions.FunctionCallSignature.MultipleArguments
Only one argument is allowed per line in a multi-line function call
tests/wpunit/Common/Event_Automator/Zapier/Triggers/RefundedOrdersTest.php|127 col 12| PEAR.Functions.FunctionCallSignature.MultipleArguments
Only one argument is allowed per line in a multi-line function call
tests/wpunit/Common/Event_Automator/Zapier/Triggers/RefundedOrdersTest.php|127 col 16| PEAR.Functions.FunctionCallSignature.MultipleArguments
Only one argument is allowed per line in a multi-line function call
tests/wpunit/Common/Event_Automator/Zapier/Triggers/RefundedOrdersTest.php|127 col 18| PEAR.Functions.FunctionCallSignature.CloseBracketLine
Closing parenthesis of a multi-line function call must be on a line by itself
tests/wpunit/Common/Event_Automator/Zapier/Triggers/RefundedOrdersTest.php|129 col 23| Generic.Formatting.MultipleStatementAlignment.IncorrectWarning
Equals sign not aligned correctly; expected 1 space but found 8 spaces
tests/wpunit/Common/Event_Automator/Zapier/Triggers/RefundedOrdersTest.php|138 col 23| Generic.Formatting.MultipleStatementAlignment.NotSameWarning
Equals sign not aligned with surrounding assignments; expected 17 spaces but found 8 spaces
tests/wpunit/Common/Event_Automator/Zapier/Triggers/RefundedOrdersTest.php|139 col 23| Generic.Formatting.MultipleStatementAlignment.NotSameWarning
Equals sign not aligned with surrounding assignments; expected 12 spaces but found 3 spaces
tests/wpunit/Common/Event_Automator/Zapier/Triggers/RefundedOrdersTest.php|154 col 23| Generic.Formatting.MultipleStatementAlignment.NotSameWarning
Equals sign not aligned with surrounding assignments; expected 17 spaces but found 8 spaces
tests/wpunit/Common/Event_Automator/Zapier/Triggers/RefundedOrdersTest.php|155 col 23| Generic.Formatting.MultipleStatementAlignment.NotSameWarning
Equals sign not aligned with surrounding assignments; expected 12 spaces but found 3 spaces
tests/wpunit/Common/Event_Automator/Zapier/Triggers/RefundedOrdersTest.php|156 col 23| Generic.Formatting.MultipleStatementAlignment.NotSameWarning
Equals sign not aligned with surrounding assignments; expected 12 spaces but found 3 spaces
tests/wpunit/Common/Event_Automator/Zapier/Triggers/RefundedOrdersTest.php|157 col 23| Generic.Formatting.MultipleStatementAlignment.NotSameWarning
Equals sign not aligned with surrounding assignments; expected 12 spaces but found 3 spaces
tests/wpunit/Common/Event_Automator/Zapier/Triggers/RefundedOrdersTest.php|158 col 23| Generic.Formatting.MultipleStatementAlignment.NotSameWarning
Equals sign not aligned with surrounding assignments; expected 13 spaces but found 4 spaces
tests/wpunit/Common/Event_Automator/Zapier/Triggers/RefundedOrdersTest.php|172 col 9| PEAR.Functions.FunctionCallSignature.ContentAfterOpenBracket
Opening parenthesis of a multi-line function call must be the last content on the line
tests/wpunit/Common/Event_Automator/Zapier/Triggers/RefundedOrdersTest.php|172 col 71| Generic.CodeAnalysis.UnusedFunctionParameter.Found
The method parameter $enable_add_to_queue is never used
tests/wpunit/Common/Event_Automator/Zapier/Triggers/RefundedOrdersTest.php|172 col 71| PEAR.Functions.FunctionCallSignature.MultipleArguments
Only one argument is allowed per line in a multi-line function call
tests/wpunit/Common/Event_Automator/Zapier/Triggers/RefundedOrdersTest.php|174 col 12| PEAR.Functions.FunctionCallSignature.MultipleArguments
Only one argument is allowed per line in a multi-line function call
tests/wpunit/Common/Event_Automator/Zapier/Triggers/RefundedOrdersTest.php|174 col 15| PEAR.Functions.FunctionCallSignature.CloseBracketLine
Closing parenthesis of a multi-line function call must be on a line by itself
tests/wpunit/Common/Event_Automator/Zapier/Triggers/RefundedOrdersTest.php|177 col 23| Generic.Formatting.MultipleStatementAlignment.NotSameWarning
Equals sign not aligned with surrounding assignments; expected 17 spaces but found 8 spaces
tests/wpunit/Common/Event_Automator/Zapier/Triggers/RefundedOrdersTest.php|178 col 23| Generic.Formatting.MultipleStatementAlignment.NotSameWarning
Equals sign not aligned with surrounding assignments; expected 12 spaces but found 3 spaces
tests/wpunit/Common/Event_Automator/Zapier/Triggers/UpdatedAttendeesTest.php|9 col 1| StellarWP.Classes.ValidClassName.NotSnakeCase
Class name "UpdatedAttendeesTest" is not in Capitalized_Snake_Case format
tests/wpunit/Common/Event_Automator/Zapier/Triggers/UpdatedAttendeesTest.php|40 col 9| PEAR.Functions.FunctionCallSignature.ContentAfterOpenBracket
Opening parenthesis of a multi-line function call must be the last content on the line
tests/wpunit/Common/Event_Automator/Zapier/Triggers/UpdatedAttendeesTest.php|43 col 11| PEAR.Functions.FunctionCallSignature.CloseBracketLine
Closing parenthesis of a multi-line function call must be on a line by itself
tests/wpunit/Common/Event_Automator/Zapier/Triggers/UpdatedAttendeesTest.php|152 col 9| PEAR.Functions.FunctionCallSignature.ContentAfterOpenBracket
Opening parenthesis of a multi-line function call must be the last content on the line
tests/wpunit/Common/Event_Automator/Zapier/Triggers/UpdatedAttendeesTest.php|152 col 71| Generic.CodeAnalysis.UnusedFunctionParameter.Found
The method parameter $enable_add_to_queue is never used
tests/wpunit/Common/Event_Automator/Zapier/Triggers/UpdatedAttendeesTest.php|152 col 71| PEAR.Functions.FunctionCallSignature.MultipleArguments
Only one argument is allowed per line in a multi-line function call
tests/wpunit/Common/Event_Automator/Zapier/Triggers/UpdatedAttendeesTest.php|154 col 12| PEAR.Functions.FunctionCallSignature.MultipleArguments
Only one argument is allowed per line in a multi-line function call
tests/wpunit/Common/Event_Automator/Zapier/Triggers/UpdatedAttendeesTest.php|154 col 15| PEAR.Functions.FunctionCallSignature.CloseBracketLine
Closing parenthesis of a multi-line function call must be on a line by itself
tests/wpunit/Common/Event_Automator/Zapier/Triggers/UpdatedAttendeesTest.php|164 col 1| PSR2.Classes.ClassDeclaration.CloseBraceAfterBody
The closing brace for the class must go on the next line after the body
tests/wpunit/Common/Event_Automator/Zapier/Triggers/UpdatedEventTest.php|8 col 1| StellarWP.Classes.ValidClassName.NotSnakeCase
Class name "UpdatedEventTest" is not in Capitalized_Snake_Case format
tests/wpunit/Common/Event_Automator/Zapier/Triggers/UpdatedEventTest.php|29 col 9| PEAR.Functions.FunctionCallSignature.ContentAfterOpenBracket
Opening parenthesis of a multi-line function call must be the last content on the line
tests/wpunit/Common/Event_Automator/Zapier/Triggers/UpdatedEventTest.php|32 col 11| PEAR.Functions.FunctionCallSignature.CloseBracketLine
Closing parenthesis of a multi-line function call must be on a line by itself
tests/wpunit/Common/Event_Automator/Zapier/Triggers/UpdatedEventTest.php|52 col 132| NormalizedArrays.Arrays.CommaAfterLast.FoundSingleLine
A comma after the last array item in a single-line array is not allowed.
tests/wpunit/Common/Event_Automator/Zapier/Triggers/UpdatedEventTest.php|89 col 9| PEAR.Functions.FunctionCallSignature.ContentAfterOpenBracket
Opening parenthesis of a multi-line function call must be the last content on the line
tests/wpunit/Common/Event_Automator/Zapier/Triggers/UpdatedEventTest.php|89 col 71| Generic.CodeAnalysis.UnusedFunctionParameter.Found
The method parameter $enable_add_to_queue is never used
tests/wpunit/Common/Event_Automator/Zapier/Triggers/UpdatedEventTest.php|89 col 71| PEAR.Functions.FunctionCallSignature.MultipleArguments
Only one argument is allowed per line in a multi-line function call
tests/wpunit/Common/Event_Automator/Zapier/Triggers/UpdatedEventTest.php|91 col 12| PEAR.Functions.FunctionCallSignature.MultipleArguments
Only one argument is allowed per line in a multi-line function call
tests/wpunit/Common/Event_Automator/Zapier/Triggers/UpdatedEventTest.php|91 col 15| PEAR.Functions.FunctionCallSignature.CloseBracketLine
Closing parenthesis of a multi-line function call must be on a line by itself

use tad\Codeception\SnapshotAssertions\SnapshotAssertions;
use Tribe\Tests\Traits\With_Uopz;

class ApiAJAX extends \Codeception\TestCase\WPAjaxTestCase {
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

[phpcs] reported by reviewdog 🐶
StellarWP.Classes.ValidClassName.NotSnakeCase
Class name "ApiAJAX" is not in Capitalized_Snake_Case format

use SnapshotAssertions;
use With_Uopz;

public function _tearDown() {
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

[phpcs] reported by reviewdog 🐶
PSR2.Methods.MethodDeclaration.Underscore
Method name "_tearDown" should not be prefixed with an underscore to indicate visibility


try {
$api->ajax_add_connection( 'foobar' );
} catch ( \WPAjaxDieStopException $e ) {
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

[phpcs] reported by reviewdog 🐶
Generic.CodeAnalysis.EmptyStatement.DetectedCatch
Empty CATCH statement detected

public function should_correctly_generate_new_connection_fields() {
$this->ajax_setup();

$api = $this->construct( Api::class, [ tribe( Actions::class ), tribe( Template_Modifications::class ) ], [
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

[phpcs] reported by reviewdog 🐶
PEAR.Functions.FunctionCallSignature.ContentAfterOpenBracket
Opening parenthesis of a multi-line function call must be the last content on the line

public function should_correctly_generate_new_connection_fields() {
$this->ajax_setup();

$api = $this->construct( Api::class, [ tribe( Actions::class ), tribe( Template_Modifications::class ) ], [
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

[phpcs] reported by reviewdog 🐶
PEAR.Functions.FunctionCallSignature.MultipleArguments
Only one argument is allowed per line in a multi-line function call


try {
$api->ajax_disable( 'foobar' );
} catch ( \WPAjaxDieStopException $e ) {
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

[phpcs] reported by reviewdog 🐶
Generic.CodeAnalysis.EmptyStatement.DetectedCatch
Empty CATCH statement detected


try {
$api->ajax_enable( 'foobar' );
} catch ( \WPAjaxDieStopException $e ) {
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

[phpcs] reported by reviewdog 🐶
Generic.CodeAnalysis.EmptyStatement.DetectedCatch
Empty CATCH statement detected


try {
$endpoints_manager->ajax_clear( wp_create_nonce( Actions::$clear_action ) );
} catch ( \WPAjaxDieContinueException $e ) {
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

[phpcs] reported by reviewdog 🐶
Generic.CodeAnalysis.EmptyStatement.DetectedCatch
Empty CATCH statement detected


try {
$endpoints_manager->ajax_disable( wp_create_nonce( Actions::$disable_action ) );
} catch ( \WPAjaxDieContinueException $e ) {
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

[phpcs] reported by reviewdog 🐶
Generic.CodeAnalysis.EmptyStatement.DetectedCatch
Empty CATCH statement detected


try {
$endpoints_manager->ajax_enable( wp_create_nonce( Actions::$enable_action ) );
} catch ( \WPAjaxDieContinueException $e ) {
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

[phpcs] reported by reviewdog 🐶
Generic.CodeAnalysis.EmptyStatement.DetectedCatch
Empty CATCH statement detected

@pattihis pattihis merged commit 7493c34 into bucket/plugin-consolidation May 31, 2024
10 of 16 checks passed
@pattihis pattihis deleted the EVA-153-Event-Automator-Tests-Merge branch May 31, 2024 16:10
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

5 participants