1
0
mirror of https://github.com/flextype/flextype.git synced 2025-08-10 15:14:20 +02:00

refactor(core): code formating and refactoring

This commit is contained in:
Awilum
2020-12-06 21:57:58 +03:00
parent 644d79bcf6
commit 3e0248dcb7
16 changed files with 273 additions and 294 deletions

View File

@@ -44,7 +44,7 @@ version_compare($ver = PHP_VERSION, $req = FLEXTYPE_MINIMUM_PHP, '<') and exit(s
/**
* Ensure vendor libraries exist
*/
! is_file($flextype_autoload = __DIR__ . '/vendor/autoload.php') and exit('Please run: <i>composer install</i> for flextype');
! is_file($flextypeAutoload = __DIR__ . '/vendor/autoload.php') and exit('Please run: <i>composer install</i> for flextype');
/**
* Register The Auto Loader
@@ -55,7 +55,7 @@ version_compare($ver = PHP_VERSION, $req = FLEXTYPE_MINIMUM_PHP, '<') and exit(s
* loading any of our classes later on. It feels nice to relax.
* Register The Auto Loader
*/
$flextype_loader = require_once $flextype_autoload;
$flextypeLoader = require_once $flextypeAutoload;
/**
* Bootstraps the Flextype