We could not synchronize checks via GitHub's checks API since Scrutinizer's GitHub App is not installed for this repository.
| 1 | <?php |
||
| 34 | abstract class Node_Fix_Testcase extends PHP_Typography_Testcase { |
||
| 35 | |||
| 36 | /** |
||
| 37 | * Settings object. |
||
| 38 | * |
||
| 39 | * @var Ssttings |
||
| 40 | */ |
||
| 41 | protected $s; |
||
| 42 | |||
| 43 | /** |
||
| 44 | * Our test object. |
||
| 45 | * |
||
| 46 | * @var Node_Fix |
||
| 47 | */ |
||
| 48 | protected $fix; |
||
| 49 | |||
| 50 | /** |
||
| 51 | * Sets up the fixture, for example, opens a network connection. |
||
| 52 | * This method is called before a test is executed. |
||
| 53 | */ |
||
| 54 | protected function setUp() { // @codingStandardsIgnoreLine |
||
| 57 | |||
| 58 | /** |
||
| 59 | * Create a normalilzed textnode. |
||
| 60 | * |
||
| 61 | * @param string $value Required. |
||
| 62 | * |
||
| 63 | * @return \DOMText |
||
| 64 | */ |
||
| 65 | protected function create_textnode( $value ) { |
||
| 69 | |||
| 70 | /** |
||
| 71 | * Assert that the output of the fix is the same as the expected result. |
||
| 72 | * |
||
| 73 | * @param string $input Text node value. |
||
| 74 | * @param string $result Expected result. |
||
| 75 | * @param string|null $left_sibling Optional. Left sibling node value. Default null. |
||
| 76 | * @param string|null $right_sibling Optional. Right sibling node value. Default null. |
||
| 77 | * @param string $parent_tag Optional. Parent tag. Default 'p'. |
||
| 78 | * @param bool $is_title Optional. Default false. |
||
| 79 | */ |
||
| 80 | protected function assertFixResultSame( $input, $result, $left_sibling = null, $right_sibling = null, $parent_tag = 'p', $is_title = false ) { |
||
| 102 | } |
||
| 103 |
Our type inference engine has found an assignment to a property that is incompatible with the declared type of that property.
Either this assignment is in error or the assigned type should be added to the documentation/type hint for that property..