Skip to content

Commit

Permalink
[PSR-2] Add new line at the end of every files
Browse files Browse the repository at this point in the history
Use php-cs-fixer with `eof_ending` fixer
  • Loading branch information
julienbourdeau committed Jul 6, 2015
1 parent 97df43e commit 7285e42
Show file tree
Hide file tree
Showing 832 changed files with 768 additions and 758 deletions.
2 changes: 1 addition & 1 deletion Adapter/Adapter_Exception.php
Original file line number Diff line number Diff line change
Expand Up @@ -26,4 +26,4 @@

class Adapter_Exception extends Core_Foundation_Exception_Exception
{
}
}
2 changes: 1 addition & 1 deletion Core/Business/CMS/Core_Business_CMS_CMSRoleRepository.php
Original file line number Diff line number Diff line change
Expand Up @@ -41,4 +41,4 @@ public function getCMSRolesAssociated()
}


}
}
2 changes: 1 addition & 1 deletion Core/Business/Email/Core_Business_Email_EmailLister.php
Original file line number Diff line number Diff line change
Expand Up @@ -89,4 +89,4 @@ public function getCleanedMailName($mail_name)

return ucfirst(str_replace(array('_', '-'), ' ', $mail_name));
}
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -26,4 +26,4 @@

class Core_Foundation_Database_Exception extends Core_Foundation_Exception_Exception
{
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -30,4 +30,4 @@ public function __construct($message = null, $code = 0, Exception $previous = nu
{
parent::__construct($message, $code, $previous);
}
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -26,4 +26,4 @@

class Core_Foundation_FileSystem_Exception extends Core_Foundation_Exception_Exception
{
}
}
2 changes: 1 addition & 1 deletion admin-dev/autoupgrade/index.php
Original file line number Diff line number Diff line change
Expand Up @@ -32,4 +32,4 @@
header('Pragma: no-cache');

header('Location: ../../');
exit;
exit;
2 changes: 1 addition & 1 deletion admin-dev/cron_currency_rates.php
Original file line number Diff line number Diff line change
Expand Up @@ -40,4 +40,4 @@
Currency::refreshCurrencies();
}
}
}
}
2 changes: 1 addition & 1 deletion admin-dev/footer.inc.php
Original file line number Diff line number Diff line change
Expand Up @@ -25,4 +25,4 @@
*/
$dir = Context::getContext()->smarty->getTemplateDir(0).'controllers'.DIRECTORY_SEPARATOR.trim($con->override_folder, '\\/').DIRECTORY_SEPARATOR;
$footer_tpl = file_exists($dir.'footer.tpl') ? $dir.'footer.tpl' : 'footer.tpl';
echo Context::getContext()->smarty->fetch($footer_tpl);
echo Context::getContext()->smarty->fetch($footer_tpl);
2 changes: 1 addition & 1 deletion admin-dev/header.inc.php
Original file line number Diff line number Diff line change
Expand Up @@ -50,4 +50,4 @@
'toolbar_btn' => array()
));
echo Context::getContext()->smarty->fetch($header_tpl);
echo Context::getContext()->smarty->fetch($tool_tpl);
echo Context::getContext()->smarty->fetch($tool_tpl);
2 changes: 1 addition & 1 deletion admin-dev/login.php
Original file line number Diff line number Diff line change
Expand Up @@ -24,4 +24,4 @@
* International Registered Trademark & Property of PrestaShop SA
*/

header('Location: index.php?controller=AdminLogin');
header('Location: index.php?controller=AdminLogin');
2 changes: 1 addition & 1 deletion admin-dev/password.php
Original file line number Diff line number Diff line change
Expand Up @@ -23,4 +23,4 @@
* @license http://opensource.org/licenses/osl-3.0.php Open Software License (OSL 3.0)
* International Registered Trademark & Property of PrestaShop SA
*/
header('Location: index.php?controller=AdminLogin');
header('Location: index.php?controller=AdminLogin');
2 changes: 1 addition & 1 deletion admin-dev/tabs/index.php
Original file line number Diff line number Diff line change
Expand Up @@ -32,4 +32,4 @@
header("Pragma: no-cache");

