Skip to content
This repository has been archived by the owner on Jan 31, 2020. It is now read-only.

Commit

Permalink
[zen-46] Replace use statements in documentation and tests
Browse files Browse the repository at this point in the history
  • Loading branch information
Maks3w authored and weierophinney committed Jul 11, 2012
1 parent ffff3ea commit 8e7816a
Show file tree
Hide file tree
Showing 22 changed files with 111 additions and 111 deletions.
4 changes: 2 additions & 2 deletions test/Helper/BasePathTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -10,8 +10,8 @@

namespace ZendTest\View\Helper;

use PHPUnit_Framework_TestCase as TestCase,
Zend\View\Helper\BasePath;
use PHPUnit_Framework_TestCase as TestCase;
use Zend\View\Helper\BasePath;

/**
* @category Zend
Expand Down
6 changes: 3 additions & 3 deletions test/Helper/EscapeCssTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -10,9 +10,9 @@

namespace ZendTest\View\Helper;

use PHPUnit_Framework_TestCase as TestCase,
stdClass,
Zend\View\Helper\EscapeCss as EscapeHelper;
use PHPUnit_Framework_TestCase as TestCase;
use stdClass;
use Zend\View\Helper\EscapeCss as EscapeHelper;

class EscapeCssTest extends TestCase
{
Expand Down
6 changes: 3 additions & 3 deletions test/Helper/EscapeHtmlAttrTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -10,9 +10,9 @@

namespace ZendTest\View\Helper;

use PHPUnit_Framework_TestCase as TestCase,
stdClass,
Zend\View\Helper\EscapeHtmlAttr as EscapeHelper;
use PHPUnit_Framework_TestCase as TestCase;
use stdClass;
use Zend\View\Helper\EscapeHtmlAttr as EscapeHelper;

class EscapeHtmlAttrTest extends TestCase
{
Expand Down
6 changes: 3 additions & 3 deletions test/Helper/EscapeHtmlTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -10,9 +10,9 @@

namespace ZendTest\View\Helper;

use PHPUnit_Framework_TestCase as TestCase,
stdClass,
Zend\View\Helper\EscapeHtml as EscapeHelper;
use PHPUnit_Framework_TestCase as TestCase;
use stdClass;
use Zend\View\Helper\EscapeHtml as EscapeHelper;

class EscapeHtmlTest extends TestCase
{
Expand Down
6 changes: 3 additions & 3 deletions test/Helper/EscapeJsTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -10,9 +10,9 @@

namespace ZendTest\View\Helper;

use PHPUnit_Framework_TestCase as TestCase,
stdClass,
Zend\View\Helper\EscapeJs as EscapeHelper;
use PHPUnit_Framework_TestCase as TestCase;
use stdClass;
use Zend\View\Helper\EscapeJs as EscapeHelper;

class EscapeJsTest extends TestCase
{
Expand Down
6 changes: 3 additions & 3 deletions test/Helper/EscapeUrlTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -10,9 +10,9 @@

namespace ZendTest\View\Helper;

use PHPUnit_Framework_TestCase as TestCase,
stdClass,
Zend\View\Helper\EscapeUrl as EscapeHelper;
use PHPUnit_Framework_TestCase as TestCase;
use stdClass;
use Zend\View\Helper\EscapeUrl as EscapeHelper;

class EscapeUrlTest extends TestCase
{
Expand Down
6 changes: 3 additions & 3 deletions test/Helper/GravatarTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -10,9 +10,9 @@

namespace ZendTest\View\Helper;

use PHPUnit_Framework_TestCase as TestCase,
Zend\View\Renderer\PhpRenderer as View,
Zend\View\Helper\Gravatar;
use PHPUnit_Framework_TestCase as TestCase;
use Zend\View\Renderer\PhpRenderer as View;
use Zend\View\Helper\Gravatar;

/**
* @category Zend
Expand Down
8 changes: 4 additions & 4 deletions test/Helper/JsonTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -10,10 +10,10 @@

namespace ZendTest\View\Helper;

use PHPUnit_Framework_TestCase as TestCase,
Zend\Http\Response,
Zend\Json\Json as JsonFormatter,
Zend\View\Helper\Json as JsonHelper;
use PHPUnit_Framework_TestCase as TestCase;
use Zend\Http\Response;
use Zend\Json\Json as JsonFormatter;
use Zend\View\Helper\Json as JsonHelper;

/**
* Test class for Zend_View_Helper_Json
Expand Down
8 changes: 4 additions & 4 deletions test/Helper/PartialLoopTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -11,10 +11,10 @@
namespace ZendTest\View\Helper;

use ArrayObject;
use Iterator,
PHPUnit_Framework_TestCase as TestCase,
Zend\View\Helper\PartialLoop,
Zend\View\Renderer\PhpRenderer as View;
use Iterator;
use PHPUnit_Framework_TestCase as TestCase;
use Zend\View\Helper\PartialLoop;
use Zend\View\Renderer\PhpRenderer as View;

/**
* Test class for Zend_View_Helper_PartialLoop.
Expand Down
6 changes: 3 additions & 3 deletions test/Helper/PartialTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -10,9 +10,9 @@

namespace ZendTest\View\Helper;

use PHPUnit_Framework_TestCase as TestCase,
Zend\View\Helper\Partial,
Zend\View\Renderer\PhpRenderer as View;
use PHPUnit_Framework_TestCase as TestCase;
use Zend\View\Helper\Partial;
use Zend\View\Renderer\PhpRenderer as View;

/**
* Test class for Partial view helper.
Expand Down
10 changes: 5 additions & 5 deletions test/Helper/RenderChildModelTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -10,11 +10,11 @@

namespace ZendTest\View\Helper;

use PHPUnit_Framework_TestCase as TestCase,
Zend\View\Helper\RenderChildModel,
Zend\View\Model\ViewModel,
Zend\View\Renderer\PhpRenderer,
Zend\View\Resolver\TemplateMapResolver;
use PHPUnit_Framework_TestCase as TestCase;
use Zend\View\Helper\RenderChildModel;
use Zend\View\Model\ViewModel;
use Zend\View\Renderer\PhpRenderer;
use Zend\View\Resolver\TemplateMapResolver;

/**
* @category Zend
Expand Down
10 changes: 5 additions & 5 deletions test/Model/JsonModelTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -11,11 +11,11 @@
namespace ZendTest\View\Model;

use ArrayObject;
use stdClass,
PHPUnit_Framework_TestCase as TestCase,
Zend\View\Model\JsonModel,
Zend\View\Variables as ViewVariables,
Zend\Json\Json;
use stdClass;
use PHPUnit_Framework_TestCase as TestCase;
use Zend\View\Model\JsonModel;
use Zend\View\Variables as ViewVariables;
use Zend\Json\Json;

/**
* @category Zend
Expand Down
8 changes: 4 additions & 4 deletions test/Model/ViewModelTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -11,10 +11,10 @@
namespace ZendTest\View\Model;

use ArrayObject;
use stdClass,
PHPUnit_Framework_TestCase as TestCase,
Zend\View\Model\ViewModel,
Zend\View\Variables as ViewVariables;
use stdClass;
use PHPUnit_Framework_TestCase as TestCase;
use Zend\View\Model\ViewModel;
use Zend\View\Variables as ViewVariables;

/**
* @category Zend
Expand Down
12 changes: 6 additions & 6 deletions test/Renderer/FeedRendererTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -10,12 +10,12 @@

namespace ZendTest\View\Renderer;

use PHPUnit_Framework_TestCase as TestCase,
Zend\Feed\Writer\Factory as FeedFactory,
Zend\View\Model\ModelInterface as Model,
Zend\View\Model\FeedModel,
Zend\View\Model\ViewModel,
Zend\View\Renderer\FeedRenderer;
use PHPUnit_Framework_TestCase as TestCase;
use Zend\Feed\Writer\Factory as FeedFactory;
use Zend\View\Model\ModelInterface as Model;
use Zend\View\Model\FeedModel;
use Zend\View\Model\ViewModel;
use Zend\View\Renderer\FeedRenderer;

/**
* @category Zend
Expand Down
10 changes: 5 additions & 5 deletions test/Renderer/JsonRendererTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -10,11 +10,11 @@

namespace ZendTest\View\Renderer;

use ArrayObject,
PHPUnit_Framework_TestCase as TestCase,
stdClass,
Zend\View\Renderer\JsonRenderer,
Zend\View\Model\ViewModel;
use ArrayObject;
use PHPUnit_Framework_TestCase as TestCase;
use stdClass;
use Zend\View\Renderer\JsonRenderer;
use Zend\View\Model\ViewModel;

/**
* @category Zend
Expand Down
6 changes: 3 additions & 3 deletions test/Resolver/AggregateResolverTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -10,9 +10,9 @@

namespace ZendTest\View\Resolver;

use ArrayObject,
PHPUnit_Framework_TestCase as TestCase,
Zend\View\Resolver;
use ArrayObject;
use PHPUnit_Framework_TestCase as TestCase;
use Zend\View\Resolver;

/**
* @category Zend
Expand Down
6 changes: 3 additions & 3 deletions test/Resolver/TemplateMapResolverTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -10,9 +10,9 @@

namespace ZendTest\View\Resolver;

use ArrayObject,
PHPUnit_Framework_TestCase as TestCase,
Zend\View\Resolver\TemplateMapResolver;
use ArrayObject;
use PHPUnit_Framework_TestCase as TestCase;
use Zend\View\Resolver\TemplateMapResolver;

/**
* @category Zend
Expand Down
22 changes: 11 additions & 11 deletions test/Strategy/FeedStrategyTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -10,17 +10,17 @@

namespace ZendTest\View\Strategy;

use PHPUnit_Framework_TestCase as TestCase,
Zend\EventManager\EventManager,
Zend\Feed\Writer\FeedFactory,
Zend\Http\Request as HttpRequest,
Zend\Http\Response as HttpResponse,
Zend\View\Model\ModelInterface as Model,
Zend\View\Model\FeedModel,
Zend\View\Model\ViewModel,
Zend\View\Renderer\FeedRenderer,
Zend\View\Strategy\FeedStrategy,
Zend\View\ViewEvent;
use PHPUnit_Framework_TestCase as TestCase;
use Zend\EventManager\EventManager;
use Zend\Feed\Writer\FeedFactory;
use Zend\Http\Request as HttpRequest;
use Zend\Http\Response as HttpResponse;
use Zend\View\Model\ModelInterface as Model;
use Zend\View\Model\FeedModel;
use Zend\View\Model\ViewModel;
use Zend\View\Renderer\FeedRenderer;
use Zend\View\Strategy\FeedStrategy;
use Zend\View\ViewEvent;

/**
* @category Zend
Expand Down
22 changes: 11 additions & 11 deletions test/Strategy/JsonStrategyTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -10,17 +10,17 @@

namespace ZendTest\View\Strategy;

use PHPUnit_Framework_TestCase as TestCase,
Zend\EventManager\EventManager,
Zend\Http\Request as HttpRequest,
Zend\Http\Response as HttpResponse,
Zend\View\Model\ModelInterface as Model,
Zend\View\Model\JsonModel,
Zend\View\Model\ViewModel,
Zend\View\Renderer\JsonRenderer,
Zend\View\Strategy\JsonStrategy,
Zend\View\ViewEvent,
Zend\Stdlib\Parameters;
use PHPUnit_Framework_TestCase as TestCase;
use Zend\EventManager\EventManager;
use Zend\Http\Request as HttpRequest;
use Zend\Http\Response as HttpResponse;
use Zend\View\Model\ModelInterface as Model;
use Zend\View\Model\JsonModel;
use Zend\View\Model\ViewModel;
use Zend\View\Renderer\JsonRenderer;
use Zend\View\Strategy\JsonStrategy;
use Zend\View\ViewEvent;
use Zend\Stdlib\Parameters;

/**
* @category Zend
Expand Down
18 changes: 9 additions & 9 deletions test/Strategy/PhpRendererStrategyTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -10,15 +10,15 @@

namespace ZendTest\View\Strategy;

use PHPUnit_Framework_TestCase as TestCase,
Zend\EventManager\EventManager,
Zend\Http\Request as HttpRequest,
Zend\Http\Response as HttpResponse,
Zend\View\Helper\Placeholder\Registry as PlaceholderRegistry,
Zend\View\Model\ModelInterface as Model,
Zend\View\Renderer\PhpRenderer,
Zend\View\Strategy\PhpRendererStrategy,
Zend\View\ViewEvent;
use PHPUnit_Framework_TestCase as TestCase;
use Zend\EventManager\EventManager;
use Zend\Http\Request as HttpRequest;
use Zend\Http\Response as HttpResponse;
use Zend\View\Helper\Placeholder\Registry as PlaceholderRegistry;
use Zend\View\Model\ModelInterface as Model;
use Zend\View\Renderer\PhpRenderer;
use Zend\View\Strategy\PhpRendererStrategy;
use Zend\View\ViewEvent;

/**
* @category Zend
Expand Down
12 changes: 6 additions & 6 deletions test/ViewEventTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -10,12 +10,12 @@

namespace ZendTest\View;

use PHPUnit_Framework_TestCase as TestCase,
Zend\Http\Request,
Zend\Http\Response,
Zend\View\Model\ViewModel,
Zend\View\Renderer\PhpRenderer,
Zend\View\ViewEvent;
use PHPUnit_Framework_TestCase as TestCase;
use Zend\Http\Request;
use Zend\Http\Response;
use Zend\View\Model\ViewModel;
use Zend\View\Renderer\PhpRenderer;
use Zend\View\ViewEvent;

class ViewEventTest extends TestCase
{
Expand Down
24 changes: 12 additions & 12 deletions test/ViewTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -10,18 +10,18 @@

namespace ZendTest\View;

use ArrayObject,
PHPUnit_Framework_TestCase as TestCase,
stdClass,
Zend\Http\Request,
Zend\Http\Response,
Zend\View\Model\ViewModel,
Zend\View\Model\JsonModel,
Zend\View\Renderer\PhpRenderer,
Zend\View\Renderer,
Zend\View\Resolver,
Zend\View\Variables as ViewVariables,
Zend\View\View;
use ArrayObject;
use PHPUnit_Framework_TestCase as TestCase;
use stdClass;
use Zend\Http\Request;
use Zend\Http\Response;
use Zend\View\Model\ViewModel;
use Zend\View\Model\JsonModel;
use Zend\View\Renderer\PhpRenderer;
use Zend\View\Renderer;
use Zend\View\Resolver;
use Zend\View\Variables as ViewVariables;
use Zend\View\View;

class ViewTest extends TestCase
{
Expand Down

0 comments on commit 8e7816a

Please sign in to comment.