33
2
mirror of https://github.com/joomla-extensions/jedchecker.git synced 2024-11-27 23:36:38 +00:00

Joomla!4 compatibility

This commit is contained in:
Denis Ryabov 2021-02-13 23:53:09 +03:00
parent 46ec8bd40a
commit 329df98562
4 changed files with 16 additions and 4 deletions

View File

@ -111,7 +111,7 @@ class JedcheckerRulesXMLManifest extends JEDcheckerRule
*/
protected function find($file)
{
$xml = JFactory::getXml($file);
$xml = simplexml_load_file($file);
// Failed to parse the xml file.
// Assume that this is not a extension manifest

View File

@ -21,7 +21,8 @@
"administration": "?",
"updateservers": "!",
"config": "?",
"dlid": "?"
"dlid": "?",
"namespace": "?"
},
"administration": {
"menu": "=",
@ -115,6 +116,9 @@
"priority",
"type"
],
"namespace": [
"path"
],
"params": [
"addParameterDir"
],

View File

@ -20,7 +20,8 @@
"media": "?",
"updateservers": "!",
"config": "?",
"dlid": "?"
"dlid": "?",
"namespace": "?"
},
"files": {
"filename": "*",
@ -96,6 +97,9 @@
"priority",
"type"
],
"namespace": [
"path"
],
"fields": [
"addfieldpath",
"name"

View File

@ -20,7 +20,8 @@
"media": "?",
"updateservers": "!",
"config": "?",
"dlid": "?"
"dlid": "?",
"namespace": "?"
},
"files": {
"filename": "*",
@ -97,6 +98,9 @@
"priority",
"type"
],
"namespace": [
"path"
],
"fields": [
"addfieldpath",
"name"