33
2
mirror of https://github.com/joomla-extensions/jedchecker.git synced 2024-11-30 16:53:59 +00:00

Merge PR #134 into develop

This commit is contained in:
Llewellyn van der Merwe 2021-09-01 10:15:02 +02:00
commit f24e6e82b8
Signed by: Llewellyn
GPG Key ID: EFC0C720A240551C

View File

@ -212,6 +212,17 @@ class JedcheckerRulesXMLFiles extends JEDcheckerRule
$this->checkFolders($node->folder, $dir);
}
// Check: api files[folder] (filename|file|folder)*
if (isset($xml->api->files))
{
$node = $xml->api->files;
$dir = $this->getSourceFolder($node);
$this->checkFiles($node->filename, $dir);
$this->checkFiles($node->file, $dir);
$this->checkFolders($node->folder, $dir);
}
// Check file: scriptfile
if (isset($xml->scriptfile))
{