1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162 163 164 165 166 167 168 169 170 171 172 173 174 175 176 177 178 179 180 181 182 183 184 185 186 187 188 189 190 191 192 193 194 195 196 197 198 199 200
|
<?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 ClassWithMixedTypedProperties
{
public static $publicStaticUnTypedProperty = 'publicStaticUnTypedProperty';
public static $publicStaticUnTypedPropertyWithoutDefaultValue;
public static bool $publicStaticBoolProperty = true;
public static bool $publicStaticBoolPropertyWithoutDefaultValue;
public static ?bool $publicStaticNullableBoolProperty = true;
public static ?bool $publicStaticNullableBoolPropertyWithoutDefaultValue;
public static int $publicStaticIntProperty = 123;
public static int $publicStaticIntPropertyWithoutDefaultValue;
public static ?int $publicStaticNullableIntProperty = 123;
public static ?int $publicStaticNullableIntPropertyWithoutDefaultValue;
public static float $publicStaticFloatProperty = 123.456;
public static float $publicStaticFloatPropertyWithoutDefaultValue;
public static ?float $publicStaticNullableFloatProperty = 123.456;
public static ?float $publicStaticNullableFloatPropertyWithoutDefaultValue;
public static string $publicStaticStringProperty = 'publicStaticStringProperty';
public static string $publicStaticStringPropertyWithoutDefaultValue;
public static ?string $publicStaticNullableStringProperty = 'publicStaticStringProperty';
public static ?string $publicStaticNullableStringPropertyWithoutDefaultValue;
public static array $publicStaticArrayProperty = ['publicStaticArrayProperty'];
public static array $publicStaticArrayPropertyWithoutDefaultValue;
public static ?array $publicStaticNullableArrayProperty = ['publicStaticArrayProperty'];
public static ?array $publicStaticNullableArrayPropertyWithoutDefaultValue;
public static iterable $publicStaticIterableProperty = ['publicStaticIterableProperty'];
public static iterable $publicStaticIterablePropertyWithoutDefaultValue;
public static ?iterable $publicStaticNullableIterableProperty = ['publicStaticIterableProperty'];
public static ?iterable $publicStaticNullableIterablePropertyWithoutDefaultValue;
public static object $publicStaticObjectProperty;
public static ?object $publicStaticNullableObjectProperty;
public static EmptyClass $publicStaticClassProperty;
public static ?EmptyClass $publicStaticNullableClassProperty;
protected static $protectedStaticUnTypedProperty = 'protectedStaticUnTypedProperty';
protected static $protectedStaticUnTypedPropertyWithoutDefaultValue;
protected static bool $protectedStaticBoolProperty = true;
protected static bool $protectedStaticBoolPropertyWithoutDefaultValue;
protected static ?bool $protectedStaticNullableBoolProperty = true;
protected static ?bool $protectedStaticNullableBoolPropertyWithoutDefaultValue;
protected static int $protectedStaticIntProperty = 123;
protected static int $protectedStaticIntPropertyWithoutDefaultValue;
protected static ?int $protectedStaticNullableIntProperty = 123;
protected static ?int $protectedStaticNullableIntPropertyWithoutDefaultValue;
protected static float $protectedStaticFloatProperty = 123.456;
protected static float $protectedStaticFloatPropertyWithoutDefaultValue;
protected static ?float $protectedStaticNullableFloatProperty = 123.456;
protected static ?float $protectedStaticNullableFloatPropertyWithoutDefaultValue;
protected static string $protectedStaticStringProperty = 'protectedStaticStringProperty';
protected static string $protectedStaticStringPropertyWithoutDefaultValue;
protected static ?string $protectedStaticNullableStringProperty = 'protectedStaticStringProperty';
protected static ?string $protectedStaticNullableStringPropertyWithoutDefaultValue;
protected static array $protectedStaticArrayProperty = ['protectedStaticArrayProperty'];
protected static array $protectedStaticArrayPropertyWithoutDefaultValue;
protected static ?array $protectedStaticNullableArrayProperty = ['protectedStaticArrayProperty'];
protected static ?array $protectedStaticNullableArrayPropertyWithoutDefaultValue;
protected static iterable $protectedStaticIterableProperty = ['protectedStaticIterableProperty'];
protected static iterable $protectedStaticIterablePropertyWithoutDefaultValue;
protected static ?iterable $protectedStaticNullableIterableProperty = ['protectedStaticIterableProperty'];
protected static ?iterable $protectedStaticNullableIterablePropertyWithoutDefaultValue;
protected static object $protectedStaticObjectProperty;
protected static ?object $protectedStaticNullableObjectProperty;
protected static EmptyClass $protectedStaticClassProperty;
protected static ?EmptyClass $protectedStaticNullableClassProperty;
private static $privateStaticUnTypedProperty = 'privateStaticUnTypedProperty';
private static $privateStaticUnTypedPropertyWithoutDefaultValue;
private static bool $privateStaticBoolProperty = true;
private static bool $privateStaticBoolPropertyWithoutDefaultValue;
private static ?bool $privateStaticNullableBoolProperty = true;
private static ?bool $privateStaticNullableBoolPropertyWithoutDefaultValue;
private static int $privateStaticIntProperty = 123;
private static int $privateStaticIntPropertyWithoutDefaultValue;
private static ?int $privateStaticNullableIntProperty = 123;
private static ?int $privateStaticNullableIntPropertyWithoutDefaultValue;
private static float $privateStaticFloatProperty = 123.456;
private static float $privateStaticFloatPropertyWithoutDefaultValue;
private static ?float $privateStaticNullableFloatProperty = 123.456;
private static ?float $privateStaticNullableFloatPropertyWithoutDefaultValue;
private static string $privateStaticStringProperty = 'privateStaticStringProperty';
private static string $privateStaticStringPropertyWithoutDefaultValue;
private static ?string $privateStaticNullableStringProperty = 'privateStaticStringProperty';
private static ?string $privateStaticNullableStringPropertyWithoutDefaultValue;
private static array $privateStaticArrayProperty = ['privateStaticArrayProperty'];
private static array $privateStaticArrayPropertyWithoutDefaultValue;
private static ?array $privateStaticNullableArrayProperty = ['privateStaticArrayProperty'];
private static ?array $privateStaticNullableArrayPropertyWithoutDefaultValue;
private static iterable $privateStaticIterableProperty = ['privateStaticIterableProperty'];
private static iterable $privateStaticIterablePropertyWithoutDefaultValue;
private static ?iterable $privateStaticNullableIterableProperty = ['privateStaticIterableProperty'];
private static ?iterable $privateStaticNullableIterablePropertyWithoutDefaultValue;
private static object $privateStaticObjectProperty;
private static ?object $privateStaticNullableObjectProperty;
private static EmptyClass $privateStaticClassProperty;
private static ?EmptyClass $privateStaticNullableClassProperty;
public $publicUnTypedProperty = 'publicUnTypedProperty';
public $publicUnTypedPropertyWithoutDefaultValue;
public bool $publicBoolProperty = true;
public bool $publicBoolPropertyWithoutDefaultValue;
public ?bool $publicNullableBoolProperty = true;
public ?bool $publicNullableBoolPropertyWithoutDefaultValue;
public int $publicIntProperty = 123;
public int $publicIntPropertyWithoutDefaultValue;
public ?int $publicNullableIntProperty = 123;
public ?int $publicNullableIntPropertyWithoutDefaultValue;
public float $publicFloatProperty = 123.456;
public float $publicFloatPropertyWithoutDefaultValue;
public ?float $publicNullableFloatProperty = 123.456;
public ?float $publicNullableFloatPropertyWithoutDefaultValue;
public string $publicStringProperty = 'publicStringProperty';
public string $publicStringPropertyWithoutDefaultValue;
public ?string $publicNullableStringProperty = 'publicStringProperty';
public ?string $publicNullableStringPropertyWithoutDefaultValue;
public array $publicArrayProperty = ['publicArrayProperty'];
public array $publicArrayPropertyWithoutDefaultValue;
public ?array $publicNullableArrayProperty = ['publicArrayProperty'];
public ?array $publicNullableArrayPropertyWithoutDefaultValue;
public iterable $publicIterableProperty = ['publicIterableProperty'];
public iterable $publicIterablePropertyWithoutDefaultValue;
public ?iterable $publicNullableIterableProperty = ['publicIterableProperty'];
public ?iterable $publicNullableIterablePropertyWithoutDefaultValue;
public object $publicObjectProperty;
public ?object $publicNullableObjectProperty;
public EmptyClass $publicClassProperty;
public ?EmptyClass $publicNullableClassProperty;
protected $protectedUnTypedProperty = 'protectedUnTypedProperty';
protected $protectedUnTypedPropertyWithoutDefaultValue;
protected bool $protectedBoolProperty = true;
protected bool $protectedBoolPropertyWithoutDefaultValue;
protected ?bool $protectedNullableBoolProperty = true;
protected ?bool $protectedNullableBoolPropertyWithoutDefaultValue;
protected int $protectedIntProperty = 123;
protected int $protectedIntPropertyWithoutDefaultValue;
protected ?int $protectedNullableIntProperty = 123;
protected ?int $protectedNullableIntPropertyWithoutDefaultValue;
protected float $protectedFloatProperty = 123.456;
protected float $protectedFloatPropertyWithoutDefaultValue;
protected ?float $protectedNullableFloatProperty = 123.456;
protected ?float $protectedNullableFloatPropertyWithoutDefaultValue;
protected string $protectedStringProperty = 'protectedStringProperty';
protected string $protectedStringPropertyWithoutDefaultValue;
protected ?string $protectedNullableStringProperty = 'protectedStringProperty';
protected ?string $protectedNullableStringPropertyWithoutDefaultValue;
protected array $protectedArrayProperty = ['protectedArrayProperty'];
protected array $protectedArrayPropertyWithoutDefaultValue;
protected ?array $protectedNullableArrayProperty = ['protectedArrayProperty'];
protected ?array $protectedNullableArrayPropertyWithoutDefaultValue;
protected iterable $protectedIterableProperty = ['protectedIterableProperty'];
protected iterable $protectedIterablePropertyWithoutDefaultValue;
protected ?iterable $protectedNullableIterableProperty = ['protectedIterableProperty'];
protected ?iterable $protectedNullableIterablePropertyWithoutDefaultValue;
protected object $protectedObjectProperty;
protected ?object $protectedNullableObjectProperty;
protected EmptyClass $protectedClassProperty;
protected ?EmptyClass $protectedNullableClassProperty;
private $privateUnTypedProperty = 'privateUnTypedProperty';
private $privateUnTypedPropertyWithoutDefaultValue;
private bool $privateBoolProperty = true;
private bool $privateBoolPropertyWithoutDefaultValue;
private ?bool $privateNullableBoolProperty = true;
private ?bool $privateNullableBoolPropertyWithoutDefaultValue;
private int $privateIntProperty = 123;
private int $privateIntPropertyWithoutDefaultValue;
private ?int $privateNullableIntProperty = 123;
private ?int $privateNullableIntPropertyWithoutDefaultValue;
private float $privateFloatProperty = 123.456;
private float $privateFloatPropertyWithoutDefaultValue;
private ?float $privateNullableFloatProperty = 123.456;
private ?float $privateNullableFloatPropertyWithoutDefaultValue;
private string $privateStringProperty = 'privateStringProperty';
private string $privateStringPropertyWithoutDefaultValue;
private ?string $privateNullableStringProperty = 'privateStringProperty';
private ?string $privateNullableStringPropertyWithoutDefaultValue;
private array $privateArrayProperty = ['privateArrayProperty'];
private array $privateArrayPropertyWithoutDefaultValue;
private ?array $privateNullableArrayProperty = ['privateArrayProperty'];
private ?array $privateNullableArrayPropertyWithoutDefaultValue;
private iterable $privateIterableProperty = ['privateIterableProperty'];
private iterable $privateIterablePropertyWithoutDefaultValue;
private ?iterable $privateNullableIterableProperty = ['privateIterableProperty'];
private ?iterable $privateNullableIterablePropertyWithoutDefaultValue;
private object $privateObjectProperty;
private ?object $privateNullableObjectProperty;
private EmptyClass $privateClassProperty;
private ?EmptyClass $privateNullableClassProperty;
}
|