Skip to content

Commit

Permalink
Merge pull request #3 from mxpgmbh/typo3_11
Browse files Browse the repository at this point in the history
Compatibility with TYPO3 11
  • Loading branch information
rk-mxp authored Jun 1, 2023
2 parents d7098fa + 3626160 commit 1d98a31
Show file tree
Hide file tree
Showing 5 changed files with 8 additions and 10 deletions.
3 changes: 1 addition & 2 deletions Classes/Command/ExportRedirectCommand.php
Original file line number Diff line number Diff line change
Expand Up @@ -21,12 +21,11 @@ class ExportRedirectCommand extends Command
protected $notificationHandler;

public function __construct(
string $name = null,
NotificationHandler $notificationHandler
) {
$this->notificationHandler = $notificationHandler;

parent::__construct($name);
parent::__construct();
}

/**
Expand Down
3 changes: 1 addition & 2 deletions Classes/Command/ImportRedirectCommand.php
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,6 @@ class ImportRedirectCommand extends Command implements LoggerAwareInterface
protected $externalDomains = [];

public function __construct(
string $name = null,
NotificationHandler $notificationHandler,
ExtensionConfiguration $extensionConfiguration
) {
Expand All @@ -51,7 +50,7 @@ public function __construct(
$this->notificationHandler = $notificationHandler;
$this->extensionConfiguration = $extensionConfiguration;

parent::__construct($name);
parent::__construct();
}

/**
Expand Down
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ Each target entry will be matched by the routing configuration. If the target is

### Requirements

* TYPO3 10
* TYPO3 10 || 11
* EXT:redirects

### Setup
Expand Down
6 changes: 3 additions & 3 deletions composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -28,16 +28,16 @@
],
"require": {
"php": "^7.4 || ^8.0",
"typo3/cms-core": "^10.4",
"typo3/cms-redirects": "^10.4"
"typo3/cms-core": "^10.4 || ^11.5",
"typo3/cms-redirects": "^10.4 || ^11.5"
},
"autoload": {
"psr-4": {
"GeorgRinger\\RedirectGenerator\\": "Classes"
}
},
"replace": {
"georgringer/redirect_generator": "*",
"georgringer/redirect-generator": "*",
"typo3-ter/redirect-generator": "self.version"
},
"extra": {
Expand Down
4 changes: 2 additions & 2 deletions ext_emconf.php
Original file line number Diff line number Diff line change
Expand Up @@ -12,8 +12,8 @@
'constraints' =>
[
'depends' => [
'typo3' => '10.4.0-10.4.99',
'redirects' => '^10.4.0-10.4.99',
'typo3' => '10.4.0-11.5.99',
'redirects' => '^10.4.0-11.5.99',
],
'conflicts' => [],
'suggests' => [],
Expand Down

0 comments on commit 1d98a31

Please sign in to comment.