33
2
mirror of https://github.com/joomla-extensions/jedchecker.git synced 2024-12-31 21:51:46 +00:00

add comment line

This commit is contained in:
Denis Ryabov 2021-05-11 23:32:32 +03:00
parent 469a89a434
commit bd9b9bb0ed

View File

@ -192,6 +192,7 @@ class JedcheckerRulesXMLinfo extends JEDcheckerRule
$this->report->addWarning($file, JText::sprintf('COM_JEDCHECKER_INFO_XML_NAME_TOO_LONG', $extensionName));
}
// Validate URLs
$this->validateDomain($file, (string) $xml->authorUrl);
if ($type === 'package' && (string) $xml->packagerurl !== (string) $xml->authorUrl)