Skip to content

Commit

Permalink
CO: Fix namespace
Browse files Browse the repository at this point in the history
The `t` must be capital
  • Loading branch information
chellem authored and aleeks committed Aug 3, 2017
1 parent 6579d7b commit 435d62a
Show file tree
Hide file tree
Showing 30 changed files with 35 additions and 35 deletions.
2 changes: 1 addition & 1 deletion tests/Integration/Adapter/AdapterDatabaseTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@
* International Registered Trademark & Property of PrestaShop SA
*/

namespace PrestaShop\PrestaShop\tests\Integration\Adapter;
namespace PrestaShop\PrestaShop\Tests\Integration\Adapter;

use PrestaShop\PrestaShop\Tests\TestCase\IntegrationTestCase;
use PrestaShop\PrestaShop\Adapter\Database;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@
* International Registered Trademark & Property of PrestaShop SA
*/

namespace PrestaShop\PrestaShop\tests\Integration\Core\Foundation\Entity;
namespace PrestaShop\PrestaShop\Tests\Integration\Core\Foundation\Entity;

use PrestaShop\PrestaShop\Tests\TestCase\IntegrationTestCase;
use PrestaShop\PrestaShop\Core\ContainerBuilder;
Expand Down
2 changes: 1 addition & 1 deletion tests/Integration/Core/Module/HookRepositoryTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@
*/


namespace PrestaShop\PrestaShop\tests\Integration\Core\Module;
namespace PrestaShop\PrestaShop\Tests\Integration\Core\Module;

use Context;
use Db;
Expand Down
2 changes: 1 addition & 1 deletion tests/Integration/classes/CartGetOrderTotalTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@
* International Registered Trademark & Property of PrestaShop SA
*/

namespace PrestaShop\PrestaShop\tests\Integration\classes;
namespace PrestaShop\PrestaShop\Tests\Integration\classes;

use PrestaShop\PrestaShop\Tests\TestCase\IntegrationTestCase;
use PHPUnit_Framework_Assert as Assert;
Expand Down
2 changes: 1 addition & 1 deletion tests/Integration/classes/ConfigurationCoreTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@
* International Registered Trademark & Property of PrestaShop SA
*/

namespace PrestaShop\PrestaShop\tests\Integration\classes;
namespace PrestaShop\PrestaShop\Tests\Integration\classes;

use PrestaShop\PrestaShop\Tests\TestCase\ReflexionHelper;
use PrestaShop\PrestaShop\Tests\TestCase\IntegrationTestCase;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@
* International Registered Trademark & Property of PrestaShop SA
*/

namespace PrestaShop\PrestaShop\tests\Integration;
namespace PrestaShop\PrestaShop\Tests\Integration;


use Module;
Expand Down
2 changes: 1 addition & 1 deletion tests/TestCase/FakeLogger.php
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@
*/


namespace PrestaShop\PrestaShop\tests\TestCase;
namespace PrestaShop\PrestaShop\Tests\TestCase;

use Psr\Log\LoggerInterface;

Expand Down
2 changes: 1 addition & 1 deletion tests/TestCase/UnitTestCase.php
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@
* International Registered Trademark & Property of PrestaShop SA
*/

namespace PrestaShop\PrestaShop\tests\TestCase;
namespace PrestaShop\PrestaShop\Tests\TestCase;

use Cache;
use Configuration;
Expand Down
2 changes: 1 addition & 1 deletion tests/Unit/Adapter/AdapterServiceLocatorTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@
* International Registered Trademark & Property of PrestaShop SA
*/

namespace PrestaShop\PrestaShop\tests\Unit\Adapter;
namespace PrestaShop\PrestaShop\Tests\Unit\Adapter;

use PrestaShop\PrestaShop\Adapter\ServiceLocator;
use PrestaShop\PrestaShop\Core\Foundation\IoC\Container;
Expand Down
2 changes: 1 addition & 1 deletion tests/Unit/Adapter/Admin/UrlGeneratorTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@
* @license https://opensource.org/licenses/OSL-3.0 Open Software License (OSL 3.0)
* International Registered Trademark & Property of PrestaShop SA
*/
namespace PrestaShop\PrestaShop\tests\Unit\Adapter\Admin;
namespace PrestaShop\PrestaShop\Tests\Unit\Adapter\Admin;

use PrestaShop\PrestaShop\Adapter\Admin\UrlGenerator;
use PrestaShop\PrestaShop\Tests\TestCase\UnitTestCase;
Expand Down
2 changes: 1 addition & 1 deletion tests/Unit/Adapter/Module/AdminModuleDataProviderTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@
* @license https://opensource.org/licenses/OSL-3.0 Open Software License (OSL 3.0)
* International Registered Trademark & Property of PrestaShop SA
*/
namespace PrestaShop\PrestaShop\tests\Unit\Adapter\Module;
namespace PrestaShop\PrestaShop\Tests\Unit\Adapter\Module;

