diff options
author | h-hishida <h-hishida@quartetcom.co.jp> | 2015-04-28 09:46:49 +0900 |
---|---|---|
committer | h-hishida <h-hishida@quartetcom.co.jp> | 2015-04-28 09:46:49 +0900 |
commit | 14ef09d435b9da1c81e1a784caeb4368463937f5 (patch) | |
tree | 2435de828e9ee487fd1481064e2e86768009a060 | |
parent | 373ae12ca5db9837f84fef44f3f7077e766aca08 (diff) | |
download | PHPExcelFixer.StyleFixer-14ef09d435b9da1c81e1a784caeb4368463937f5.zip PHPExcelFixer.StyleFixer-14ef09d435b9da1c81e1a784caeb4368463937f5.tar.gz PHPExcelFixer.StyleFixer-14ef09d435b9da1c81e1a784caeb4368463937f5.tar.bz2 |
fixed namespace
-rw-r--r-- | composer.json | 7 | ||||
-rw-r--r-- | src/Plugin/CellStyleFixer.php | 12 | ||||
-rw-r--r-- | src/Plugin/ConditionalFormatFixer.php | 8 | ||||
-rw-r--r-- | src/Plugin/Plugin.php | 2 | ||||
-rw-r--r-- | src/StyleFixer.php | 4 | ||||
-rw-r--r-- | src/Util/Book.php | 2 | ||||
-rw-r--r-- | src/Util/Sheet.php | 2 | ||||
-rw-r--r-- | src/Util/XmlNamespace.php | 2 | ||||
-rw-r--r-- | tests/Plugin/BasePluginTest.php | 4 | ||||
-rw-r--r-- | tests/Plugin/CellStyleFixerTest.php | 4 | ||||
-rw-r--r-- | tests/Plugin/ConditionalFormatFixerTest.php | 2 | ||||
-rw-r--r-- | tests/StyleFixerTest.php | 8 | ||||
-rw-r--r-- | tests/Util/BookTest.php | 2 | ||||
-rw-r--r-- | tests/Util/SheetTest.php | 2 |
14 files changed, 30 insertions, 31 deletions
diff --git a/composer.json b/composer.json index 9780eb1..76026aa 100644 --- a/composer.json +++ b/composer.json @@ -1,18 +1,17 @@ { - "name": "phpexcel/stylefixer", + "name": "phpexcel-fixer/style-fixer", "description":" ", "keywords":[ ], "license": "BSD-3-Clause", "autoload":{ "psr-4":{ - "PHPExcel\\StyleFixer\\": "src/" + "PHPExcelFixer\\StyleFixer\\": "src/" } }, "autoload-dev":{ "psr-4":{ - "PHPExcel\\StyleFixer\\": "tests/", - "PHPExcel\\StyleFixer\\": "tests/Fake" + "PHPExcelFixer\\StyleFixer\\": "tests/" } }, "minimum-stability": "dev", diff --git a/src/Plugin/CellStyleFixer.php b/src/Plugin/CellStyleFixer.php index cbbb4af..cc497be 100644 --- a/src/Plugin/CellStyleFixer.php +++ b/src/Plugin/CellStyleFixer.php @@ -1,22 +1,22 @@ <?php -namespace PHPExcel\StyleFixer\Plugin; +namespace PHPExcelFixer\StyleFixer\Plugin; -use PHPExcel\StyleFixer\Util\Book as BookUtil; -use PHPExcel\StyleFixer\Util\Sheet as SheetUtil; -use PHPExcel\StyleFixer\Util\XmlNamespace; +use PHPExcelFixer\StyleFixer\Util\Book as BookUtil; +use PHPExcelFixer\StyleFixer\Util\Sheet as SheetUtil; +use PHPExcelFixer\StyleFixer\Util\XmlNamespace; class CellStyleFixer implements Plugin { /** - * @var \PHPExcel\StyleFixer\Util\Book + * @var \PHPExcelFixer\StyleFixer\Util\Book */ private $bookUtil; /** - * @var \PHPExcel\StyleFixer\Util\Sheet + * @var \PHPExcelFixer\StyleFixer\Util\Sheet */ private $sheetUtil; diff --git a/src/Plugin/ConditionalFormatFixer.php b/src/Plugin/ConditionalFormatFixer.php index 2c6638b..409f9c7 100644 --- a/src/Plugin/ConditionalFormatFixer.php +++ b/src/Plugin/ConditionalFormatFixer.php @@ -1,9 +1,9 @@ <?php -namespace PHPExcel\StyleFixer\Plugin; +namespace PHPExcelFixer\StyleFixer\Plugin; -use PHPExcel\StyleFixer\Util\Book as BookUtil; -use PHPExcel\StyleFixer\Util\XmlNamespace; +use PHPExcelFixer\StyleFixer\Util\Book as BookUtil; +use PHPExcelFixer\StyleFixer\Util\XmlNamespace; /** * Class ConditionalFormatFixer @@ -12,7 +12,7 @@ use PHPExcel\StyleFixer\Util\XmlNamespace; class ConditionalFormatFixer implements Plugin { /** - * @var \PHPExcel\StyleFixer\Util\Book + * @var \PHPExcelFixer\StyleFixer\Util\Book */ private $bookUtil; diff --git a/src/Plugin/Plugin.php b/src/Plugin/Plugin.php index 8229040..7f66dd9 100644 --- a/src/Plugin/Plugin.php +++ b/src/Plugin/Plugin.php @@ -1,7 +1,7 @@ <?php -namespace PHPExcel\StyleFixer\Plugin; +namespace PHPExcelFixer\StyleFixer\Plugin; interface Plugin diff --git a/src/StyleFixer.php b/src/StyleFixer.php index 2e4457a..c091ad4 100644 --- a/src/StyleFixer.php +++ b/src/StyleFixer.php @@ -1,8 +1,8 @@ <?php -namespace PHPExcel\StyleFixer; +namespace PHPExcelFixer\StyleFixer; -use PHPExcel\StyleFixer\Plugin\Plugin; +use PHPExcelFixer\StyleFixer\Plugin\Plugin; /** * Class StyleFixer diff --git a/src/Util/Book.php b/src/Util/Book.php index ac8d557..240bb3b 100644 --- a/src/Util/Book.php +++ b/src/Util/Book.php @@ -1,7 +1,7 @@ <?php -namespace PHPExcel\StyleFixer\Util; +namespace PHPExcelFixer\StyleFixer\Util; class Book diff --git a/src/Util/Sheet.php b/src/Util/Sheet.php index 6e11e1d..fa85d0a 100644 --- a/src/Util/Sheet.php +++ b/src/Util/Sheet.php @@ -1,7 +1,7 @@ <?php -namespace PHPExcel\StyleFixer\Util; +namespace PHPExcelFixer\StyleFixer\Util; class Sheet diff --git a/src/Util/XmlNamespace.php b/src/Util/XmlNamespace.php index 581510e..9ebb355 100644 --- a/src/Util/XmlNamespace.php +++ b/src/Util/XmlNamespace.php @@ -1,7 +1,7 @@ <?php -namespace PHPExcel\StyleFixer\Util; +namespace PHPExcelFixer\StyleFixer\Util; class XmlNamespace diff --git a/tests/Plugin/BasePluginTest.php b/tests/Plugin/BasePluginTest.php index 0686eb4..1705609 100644 --- a/tests/Plugin/BasePluginTest.php +++ b/tests/Plugin/BasePluginTest.php @@ -1,7 +1,7 @@ <?php -namespace PHPExcel\StyleFixer\Plugin; +namespace PHPExcelFixer\StyleFixer\Plugin; abstract class BasePluginTest extends \PHPUnit_Framework_TestCase @@ -30,7 +30,7 @@ abstract class BasePluginTest extends \PHPUnit_Framework_TestCase */ protected function createBookUtil($count, $map) { - $bookUtil = $this->getMock('PHPExcel\StyleFixer\Util\Book'); + $bookUtil = $this->getMock('PHPExcelFixer\StyleFixer\Util\Book'); $bookUtil ->expects($this->exactly($count)) ->method('makeSheetMap') diff --git a/tests/Plugin/CellStyleFixerTest.php b/tests/Plugin/CellStyleFixerTest.php index a30478a..36a500d 100644 --- a/tests/Plugin/CellStyleFixerTest.php +++ b/tests/Plugin/CellStyleFixerTest.php @@ -1,9 +1,9 @@ <?php -namespace PHPExcel\StyleFixer\Plugin; +namespace PHPExcelFixer\StyleFixer\Plugin; -use PHPExcel\StyleFixer\Util\Sheet; +use PHPExcelFixer\StyleFixer\Util\Sheet; class CellStyleFixerTest extends BasePluginTest { diff --git a/tests/Plugin/ConditionalFormatFixerTest.php b/tests/Plugin/ConditionalFormatFixerTest.php index e0d97ac..8fde6de 100644 --- a/tests/Plugin/ConditionalFormatFixerTest.php +++ b/tests/Plugin/ConditionalFormatFixerTest.php @@ -1,7 +1,7 @@ <?php -namespace PHPExcel\StyleFixer\Plugin; +namespace PHPExcelFixer\StyleFixer\Plugin; class ConditionalFormatFixerTest extends BasePluginTest diff --git a/tests/StyleFixerTest.php b/tests/StyleFixerTest.php index 8351525..30a6d8e 100644 --- a/tests/StyleFixerTest.php +++ b/tests/StyleFixerTest.php @@ -1,7 +1,7 @@ <?php -namespace PHPExcel\StyleFixer; +namespace PHPExcelFixer\StyleFixer; class StyleFixerTest extends \PHPUnit_Framework_TestCase @@ -37,7 +37,7 @@ class StyleFixerTest extends \PHPUnit_Framework_TestCase $templatePath => $template, ]; - $fixer = $this->getMockBuilder('PHPExcel\StyleFixer\StyleFixer') + $fixer = $this->getMockBuilder('PHPExcelFixer\StyleFixer\StyleFixer') ->setMethods(['openFile']) ->getMock() ; @@ -86,9 +86,9 @@ class StyleFixerTest extends \PHPUnit_Framework_TestCase $outputPath => $output, $templatePath => $template, ]; - $plugin = $this->getMockForAbstractClass('PHPExcel\StyleFixer\Plugin\Plugin'); + $plugin = $this->getMockForAbstractClass('PHPExcelFixer\StyleFixer\Plugin\Plugin'); - $fixer = $this->getMockBuilder('PHPExcel\StyleFixer\StyleFixer') + $fixer = $this->getMockBuilder('PHPExcelFixer\StyleFixer\StyleFixer') ->setMethods(['openFile']) ->setConstructorArgs([[$plugin]]) ->getMock() diff --git a/tests/Util/BookTest.php b/tests/Util/BookTest.php index 2e0c26c..d44c7d2 100644 --- a/tests/Util/BookTest.php +++ b/tests/Util/BookTest.php @@ -1,7 +1,7 @@ <?php -namespace PHPExcel\StyleFixer\Util; +namespace PHPExcelFixer\StyleFixer\Util; class BookTest extends \PHPUnit_Framework_TestCase { diff --git a/tests/Util/SheetTest.php b/tests/Util/SheetTest.php index 339e731..d16d75a 100644 --- a/tests/Util/SheetTest.php +++ b/tests/Util/SheetTest.php @@ -1,7 +1,7 @@ <?php -namespace PHPExcel\StyleFixer\Util; +namespace PHPExcelFixer\StyleFixer\Util; class SheetTest extends \PHPUnit_Framework_TestCase |