| Total Complexity | 3 |
| Total Lines | 29 |
| Duplicated Lines | 0 % |
| Changes | 0 | ||
| 1 | <?php |
||
| 8 | abstract class AbstractClass |
||
| 9 | { |
||
| 10 | public $property1; |
||
| 11 | |||
| 12 | public function __construct( |
||
| 13 | string $arg1, |
||
| 14 | BaseClass $object, |
||
| 15 | \ReflectionClass $reflection, |
||
| 16 | DateTime $date, |
||
| 17 | HttpRequest $request |
||
| 18 | ) { |
||
| 19 | // Some PHP code |
||
| 20 | } |
||
| 21 | |||
| 22 | /** |
||
| 23 | * @PHPUnitGen\AssertEquals(5:{2, 3}) |
||
| 24 | * @PHPUnitGen\AssertEquals(0) |
||
| 25 | */ |
||
| 26 | public static function simpleAddition(int $a = 0, int $b = 0): int |
||
| 27 | { |
||
| 28 | return $a + $b; |
||
| 29 | } |
||
| 30 | |||
| 31 | /** |
||
| 32 | * @PHPUnitGen\Set() |
||
| 33 | */ |
||
| 34 | public function setProperty1(bool $property1) |
||
| 35 | { |
||
| 36 | $this->property1 = $property1; |
||
| 37 | } |
||
| 39 |