Commit 5097a445 authored by Fabian Galinski's avatar Fabian Galinski 😾
Browse files

[TASK] Lower the minimum requirement of php to 7.1

parent 6fe8a702
...@@ -184,6 +184,7 @@ class MailController extends ActionController { ...@@ -184,6 +184,7 @@ class MailController extends ActionController {
$templateFromFile->setLanguage($key); $templateFromFile->setLanguage($key);
$templates[$key] = $templateFromFile; $templates[$key] = $templateFromFile;
if (\strpos($subject, 'LLL:') === 0) { if (\strpos($subject, 'LLL:') === 0) {
/** @noinspection PhpMethodParametersCountMismatchInspection */
$subject = LocalizationUtility::translate($subject, NULL, NULL, $key); $subject = LocalizationUtility::translate($subject, NULL, NULL, $key);
} }
$templateFromFile->setSubject($subject); $templateFromFile->setSubject($subject);
......
...@@ -14,7 +14,7 @@ ...@@ -14,7 +14,7 @@
} }
], ],
"require": { "require": {
"php": ">=7.2.0 <7.4 ", "php": ">=7.1.0 <7.4",
"typo3/cms-core": "^8.7.0 || ^9.5.1" "typo3/cms-core": "^8.7.0 || ^9.5.1"
}, },
"require-dev": { "require-dev": {
......
...@@ -16,19 +16,15 @@ $EM_CONF['sg_mail'] = [ ...@@ -16,19 +16,15 @@ $EM_CONF['sg_mail'] = [
'author' => 'Torsten Oppermann', 'author' => 'Torsten Oppermann',
'author_email' => 'torsten@sgalinski.de', 'author_email' => 'torsten@sgalinski.de',
'author_company' => 'sgalinski Internet Services (https://www.sgalinski.de)', 'author_company' => 'sgalinski Internet Services (https://www.sgalinski.de)',
'constraints' => 'constraints' => [
[ 'depends' => [
'depends' => 'typo3' => '8.7.0-9.5.99',
[ 'php' => '7.1.0-7.4.99',
'typo3' => '8.7.0-9.5.99',
'php' => '7.0.0-7.3.99',
],
'conflicts' =>
[
],
'suggests' =>
[
],
], ],
'conflicts' => [
],
'suggests' => [
],
],
]; ];
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment