We could not synchronize checks via GitHub's checks API since Scrutinizer's GitHub App is not installed for this repository.
| Conditions | 1 |
| Paths | 1 |
| Total Lines | 25 |
| Code Lines | 13 |
| Lines | 0 |
| Ratio | 0 % |
| Changes | 1 | ||
| Bugs | 0 | Features | 0 |
| 1 | <?php |
||
| 23 | public function renderingContextCallsGetVariableProviderAdd(): void |
||
| 24 | { |
||
| 25 | $view = new StandaloneView(); |
||
| 26 | |||
| 27 | $view->assign('configObject', |
||
| 28 | [ 'wrap' => 'all.wrap = <article class="shlb-metadata-text-item metadata-title">|</article> |
||
| 29 | key.wrap = <label>|</label> |
||
| 30 | value.required = 1 |
||
| 31 | value.wrap = <li>|</li>' |
||
| 32 | ] |
||
| 33 | ); |
||
| 34 | $view->setTemplateSource( |
||
| 35 | '<html xmlns:kitodo="http://typo3.org/ns/Kitodo/Dlf/ViewHelpers"> |
||
| 36 | {configObject.wrap -> kitodo:metadataWrapVariable(name: \'metadataWrap\')} |
||
| 37 | </html>' |
||
| 38 | ); |
||
| 39 | $view->render(); |
||
| 40 | |||
| 41 | $this->assertEquals( |
||
| 42 | [ |
||
| 43 | 'key' => ['wrap' => '<label>|</label>'], |
||
| 44 | 'value' => ['required' => 1, 'wrap' => '<li>|</li>'], |
||
| 45 | 'all' => ['wrap' => '<article class="shlb-metadata-text-item metadata-title">|</article>'] |
||
| 46 | ], |
||
| 47 | $view->getRenderingContext()->getVariableProvider()->get('metadataWrap') |
||
| 48 | ); |
||
| 51 |
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