teresko/palladium

View on GitHub

Showing 3 of 8 total issues

Collection has 28 functions (exceeds 20 allowed). Consider refactoring.
Open

abstract class Collection implements \Iterator, \ArrayAccess, \Countable
{

    abstract protected function buildEntity(): HasId;

Severity: Minor
Found in src/Palladium/Component/Collection.php - About 3 hrs to fix

    Identity has 25 functions (exceeds 20 allowed). Consider refactoring.
    Open

    class Identity implements HasId
    {
    
        const TOKEN_SIZE = 16;
    
    
    Severity: Minor
    Found in src/Palladium/Entity/Identity.php - About 2 hrs to fix

      Identification has 21 functions (exceeds 20 allowed). Consider refactoring.
      Open

      class Identification
      {
      
          const DEFAULT_COOKIE_LIFESPAN = 14400; // 4 hours
          const DEFAULT_TOKEN_LIFESPAN = 28800; // 8 hours
      Severity: Minor
      Found in src/Palladium/Service/Identification.php - About 2 hrs to fix
        Severity
        Category
        Status
        Source
        Language