header("Location: ../");
exit;
exit;
2 changes: 1 addition & 1 deletion admin-dev/themes/default/css/index.php
Original file line number Diff line number Diff line change
Expand Up @@ -32,4 +32,4 @@
header("Pragma: no-cache");

header("Location: ../");
exit;
exit;
2 changes: 1 addition & 1 deletion admin-dev/themes/default/img/index.php
Original file line number Diff line number Diff line change
Expand Up @@ -32,4 +32,4 @@
header("Pragma: no-cache");

header("Location: ../");
exit;
exit;
2 changes: 1 addition & 1 deletion admin-dev/themes/default/index.php
Original file line number Diff line number Diff line change
Expand Up @@ -32,4 +32,4 @@
header("Pragma: no-cache");

header("Location: ../");
exit;
exit;
2 changes: 1 addition & 1 deletion admin-dev/themes/default/sass/index.php
Original file line number Diff line number Diff line change
Expand Up @@ -32,4 +32,4 @@
header("Pragma: no-cache");

header("Location: ../");
exit;
exit;
2 changes: 1 addition & 1 deletion admin-dev/themes/default/sass/modules/index.php
Original file line number Diff line number Diff line change
Expand Up @@ -32,4 +32,4 @@
header("Pragma: no-cache");

header("Location: ../");
exit;
exit;
2 changes: 1 addition & 1 deletion admin-dev/themes/default/sass/partials/index.php
Original file line number Diff line number Diff line change
Expand Up @@ -32,4 +32,4 @@
header("Pragma: no-cache");

header("Location: ../");
exit;
exit;
Original file line number Diff line number Diff line change
Expand Up @@ -32,4 +32,4 @@
header('Pragma: no-cache');

header('Location: ../../../../../../../../');
exit;
exit;
Original file line number Diff line number Diff line change
Expand Up @@ -32,4 +32,4 @@
header('Pragma: no-cache');

header('Location: ../../../../../../../');
exit;
exit;
Original file line number Diff line number Diff line change
Expand Up @@ -32,4 +32,4 @@
header('Pragma: no-cache');

header('Location: ../../../../../../');
exit;
exit;
Original file line number Diff line number Diff line change
Expand Up @@ -32,4 +32,4 @@
header('Pragma: no-cache');

header('Location: ../../../../../../');
exit;
exit;
Original file line number Diff line number Diff line change
Expand Up @@ -32,4 +32,4 @@
header('Pragma: no-cache');

header('Location: ../../../../../../../../');
exit;
exit;
Original file line number Diff line number Diff line change
Expand Up @@ -32,4 +32,4 @@
header('Pragma: no-cache');

header('Location: ../../../../../../../');
exit;
exit;
Original file line number Diff line number Diff line change
Expand Up @@ -32,4 +32,4 @@
header('Pragma: no-cache');

header('Location: ../../../../../../../../');
exit;
exit;
Original file line number Diff line number Diff line change
Expand Up @@ -32,4 +32,4 @@
header('Pragma: no-cache');

header('Location: ../../../../../../');
exit;
exit;
Original file line number Diff line number Diff line change
Expand Up @@ -32,4 +32,4 @@
header('Pragma: no-cache');

header('Location: ../../../../../../');
exit;
exit;
Original file line number Diff line number Diff line change
Expand Up @@ -32,4 +32,4 @@
header('Pragma: no-cache');

header('Location: ../../../../../../');
exit;
exit;
Original file line number Diff line number Diff line change
Expand Up @@ -32,4 +32,4 @@
header('Pragma: no-cache');

header('Location: ../../../../../../../../');
exit;
exit;
Original file line number Diff line number Diff line change
Expand Up @@ -32,4 +32,4 @@
header('Pragma: no-cache');

header('Location: ../../../../../../../');
exit;
exit;
Original file line number Diff line number Diff line change
Expand Up @@ -32,4 +32,4 @@
header('Pragma: no-cache');

header('Location: ../../../../../../');
exit;
exit;
Original file line number Diff line number Diff line change
Expand Up @@ -32,4 +32,4 @@
header('Pragma: no-cache');

header('Location: ../../../../../../../../');
exit;
exit;
Original file line number Diff line number Diff line change
Expand Up @@ -32,4 +32,4 @@
header('Pragma: no-cache');

header('Location: ../../../../../../../');
exit;
exit;
Original file line number Diff line number Diff line change
Expand Up @@ -32,4 +32,4 @@
header('Pragma: no-cache');

