tests/unit/JiraClient_Test.php
Each class must be in a namespace of at least one level (a top-level vendor name) Open
Open
class JiraClientTest extends \PHPUnit\Framework\TestCase {
- Exclude checks
Opening brace of a class must be on the line after the definition Open
Open
class JiraClientTest extends \PHPUnit\Framework\TestCase {
- Exclude checks
Method name "JiraClientTest::test_unpackTicketInfo" is not in camel caps format Open
Open
public function test_unpackTicketInfo($fields, $expected) {
- Exclude checks
Method name "JiraClientTest::test_getJiraApiResponse_withTickets" is not in camel caps format Open
Open
public function test_getJiraApiResponse_withTickets() {
- Exclude checks
Method name "JiraClientTest::test_getJiraApiResponse_withoutTickets" is not in camel caps format Open
Open
public function test_getJiraApiResponse_withoutTickets() {
- Exclude checks
Method name "JiraClientTest::test_unpackTicketInfo_emptyissue" is not in camel caps format Open
Open
public function test_unpackTicketInfo_emptyissue() {
- Exclude checks
Only one argument is allowed per line in a multi-line function call Open
Open
$this->curl_client, array(
- Exclude checks
Spaces must be used to indent lines; tabs are not allowed Open
Open
"proxy" => self::JIRA_PROXY
- Exclude checks
Spaces must be used to indent lines; tabs are not allowed Open
Open
"password" => self::JIRA_PASSWORD,
- Exclude checks
Multi-line function call not indented correctly; expected 12 spaces but found 8 Open
Open
"password" => self::JIRA_PASSWORD,
- Exclude checks
Opening brace should be on a new line Open
Open
public function setUp() {
- Exclude checks
Opening brace should be on a new line Open
Open
public function provideTicketsFieldsRequirements() {
- Exclude checks
Multi-line function call not indented correctly; expected 12 spaces but found 8 Open
Open
"proxy" => self::JIRA_PROXY
- Exclude checks
Opening brace should be on a new line Open
Open
public function test_unpackTicketInfo_emptyissue() {
- Exclude checks
Opening brace should be on a new line Open
Open
public function test_getJiraApiResponse_withTickets() {
- Exclude checks
Opening brace should be on a new line Open
Open
public function test_unpackTicketInfo($fields, $expected) {
- Exclude checks
Opening brace should be on a new line Open
Open
public function test_getJiraApiResponse_withoutTickets() {
- Exclude checks