Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP

Loading…

Fix: No need to prefix imports #6136

Merged
merged 1 commit into from

2 participants

@localheinz

There's no need to prefix FQCNs with \ in use statements.

Stumbled upon this when having a look at #5029.

@Ocramius Ocramius added this to the 2.3.1 milestone
@Ocramius Ocramius self-assigned this
@Ocramius Ocramius merged commit c35b04c into zendframework:master
@localheinz localheinz deleted the localheinz:bugfix/no-need-to-prefix-imports branch
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Commits on Apr 14, 2014
  1. @localheinz
This page is out of date. Refresh to see the latest.
View
2  library/Zend/Http/Header/Origin.php
@@ -9,7 +9,7 @@
namespace Zend\Http\Header;
-use \Zend\Uri\UriFactory;
+use Zend\Uri\UriFactory;
/**
* @throws Exception\InvalidArgumentException
View
4 tests/ZendTest/Db/Adapter/AdapterAwareTraitTest.php
@@ -9,8 +9,8 @@
namespace ZendTest\Db\Adapter;
-use \PHPUnit_Framework_TestCase as TestCase;
-use \Zend\Db\Adapter\Adapter;
+use PHPUnit_Framework_TestCase as TestCase;
+use Zend\Db\Adapter\Adapter;
/**
* @requires PHP 5.4
View
4 tests/ZendTest/EventManager/EventManagerAwareTraitTest.php
@@ -9,8 +9,8 @@
namespace ZendTest\EventManager;
-use \PHPUnit_Framework_TestCase as TestCase;
-use \Zend\EventManager\EventManager;
+use PHPUnit_Framework_TestCase as TestCase;
+use Zend\EventManager\EventManager;
/**
* @requires PHP 5.4
View
4 tests/ZendTest/Form/FormFactoryAwareTraitTest.php
@@ -9,8 +9,8 @@
namespace ZendTest\Form;
-use \PHPUnit_Framework_TestCase as TestCase;
-use \Zend\Form\Factory;
+use PHPUnit_Framework_TestCase as TestCase;
+use Zend\Form\Factory;
/**
* @requires PHP 5.4
View
4 tests/ZendTest/I18n/Translator/TranslatorAwareTraitTest.php
@@ -9,8 +9,8 @@
namespace ZendTest\I18n\Translator;
-use \PHPUnit_Framework_TestCase as TestCase;
-use \Zend\I18n\Translator\Translator;
+use PHPUnit_Framework_TestCase as TestCase;
+use Zend\I18n\Translator\Translator;
/**
* @requires PHP 5.4
View
4 tests/ZendTest/InputFilter/InputFilterAwareTraitTest.php
@@ -9,8 +9,8 @@
namespace ZendTest\InputFilter;
-use \PHPUnit_Framework_TestCase as TestCase;
-use \Zend\InputFilter\InputFilter;
+use PHPUnit_Framework_TestCase as TestCase;
+use Zend\InputFilter\InputFilter;
/**
* @requires PHP 5.4
View
4 tests/ZendTest/Log/LoggerAwareTraitTest.php
@@ -9,8 +9,8 @@
namespace ZendTest\Log;
-use \PHPUnit_Framework_TestCase as TestCase;
-use \Zend\Log\Logger;
+use PHPUnit_Framework_TestCase as TestCase;
+use Zend\Log\Logger;
/**
* @requires PHP 5.4
View
4 tests/ZendTest/ServiceManager/ServiceLocatorAwareTraitTest.php
@@ -9,8 +9,8 @@
namespace ZendTest\ServiceManager;
-use \PHPUnit_Framework_TestCase as TestCase;
-use \Zend\ServiceManager\ServiceManager;
+use PHPUnit_Framework_TestCase as TestCase;
+use Zend\ServiceManager\ServiceManager;
/**
* @requires PHP 5.4
View
2  tests/ZendTest/Stdlib/Hydrator/HydratorAwareTraitTest.php
@@ -10,7 +10,7 @@
namespace ZendTest\Stdlib\Hydrator;
-use \PHPUnit_Framework_TestCase as TestCase;
+use PHPUnit_Framework_TestCase as TestCase;
/**
* @requires PHP 5.4
Something went wrong with that request. Please try again.