From a956d5239710bcfcf54baefe50c39397cbbc199e Mon Sep 17 00:00:00 2001 From: shadz3rg Date: Mon, 13 Oct 2014 21:05:51 +0400 Subject: [PATCH] Prepare for GitHub 2 --- composer.json | 8 ++++---- src/{OfficeML => PHPStamp}/Document/Document.php | 6 +++--- .../Document/DocumentInterface.php | 8 ++++---- src/{OfficeML => PHPStamp}/Document/WordDocument.php | 10 +++++----- .../Document/WordDocument/Cleanup.php | 4 ++-- .../Document/WordDocument/Extension/Cell.php | 10 +++++----- .../Document/WordDocument/Extension/ListItem.php | 10 +++++----- .../Exception/ExtensionException.php | 2 +- .../Exception/InvalidArgumentException.php | 2 +- .../Exception/ParsingException.php | 2 +- .../Exception/ProcessorException.php | 2 +- src/{OfficeML => PHPStamp}/Extension/Extension.php | 4 ++-- .../Extension/ExtensionInterface.php | 4 ++-- src/{OfficeML => PHPStamp}/Processor.php | 4 ++-- src/{OfficeML => PHPStamp}/Processor/Lexer.php | 2 +- src/{OfficeML => PHPStamp}/Processor/Tag.php | 2 +- src/{OfficeML => PHPStamp}/Processor/TagMapper.php | 6 +++--- src/{OfficeML => PHPStamp}/Result.php | 6 +++--- src/{OfficeML => PHPStamp}/Templator.php | 8 ++++---- src/{OfficeML => PHPStamp}/XMLHelper.php | 4 ++-- tests/TagMapperTest.php | 4 ++-- 21 files changed, 54 insertions(+), 54 deletions(-) rename src/{OfficeML => PHPStamp}/Document/Document.php (95%) rename src/{OfficeML => PHPStamp}/Document/DocumentInterface.php (90%) rename src/{OfficeML => PHPStamp}/Document/WordDocument.php (88%) rename src/{OfficeML => PHPStamp}/Document/WordDocument/Cleanup.php (98%) rename src/{OfficeML => PHPStamp}/Document/WordDocument/Extension/Cell.php (92%) rename src/{OfficeML => PHPStamp}/Document/WordDocument/Extension/ListItem.php (92%) rename src/{OfficeML => PHPStamp}/Exception/ExtensionException.php (63%) rename src/{OfficeML => PHPStamp}/Exception/InvalidArgumentException.php (71%) rename src/{OfficeML => PHPStamp}/Exception/ParsingException.php (81%) rename src/{OfficeML => PHPStamp}/Exception/ProcessorException.php (65%) rename src/{OfficeML => PHPStamp}/Extension/Extension.php (93%) rename src/{OfficeML => PHPStamp}/Extension/ExtensionInterface.php (86%) rename src/{OfficeML => PHPStamp}/Processor.php (98%) rename src/{OfficeML => PHPStamp}/Processor/Lexer.php (99%) rename src/{OfficeML => PHPStamp}/Processor/Tag.php (97%) rename src/{OfficeML => PHPStamp}/Processor/TagMapper.php (97%) rename src/{OfficeML => PHPStamp}/Result.php (92%) rename src/{OfficeML => PHPStamp}/Templator.php (97%) rename src/{OfficeML => PHPStamp}/XMLHelper.php (98%) diff --git a/composer.json b/composer.json index 4dcf8b8..12ba0f0 100644 --- a/composer.json +++ b/composer.json @@ -1,16 +1,16 @@ { - "name": "shooz/docx", - "description": "Office documents template toolkit.", + "name": "xhrequest/PHPStamp", + "description": "Simple XML templating library", "require": { "doctrine/lexer": "dev-master" }, "authors": [ { - "name": "Gorokhov Oleg", + "name": "Oleg G.", "email": "ukhardc0r3@gmail.com" } ], "autoload": { - "psr-0": { "OfficeML": "src/" } + "psr-0": { "PHPStamp": "src/" } } } diff --git a/src/OfficeML/Document/Document.php b/src/PHPStamp/Document/Document.php similarity index 95% rename from src/OfficeML/Document/Document.php rename to src/PHPStamp/Document/Document.php index 7bb6a86..52c97b7 100644 --- a/src/OfficeML/Document/Document.php +++ b/src/PHPStamp/Document/Document.php @@ -1,9 +1,9 @@ setAccessible(true); @@ -41,7 +41,7 @@ public function it_parse_path_correctly() // case 3 $pathString = 'root-child'; $lexer->setInput($pathString); - $this->setExpectedException('OfficeML\Exception\ProcessorException'); + $this->setExpectedException('PHPStamp\Exception\ProcessorException'); $result = $method->invoke(new TagMapper, $lexer); }