pug-php/pug-filter-base

View on GitHub
src/Pug3/Filter/Base.php

Summary

Maintainability
A
0 mins
Test Coverage

Avoid unused parameters such as '$options'.
Open

    public function __invoke($code, array $options = null)
Severity: Minor
Found in src/Pug3/Filter/Base.php by phpmd

Since: PHPMD 0.2

Avoid passing parameters to methods or constructors and then not using those parameters.

Example:

class Foo
  {
      private function bar($howdy)
      {
          // $howdy is not used
      }
  }

Source: http://phpmd.org/rules/unusedcode.txt

Class extends undeclared class \Pug\AbstractFilter
Open

class Base extends BaseFilter
Severity: Critical
Found in src/Pug3/Filter/Base.php by phan

Class \Pug\Filter\Base defined at /code/src/Pug3/Filter/Base.php:7 was previously defined as Class \Pug\Filter\Base at /code/src/Pug2/Filter/Base.php:9
Open

class Base extends BaseFilter
Severity: Minor
Found in src/Pug3/Filter/Base.php by phan

There are no issues that match your filters.

Category
Status