33
2
mirror of https://github.com/joomla-extensions/jedchecker.git synced 2024-11-28 07:46:34 +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) protected function find($file)
{ {
$xml = JFactory::getXml($file); $xml = simplexml_load_file($file);
// Failed to parse the xml file. // Failed to parse the xml file.
// Assume that this is not a extension manifest // Assume that this is not a extension manifest

View File

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

View File

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

View File

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