Skip to content

Commit c9be70c

Browse files
author
Roman Syroeshko
committed
Merge remote-tracking branch 'remotes/origin/develop'
2 parents 0525632 + f8970ce commit c9be70c

File tree

19 files changed

+37
-19
lines changed

19 files changed

+37
-19
lines changed

CHANGELOG.md

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -38,3 +38,8 @@
3838

3939
### Features
4040
- Added Zip Adapters (PclZip & ZipArchive)
41+
42+
## 0.2.6
43+
44+
### Changes
45+
- `\PhpOffice\Common\Text::utf8ToUnicode()` became `public`.

VERSION

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
0.2.4
1+
0.2.6

phpmd.xml.dist

Lines changed: 14 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,11 +4,24 @@
44
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
55
xsi:schemaLocation="http://pmd.sf.net/ruleset/1.0.0 http://pmd.sf.net/ruleset_xml_schema.xsd"
66
xsi:noNamespaceSchemaLocation="http://pmd.sf.net/ruleset_xml_schema.xsd">
7-
<rule ref="rulesets/naming.xml"/>
7+
<rule ref="rulesets/naming.xml">
8+
<exclude name="LongVariable" />
9+
</rule>
10+
<rule ref="rulesets/naming.xml/LongVariable">
11+
<properties>
12+
<property name="maximum" value="32" />
13+
</properties>
14+
</rule>
815
<rule ref="rulesets/design.xml/ExitExpression" />
916
<rule ref="rulesets/design.xml/EvalExpression" />
1017
<rule ref="rulesets/design.xml/GotoStatement" />
1118
<rule ref="rulesets/design.xml/DepthOfInheritance" />
19+
<rule ref="rulesets/design.xml/CouplingBetweenObjects">
20+
<!-- AbstractContainer needs more coupling (default: 13) -->
21+
<properties>
22+
<property name="minimum" value="20" />
23+
</properties>
24+
</rule>
1225
<rule ref="rulesets/design.xml/NumberOfChildren">
1326
<!-- AbstractStyle needs more children (default: 15) -->
1427
<properties>

src/Common/Autoloader.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@
1010
* contributors, visit https://github.com/PHPOffice/Common/contributors.
1111
*
1212
* @link https://github.com/PHPOffice/Common
13-
* @copyright 2009-2014 PHPOffice Common contributors
13+
* @copyright 2009-2016 PHPOffice Common contributors
1414
* @license http://www.gnu.org/licenses/lgpl.txt LGPL version 3
1515
*/
1616

src/Common/Drawing.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@
1010
* contributors, visit https://github.com/PHPOffice/PHPWord/contributors.
1111
*
1212
* @link https://github.com/PHPOffice/Common
13-
* @copyright 2009-2014 PHPOffice Common contributors
13+
* @copyright 2009-2016 PHPOffice Common contributors
1414
* @license http://www.gnu.org/licenses/lgpl.txt LGPL version 3
1515
*/
1616

src/Common/File.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@
1010
* contributors, visit https://github.com/PHPOffice/PHPWord/contributors.
1111
*
1212
* @link https://github.com/PHPOffice/Common
13-
* @copyright 2009-2014 PHPOffice Common contributors
13+
* @copyright 2009-2016 PHPOffice Common contributors
1414
* @license http://www.gnu.org/licenses/lgpl.txt LGPL version 3
1515
*/
1616

src/Common/Font.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@
1010
* contributors, visit https://github.com/PHPOffice/Common/contributors.
1111
*
1212
* @link https://github.com/PHPOffice/Common
13-
* @copyright 2009-2014 PHPOffice Common contributors
13+
* @copyright 2009-2016 PHPOffice Common contributors
1414
* @license http://www.gnu.org/licenses/lgpl.txt LGPL version 3
1515
*/
1616

src/Common/Microsoft/OLERead.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@
1010
* contributors, visit https://github.com/PHPOffice/Common/contributors.
1111
*
1212
* @link https://github.com/PHPOffice/Common
13-
* @copyright 2009-2014 PHPOffice Common contributors
13+
* @copyright 2009-2016 PHPOffice Common contributors
1414
* @license http://www.gnu.org/licenses/lgpl.txt LGPL version 3
1515
*/
1616

src/Common/Text.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@
1010
* contributors, visit https://github.com/PHPOffice/Common/contributors.
1111
*
1212
* @link https://github.com/PHPOffice/Common
13-
* @copyright 2009-2014 PHPOffice Common contributors
13+
* @copyright 2009-2016 PHPOffice Common contributors
1414
* @license http://www.gnu.org/licenses/lgpl.txt LGPL version 3
1515
*/
1616

@@ -162,7 +162,7 @@ public static function toUnicode($text)
162162
* @since 0.11.0
163163
* @link http://www.randomchaos.com/documents/?source=php_and_unicode
164164
*/
165-
private static function utf8ToUnicode($text)
165+
public static function utf8ToUnicode($text)
166166
{
167167
$unicode = array();
168168
$values = array();

src/Common/XMLReader.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@
1010
* contributors, visit https://github.com/PHPOffice/Common/contributors.
1111
*
1212
* @link https://github.com/PHPOffice/Common
13-
* @copyright 2009-2014 PHPOffice Common contributors
13+
* @copyright 2009-2016 PHPOffice Common contributors
1414
* @license http://www.gnu.org/licenses/lgpl.txt LGPL version 3
1515
*/
1616

0 commit comments

Comments
 (0)