Passed
Push — master ( 3bbbe2...c9cf55 )
by Michal
03:12
created
src/ShapeFile.php 1 patch
Spacing   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -83,7 +83,7 @@  discard block
 block discarded – undo
83 83
      * @param string|null $FileName Name of file to open
84 84
      */
85 85
     public function saveToFile($FileName = null) {
86
-        if (! is_null($FileName)) {
86
+        if (!is_null($FileName)) {
87 87
             $this->FileName = $FileName;
88 88
         }
89 89
 
@@ -301,7 +301,7 @@  discard block
 block discarded – undo
301 301
     }
302 302
 
303 303
     private function _saveRecords() {
304
-        if (! ShapeFile::supports_dbase()) {
304
+        if (!ShapeFile::supports_dbase()) {
305 305
             return;
306 306
         }
307 307
         $dbf_name = $this->_getFilename('.dbf');
@@ -367,7 +367,7 @@  discard block
 block discarded – undo
367 367
      * @return bool
368 368
      */
369 369
     private function _openDBFFile($toWrite = false) {
370
-        if (! ShapeFile::supports_dbase()) {
370
+        if (!ShapeFile::supports_dbase()) {
371 371
             return true;
372 372
         }
373 373
         $dbf_name = $this->_getFilename('.dbf');
Please login to merge, or discard this patch.
tests/ShapeFileTest.php 1 patch
Spacing   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -145,7 +145,7 @@  discard block
 block discarded – undo
145 145
      */
146 146
     public function testCreate()
147 147
     {
148
-        if (! ShapeFile::supports_dbase()) {
148
+        if (!ShapeFile::supports_dbase()) {
149 149
             $this->markTestSkipped('dbase extension missing');
150 150
         }
151 151
         $this->createTestData();
@@ -162,7 +162,7 @@  discard block
 block discarded – undo
162 162
      */
163 163
     public function testDelete()
164 164
     {
165
-        if (! ShapeFile::supports_dbase()) {
165
+        if (!ShapeFile::supports_dbase()) {
166 166
             $this->markTestSkipped('dbase extension missing');
167 167
         }
168 168
         $this->createTestData();
@@ -185,7 +185,7 @@  discard block
 block discarded – undo
185 185
      */
186 186
     public function testAdd()
187 187
     {
188
-        if (! ShapeFile::supports_dbase()) {
188
+        if (!ShapeFile::supports_dbase()) {
189 189
             $this->markTestSkipped('dbase extension missing');
190 190
         }
191 191
         $this->createTestData();
Please login to merge, or discard this patch.