We could not synchronize checks via GitHub's checks API since Scrutinizer's GitHub App is not installed for this repository.
| 1 | <?php |
||
| 5 | trait TraitReflections |
||
| 6 | { |
||
| 7 | public function checkForTemplatesAndUniquePagesNotDistinct() |
||
| 20 | |||
| 21 | /** |
||
| 22 | * Get all defined unique pages. |
||
| 23 | */ |
||
| 24 | public function getUniquePages() |
||
| 25 | { |
||
| 26 | $pages_trait = new \ReflectionClass('App\UniquePages'); |
||
| 27 | $pages = $pages_trait->getMethods(\ReflectionMethod::IS_PRIVATE); |
||
| 28 | |||
| 29 | return $pages; |
||
| 30 | } |
||
| 31 | |||
| 32 | /** |
||
| 33 | * Get all defined templates. |
||
| 34 | */ |
||
| 35 | public function getTemplates($template_name = false) |
||
| 48 | } |
||
| 49 |
Overly long lines are hard to read on any screen. Most code styles therefor impose a maximum limit on the number of characters in a line.