TASK: Finish removed extension test
* Adjust expected result to match result. * Remove example usage of "use" as this is part of a feature and not this sniff. Relates: #44
This commit is contained in:
parent
5adbac1a25
commit
c7ddbc4aef
2 changed files with 14 additions and 7 deletions
|
@ -4,21 +4,30 @@
|
||||||
"errors": 0,
|
"errors": 0,
|
||||||
"messages": [
|
"messages": [
|
||||||
{
|
{
|
||||||
"column": 63,
|
"column": 53,
|
||||||
"fixable": false,
|
"fixable": false,
|
||||||
"line": 22,
|
"line": 22,
|
||||||
"message": "Legacy extension are not allowed; found \"perm\"",
|
"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,
|
"severity": 5,
|
||||||
"source": "Typo3Update.Removed.ExtensionKey.legacyKey",
|
"source": "Typo3Update.Removed.Extension.perm",
|
||||||
|
"type": "WARNING"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"column": 53,
|
||||||
|
"fixable": false,
|
||||||
|
"line": 23,
|
||||||
|
"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.Removed.Extension.perm",
|
||||||
"type": "WARNING"
|
"type": "WARNING"
|
||||||
}
|
}
|
||||||
],
|
],
|
||||||
"warnings": 1
|
"warnings": 2
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
"totals": {
|
"totals": {
|
||||||
"errors": 0,
|
"errors": 0,
|
||||||
"fixable": 0,
|
"fixable": 0,
|
||||||
"warnings": 1
|
"warnings": 2
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
@ -19,7 +19,5 @@
|
||||||
* 02110-1301, USA.
|
* 02110-1301, USA.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
use TYPO3\CMS\Perm\Controller\PermissionModuleController;
|
|
||||||
|
|
||||||
\TYPO3\CMS\Core\Utility\ExtensionManagementUtility::isLoaded('perm');
|
\TYPO3\CMS\Core\Utility\ExtensionManagementUtility::isLoaded('perm');
|
||||||
\TYPO3\CMS\Core\Utility\ExtensionManagementUtility::extRelPath('perm');
|
\TYPO3\CMS\Core\Utility\ExtensionManagementUtility::extRelPath('perm');
|
||||||
|
|
Loading…
Reference in a new issue