We could not synchronize checks via GitHub's checks API since Scrutinizer's GitHub App is not installed for this repository.
| Total Complexity | 8 |
| Total Lines | 40 |
| Duplicated Lines | 0 % |
| Changes | 0 | ||
| 1 | <?php |
||
| 10 | trait InteractsWithCrudControllers |
||
| 11 | { |
||
| 12 | /** |
||
| 13 | * Filter a list of file paths to those that look like CrudControllers and optionally validate contents. |
||
| 14 | */ |
||
| 15 | protected function filterCrudControllerPaths(array $paths, ?callable $contentsValidator = null): array |
||
| 42 | } |
||
| 43 | |||
| 44 | protected function isCrudControllerPath(string $path): bool |
||
| 47 | } |
||
| 48 | |||
| 49 | abstract protected function context(): UpgradeContext; |
||
| 50 | } |
||
| 51 |