use PrestaShop\PrestaShop\Adapter\Module\AdminModuleDataProvider;
use PrestaShop\PrestaShop\Tests\TestCase\UnitTestCase;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@
* International Registered Trademark & Property of PrestaShop SA
*/

namespace PrestaShop\PrestaShop\tests\Unit\Adapter\Module\Configuration;
namespace PrestaShop\PrestaShop\Tests\Unit\Adapter\Module\Configuration;

use Doctrine\DBAL\Connection;
use Doctrine\DBAL\Statement;
Expand All @@ -43,7 +43,7 @@ class ModuleSelfConfiguratorTest extends UnitTestCase
private $moduleRepository;

public $defaultDir;

public function setup()
{
$this->configuration = new ConfigurationMock();
Expand Down Expand Up @@ -261,7 +261,7 @@ private function mockModuleRepository()
class ConfigurationMock extends Configuration
{
private $configurationData = array();

public function set($key, $value)
{
$this->configurationData[$key] = $value;
Expand All @@ -284,7 +284,7 @@ class ConnectionMock extends Connection
{
public $sql = array();
public $executedSql = array();

public function connect()
{
return true;
Expand Down Expand Up @@ -314,4 +314,4 @@ class StatementMock extends Statement
{
public function __construct($sql, Connection $conn) { }
public function execute($params = null) { }
}
}
4 changes: 2 additions & 2 deletions tests/Unit/Adapter/Module/Tab/ModuleTabRegisterTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@
* @license https://opensource.org/licenses/OSL-3.0 Open Software License (OSL 3.0)
* International Registered Trademark & Property of PrestaShop SA
*/
namespace PrestaShop\PrestaShop\tests\Unit\Adapter\Module\Tab;
namespace PrestaShop\PrestaShop\Tests\Unit\Adapter\Module\Tab;

use PrestaShop\PrestaShop\Adapter\Module\Tab\ModuleTabRegister;
use PrestaShop\PrestaShop\Tests\TestCase\UnitTestCase;
Expand Down Expand Up @@ -126,7 +126,7 @@ class ModuleTabRegisterTest extends UnitTestCase
public function setUp()
{
parent::setup();

$this->setupSfKernel();

$this->tabRegister = $this->getMock(
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@
* International Registered Trademark & Property of PrestaShop SA
*/

namespace PrestaShop\PrestaShop\tests\Unit\Core\Payment;
namespace PrestaShop\PrestaShop\Tests\Unit\Core\Payment;

use PrestaShop\PrestaShop\Tests\TestCase\UnitTestCase;
use PrestaShop\PrestaShop\Core\Payment\PaymentOptionFormDecorator;
Expand Down
2 changes: 1 addition & 1 deletion tests/Unit/Core/Business/Product/Search/PaginationTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@
*/


namespace PrestaShop\PrestaShop\tests\Unit\Core\Product\Search;
namespace PrestaShop\PrestaShop\Tests\Unit\Core\Product\Search;

use PHPUnit_Framework_Testcase;
use PrestaShop\PrestaShop\Core\Product\Search\Pagination;
Expand Down
2 changes: 1 addition & 1 deletion tests/Unit/Core/Business/Product/Search/SortOrderTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@
*/


namespace PrestaShop\PrestaShop\tests\Unit\Core\Product\Search;
namespace PrestaShop\PrestaShop\Tests\Unit\Core\Product\Search;

use PHPUnit_Framework_TestCase;
use PrestaShop\PrestaShop\Core\Product\Search\SortOrder;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@
*/


namespace PrestaShop\PrestaShop\tests\Unit\Core\Product\Search;
namespace PrestaShop\PrestaShop\Tests\Unit\Core\Product\Search;

use PHPUnit_Framework_Testcase;
use PrestaShop\PrestaShop\Core\Product\Search\URLFragmentSerializer;
Expand Down
2 changes: 1 addition & 1 deletion tests/Unit/Core/Crypto/Core_Crypto_Hashing_Test.php
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@
* @license https://opensource.org/licenses/OSL-3.0 Open Software License (OSL 3.0)
* International Registered Trademark & Property of PrestaShop SA
*/
namespace PrestaShop\PrestaShop\tests\Unit\Core\Crypto;
namespace PrestaShop\PrestaShop\Tests\Unit\Core\Crypto;

use PHPUnit_Framework_TestCase;
use PrestaShop\PrestaShop\Core\Crypto\Hashing;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@
* International Registered Trademark & Property of PrestaShop SA
*/

namespace PrestaShop\PrestaShop\tests\Unit\Core\Foundation\Database;
namespace PrestaShop\PrestaShop\Tests\Unit\Core\Foundation\Database;

use PrestaShop\PrestaShop\Tests\TestCase\UnitTestCase;
use Phake;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@
* International Registered Trademark & Property of PrestaShop SA
*/

namespace PrestaShop\PrestaShop\tests\Unit\Core\Foundation\Database\EntityManager;
namespace PrestaShop\PrestaShop\Tests\Unit\Core\Foundation\Database\EntityManager;

use PrestaShop\PrestaShop\Tests\TestCase\UnitTestCase;
use PrestaShop\PrestaShop\Core\Foundation\Database\EntityManager\QueryBuilder;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@
* International Registered Trademark & Property of PrestaShop SA
*/

namespace PrestaShop\PrestaShop\tests\Unit\Core\Foundation\FileSystem;
namespace PrestaShop\PrestaShop\Tests\Unit\Core\Foundation\FileSystem;

use PrestaShop\PrestaShop\Tests\TestCase\UnitTestCase;
use PrestaShop\PrestaShop\Core\Foundation\Filesystem\FileSystem;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@
* International Registered Trademark & Property of PrestaShop SA
*/

namespace PrestaShop\PrestaShop\tests\Unit\Core\Foundation\IoC;
namespace PrestaShop\PrestaShop\Tests\Unit\Core\Foundation\IoC;

use Exception;
use PHPUnit_Framework_TestCase;
Expand Down
2 changes: 1 addition & 1 deletion tests/Unit/Core/Module/HookConfiguratorTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@
*/


namespace PrestaShop\PrestaShop\tests\Unit\Core\Module;
namespace PrestaShop\PrestaShop\Tests\Unit\Core\Module;

use Phake;
use PrestaShop\PrestaShop\Tests\TestCase\UnitTestCase;
Expand Down
2 changes: 1 addition & 1 deletion tests/Unit/Core/Payment/Core_Payment_PaymentOptionTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@
* International Registered Trademark & Property of PrestaShop SA
*/

namespace PrestaShop\PrestaShop\tests\Unit\Core\Payment;
namespace PrestaShop\PrestaShop\Tests\Unit\Core\Payment;

use PrestaShop\PrestaShop\Tests\TestCase\UnitTestCase;
use PrestaShop\PrestaShop\Core\Payment\PaymentOption as PaymentOption;
Expand Down
2 changes: 1 addition & 1 deletion tests/Unit/classes/PhpEncryptionLegacyEngineTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@
* International Registered Trademark & Property of PrestaShop SA
*/

namespace PrestaShop\PrestaShop\tests\Unit\classes;
namespace PrestaShop\PrestaShop\Tests\Unit\classes;

use PhpEncryptionLegacyEngine;

Expand Down
2 changes: 1 addition & 1 deletion tests/Unit/classes/PhpEncryptionTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@
* International Registered Trademark & Property of PrestaShop SA
*/

namespace PrestaShop\PrestaShop\tests\Unit\classes;
namespace PrestaShop\PrestaShop\Tests\Unit\classes;

use PhpEncryption;

Expand Down
2 changes: 1 addition & 1 deletion tests/Unit/classes/PrestaShopAutoloadTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@
* International Registered Trademark & Property of PrestaShop SA
*/

namespace PrestaShop\PrestaShop\tests\Unit\classes;
namespace PrestaShop\PrestaShop\Tests\Unit\classes;

use PHPUnit_Framework_TestCase;
use PrestaShopAutoload;
Expand Down
2 changes: 1 addition & 1 deletion tests/Unit/classes/Smarty/TemplateFinderTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@
* International Registered Trademark & Property of PrestaShop SA
*/

namespace PrestaShop\PrestaShop\tests\Unit\classes\Smarty;
namespace PrestaShop\PrestaShop\Tests\Unit\classes\Smarty;

use TemplateFinder;

Expand Down
2 changes: 1 addition & 1 deletion tests/Unit/classes/checkout/CheckoutAddressesStepTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@
* International Registered Trademark & Property of PrestaShop SA
*/

namespace PrestaShop\PrestaShop\tests\Unit\classes\checkout;
namespace PrestaShop\PrestaShop\Tests\Unit\classes\checkout;

use CheckoutAddressesStep;
use CheckoutProcess;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@
* International Registered Trademark & Property of PrestaShop SA
*/

namespace PrestaShop\PrestaShop\tests\Unit\classes\tax;
namespace PrestaShop\PrestaShop\Tests\Unit\classes\tax;

use PrestaShop\PrestaShop\Tests\TestCase\UnitTestCase;
use AverageTaxOfProductsTaxCalculator;
Expand Down

0 comments on commit 435d62a

Please sign in to comment.