Skip to content
This repository

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP

fix build #24

Merged
merged 1 commit into from almost 2 years ago

1 participant

Gemorroj
Gemorroj
Collaborator

No description provided.

Gemorroj Gemorroj merged commit edfa23f into from May 07, 2012
Gemorroj Gemorroj closed this May 07, 2012
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Showing 1 unique commit by 1 author.

May 07, 2012
Gemorroj phpcs, fix build b6e12f9
This page is out of date. Refresh to see the latest.
14  Image/Barcode2.php
@@ -44,9 +44,9 @@ class Image_Barcode2
44 44
     /**
45 45
      * Image type
46 46
      */
47  
-    const IMAGE_PNG = 'png';
48  
-    const IMAGE_GIF = 'gif';
49  
-    const IMAGE_JPEG = 'jpg';
  47
+    const IMAGE_PNG     = 'png';
  48
+    const IMAGE_GIF     = 'gif';
  49
+    const IMAGE_JPEG    = 'jpg';
50 50
 
51 51
     /**
52 52
      * Barcode type
@@ -63,10 +63,10 @@ class Image_Barcode2
63 63
     /**
64 64
      * Rotation type
65 65
      */
66  
-    const ROTATE_NONE    = '0';
67  
-    const ROTATE_RIGHT    = '90';
68  
-    const ROTATE_UTURN    = '180';
69  
-    const ROTATE_LEFT    = '270';
  66
+    const ROTATE_NONE     = 0;
  67
+    const ROTATE_RIGHT    = 90;
  68
+    const ROTATE_UTURN    = 180;
  69
+    const ROTATE_LEFT     = 270;
70 70
 
71 71
 
