"Fossies" - the Fresh Open Source Software Archive  

Source code changes of the file "public_html/lists/base/vendor/symfony/symfony/src/Symfony/Bridge/ProxyManager/LazyProxy/PhpDumper/ProxyDumper.php" between
phplist-3.4.5.tgz and phplist-3.4.6.tgz

About: phpList is a one-way email announcement delivery system for newsletters, publicity lists, notifications, and many other uses (requires PHP and MySQL).

ProxyDumper.php  (phplist-3.4.5.tgz):ProxyDumper.php  (phplist-3.4.6.tgz)
skipping to change at line 114 skipping to change at line 114
); );
if (version_compare(self::getProxyManagerVersion(), '2.2', '<')) { if (version_compare(self::getProxyManagerVersion(), '2.2', '<')) {
$code = preg_replace( $code = preg_replace(
'/((?:\$(?:this|initializer|instance)->)?(?:publicProperties|ini tializer|valueHolder))[0-9a-f]++/', '/((?:\$(?:this|initializer|instance)->)?(?:publicProperties|ini tializer|valueHolder))[0-9a-f]++/',
'${1}'.$this->getIdentifierSuffix($definition), '${1}'.$this->getIdentifierSuffix($definition),
$code $code
); );
} }
if (version_compare(self::getProxyManagerVersion(), '2.5', '<')) {
$code = preg_replace('/ \\\\Closure::bind\(function ((?:& )?\(\$inst
ance(?:, \$value)?\))/', ' \Closure::bind(static function \1', $code);
}
return $code; return $code;
} }
/** /**
* @return string * @return string
*/ */
private static function getProxyManagerVersion() private static function getProxyManagerVersion()
{ {
if (!class_exists(Version::class)) { if (!class_exists(Version::class)) {
return '0.0.1'; return '0.0.1';
 End of changes. 1 change blocks. 
0 lines changed or deleted 5 lines changed or added

Home  |  About  |  Features  |  All  |  Newest  |  Dox  |  Diffs  |  RSS Feeds  |  Screenshots  |  Comments  |  Imprint  |  Privacy  |  HTTP(S)