| Conditions | 1 |
| Paths | 1 |
| Total Lines | 14 |
| Code Lines | 10 |
| Lines | 0 |
| Ratio | 0 % |
| Changes | 1 | ||
| Bugs | 0 | Features | 0 |
| 1 | <?php |
||
| 15 | public function dataProvider(): array |
||
| 16 | { |
||
| 17 | return [ |
||
| 18 | 'FQCN with method name' => [ |
||
| 19 | 'Method DaveLiddament\StaticAnalysisBaseliner\Core\Common\Location::__construct() has parameter $fileName with no typehint specified.', |
||
| 20 | 'Method has parameter $fileName with no typehint specified.', |
||
| 21 | ], |
||
| 22 | 'FQCN no method name' => [ |
||
| 23 | 'Demo\Employee has an uninitialized variable $this->age, but no constructor', |
||
| 24 | 'has an uninitialized variable $this->age, but no constructor', |
||
| 25 | ], |
||
| 26 | 'No FQCN' => [ |
||
| 27 | 'PHPDoc tag @param has invalid value ($fileName): Unexpected token expected TOKEN_IDENTIFIER at offset 54', |
||
| 28 | 'PHPDoc tag @param has invalid value ($fileName): Unexpected token expected TOKEN_IDENTIFIER at offset 54', |
||
| 29 | ], |
||
| 43 |