tests/unit/JiraClient_Test.php

Summary

Maintainability
A
0 mins
Test Coverage

Each class must be in a namespace of at least one level (a top-level vendor name)
Open

class JiraClientTest extends \PHPUnit\Framework\TestCase {

Opening brace of a class must be on the line after the definition
Open

class JiraClientTest extends \PHPUnit\Framework\TestCase {

Method name "JiraClientTest::test_unpackTicketInfo" is not in camel caps format
Open

    public function test_unpackTicketInfo($fields, $expected) {

Method name "JiraClientTest::test_getJiraApiResponse_withTickets" is not in camel caps format
Open

    public function test_getJiraApiResponse_withTickets() {

Method name "JiraClientTest::test_getJiraApiResponse_withoutTickets" is not in camel caps format
Open

    public function test_getJiraApiResponse_withoutTickets() {

Method name "JiraClientTest::test_unpackTicketInfo_emptyissue" is not in camel caps format
Open

    public function test_unpackTicketInfo_emptyissue() {

Only one argument is allowed per line in a multi-line function call
Open

            $this->curl_client, array(

Spaces must be used to indent lines; tabs are not allowed
Open

        "proxy" => self::JIRA_PROXY

Spaces must be used to indent lines; tabs are not allowed
Open

        "password" => self::JIRA_PASSWORD,

Multi-line function call not indented correctly; expected 12 spaces but found 8
Open

        "password" => self::JIRA_PASSWORD,

Opening brace should be on a new line
Open

    public function setUp() {

Opening brace should be on a new line
Open

    public function provideTicketsFieldsRequirements() {

Multi-line function call not indented correctly; expected 12 spaces but found 8
Open

        "proxy" => self::JIRA_PROXY

Opening brace should be on a new line
Open

    public function test_unpackTicketInfo_emptyissue() {

Opening brace should be on a new line
Open

    public function test_getJiraApiResponse_withTickets() {

Opening brace should be on a new line
Open

    public function test_unpackTicketInfo($fields, $expected) {

Opening brace should be on a new line
Open

    public function test_getJiraApiResponse_withoutTickets() {

There are no issues that match your filters.

Category
Status