Skip to content

Commit

Permalink
removed includes
Browse files Browse the repository at this point in the history
  • Loading branch information
connorhu committed Apr 4, 2024
1 parent fab62c7 commit 1b271a4
Show file tree
Hide file tree
Showing 11 changed files with 0 additions and 74 deletions.
4 changes: 0 additions & 4 deletions test/bin/coverage.php
Original file line number Diff line number Diff line change
Expand Up @@ -16,10 +16,6 @@
$verbose = true;
}

require_once __DIR__.'/../../lib/vendor/lime/lime.php';

require_once __DIR__.'/../../lib/util/sfFinder.class.php';

$h = new lime_harness();
$h->base_dir = realpath(__DIR__.'/..');

Expand Down
5 changes: 0 additions & 5 deletions test/bin/loc.php
Original file line number Diff line number Diff line change
Expand Up @@ -2,11 +2,6 @@

$root_dir = realpath(__DIR__.'/../..');

require_once $root_dir.'/lib/vendor/lime/lime.php';

require_once $root_dir.'/lib/util/sfFinder.class.php';

require_once $root_dir.'/lib/autoload/sfCoreAutoload.class.php';
$version = SYMFONY_VERSION;

printf("symfony LOC (%s)\n", $version);
Expand Down
5 changes: 0 additions & 5 deletions test/bootstrap/unit.php
Original file line number Diff line number Diff line change
Expand Up @@ -18,15 +18,10 @@

$_test_dir = realpath(__DIR__.'/..');

require_once $_test_dir.'/../lib/vendor/lime/lime.php';

require_once $_test_dir.'/../lib/config/sfConfig.class.php';
sfConfig::set('sf_symfony_lib_dir', realpath($_test_dir.'/../lib'));

require_once __DIR__.'/../../lib/autoload/sfCoreAutoload.class.php';
sfCoreAutoload::register();

require_once __DIR__.'/../../lib/util/sfToolkit.class.php';
sfConfig::set('sf_test_cache_dir', sys_get_temp_dir().'/sf_test_project');

// remove all test cache
Expand Down
4 changes: 0 additions & 4 deletions test/other/tasksTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -2,10 +2,6 @@

$_test_dir = realpath(__DIR__.'/..');

require_once $_test_dir.'/../lib/vendor/lime/lime.php';

require_once $_test_dir.'/../lib/util/sfToolkit.class.php';

define('DS', DIRECTORY_SEPARATOR);

class sf_test_project
Expand Down
15 changes: 0 additions & 15 deletions test/unit/escaper/sfOutputEscaperArrayDecoratorTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -8,21 +8,6 @@
* file that was distributed with this source code.
*/

require_once __DIR__.'/../../../lib/vendor/lime/lime.php';

require_once __DIR__.'/../../../lib/escaper/sfOutputEscaper.class.php';

require_once __DIR__.'/../../../lib/escaper/sfOutputEscaperGetterDecorator.class.php';

require_once __DIR__.'/../../../lib/escaper/sfOutputEscaperArrayDecorator.class.php';

require_once __DIR__.'/../../../lib/escaper/sfOutputEscaperObjectDecorator.class.php';

require_once __DIR__.'/../../../lib/escaper/sfOutputEscaperIteratorDecorator.class.php';

require_once __DIR__.'/../../../lib/helper/EscapingHelper.php';

require_once __DIR__.'/../../../lib/config/sfConfig.class.php';

class sfException extends Exception
{
Expand Down
15 changes: 0 additions & 15 deletions test/unit/escaper/sfOutputEscaperObjectDecoratorTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -8,21 +8,6 @@
* file that was distributed with this source code.
*/

require_once __DIR__.'/../../../lib/vendor/lime/lime.php';

require_once __DIR__.'/../../../lib/escaper/sfOutputEscaper.class.php';

require_once __DIR__.'/../../../lib/escaper/sfOutputEscaperGetterDecorator.class.php';

require_once __DIR__.'/../../../lib/escaper/sfOutputEscaperArrayDecorator.class.php';

require_once __DIR__.'/../../../lib/escaper/sfOutputEscaperObjectDecorator.class.php';

require_once __DIR__.'/../../../lib/escaper/sfOutputEscaperIteratorDecorator.class.php';

require_once __DIR__.'/../../../lib/helper/EscapingHelper.php';

require_once __DIR__.'/../../../lib/config/sfConfig.class.php';

class sfException extends Exception
{
Expand Down
5 changes: 0 additions & 5 deletions test/unit/escaper/sfOutputEscaperSafeTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -8,11 +8,6 @@
* file that was distributed with this source code.
*/

require_once __DIR__.'/../../../lib/vendor/lime/lime.php';

require_once __DIR__.'/../../../lib/helper/EscapingHelper.php';

require_once __DIR__.'/../../../lib/escaper/sfOutputEscaperSafe.class.php';

$t = new lime_test(13);

Expand Down
17 changes: 0 additions & 17 deletions test/unit/escaper/sfOutputEscaperTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -8,23 +8,6 @@
* file that was distributed with this source code.
*/

require_once __DIR__.'/../../../lib/vendor/lime/lime.php';

require_once __DIR__.'/../../../lib/escaper/sfOutputEscaper.class.php';

require_once __DIR__.'/../../../lib/escaper/sfOutputEscaperGetterDecorator.class.php';

require_once __DIR__.'/../../../lib/escaper/sfOutputEscaperArrayDecorator.class.php';

require_once __DIR__.'/../../../lib/escaper/sfOutputEscaperObjectDecorator.class.php';

require_once __DIR__.'/../../../lib/escaper/sfOutputEscaperIteratorDecorator.class.php';

require_once __DIR__.'/../../../lib/escaper/sfOutputEscaperSafe.class.php';

require_once __DIR__.'/../../../lib/helper/EscapingHelper.php';

require_once __DIR__.'/../../../lib/config/sfConfig.class.php';

sfConfig::set('sf_charset', 'UTF-8');

Expand Down
1 change: 0 additions & 1 deletion test/unit/storage/sfCacheSessionStorageTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,6 @@

$_test_dir = realpath(__DIR__.'/../../');

require_once $_test_dir.'/../lib/vendor/lime/lime.php';

sfConfig::set('sf_symfony_lib_dir', realpath($_test_dir.'/../lib'));

Expand Down
1 change: 0 additions & 1 deletion test/unit/storage/sfSessionStorageTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,6 @@

$_test_dir = realpath(__DIR__.'/../../');

require_once $_test_dir.'/../lib/vendor/lime/lime.php';

sfConfig::set('sf_symfony_lib_dir', realpath($_test_dir.'/../lib'));

Expand Down
2 changes: 0 additions & 2 deletions test/unit/task/sfBaseTaskTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -10,8 +10,6 @@

include __DIR__.'/../../bootstrap/unit.php';

require_once sfConfig::get('sf_symfony_lib_dir').'/vendor/lime/lime.php';

class TestTask extends sfBaseTask
{
public function reloadAutoload()
Expand Down

0 comments on commit 1b271a4

Please sign in to comment.