Ocramius/ProxyManager

Verify support of `readonly` properties

Ocramius opened this issue · 0 comments

readonly properties must be verified.

Taking ClassWithMixedReferenceableTypedProperties:

<?php
declare(strict_types=1);
namespace ProxyManagerTestAsset;
/**
* Base test class to play around with mixed visibility properties with different type definitions
*
* @author Marco Pivetta <ocramius@gmail.com>
* @license MIT
*/
class ClassWithMixedReferenceableTypedProperties
{
public static $publicStaticUnTypedProperty = 'publicStaticUnTypedProperty';
public static $publicStaticUnTypedPropertyWithoutDefaultValue;

We need to add a ClassWithReadOnlyProperties, and integrate it in every test that uses ClassWithMixedReferenceableTypedProperties