Skip to content

Supress target path in text output format file paths #14

Description

@alanwillms

Scenario:

  • current directory: /Users/alanwillms/Sites/phactory/
  • command: php-hound lib

Current output:

== /Users/alanwillms/Sites/phactory/lib/Phactory/Dependency.php ==
56: The method get uses an else expression. Else is never necessary and you can simplify the code to work without else.
62: The method get uses an else expression. Else is never necessary and you can simplify the code to work without else.

== /Users/alanwillms/Sites/phactory/lib/Phactory/Factory.php ==
66: The method getVariation uses an else expression. Else is never necessary and you can simplify the code to work without else.

Expected output:

== Phactory/Dependency.php ==
56: The method get uses an else expression. Else is never necessary and you can simplify the code to work without else.
62: The method get uses an else expression. Else is never necessary and you can simplify the code to work without else.

== Phactory/Factory.php ==
66: The method getVariation uses an else expression. Else is never necessary and you can simplify the code to work without else.

Metadata

Metadata

Assignees

No one assigned

    Projects

    No projects

      Milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions