Skip to content

Commit

Permalink
Merge remote-tracking branch 'remotes/origin/develop'
Browse files Browse the repository at this point in the history
  • Loading branch information
Roman Syroeshko committed Jul 7, 2016
2 parents 0525632 + f8970ce commit c9be70c
Show file tree
Hide file tree
Showing 19 changed files with 37 additions and 19 deletions.
5 changes: 5 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -38,3 +38,8 @@

### Features
- Added Zip Adapters (PclZip & ZipArchive)

## 0.2.6

### Changes
- `\PhpOffice\Common\Text::utf8ToUnicode()` became `public`.
2 changes: 1 addition & 1 deletion VERSION
Original file line number Diff line number Diff line change
@@ -1 +1 @@
0.2.4
0.2.6
15 changes: 14 additions & 1 deletion phpmd.xml.dist
Original file line number Diff line number Diff line change
Expand Up @@ -4,11 +4,24 @@
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation="http://pmd.sf.net/ruleset/1.0.0 http://pmd.sf.net/ruleset_xml_schema.xsd"
xsi:noNamespaceSchemaLocation="http://pmd.sf.net/ruleset_xml_schema.xsd">
<rule ref="rulesets/naming.xml"/>
<rule ref="rulesets/naming.xml">
<exclude name="LongVariable" />
</rule>
<rule ref="rulesets/naming.xml/LongVariable">
<properties>
<property name="maximum" value="32" />
</properties>
</rule>
<rule ref="rulesets/design.xml/ExitExpression" />
<rule ref="rulesets/design.xml/EvalExpression" />
<rule ref="rulesets/design.xml/GotoStatement" />
<rule ref="rulesets/design.xml/DepthOfInheritance" />
<rule ref="rulesets/design.xml/CouplingBetweenObjects">
<!-- AbstractContainer needs more coupling (default: 13) -->
<properties>
<property name="minimum" value="20" />
</properties>
</rule>
<rule ref="rulesets/design.xml/NumberOfChildren">
<!-- AbstractStyle needs more children (default: 15) -->
<properties>
Expand Down
2 changes: 1 addition & 1 deletion src/Common/Autoloader.php
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@
* contributors, visit https://github.com/PHPOffice/Common/contributors.
*
* @link https://github.com/PHPOffice/Common
* @copyright 2009-2014 PHPOffice Common contributors
* @copyright 2009-2016 PHPOffice Common contributors
* @license http://www.gnu.org/licenses/lgpl.txt LGPL version 3
*/

Expand Down
2 changes: 1 addition & 1 deletion src/Common/Drawing.php
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@
* contributors, visit https://github.com/PHPOffice/PHPWord/contributors.
*
* @link https://github.com/PHPOffice/Common
* @copyright 2009-2014 PHPOffice Common contributors
* @copyright 2009-2016 PHPOffice Common contributors
* @license http://www.gnu.org/licenses/lgpl.txt LGPL version 3
*/

Expand Down
2 changes: 1 addition & 1 deletion src/Common/File.php
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@
* contributors, visit https://github.com/PHPOffice/PHPWord/contributors.
*
* @link https://github.com/PHPOffice/Common
* @copyright 2009-2014 PHPOffice Common contributors
* @copyright 2009-2016 PHPOffice Common contributors
* @license http://www.gnu.org/licenses/lgpl.txt LGPL version 3
*/

Expand Down
2 changes: 1 addition & 1 deletion src/Common/Font.php
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@
* contributors, visit https://github.com/PHPOffice/Common/contributors.
*
* @link https://github.com/PHPOffice/Common
* @copyright 2009-2014 PHPOffice Common contributors
* @copyright 2009-2016 PHPOffice Common contributors
* @license http://www.gnu.org/licenses/lgpl.txt LGPL version 3
*/

Expand Down
2 changes: 1 addition & 1 deletion src/Common/Microsoft/OLERead.php
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@
* contributors, visit https://github.com/PHPOffice/Common/contributors.
*
* @link https://github.com/PHPOffice/Common
* @copyright 2009-2014 PHPOffice Common contributors
* @copyright 2009-2016 PHPOffice Common contributors
* @license http://www.gnu.org/licenses/lgpl.txt LGPL version 3
*/

Expand Down
4 changes: 2 additions & 2 deletions src/Common/Text.php
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@
* contributors, visit https://github.com/PHPOffice/Common/contributors.
*
* @link https://github.com/PHPOffice/Common
* @copyright 2009-2014 PHPOffice Common contributors
* @copyright 2009-2016 PHPOffice Common contributors
* @license http://www.gnu.org/licenses/lgpl.txt LGPL version 3
*/

