BUGFIX: Fix identifier for removed extension

* Due to copy and paste the identifier was not indicating a removed
  extension.
* Identifier and tests were adjusted accordingly.

Relates: #44
This commit is contained in:
Daniel Siepmann 2017-05-09 11:33:55 +02:00
parent 9b028d24e6
commit d38ce3dc41
Signed by: Daniel Siepmann
GPG key ID: 33D6629915560EF4
7 changed files with 12 additions and 12 deletions

View file

@ -55,7 +55,7 @@ class RemovedExtensionFeature extends AbstractYamlRemovedUsage
foreach ($typo3Versions as $typo3Version => $removals) {
foreach ($removals as $removed => $config) {
$config['name'] = $removed;
$config['identifier'] = 'RemovedClass.' . str_replace('\\', '_', ltrim($removed, '\\'));
$config['identifier'] = 'RemovedExtension.' . str_replace('\\', '_', ltrim($removed, '\\'));
$config['versionRemoved'] = $typo3Version;
$config['oldUsage'] = $removed;

View file

@ -45,7 +45,7 @@
"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.IsACall.RemovedClass.perm",
"source": "Typo3Update.Classname.IsACall.RemovedExtension.perm",
"type": "WARNING"
}
],

View file

@ -36,7 +36,7 @@
"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.PhpDocComment.RemovedClass.perm",
"source": "Typo3Update.Classname.PhpDocComment.RemovedExtension.perm",
"type": "WARNING"
},
{

View file

@ -63,7 +63,7 @@
"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.StaticCall.RemovedClass.perm",
"source": "Typo3Update.Classname.StaticCall.RemovedExtension.perm",
"type": "WARNING"
},
{
@ -72,7 +72,7 @@
"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.StaticCall.RemovedClass.perm",
"source": "Typo3Update.Classname.StaticCall.RemovedExtension.perm",
"type": "WARNING"
}
],

View file

@ -27,7 +27,7 @@
"line": 48,
"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.TypeHintCatchException.RemovedClass.perm",
"source": "Typo3Update.Classname.TypeHintCatchException.RemovedExtension.perm",
"type": "WARNING"
}
],

View file

@ -63,7 +63,7 @@
"line": 63,
"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.TypeHint.RemovedClass.perm",
"source": "Typo3Update.Classname.TypeHint.RemovedExtension.perm",
"type": "WARNING"
},
{
@ -72,7 +72,7 @@
"line": 63,
"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.TypeHint.RemovedClass.perm",
"source": "Typo3Update.Classname.TypeHint.RemovedExtension.perm",
"type": "WARNING"
},
{
@ -81,7 +81,7 @@
"line": 66,
"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.TypeHint.RemovedClass.perm",
"source": "Typo3Update.Classname.TypeHint.RemovedExtension.perm",
"type": "WARNING"
}
],

View file

@ -27,7 +27,7 @@
"line": 26,
"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.Use.RemovedClass.perm",
"source": "Typo3Update.Classname.Use.RemovedExtension.perm",
"type": "WARNING"
},
{
@ -36,7 +36,7 @@
"line": 27,
"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.Use.RemovedClass.perm",
"source": "Typo3Update.Classname.Use.RemovedExtension.perm",
"type": "WARNING"
},
{
@ -45,7 +45,7 @@
"line": 28,
"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.Use.RemovedClass.perm",
"source": "Typo3Update.Classname.Use.RemovedExtension.perm",
"type": "WARNING"
}
],