Skip to content
This repository was archived by the owner on Jul 12, 2020. It is now read-only.
This repository was archived by the owner on Jul 12, 2020. It is now read-only.

optimize-use: Declared class imported #32

Closed
@tobyS

Description

@tobyS

Using the optimize-use command on test/features/bootstrap/FeatureContext.php (known project) yields an import for the class that is declared in the file:

$ refactor optimize-use test/features/bootstrap/FeatureContext.php 
--- a/test/features/bootstrap/FeatureContext.php
+++ b/test/features/bootstrap/FeatureContext.php
@@ -10,15 +10,26 @@
 use Qafoo\ChangeTrack\Analyzer;
 use Qafoo\ChangeTrack\Calculator;
 use Qafoo\ChangeTrack\Change;
+use FeatureContext;-class FeatureContext extends BehatContext
+class FeatureContext extends BehatContext

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions