mirror of
https://github.com/FriendsOfTYPO3/tea.git
synced 2024-11-23 01:16:13 +01:00
[WIP][TASK] Add PHPStan extension for to dos
A new composer package "staabm/phpstan-todo-by" is added. This one is a PHPStan extension which will check for open to dos. This is very helpful for TYPO3 version checks. WIP: Our setup is not following composer defaults and is not supported yet. Wait for: https://github.com/staabm/phpstan-todo-by/issues/85 Resolves: #1158
This commit is contained in:
parent
1462282da6
commit
1539650c7b
2 changed files with 2 additions and 0 deletions
|
@ -205,6 +205,7 @@ $tca = [
|
||||||
],
|
],
|
||||||
];
|
];
|
||||||
|
|
||||||
|
// TODO: typo3/cms-backend:13.0.0 Remove the following block as we no longer support version prior 12
|
||||||
$typo3Version = new \TYPO3\CMS\Core\Information\Typo3Version();
|
$typo3Version = new \TYPO3\CMS\Core\Information\Typo3Version();
|
||||||
if ($typo3Version->getMajorVersion() < 12) {
|
if ($typo3Version->getMajorVersion() < 12) {
|
||||||
$tca = array_replace_recursive(
|
$tca = array_replace_recursive(
|
||||||
|
|
|
@ -60,6 +60,7 @@
|
||||||
"seld/jsonlint": "^1.10.1",
|
"seld/jsonlint": "^1.10.1",
|
||||||
"spaze/phpstan-disallowed-calls": "^3.1",
|
"spaze/phpstan-disallowed-calls": "^3.1",
|
||||||
"squizlabs/php_codesniffer": "^3.8.1",
|
"squizlabs/php_codesniffer": "^3.8.1",
|
||||||
|
"staabm/phpstan-todo-by": "^0.1.22",
|
||||||
"symfony/console": "^5.4 || ^6.4 || ^7.0",
|
"symfony/console": "^5.4 || ^6.4 || ^7.0",
|
||||||
"symfony/translation": "^5.4 || ^6.4 || ^7.0",
|
"symfony/translation": "^5.4 || ^6.4 || ^7.0",
|
||||||
"symfony/yaml": "^5.4 || ^6.4 || ^7.0",
|
"symfony/yaml": "^5.4 || ^6.4 || ^7.0",
|
||||||
|
|
Loading…
Reference in a new issue