mirror of
https://github.com/joomla-extensions/jedchecker.git
synced 2024-12-03 18:38:30 +00:00
Typos / Joomla! code style fixes
This commit is contained in:
parent
fb16f918d3
commit
7dd70628e0
@ -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
|
||||
*
|
||||
@ -231,7 +231,7 @@ class JedcheckerRulesFramework extends JEDcheckerRule
|
||||
{
|
||||
$origLine = $origContent[$line_number];
|
||||
|
||||
foreach ($testObject->tests AS $singleTest)
|
||||
foreach ($testObject->tests as $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:
|
||||
* COM_JEDCHECKER_ERROR_NOFRAMEWOR_SOMEKEY
|
||||
*
|
||||
* @return boolean
|
||||
* @return array
|
||||
*/
|
||||
private function getTests()
|
||||
{
|
||||
@ -300,7 +300,7 @@ class JedcheckerRulesFramework extends JEDcheckerRule
|
||||
|
||||
foreach ($testNames as $test)
|
||||
{
|
||||
foreach ( explode(",", $this->params->get($test . '_groups')) as $group)
|
||||
foreach (explode(",", $this->params->get($test . '_groups')) as $group)
|
||||
{
|
||||
$newTest = new stdClass;
|
||||
$newTest->group = $group;
|
||||
|
Loading…
Reference in New Issue
Block a user