| Conditions | 1 |
| Paths | 1 |
| Total Lines | 21 |
| Code Lines | 19 |
| Lines | 0 |
| Ratio | 0 % |
| Changes | 0 | ||
| 1 | <?php |
||
| 16 | public function test_condition_contains() |
||
| 17 | { |
||
| 18 | $this->assertEquals( |
||
| 19 | '<div class="glsr-form-wrap">'. |
||
| 20 | '<form class="glsr-form test-form" method="post" enctype="multipart/form-data">'. |
||
| 21 | '<div class="glsr-form-message"></div>'. |
||
| 22 | '<div data-field="submit-button">'. |
||
| 23 | '<div class="wp-block-buttons is-layout-flex">'. |
||
| 24 | '<div class="wp-block-button">'. |
||
| 25 | '<button type="submit" class="glsr-button wp-block-button__link wp-element-button" aria-busy="false" data-loading="Please wait">'. |
||
| 26 | 'Test'. |
||
| 27 | '</button>'. |
||
| 28 | '</div>'. |
||
| 29 | '</div>'. |
||
| 30 | '</div>'. |
||
| 31 | '</form>'. |
||
| 32 | '</div>', |
||
| 33 | $this->build([ |
||
| 34 | 'button_text' => 'Test', |
||
| 35 | 'button_text_loading' => 'Please wait', |
||
| 36 | 'class' => 'test-form', |
||
| 37 | ]) |
||
| 66 |
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