72 72
     /**
2  Image/Barcode2/Driver/Code128.php
@@ -399,5 +399,3 @@ private function _getCharNumber($char)
399 399
     }
400 400
 
401 401
 } // class
402  
-
403  
-?>
2  Image/Barcode2/Driver/Code39.php
@@ -234,5 +234,3 @@ private function _dumpCode($code)
234 234
         return $result;
235 235
     }
236 236
 }
237  
-
238  
-?>
2  Image/Barcode2/Driver/Ean13.php
@@ -345,5 +345,3 @@ public function draw()
345 345
     } // function create
346 346
 
347 347
 } // class
348  
-
349  
-?>
2  Image/Barcode2/Driver/Ean8.php
@@ -301,5 +301,3 @@ public function draw()
301 301
     } // function create
302 302
 
303 303
 } // class
304  
-
305  
-?>
2  Image/Barcode2/Driver/Int25.php
@@ -210,5 +210,3 @@ public function draw()
210 210
     }
211 211
 
212 212
 } // class
213  
-
214  
-?>
2  Image/Barcode2/Driver/Postnet.php
@@ -195,5 +195,3 @@ public function draw()
195 195
     }
196 196
 
197 197
 } // class
198  
-
199  
-?>
2  Image/Barcode2/Driver/Upca.php
@@ -381,5 +381,3 @@ public function draw()
381 381
     }
382 382
 
383 383
 } // class
384  
-
385  
-?>
2  Image/Barcode2/Driver/Upce.php
@@ -324,5 +324,3 @@ public function draw()
324 324
     }
325 325
 
326 326
 } // class
327  
-
328  
-?>
21  package.xml
@@ -49,21 +49,22 @@ PHPCS
49 49
    <file baseinstalldir="Image" md5sum="62714a47cbc3d35f483be34324197936" name="docs/ChangeLog" role="doc" />
50 50
    <file baseinstalldir="Image" md5sum="c27a1c8b14ee9d792819abafbfa20c85" name="docs/Readme.txt" role="doc" />
51 51
    <file baseinstalldir="Image" md5sum="d274880933d54b873c9589087766c124" name="docs/examples/barcode_img.php" role="doc" />
52  
-   <file baseinstalldir="Image" md5sum="07ecde340ef052307a4f61252f585039" name="docs/examples/test-image-barcode.php" role="doc" />
53  
-   <file baseinstalldir="/" md5sum="66707cecf52f7839bf6a0d780c8499ab" name="Image/Barcode2.php" role="php" />
54  
-   <file baseinstalldir="/" md5sum="76ba5c2b93622d89bb14624505b80d35" name="Image/Barcode2/Common.php" role="php" />
  52
+   <file baseinstalldir="Image" md5sum="47488962a6713fae1a56959dcd27d858" name="docs/examples/test-image-barcode.php" role="doc" />
  53
+   <file baseinstalldir="/" md5sum="430d3cbb521f20c18db7fd55739539b5" name="Image/Barcode2.php" role="php" />
  54
+   <file baseinstalldir="/" md5sum="1192b8a53c3e07de9768cb3fdf84cd1f" name="Image/Barcode2/Common.php" role="php" />
55 55
    <file baseinstalldir="/" md5sum="7edeac1655f949e31222e5dbe035e8a6" name="Image/Barcode2/Driver.php" role="php" />
56 56
    <file baseinstalldir="/" md5sum="fe4788592cfbc7fb0280d6beb1d2b2b9" name="Image/Barcode2/DualHeight.php" role="php" />
57 57
    <file baseinstalldir="/" md5sum="cd06591f1e8ade75a8999c44ad57db90" name="Image/Barcode2/DualWidth.php" role="php" />
58 58
    <file baseinstalldir="/" md5sum="a245e697341d4d3c0cce3593e075bb13" name="Image/Barcode2/Exception.php" role="php" />
59 59
    <file baseinstalldir="/" md5sum="169de39ec13dc21f7e485c9ece549851" name="Image/Barcode2/Writer.php" role="php" />
60  
-   <file baseinstalldir="/" md5sum="ce01e0001fcf24eed57c902478bd1ed6" name="Image/Barcode2/Driver/Code39.php" role="php" />
61  
-   <file baseinstalldir="/" md5sum="d9b81de99ba7c84e3e8646e94e18d98e" name="Image/Barcode2/Driver/Code128.php" role="php" />
62  
-   <file baseinstalldir="/" md5sum="b82de5e188d541c2eb2ad5eb727e6689" name="Image/Barcode2/Driver/Ean8.php" role="php" />
63  
-   <file baseinstalldir="/" md5sum="3c8da9bf73fe44b9a42173b08324ecf1" name="Image/Barcode2/Driver/Ean13.php" role="php" />
64  
-   <file baseinstalldir="/" md5sum="a0299f8a550ba514e0f9cd9167921059" name="Image/Barcode2/Driver/Int25.php" role="php" />
65  
-   <file baseinstalldir="/" md5sum="c77080bc52fa5d6c710295669216cceb" name="Image/Barcode2/Driver/Postnet.php" role="php" />
66  
-   <file baseinstalldir="/" md5sum="9c9c8ec18931bc0350fab0892e7621ad" name="Image/Barcode2/Driver/Upca.php" role="php" />
  60
+   <file baseinstalldir="/" md5sum="72063e89e31b2ad1b964e71ba26c496e" name="Image/Barcode2/Driver/Code39.php" role="php" />
  61
+   <file baseinstalldir="/" md5sum="112fbd79e07dc22297f76c26fb31fccc" name="Image/Barcode2/Driver/Code128.php" role="php" />
  62
+   <file baseinstalldir="/" md5sum="ab7ce83803ebbb0591dbed7d87e61fe6" name="Image/Barcode2/Driver/Ean8.php" role="php" />
  63
+   <file baseinstalldir="/" md5sum="6bd8cf618ef67f23f7631c6a985939ee" name="Image/Barcode2/Driver/Ean13.php" role="php" />
  64
+   <file baseinstalldir="/" md5sum="3733d8f9899474946149536cd80e6a3c" name="Image/Barcode2/Driver/Int25.php" role="php" />
  65
+   <file baseinstalldir="/" md5sum="15b225cdf94e4b620b8dceec8770e6a8" name="Image/Barcode2/Driver/Postnet.php" role="php" />
  66
+   <file baseinstalldir="/" md5sum="0202a6066ea3c5785f0b84a15e69d855" name="Image/Barcode2/Driver/Upca.php" role="php" />
  67
+   <file baseinstalldir="/" md5sum="63f4db95ec6f7589b98f0c1cc1dd6cfa" name="Image/Barcode2/Driver/Upce.php" role="php" />
67 68
    <file baseinstalldir="/" md5sum="1abec4811830a7cbfcd357eaf2089964" name="tests/Image_Barcode2Test.php" role="test" />
68 69
    <file baseinstalldir="/" md5sum="4599d66d9092baec4286443e1a6d678e" name="build.xml" role="data" />
69 70
    <file baseinstalldir="/" md5sum="e9d89152910001df5be865aa37ab9733" name="phpunit.xml" role="data" />
Commit_comment_tip

Tip: You can add notes to lines in a file. Hover to the left of a line to make a note

Something went wrong with that request. Please try again.