Skip to content

Commit cd7afb2

Browse files
Merge pull request #490 from onlime/revert-undefined-property-fix-again
Fix Zend_Pdf_Element regression by added $value prop
2 parents 1e7f9bb + 75a300a commit cd7afb2

File tree

2 files changed

+5
-2
lines changed

2 files changed

+5
-2
lines changed

.rector.php

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -24,6 +24,10 @@
2424
CodeQuality\Class_\CompleteDynamicPropertiesRector::class
2525
])
2626
->withSkip([
27+
# see https://github.com/Shardj/zf1-future/pull/453
28+
CodeQuality\Class_\CompleteDynamicPropertiesRector::class => [
29+
__DIR__ . '/library/Zend/Pdf/Element.php',
30+
],
2731
Php53\FuncCall\DirNameFileConstantToDirConstantRector::class,
2832
Php53\Ternary\TernaryToElvisRector::class,
2933
Php54\Array_\LongArrayToShortArrayRector::class,

library/Zend/Pdf/Element.php

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -27,11 +27,10 @@
2727
* @copyright Copyright (c) 2005-2015 Zend Technologies USA Inc. (http://www.zend.com)
2828
* @license http://framework.zend.com/license/new-bsd New BSD License
2929
*
30-
* @property mixed $value
30+
* @property mixed $value see https://github.com/Shardj/zf1-future/pull/453
3131
*/
3232
abstract class Zend_Pdf_Element
3333
{
34-
public $value;
3534
public const TYPE_BOOL = 1;
3635
public const TYPE_NUMERIC = 2;
3736
public const TYPE_STRING = 3;

0 commit comments

Comments
 (0)