@@ 128-137 (lines=10) @@ | ||
125 | } |
|
126 | } |
|
127 | ||
128 | protected function checkDoesntMatch(array $targets) |
|
129 | { |
|
130 | foreach ($targets as $k => $v) { |
|
131 | foreach ($targets as $j => $w) { |
|
132 | if ($k !== $j) { |
|
133 | $this->checkSingleMatch(false, $v, $w); |
|
134 | } |
|
135 | } |
|
136 | } |
|
137 | } |
|
138 | ||
139 | protected function checkSingleMatch(bool $expect, $lhs, $rhs) |
|
140 | { |
@@ 123-132 (lines=10) @@ | ||
120 | ]); |
|
121 | } |
|
122 | ||
123 | protected function checkDoesntMatch(array $types) |
|
124 | { |
|
125 | foreach ($types as $k => $v) { |
|
126 | foreach ($types as $j => $w) { |
|
127 | if ($k !== $j) { |
|
128 | $this->checkSingleMatch(false, $v, $w); |
|
129 | } |
|
130 | } |
|
131 | } |
|
132 | } |
|
133 | ||
134 | protected function checkMatches(array $types, bool $self = true) |
|
135 | { |