TASK: Update InlineCommentSniff tests to reflect added removed extension

Relates: #44
This commit is contained in:
Daniel Siepmann 2017-05-09 12:12:46 +02:00
parent 27864c70a1
commit 84e4c426ef
Signed by: Daniel Siepmann
GPG key ID: 33D6629915560EF4
3 changed files with 52 additions and 4 deletions

View file

@ -19,5 +19,5 @@
- // @var Tx_Extbase_Command_HelpCommandController $variable
+ // @var \TYPO3\CMS\Extbase\Command\HelpCommandController $variable
$variable;
}
}
/* @var $variable TYPO3\CMS\Perm\Controller\PermissionAjaxController */

View file

@ -38,14 +38,50 @@
"severity": 5,
"source": "Typo3Update.Classname.InlineComment.legacyClassname",
"type": "ERROR"
},
{
"column": 9,
"fixable": false,
"line": 38,
"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.InlineComment.RemovedExtension.perm",
"type": "WARNING"
},
{
"column": 9,
"fixable": false,
"line": 41,
"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.InlineComment.RemovedExtension.perm",
"type": "WARNING"
},
{
"column": 9,
"fixable": false,
"line": 44,
"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.InlineComment.RemovedExtension.perm",
"type": "WARNING"
},
{
"column": 9,
"fixable": false,
"line": 47,
"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.InlineComment.RemovedExtension.perm",
"type": "WARNING"
}
],
"warnings": 0
"warnings": 4
}
},
"totals": {
"errors": 4,
"fixable": 4,
"warnings": 0
"warnings": 4
}
}

View file

@ -34,5 +34,17 @@ class InputFileForIssues
// @var Tx_Extbase_Command_HelpCommandController $variable
$variable;
/* @var $variable TYPO3\CMS\Perm\Controller\PermissionAjaxController */
$variable;
// @var $variable \TYPO3\CMS\Perm\Controller\PermissionAjaxController
$variable;
/* @var \TYPO3\CMS\Perm\Controller\PermissionAjaxController $variable */
$variable;
// @var TYPO3\CMS\Perm\Controller\PermissionAjaxController $variable
$variable;
}
}