parent
e2c972ed58
commit
2894784978
3 changed files with 27 additions and 3 deletions
|
@ -1,6 +1,6 @@
|
||||||
--- tests/Fixtures/Standards/Typo3Update/Sniffs/Classname/InstantiationWithNewSniff/InputFileForIssues.php
|
--- tests/Fixtures/Standards/Typo3Update/Sniffs/Classname/InstantiationWithNewSniff/InputFileForIssues.php
|
||||||
+++ PHP_CodeSniffer
|
+++ PHP_CodeSniffer
|
||||||
@@ -19,13 +19,13 @@
|
@@ -19,14 +19,14 @@
|
||||||
* 02110-1301, USA.
|
* 02110-1301, USA.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
|
@ -20,3 +20,4 @@
|
||||||
+(new \TYPO3\CMS\Extbase\Command\HelpCommandController)
|
+(new \TYPO3\CMS\Extbase\Command\HelpCommandController)
|
||||||
->doSomething()
|
->doSomething()
|
||||||
;
|
;
|
||||||
|
|
||||||
|
|
|
@ -56,14 +56,32 @@
|
||||||
"severity": 5,
|
"severity": 5,
|
||||||
"source": "Typo3Update.Classname.InstantiationWithNew.legacyClassname",
|
"source": "Typo3Update.Classname.InstantiationWithNew.legacyClassname",
|
||||||
"type": "ERROR"
|
"type": "ERROR"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"column": 5,
|
||||||
|
"fixable": false,
|
||||||
|
"line": 33,
|
||||||
|
"message": "Calls to removed code are not allowed; found perm. Removed in 7.0. The logic is moved into EXT:beuser. See: https://docs.typo3.org/typo3cms/extensions/core/7.6/Changelog/7.0/Breaking-62339-MoveExtPermIntoExtBeuser.html",
|
||||||
|
"severity": 5,
|
||||||
|
"source": "Typo3Update.Classname.InstantiationWithNew.RemovedExtension.perm",
|
||||||
|
"type": "WARNING"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"column": 7,
|
||||||
|
"fixable": false,
|
||||||
|
"line": 34,
|
||||||
|
"message": "Calls to removed code are not allowed; found perm. Removed in 7.0. The logic is moved into EXT:beuser. See: https://docs.typo3.org/typo3cms/extensions/core/7.6/Changelog/7.0/Breaking-62339-MoveExtPermIntoExtBeuser.html",
|
||||||
|
"severity": 5,
|
||||||
|
"source": "Typo3Update.Classname.InstantiationWithNew.RemovedExtension.perm",
|
||||||
|
"type": "WARNING"
|
||||||
}
|
}
|
||||||
],
|
],
|
||||||
"warnings": 0
|
"warnings": 2
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
"totals": {
|
"totals": {
|
||||||
"errors": 6,
|
"errors": 6,
|
||||||
"fixable": 6,
|
"fixable": 6,
|
||||||
"warnings": 0
|
"warnings": 2
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
@ -29,3 +29,8 @@ new Tx_Extbase_Command_HelpCommandController;
|
||||||
(new Tx_Extbase_Command_HelpCommandController)
|
(new Tx_Extbase_Command_HelpCommandController)
|
||||||
->doSomething()
|
->doSomething()
|
||||||
;
|
;
|
||||||
|
|
||||||
|
new TYPO3\CMS\Perm\Controller\PermissionAjaxController;
|
||||||
|
(new \TYPO3\CMS\Perm\Controller\PermissionAjaxController)
|
||||||
|
->doSomething()
|
||||||
|
;
|
||||||
|
|
Loading…
Reference in a new issue