BeatSwitch/lock

View on GitHub
src/Tests/PersistentDriverTestCase.php

Summary

Maintainability
C
7 hrs
Test Coverage

Showing 2 of 2 total issues

PersistentDriverTestCase has 36 functions (exceeds 20 allowed). Consider refactoring.
Open

abstract class PersistentDriverTestCase extends \PHPUnit_Framework_TestCase
{
/**
* The main Lock instance
*
Severity: Minor
Found in src/Tests/PersistentDriverTestCase.php - About 4 hrs to fix

    File PersistentDriverTestCase.php has 300 lines of code (exceeds 250 allowed). Consider refactoring.
    Open

    <?php
    namespace BeatSwitch\Lock\Tests;
     
    use BeatSwitch\Lock\Callers\SimpleCaller;
    use BeatSwitch\Lock\Manager;
    Severity: Minor
    Found in src/Tests/PersistentDriverTestCase.php - About 3 hrs to fix
      Category
      Status