Expand Down Expand Up @@ -162,7 +162,7 @@ public static function toUnicode($text)
* @since 0.11.0
* @link http://www.randomchaos.com/documents/?source=php_and_unicode
*/
private static function utf8ToUnicode($text)
public static function utf8ToUnicode($text)
{
$unicode = array();
$values = array();
Expand Down
2 changes: 1 addition & 1 deletion src/Common/XMLReader.php
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@
* contributors, visit https://github.com/PHPOffice/Common/contributors.
*
* @link https://github.com/PHPOffice/Common
* @copyright 2009-2014 PHPOffice Common contributors
* @copyright 2009-2016 PHPOffice Common contributors
* @license http://www.gnu.org/licenses/lgpl.txt LGPL version 3
*/

Expand Down
2 changes: 1 addition & 1 deletion src/Common/XMLWriter.php
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@
* contributors, visit https://github.com/PHPOffice/Common/contributors.
*
* @link https://github.com/PHPOffice/Common
* @copyright 2009-2014 PHPOffice Common contributors
* @copyright 2009-2016 PHPOffice Common contributors
* @license http://www.gnu.org/licenses/lgpl.txt LGPL version 3
*/

Expand Down
2 changes: 1 addition & 1 deletion tests/Common/Tests/AutoloaderTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@
* contributors, visit https://github.com/PHPOffice/Common/contributors.
*
* @link https://github.com/PHPOffice/Common
* @copyright 2009-2014 PHPOffice Common contributors
* @copyright 2009-2016 PHPOffice Common contributors
* @license http://www.gnu.org/licenses/lgpl.txt LGPL version 3
*/

Expand Down
2 changes: 1 addition & 1 deletion tests/Common/Tests/DrawingTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@
* contributors, visit https://github.com/PHPOffice/Common/contributors.
*
* @link https://github.com/PHPOffice/Common
* @copyright 2009-2014 PHPOffice Common contributors
* @copyright 2009-2016 PHPOffice Common contributors
* @license http://www.gnu.org/licenses/lgpl.txt LGPL version 3
*/

Expand Down
2 changes: 1 addition & 1 deletion tests/Common/Tests/FileTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@
* contributors, visit https://github.com/PHPOffice/Common/contributors.
*
* @link https://github.com/PHPOffice/Common
* @copyright 2009-2014 PHPOffice Common contributors
* @copyright 2009-2016 PHPOffice Common contributors
* @license http://www.gnu.org/licenses/lgpl.txt LGPL version 3
*/

Expand Down
2 changes: 1 addition & 1 deletion tests/Common/Tests/FontTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@
* contributors, visit https://github.com/PHPOffice/Common/contributors.
*
* @link https://github.com/PHPOffice/Common
* @copyright 2009-2014 PHPOffice Common contributors
* @copyright 2009-2016 PHPOffice Common contributors
* @license http://www.gnu.org/licenses/lgpl.txt LGPL version 3
*/

Expand Down
2 changes: 1 addition & 1 deletion tests/Common/Tests/TextTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@
* contributors, visit https://github.com/PHPOffice/Common/contributors.
*
* @link https://github.com/PHPOffice/Common
* @copyright 2009-2014 PHPOffice Common contributors
* @copyright 2009-2016 PHPOffice Common contributors
* @license http://www.gnu.org/licenses/lgpl.txt LGPL version 3
*/

Expand Down
2 changes: 1 addition & 1 deletion tests/Common/Tests/XMLWriterTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@
* contributors, visit https://github.com/PHPOffice/Common/contributors.
*
* @link https://github.com/PHPOffice/Common
* @copyright 2009-2014 PHPOffice Common contributors
* @copyright 2009-2016 PHPOffice Common contributors
* @license http://www.gnu.org/licenses/lgpl.txt LGPL version 3
*/

Expand Down
2 changes: 1 addition & 1 deletion tests/Common/Tests/_includes/XmlDocument.php
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@
* contributors, visit https://github.com/PHPOffice/PHPPowerPoint/contributors.
*
* @link https://github.com/PHPOffice/PHPPowerPoint
* @copyright 2010-2014 PHPPowerPoint contributors
* @copyright 2010-2016 PHPPowerPoint contributors
* @license http://www.gnu.org/licenses/lgpl.txt LGPL version 3
*/

Expand Down
2 changes: 1 addition & 1 deletion tests/bootstrap.php
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
* file that was distributed with this source code. For the full list of
* contributors, visit https://github.com/PHPOffice/Common/contributors.
*
* @copyright 2010-2014 PHPOffice Common contributors
* @copyright 2010-2016 PHPOffice Common contributors
* @license http://www.gnu.org/licenses/lgpl.txt LGPL version 3
* @link https://github.com/PHPOffice/Common
*/
Expand Down

0 comments on commit c9be70c

Please sign in to comment.