Skip to content

Commit

Permalink
no_unneeded_import_alias
Browse files Browse the repository at this point in the history
  • Loading branch information
realodix committed Jul 29, 2024
1 parent 25acb16 commit a8c2aab
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 6 deletions.
6 changes: 3 additions & 3 deletions tests/Fixtures/Ruleset/relax_actual.php
Original file line number Diff line number Diff line change
Expand Up @@ -4,12 +4,12 @@
declare(ticks = 1);
// declare_parentheses
declare ( strict_types=1 );

use Realodix\Relax\no_unneeded_import_alias as no_unneeded_import_alias;
use Realodix\Relax\NoUnusedImports;

use PhpCsFixer\Config as Config;

use function \is_string;
class relax_actual extends Config
class relax_actual extends no_unneeded_import_alias
{
/**
* magic_method_casing
Expand Down
5 changes: 2 additions & 3 deletions tests/Fixtures/Ruleset/relax_expected.php
Original file line number Diff line number Diff line change
Expand Up @@ -4,12 +4,11 @@
declare(ticks=1);
// declare_parentheses
declare(strict_types=1);

use PhpCsFixer\Config;
use Realodix\Relax\no_unneeded_import_alias;

use function is_string;

class relax_actual extends Config
class relax_actual extends no_unneeded_import_alias
{
/**
* magic_method_casing
Expand Down

0 comments on commit a8c2aab

Please sign in to comment.