@@ -205,15 +205,17 @@ private function updateBBox(string $type, array $data): void
205205 $ min = $ type . 'min ' ;
206206 $ max = $ type . 'max ' ;
207207
208- if (! isset ($ this ->boundingBox [$ min ])
209- || $ this ->boundingBox [$ min ] == 0.0
208+ if (
209+ ! isset ($ this ->boundingBox [$ min ])
210+ || $ this ->boundingBox [$ min ] == 0.0 // phpcs:ignore SlevomatCodingStandard.Operators.DisallowEqualOperators
210211 || ($ this ->boundingBox [$ min ] > $ data [$ min ])
211212 ) {
212213 $ this ->boundingBox [$ min ] = $ data [$ min ];
213214 }
214215
215- if (isset ($ this ->boundingBox [$ max ])
216- && $ this ->boundingBox [$ max ] != 0.0
216+ if (
217+ isset ($ this ->boundingBox [$ max ])
218+ && $ this ->boundingBox [$ max ] != 0.0 // phpcs:ignore SlevomatCodingStandard.Operators.DisallowEqualOperators
217219 && ($ this ->boundingBox [$ max ] >= $ data [$ max ])
218220 ) {
219221 return ;
@@ -308,7 +310,8 @@ public function setDBFHeader(array $header): void
308310 public function getIndexFromDBFData (string $ field , $ value ): int
309311 {
310312 foreach ($ this ->records as $ index => $ record ) {
311- if (isset ($ record ->dbfData [$ field ]) &&
313+ if (
314+ isset ($ record ->dbfData [$ field ]) &&
312315 (trim (strtoupper ($ record ->dbfData [$ field ])) === strtoupper ($ value ))
313316 ) {
314317 return $ index ;
@@ -691,6 +694,7 @@ public function getShapeName(): string
691694 */
692695 public function hasMeasure (): bool
693696 {
697+ // phpcs:ignore SlevomatCodingStandard.Operators.DisallowEqualOperators.DisallowedNotEqualOperator
694698 return $ this ->boundingBox ['mmin ' ] != 0 || $ this ->boundingBox ['mmax ' ] != 0 ;
695699 }
696700}
0 commit comments