We could not synchronize checks via GitHub's checks API since Scrutinizer's GitHub App is not installed for this repository.
@@ 209-210 (lines=2) @@ | ||
206 | $address = $this->getStartAddress(); |
|
207 | $networkPrefix = $this->getNetworkPrefix(); |
|
208 | switch ($address->getAddressType()) { |
|
209 | case AddressType::T_IPv4: |
|
210 | return $networkPrefix % 8 === 0 ? new Pattern($address, $address, 4 - $networkPrefix / 8) : null; |
|
211 | case AddressType::T_IPv6: |
|
212 | return $networkPrefix % 16 === 0 ? new Pattern($address, $address, 8 - $networkPrefix / 16) : null; |
|
213 | } |
|
@@ 211-212 (lines=2) @@ | ||
208 | switch ($address->getAddressType()) { |
|
209 | case AddressType::T_IPv4: |
|
210 | return $networkPrefix % 8 === 0 ? new Pattern($address, $address, 4 - $networkPrefix / 8) : null; |
|
211 | case AddressType::T_IPv6: |
|
212 | return $networkPrefix % 16 === 0 ? new Pattern($address, $address, 8 - $networkPrefix / 16) : null; |
|
213 | } |
|
214 | } |
|
215 |