We could not synchronize checks via GitHub's checks API since Scrutinizer's GitHub App is not installed for this repository.
| Conditions | 2 |
| Paths | 2 |
| Total Lines | 17 |
| Code Lines | 9 |
| Lines | 0 |
| Ratio | 0 % |
| Changes | 1 | ||
| Bugs | 0 | Features | 0 |
| 1 | <?php |
||
| 35 | public function render(): array |
||
| 36 | { |
||
| 37 | $result = $this->initializeResultArray(); |
||
| 38 | // Show warning only when editing existing records. |
||
| 39 | if ($this->data['command'] !== 'new') { |
||
| 40 | // Load localization file. |
||
| 41 | $GLOBALS['LANG']->includeLLFile('EXT:dlf/Resources/Private/Language/FlashMessages.xml'); |
||
| 42 | // Create flash message. |
||
| 43 | Helper::addMessage( |
||
| 44 | htmlspecialchars($GLOBALS['LANG']->getLL('flash.editInProductionWarning')), |
||
| 45 | '', // We must not set a title/header, because <h4> isn't allowed in FieldInformation. |
||
| 46 | \TYPO3\CMS\Core\Messaging\FlashMessage::WARNING |
||
| 47 | ); |
||
| 48 | // Add message to result array. |
||
| 49 | $result['html'] = Helper::renderFlashMessages(); |
||
| 50 | } |
||
| 51 | return $result; |
||
| 52 | } |
||
| 54 |
The issue could also be caused by a filter entry in the build configuration. If the path has been excluded in your configuration, e.g.
excluded_paths: ["lib/*"], you can move it to the dependency path list as follows:For further information see https://scrutinizer-ci.com/docs/tools/php/php-scrutinizer/#list-dependency-paths