-
Notifications
You must be signed in to change notification settings - Fork 17
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* chore: prepare for TYPO3_v12 * chore: prepare for TYPO3_v12 - update github actions * chore: prepare for TYPO3_v12 - update github actions - fix typo * chore: prepare for TYPO3_v12 - update github actions - fix path to phpunit * chore: v12 only * chore: v12 only, code-style * chore: code-style * docs: readme, year update * docs: more badges * chore: ecs config * chore: minor adjustment * chore: PHP 8.4 experimental * Revert "chore: PHP 8.4 experimental" This reverts commit 4ab6a71. * chore: fix javascript include * chore: cleanup the code --------- Co-authored-by: thomas.layh <[email protected]> Co-authored-by: Jürgen Kußmann <[email protected]>
- Loading branch information
1 parent
102d561
commit 7ec19f2
Showing
50 changed files
with
176 additions
and
387 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,6 +1,9 @@ | ||
build: | ||
nodes: | ||
analysis: | ||
image: default-bionic | ||
environment: | ||
php: 8.3.0 | ||
tests: | ||
override: | ||
- php-scrutinizer-run | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -5,7 +5,7 @@ | |
/*************************************************************** | ||
* Copyright notice | ||
* | ||
* (c) 2021 AOE GmbH <[email protected]> | ||
* (c) 2024 AOE GmbH <[email protected]> | ||
* | ||
* All rights reserved | ||
* | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -5,7 +5,7 @@ | |
/*************************************************************** | ||
* Copyright notice | ||
* | ||
* (c) 2021 AOE GmbH <[email protected]> | ||
* (c) 2024 AOE GmbH <[email protected]> | ||
* | ||
* All rights reserved | ||
* | ||
|
@@ -63,11 +63,9 @@ class BeUserAuthenticationController implements iAuthenticate | |
*/ | ||
public $restler; | ||
|
||
private Loader $typo3Loader; | ||
|
||
public function __construct(Loader $typo3Loader) | ||
{ | ||
$this->typo3Loader = $typo3Loader; | ||
public function __construct( | ||
private readonly Loader $typo3Loader | ||
) { | ||
$this->restler = Scope::get('Restler'); | ||
} | ||
|
||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -5,7 +5,7 @@ | |
/*************************************************************** | ||
* Copyright notice | ||
* | ||
* (c) 2021 AOE GmbH <[email protected]> | ||
* (c) 2024 AOE GmbH <[email protected]> | ||
* | ||
* All rights reserved | ||
* | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -5,7 +5,7 @@ | |
/*************************************************************** | ||
* Copyright notice | ||
* | ||
* (c) 2021 AOE GmbH <[email protected]> | ||
* (c) 2024 AOE GmbH <[email protected]> | ||
* | ||
* All rights reserved | ||
* | ||
|
@@ -89,11 +89,9 @@ class FeUserAuthenticationController implements iAuthenticate | |
*/ | ||
public $restler; | ||
|
||
private Loader $typo3Loader; | ||
|
||
public function __construct(Loader $typo3Loader) | ||
{ | ||
$this->typo3Loader = $typo3Loader; | ||
public function __construct( | ||
private readonly Loader $typo3Loader | ||
) { | ||
$this->restler = Scope::get('Restler'); | ||
} | ||
|
||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -5,7 +5,7 @@ | |
/*************************************************************** | ||
* Copyright notice | ||
* | ||
* (c) 2015 AOE GmbH <[email protected]> | ||
* (c) 2024 AOE GmbH <[email protected]> | ||
* | ||
* All rights reserved | ||
* | ||
|
@@ -83,7 +83,15 @@ protected function extractSiteUrl(ServerRequestInterface $request): string | |
} | ||
|
||
if ($siteBasePath) { | ||
return '/' . rtrim(preg_replace('%^' . preg_quote($siteBasePath, '%') . '%', '', $request->getUri()->getPath()), '/'); | ||
return '/' . rtrim( | ||
(string) preg_replace( | ||
'%^' . preg_quote((string) $siteBasePath, '%') . '%', | ||
'', | ||
$request->getUri() | ||
->getPath() | ||
), | ||
'/' | ||
); | ||
} | ||
|
||
return $request->getUri() | ||
|
Oops, something went wrong.