Skip to content

Commit a44f648

Browse files
committed
removed includes
1 parent 5b28843 commit a44f648

18 files changed

+3
-34
lines changed

lib/command/cli.php

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,6 @@
1717

1818
// Fall back to classic Symfony loading
1919
if (!file_exists($autoload)) {
20-
require_once __DIR__.'/../autoload/sfCoreAutoload.class.php';
2120
sfCoreAutoload::register();
2221
} else {
2322
require_once $autoload;

lib/task/generator/skeleton/app/web/index.php

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,7 @@
22

33
##IP_CHECK##
44
require_once(__DIR__.'/../config/ProjectConfiguration.class.php');
5+
require_once(__DIR__.'/../vendor/autoload.php');
56

67
$configuration = ProjectConfiguration::getApplicationConfiguration('##APP_NAME##', '##ENVIRONMENT##', ##IS_DEBUG##);
78
sfContext::createInstance($configuration)->dispatch();

lib/task/generator/skeleton/project/symfony

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,11 +4,12 @@
44
/*
55
* This file is part of the symfony package.
66
* (c) Fabien Potencier <fabien.potencier@symfony-project.com>
7-
*
7+
*
88
* For the full copyright and license information, please view the LICENSE
99
* file that was distributed with this source code.
1010
*/
1111

1212
chdir(__DIR__);
1313
require_once(__DIR__.'/config/ProjectConfiguration.class.php');
14+
require_once(__DIR__.'/vendor/autoload.php');
1415
include(sfCoreAutoload::getInstance()->getBaseDir().'/command/cli.php');

lib/task/plugin/sfPluginAddChannelTask.class.php

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -8,8 +8,6 @@
88
* file that was distributed with this source code.
99
*/
1010

11-
require_once __DIR__.'/sfPluginBaseTask.class.php';
12-
1311
/**
1412
* Installs a plugin.
1513
*

lib/task/plugin/sfPluginInstallTask.class.php

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -8,8 +8,6 @@
88
* file that was distributed with this source code.
99
*/
1010

11-
require_once __DIR__.'/sfPluginBaseTask.class.php';
12-
1311
/**
1412
* Installs a plugin.
1513
*

lib/task/plugin/sfPluginListTask.class.php

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -8,8 +8,6 @@
88
* file that was distributed with this source code.
99
*/
1010

11-
require_once __DIR__.'/sfPluginBaseTask.class.php';
12-
1311
/**
1412
* Lists installed plugins.
1513
*

lib/task/plugin/sfPluginPublishAssetsTask.class.php

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -8,8 +8,6 @@
88
* file that was distributed with this source code.
99
*/
1010

11-
require_once __DIR__.'/sfPluginBaseTask.class.php';
12-
1311
/**
1412
* Publishes Web Assets for Core and third party plugins.
1513
*

lib/task/plugin/sfPluginUninstallTask.class.php

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -8,8 +8,6 @@
88
* file that was distributed with this source code.
99
*/
1010

11-
require_once __DIR__.'/sfPluginBaseTask.class.php';
12-
1311
/**
1412
* Uninstall a plugin.
1513
*

lib/task/plugin/sfPluginUpgradeTask.class.php

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -8,8 +8,6 @@
88
* file that was distributed with this source code.
99
*/
1010

11-
require_once __DIR__.'/sfPluginBaseTask.class.php';
12-
1311
/**
1412
* Upgrades a plugin.
1513
*

lib/task/symfony/sfSymfonyTestTask.class.php

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -43,12 +43,9 @@ protected function configure()
4343
*/
4444
protected function execute($arguments = [], $options = [])
4545
{
46-
require_once __DIR__.'/../../vendor/lime/lime.php';
47-
4846
require_once __DIR__.'/lime_symfony.php';
4947

5048
// cleanup
51-
require_once __DIR__.'/../../util/sfToolkit.class.php';
5249
if ($files = glob(sys_get_temp_dir().DIRECTORY_SEPARATOR.'/sf_autoload_unit_*')) {
5350
foreach ($files as $file) {
5451
unlink($file);
@@ -57,7 +54,6 @@ protected function execute($arguments = [], $options = [])
5754

5855
// update sfCoreAutoload
5956
if ($options['update-autoloader']) {
60-
require_once __DIR__.'/../../autoload/sfCoreAutoload.class.php';
6157
sfCoreAutoload::make();
6258
}
6359

0 commit comments

Comments
 (0)