33
2
mirror of https://github.com/joomla-extensions/jedchecker.git synced 2024-12-04 02:48:25 +00:00

Typos / Joomla! code style fixes

This commit is contained in:
Denis Ryabov 2021-04-04 13:36:35 +03:00
parent fb16f918d3
commit 7dd70628e0

View File

@ -71,7 +71,7 @@ class JedcheckerRulesFramework extends JEDcheckerRule
} }
/** /**
* Check if the given resourse is part * Check if the given resource is a leftover folder
* *
* @param string $file The file name to test * @param string $file The file name to test
* *
@ -231,7 +231,7 @@ class JedcheckerRulesFramework extends JEDcheckerRule
{ {
$origLine = $origContent[$line_number]; $origLine = $origContent[$line_number];
foreach ($testObject->tests AS $singleTest) foreach ($testObject->tests as $singleTest)
{ {
$regex = preg_quote($singleTest, '/'); $regex = preg_quote($singleTest, '/');
@ -288,7 +288,7 @@ class JedcheckerRulesFramework extends JEDcheckerRule
* BUT MAKE SURE that you add the relevant key to the translation files: * BUT MAKE SURE that you add the relevant key to the translation files:
* COM_JEDCHECKER_ERROR_NOFRAMEWOR_SOMEKEY * COM_JEDCHECKER_ERROR_NOFRAMEWOR_SOMEKEY
* *
* @return boolean * @return array
*/ */
private function getTests() private function getTests()
{ {