Code Coverage
 
Lines
Functions and Methods
Classes and Traits
Total
n/a
0 / 0
n/a
0 / 0
CRAP
n/a
0 / 0
ClassWithAttributes
n/a
0 / 0
n/a
0 / 0
0
n/a
0 / 0
1<?php
2namespace Apie\Fixtures\Other;
3
4use Apie\Core\Attributes\Not;
5use Apie\Core\Attributes\Requires;
6use Apie\Core\Attributes\RuntimeCheck;
7
8class ClassWithAttributes
9{
10    #[RuntimeCheck(new Requires('test'))]
11    public string $property;
12
13    #[RuntimeCheck(new Requires('test'))]
14    #[RuntimeCheck(new Requires('test2'))]
15    public string $property2;
16
17    #[RuntimeCheck(new Not(new Requires('test')))]
18    public string $property3;
19}