expressly/php-common

View on GitHub
tests/Presenter/CustomerMigratePresenterTest.php

Summary

Maintainability
A
1 hr
Test Coverage

Method testToArray has 28 lines of code (exceeds 25 allowed). Consider refactoring.
Open

    public function testToArray($presenter)
    {
        $this->assertSame(
            array(
                'meta' => array(
Severity: Minor
Found in tests/Presenter/CustomerMigratePresenterTest.php - About 1 hr to fix

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

    class CustomerMigratePresenterTest extends \PHPUnit_Framework_TestCase

    Expected 1 newline at end of file; 0 found
    Open

    }

    There are no issues that match your filters.

    Category
    Status