Skip to content
This repository has been archived by the owner on Aug 10, 2022. It is now read-only.

Commit

Permalink
Updated to core:v1.1
Browse files Browse the repository at this point in the history
  • Loading branch information
szytko committed Feb 25, 2015
1 parent c29e54f commit 8258415
Show file tree
Hide file tree
Showing 10 changed files with 12 additions and 12 deletions.
4 changes: 2 additions & 2 deletions src/Task/GeneratorTaskAbstract.php
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@
use Vegas\ApiDoc\Benchmark;
use Vegas\ApiDoc\Generator;
use Vegas\ApiDoc\Renderer;
use Vegas\Cli\Task;
use Vegas\Cli\TaskAbstract;
use Vegas\Cli\Task\Action;

/**
Expand All @@ -25,7 +25,7 @@
*
* @package Vegas\ApiDoc\Task
*/
abstract class GeneratorTaskAbstract extends Task
abstract class GeneratorTaskAbstract extends TaskAbstract
{

/**
Expand Down
4 changes: 2 additions & 2 deletions tests/TestCase.php
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@
use Phalcon\DI;
use Vegas\Mvc\Application;
use Vegas\Mvc\Controller\Crud;
use Vegas\Mvc\Module\ModuleLoader;
use Vegas\Mvc\Module\Loader as ModuleLoader;

class TestCase extends \PHPUnit_Framework_TestCase
{
Expand All @@ -27,7 +27,7 @@ public function setUp()
$_SERVER['REQUEST_URI'] = '/';

$this->di = DI::getDefault();
$modules = ModuleLoader::dump($this->di);
$modules = (new ModuleLoader())->dump(TESTS_ROOT_DIR . '/fixtures/app', TESTS_ROOT_DIR . '/fixtures/app/config/');

$app = new Application();
$app->registerModules($modules);
Expand Down
2 changes: 1 addition & 1 deletion tests/fixtures/app/Bootstrap.php
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@
use Vegas\Db\Mapping\Json;
use Vegas\Db\MappingManager;

class Bootstrap extends \Vegas\Application\Bootstrap
class Bootstrap extends \Vegas\Mvc\Bootstrap
{
public function setup()
{
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
namespace ApiBug\Controllers;

use ApiTest\Services\Exception\ApiException;
use Vegas\Mvc\Controller\ControllerAbstract;
use Vegas\Mvc\ControllerAbstract;
use Phalcon\Mvc\Dispatcher;

/**
Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
<?php
namespace ApiTest\Controllers;

use Vegas\Mvc\Controller\ControllerAbstract;
use Vegas\Mvc\ControllerAbstract;

/**
* Class EmptyController
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

namespace ApiTest\Controllers;

use Vegas\Mvc\Controller\ControllerAbstract;
use Vegas\Mvc\ControllerAbstract;

class EmptyController extends ControllerAbstract
{
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
namespace ApiTest\Controllers;

use ApiTest\Services\Exception\ApiException;
use Vegas\Mvc\Controller\ControllerAbstract;
use Vegas\Mvc\ControllerAbstract;
use Phalcon\Mvc\Dispatcher;

/**
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@
namespace ApiTest\Controllers;


use Vegas\Mvc\Controller\ControllerAbstract;
use Vegas\Mvc\ControllerAbstract;

/**
* Class ShouldBeSkipped
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
namespace ApiTest\Controllers;

use ApiTest\Services\Exception\ApiException;
use Vegas\Mvc\Controller\ControllerAbstract;
use Vegas\Mvc\ControllerAbstract;
use Phalcon\Mvc\Dispatcher;

/**
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
namespace ApiTest\Controllers\V2;

use ApiTest\Services\Exception\ApiException;
use Vegas\Mvc\Controller\ControllerAbstract;
use Vegas\Mvc\ControllerAbstract;
use Phalcon\Mvc\Dispatcher;

/**
Expand Down

0 comments on commit 8258415

Please sign in to comment.