Respect PSR-0 with matching folder name and namespace `PhpSpreadsheetTests`
This commit is contained in:
parent
b9ce2b901e
commit
29bdbd4e0b
|
@ -50,7 +50,7 @@
|
|||
},
|
||||
"autoload-dev": {
|
||||
"psr-4": {
|
||||
"PhpSpreadsheet\\Tests\\": "tests/PhpSpreadsheet"
|
||||
"PhpSpreadsheetTests\\": "tests/PhpSpreadsheetTests"
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
|
@ -8,7 +8,7 @@
|
|||
<ini name="memory_limit" value="2048M"/>
|
||||
</php>
|
||||
<testsuite name="PhpSpreadsheet Unit Test Suite">
|
||||
<directory suffix="Test.php">./tests/PhpSpreadsheet</directory>
|
||||
<directory suffix="Test.php">./tests/PhpSpreadsheetTests</directory>
|
||||
</testsuite>
|
||||
<filter>
|
||||
<whitelist>
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
<?php
|
||||
|
||||
namespace PhpSpreadsheet\Tests\Calculation;
|
||||
namespace PhpSpreadsheetTests\Calculation;
|
||||
|
||||
use PhpSpreadsheet\Calculation\DateTime;
|
||||
use PhpSpreadsheet\Calculation\Functions;
|
|
@ -1,6 +1,6 @@
|
|||
<?php
|
||||
|
||||
namespace PhpSpreadsheet\Tests\Calculation;
|
||||
namespace PhpSpreadsheetTests\Calculation;
|
||||
|
||||
use PhpSpreadsheet\Calculation\Engineering;
|
||||
use PhpSpreadsheet\Calculation\Functions;
|
||||
|
@ -8,13 +8,13 @@ use PhpSpreadsheet\Calculation\Functions;
|
|||
class EngineeringTest extends \PHPUnit_Framework_TestCase
|
||||
{
|
||||
/**
|
||||
* @var \PhpSpreadsheet\Tests\Custom\ComplexAssert
|
||||
* @var \PhpSpreadsheetTests\Custom\ComplexAssert
|
||||
*/
|
||||
protected $complexAssert;
|
||||
|
||||
public function setUp()
|
||||
{
|
||||
$this->complexAssert = new \PhpSpreadsheet\Tests\Custom\ComplexAssert();
|
||||
$this->complexAssert = new \PhpSpreadsheetTests\Custom\ComplexAssert();
|
||||
Functions::setCompatibilityMode(Functions::COMPATIBILITY_EXCEL);
|
||||
}
|
||||
|
|
@ -1,6 +1,6 @@
|
|||
<?php
|
||||
|
||||
namespace PhpSpreadsheet\Tests\Calculation;
|
||||
namespace PhpSpreadsheetTests\Calculation;
|
||||
|
||||
use PhpSpreadsheet\Calculation\Financial;
|
||||
use PhpSpreadsheet\Calculation\Functions;
|
|
@ -1,6 +1,6 @@
|
|||
<?php
|
||||
|
||||
namespace PhpSpreadsheet\Tests\Calculation;
|
||||
namespace PhpSpreadsheetTests\Calculation;
|
||||
|
||||
use PhpSpreadsheet\Calculation\Functions;
|
||||
|
|
@ -1,6 +1,6 @@
|
|||
<?php
|
||||
|
||||
namespace PhpSpreadsheet\Tests\Calculation;
|
||||
namespace PhpSpreadsheetTests\Calculation;
|
||||
|
||||
use PhpSpreadsheet\Calculation\Functions;
|
||||
use PhpSpreadsheet\Calculation\Logical;
|
|
@ -1,6 +1,6 @@
|
|||
<?php
|
||||
|
||||
namespace PhpSpreadsheet\Tests\Calculation;
|
||||
namespace PhpSpreadsheetTests\Calculation;
|
||||
|
||||
use PhpSpreadsheet\Calculation\Functions;
|
||||
use PhpSpreadsheet\Calculation\LookupRef;
|
|
@ -1,6 +1,6 @@
|
|||
<?php
|
||||
|
||||
namespace PhpSpreadsheet\Tests\Calculation;
|
||||
namespace PhpSpreadsheetTests\Calculation;
|
||||
|
||||
use PhpSpreadsheet\Calculation;
|
||||
use PhpSpreadsheet\Calculation\Functions;
|
|
@ -1,6 +1,6 @@
|
|||
<?php
|
||||
|
||||
namespace PhpSpreadsheet\Tests\Calculation;
|
||||
namespace PhpSpreadsheetTests\Calculation;
|
||||
|
||||
use PhpSpreadsheet\Calculation\Functions;
|
||||
use PhpSpreadsheet\Calculation\TextData;
|
|
@ -1,6 +1,6 @@
|
|||
<?php
|
||||
|
||||
namespace PhpSpreadsheet\Tests;
|
||||
namespace PhpSpreadsheetTests;
|
||||
|
||||
use PhpSpreadsheet\Calculation;
|
||||
use PhpSpreadsheet\Calculation\Functions;
|
|
@ -1,6 +1,6 @@
|
|||
<?php
|
||||
|
||||
namespace PhpSpreadsheet\Tests\Cell;
|
||||
namespace PhpSpreadsheetTests\Cell;
|
||||
|
||||
use PhpSpreadsheet\CachedObjectStorage\Memory;
|
||||
use PhpSpreadsheet\Cell;
|
|
@ -1,6 +1,6 @@
|
|||
<?php
|
||||
|
||||
namespace PhpSpreadsheet\Tests\Cell;
|
||||
namespace PhpSpreadsheetTests\Cell;
|
||||
|
||||
use PhpSpreadsheet\Cell\DataType;
|
||||
|
|
@ -1,6 +1,6 @@
|
|||
<?php
|
||||
|
||||
namespace PhpSpreadsheet\Tests\Cell;
|
||||
namespace PhpSpreadsheetTests\Cell;
|
||||
|
||||
use PhpSpreadsheet\Cell;
|
||||
use PhpSpreadsheet\Cell\DataType;
|
|
@ -1,6 +1,6 @@
|
|||
<?php
|
||||
|
||||
namespace PhpSpreadsheet\Tests\Cell;
|
||||
namespace PhpSpreadsheetTests\Cell;
|
||||
|
||||
use PhpSpreadsheet\Cell\Hyperlink;
|
||||
|
|
@ -1,6 +1,6 @@
|
|||
<?php
|
||||
|
||||
namespace PhpSpreadsheet\Tests;
|
||||
namespace PhpSpreadsheetTests;
|
||||
|
||||
use PhpSpreadsheet\Cell;
|
||||
use PhpSpreadsheet\Exception;
|
|
@ -1,6 +1,6 @@
|
|||
<?php
|
||||
|
||||
namespace PhpSpreadsheet\Tests\Chart;
|
||||
namespace PhpSpreadsheetTests\Chart;
|
||||
|
||||
use PhpSpreadsheet\Chart\DataSeriesValues;
|
||||
use PhpSpreadsheet\Exception;
|
|
@ -1,6 +1,6 @@
|
|||
<?php
|
||||
|
||||
namespace PhpSpreadsheet\Tests\Chart;
|
||||
namespace PhpSpreadsheetTests\Chart;
|
||||
|
||||
use PhpSpreadsheet\Chart\Layout;
|
||||
|
|
@ -1,6 +1,6 @@
|
|||
<?php
|
||||
|
||||
namespace PhpSpreadsheet\Tests\Chart;
|
||||
namespace PhpSpreadsheetTests\Chart;
|
||||
|
||||
use PhpSpreadsheet\Chart\Legend;
|
||||
|
|
@ -1,6 +1,6 @@
|
|||
<?php
|
||||
|
||||
namespace PhpSpreadsheet\Tests\Custom;
|
||||
namespace PhpSpreadsheetTests\Custom;
|
||||
|
||||
use PhpSpreadsheet\Exception;
|
||||
|
|
@ -1,6 +1,6 @@
|
|||
<?php
|
||||
|
||||
namespace PhpSpreadsheet\Tests\Custom;
|
||||
namespace PhpSpreadsheetTests\Custom;
|
||||
|
||||
class ComplexAssert
|
||||
{
|
|
@ -1,6 +1,6 @@
|
|||
<?php
|
||||
|
||||
namespace PhpSpreadsheet\Tests\Reader;
|
||||
namespace PhpSpreadsheetTests\Reader;
|
||||
|
||||
use PhpSpreadsheet\Reader\BaseReader;
|
||||
|
|
@ -1,6 +1,6 @@
|
|||
<?php
|
||||
|
||||
namespace PhpSpreadsheet\Tests;
|
||||
namespace PhpSpreadsheetTests;
|
||||
|
||||
use PhpSpreadsheet\ReferenceHelper;
|
||||
|
|
@ -1,6 +1,6 @@
|
|||
<?php
|
||||
|
||||
namespace PhpSpreadsheet\Tests;
|
||||
namespace PhpSpreadsheetTests;
|
||||
|
||||
class SettingsTest extends \PHPUnit_Framework_TestCase
|
||||
{
|
|
@ -1,6 +1,6 @@
|
|||
<?php
|
||||
|
||||
namespace PhpSpreadsheet\Tests\Shared;
|
||||
namespace PhpSpreadsheetTests\Shared;
|
||||
|
||||
use PhpSpreadsheet\Exception;
|
||||
use PhpSpreadsheet\Shared\CodePage;
|
|
@ -1,6 +1,6 @@
|
|||
<?php
|
||||
|
||||
namespace PhpSpreadsheet\Tests\Shared;
|
||||
namespace PhpSpreadsheetTests\Shared;
|
||||
|
||||
use PhpSpreadsheet\Shared\Date;
|
||||
|
|
@ -1,6 +1,6 @@
|
|||
<?php
|
||||
|
||||
namespace PhpSpreadsheet\Tests\Shared;
|
||||
namespace PhpSpreadsheetTests\Shared;
|
||||
|
||||
use PhpSpreadsheet\Shared\File;
|
||||
|
|
@ -1,6 +1,6 @@
|
|||
<?php
|
||||
|
||||
namespace PhpSpreadsheet\Tests\Shared;
|
||||
namespace PhpSpreadsheetTests\Shared;
|
||||
|
||||
use PhpSpreadsheet\Shared\Font;
|
||||
|
|
@ -1,6 +1,6 @@
|
|||
<?php
|
||||
|
||||
namespace PhpSpreadsheet\Tests\Shared;
|
||||
namespace PhpSpreadsheetTests\Shared;
|
||||
|
||||
use PhpSpreadsheet\Shared\PasswordHasher;
|
||||
|
|
@ -1,6 +1,6 @@
|
|||
<?php
|
||||
|
||||
namespace PhpSpreadsheet\Tests\Shared;
|
||||
namespace PhpSpreadsheetTests\Shared;
|
||||
|
||||
use PhpSpreadsheet\Shared\StringHelper;
|
||||
|
|
@ -1,6 +1,6 @@
|
|||
<?php
|
||||
|
||||
namespace PhpSpreadsheet\Tests\Shared;
|
||||
namespace PhpSpreadsheetTests\Shared;
|
||||
|
||||
use PhpSpreadsheet\Shared\TimeZone;
|
||||
|
|
@ -1,6 +1,6 @@
|
|||
<?php
|
||||
|
||||
namespace PhpSpreadsheet\Tests\Style;
|
||||
namespace PhpSpreadsheetTests\Style;
|
||||
|
||||
use PhpSpreadsheet\Style\Color;
|
||||
|
|
@ -1,6 +1,6 @@
|
|||
<?php
|
||||
|
||||
namespace PhpSpreadsheet\Tests\Style;
|
||||
namespace PhpSpreadsheetTests\Style;
|
||||
|
||||
use PhpSpreadsheet\Shared\StringHelper;
|
||||
use PhpSpreadsheet\Style\NumberFormat;
|
|
@ -1,6 +1,6 @@
|
|||
<?php
|
||||
|
||||
namespace PhpSpreadsheet\Tests\Style;
|
||||
namespace PhpSpreadsheetTests\Style;
|
||||
|
||||
use PhpSpreadsheet\Shared\StringHelper;
|
||||
use PhpSpreadsheet\Style\NumberFormat;
|
|
@ -1,6 +1,6 @@
|
|||
<?php
|
||||
|
||||
namespace PhpSpreadsheet\Tests\Worksheet\AutoFilter\Column;
|
||||
namespace PhpSpreadsheetTests\Worksheet\AutoFilter\Column;
|
||||
|
||||
use PhpSpreadsheet\Worksheet\AutoFilter\Column;
|
||||
|
|
@ -1,6 +1,6 @@
|
|||
<?php
|
||||
|
||||
namespace PhpSpreadsheet\Tests\Worksheet\AutoFilter;
|
||||
namespace PhpSpreadsheetTests\Worksheet\AutoFilter;
|
||||
|
||||
use PhpSpreadsheet\Worksheet\AutoFilter;
|
||||
|
|
@ -1,6 +1,6 @@
|
|||
<?php
|
||||
|
||||
namespace PhpSpreadsheet\Tests\Worksheet;
|
||||
namespace PhpSpreadsheetTests\Worksheet;
|
||||
|
||||
use PhpSpreadsheet\CachedObjectStorage\Memory;
|
||||
use PhpSpreadsheet\Worksheet;
|
|
@ -1,6 +1,6 @@
|
|||
<?php
|
||||
|
||||
namespace PhpSpreadsheet\Tests\Worksheet;
|
||||
namespace PhpSpreadsheetTests\Worksheet;
|
||||
|
||||
use PhpSpreadsheet\CachedObjectStorageFactory;
|
||||
use PhpSpreadsheet\Spreadsheet;
|
|
@ -1,6 +1,6 @@
|
|||
<?php
|
||||
|
||||
namespace PhpSpreadsheet\Tests\Worksheet;
|
||||
namespace PhpSpreadsheetTests\Worksheet;
|
||||
|
||||
use PhpSpreadsheet\Cell;
|
||||
use PhpSpreadsheet\Worksheet;
|
|
@ -1,6 +1,6 @@
|
|||
<?php
|
||||
|
||||
namespace PhpSpreadsheet\Tests\Worksheet;
|
||||
namespace PhpSpreadsheetTests\Worksheet;
|
||||
|
||||
use PhpSpreadsheet\Worksheet;
|
||||
use PhpSpreadsheet\Worksheet\Column;
|
|
@ -1,6 +1,6 @@
|
|||
<?php
|
||||
|
||||
namespace PhpSpreadsheet\Tests\Worksheet;
|
||||
namespace PhpSpreadsheetTests\Worksheet;
|
||||
|
||||
use PhpSpreadsheet\Cell;
|
||||
use PhpSpreadsheet\Worksheet;
|
|
@ -1,6 +1,6 @@
|
|||
<?php
|
||||
|
||||
namespace PhpSpreadsheet\Tests\Worksheet;
|
||||
namespace PhpSpreadsheetTests\Worksheet;
|
||||
|
||||
use PhpSpreadsheet\Worksheet;
|
||||
use PhpSpreadsheet\Worksheet\Row;
|
|
@ -1,6 +1,6 @@
|
|||
<?php
|
||||
|
||||
namespace PhpSpreadsheet\Tests\Worksheet;
|
||||
namespace PhpSpreadsheetTests\Worksheet;
|
||||
|
||||
use PhpSpreadsheet\Worksheet;
|
||||
use PhpSpreadsheet\Worksheet\Column;
|
|
@ -1,6 +1,6 @@
|
|||
<?php
|
||||
|
||||
namespace PhpSpreadsheet\Tests\Worksheet;
|
||||
namespace PhpSpreadsheetTests\Worksheet;
|
||||
|
||||
use PhpSpreadsheet\Worksheet;
|
||||
use PhpSpreadsheet\Worksheet\Row;
|
Loading…
Reference in New Issue