Skip to content

Commit

Permalink
Upgrade to RectorPHP in version 2 (#16)
Browse files Browse the repository at this point in the history
  • Loading branch information
zoglo authored Feb 26, 2025
1 parent 600f580 commit d0b1034
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 9 deletions.
4 changes: 2 additions & 2 deletions composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -18,8 +18,8 @@
],
"require": {
"php": "^8.1",
"rector/rector": "^0.19 || ^1.0",
"phpstan/phpstan": "^1.0",
"rector/rector": "^2.0",
"phpstan/phpstan": "^2.0",
"webmozart/assert": "^1.7"
},
"require-dev": {
Expand Down
4 changes: 1 addition & 3 deletions src/Set/ContaoLevelSetList.php
Original file line number Diff line number Diff line change
Expand Up @@ -4,9 +4,7 @@

namespace Contao\Rector\Set;

use Rector\Set\Contract\SetListInterface;

final class ContaoLevelSetList implements SetListInterface
final class ContaoLevelSetList
{
/**
* @var string
Expand Down
4 changes: 1 addition & 3 deletions src/Set/ContaoSetList.php
Original file line number Diff line number Diff line change
Expand Up @@ -4,9 +4,7 @@

namespace Contao\Rector\Set;

use Rector\Set\Contract\SetListInterface;

final class ContaoSetList implements SetListInterface
final class ContaoSetList
{
/**
* @var string
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@

<?php

use Contao\Controller;
Expand Down

0 comments on commit d0b1034

Please sign in to comment.