header('Location: ../../../../../../../../');
exit;
exit;
Original file line number Diff line number Diff line change
Expand Up @@ -32,4 +32,4 @@
header('Pragma: no-cache');

header('Location: ../../../../../../../../');
exit;
exit;
Original file line number Diff line number Diff line change
Expand Up @@ -32,4 +32,4 @@
header('Pragma: no-cache');

header('Location: ../../../../../../');
exit;
exit;
Original file line number Diff line number Diff line change
Expand Up @@ -32,4 +32,4 @@
header('Pragma: no-cache');

header('Location: ../../../../../../../');
exit;
exit;
Original file line number Diff line number Diff line change
Expand Up @@ -32,4 +32,4 @@
header('Pragma: no-cache');

header('Location: ../../../../../../../');
exit;
exit;
Original file line number Diff line number Diff line change
Expand Up @@ -32,4 +32,4 @@
header('Pragma: no-cache');

header('Location: ../../../../../../../../');
exit;
exit;
Original file line number Diff line number Diff line change
Expand Up @@ -32,4 +32,4 @@
header('Pragma: no-cache');

header('Location: ../../../../../../../../');
exit;
exit;
Original file line number Diff line number Diff line change
Expand Up @@ -32,4 +32,4 @@
header('Pragma: no-cache');

header('Location: ../../../../../../');
exit;
exit;
Original file line number Diff line number Diff line change
Expand Up @@ -32,4 +32,4 @@
header('Pragma: no-cache');

header('Location: ../../../../../../../../');
exit;
exit;
Original file line number Diff line number Diff line change
Expand Up @@ -32,4 +32,4 @@
header('Pragma: no-cache');

header('Location: ../../../../../../../');
exit;
exit;
Original file line number Diff line number Diff line change
Expand Up @@ -32,4 +32,4 @@
header('Pragma: no-cache');

header('Location: ../../../../../../../../');
exit;
exit;
Original file line number Diff line number Diff line change
Expand Up @@ -32,4 +32,4 @@
header('Pragma: no-cache');

header('Location: ../../../../../../../../');
exit;
exit;
Original file line number Diff line number Diff line change
Expand Up @@ -32,4 +32,4 @@
header('Pragma: no-cache');

header('Location: ../../../../../../../');
exit;
exit;
Original file line number Diff line number Diff line change
Expand Up @@ -32,4 +32,4 @@
header('Pragma: no-cache');

header('Location: ../../../../../../');
exit;
exit;
Original file line number Diff line number Diff line change
Expand Up @@ -32,4 +32,4 @@
header('Pragma: no-cache');

header('Location: ../../../../../../../');
exit;
exit;
Original file line number Diff line number Diff line change
Expand Up @@ -32,4 +32,4 @@
header('Pragma: no-cache');

header('Location: ../../../../../../../../');
exit;
exit;
Original file line number Diff line number Diff line change
Expand Up @@ -32,4 +32,4 @@
header('Pragma: no-cache');

header('Location: ../../../../../../');
exit;
exit;
Original file line number Diff line number Diff line change
Expand Up @@ -32,4 +32,4 @@
header('Pragma: no-cache');

header('Location: ../../../../../../../');
exit;
exit;
Original file line number Diff line number Diff line change
Expand Up @@ -32,4 +32,4 @@
header('Pragma: no-cache');

header('Location: ../../../../../../../../');
exit;
exit;
Original file line number Diff line number Diff line change
Expand Up @@ -32,4 +32,4 @@
header('Pragma: no-cache');

header('Location: ../../../../../../');
exit;
exit;
Original file line number Diff line number Diff line change
Expand Up @@ -32,4 +32,4 @@
header('Pragma: no-cache');

header('Location: ../../../../../../../../');
exit;
exit;
Original file line number Diff line number Diff line change
Expand Up @@ -32,4 +32,4 @@
header('Pragma: no-cache');

header('Location: ../../../../../../../');
exit;
exit;
Original file line number Diff line number Diff line change
Expand Up @@ -32,4 +32,4 @@
header('Pragma: no-cache');

header('Location: ../../../../../../../../');
exit;
exit;
Loading

0 comments on commit 7285e42

Please sign in to comment.