Closed mdeweerd closed 1 year ago
What Yii version do you have?
Yii v1.1.28
This is related to assignments to class properties that are not declared:
Wordpress has an evolved version: https://github.com/WordPress/WordPress/blob/master/wp-includes/Text/Diff/Engine/native.php
I opened a PR in upstream - there were also some changes to replace looping over list() the approach for the latter is different than that in Yii where unshift was applied.
I created a PR and applied changes even though the upstream PR is not yet merged.
Fixed with https://github.com/yiisoft/yii/pull/4536
I ran into this when performing a 'diff' in the yii code generator.
Non of the properties are defined in native.php.
I dropped in the following definitions, more may be needed: