phpcs #17

Merged
merged 2 commits into from Apr 1, 2012
View
@@ -19,7 +19,6 @@
* @author Marcelo Subtil Marcal <msmarcal@php.net>
* @copyright 2005 The PHP Group
* @license http://www.php.net/license/3_0.txt PHP License 3.0
- * @version CVS: $Id$
* @link http://pear.php.net/package/Image_Barcode2
*/
@@ -1,4 +1,39 @@
<?php
+/* vim: set expandtab tabstop=4 softtabstop=4 shiftwidth=4: */
+
+/**
+ * Image_Barcode2_Common class
+ *
+ * Common code
+ *
+ * PHP versions 5
+ *
+ * LICENSE: This source file is subject to version 3.0 of the PHP license
+ * that is available through the world-wide-web at the following URI:
+ * http://www.php.net/license/3_0.txt. If you did not receive a copy of
+ * the PHP License and are unable to obtain it through the web, please
+ * send a note to license@php.net so we can mail you a copy immediately.
+ *
+ * @category Image
+ * @package Image_Barcode2
+ * @author Ryan Briones <ryanbriones@webxdesign.org>
+ * @copyright 2005 The PHP Group
+ * @license http://www.php.net/license/3_0.txt PHP License 3.0
+ * @link http://pear.php.net/package/Image_Barcode2
+ */
+/**
+ * Image_Barcode2_Common class
+ *
+ * Common code
+ *
+ * @category Image
+ * @package Image_Barcode2
+ * @author Ryan Briones <ryanbriones@webxdesign.org>
+ * @copyright 2005 The PHP Group
+ * @license http://www.php.net/license/3_0.txt PHP License 3.0
+ * @version Release: @package_version@
+ * @link http://pear.php.net/package/Image_Barcode2
+ */
class Image_Barcode2_Common
{
protected $barcodeheight;
@@ -32,6 +67,8 @@ public function __construct(Image_Barcode2_Writer $writer)
* Set the image rendering library.
*
* @param Image_Barcode2_Writer $writer Library to use.
+ *
+ * @return void
*/
public function setWriter(Image_Barcode2_Writer $writer)
{
@@ -52,6 +89,8 @@ public function getWriter()
* Set the barcode
*
* @param string $barcode barcode
+ *
+ * @return void
*/
public function setBarcode($barcode)
{
@@ -1,4 +1,39 @@
<?php
+/* vim: set expandtab tabstop=4 softtabstop=4 shiftwidth=4: */
+
+/**
+ * Image_Barcode2_Driver interface
+ *
+ * Driver code
+ *
+ * PHP versions 5
+ *
+ * LICENSE: This source file is subject to version 3.0 of the PHP license
+ * that is available through the world-wide-web at the following URI:
+ * http://www.php.net/license/3_0.txt. If you did not receive a copy of
+ * the PHP License and are unable to obtain it through the web, please
+ * send a note to license@php.net so we can mail you a copy immediately.
+ *
+ * @category Image
+ * @package Image_Barcode2
+ * @author Ryan Briones <ryanbriones@webxdesign.org>
+ * @copyright 2005 The PHP Group
+ * @license http://www.php.net/license/3_0.txt PHP License 3.0
+ * @link http://pear.php.net/package/Image_Barcode2
+ */
+/**
+ * Image_Barcode2_Driver interface
+ *
+ * Driver code
+ *
+ * @category Image
+ * @package Image_Barcode2
+ * @author Ryan Briones <ryanbriones@webxdesign.org>
+ * @copyright 2005 The PHP Group
+ * @license http://www.php.net/license/3_0.txt PHP License 3.0
+ * @version Release: @package_version@
+ * @link http://pear.php.net/package/Image_Barcode2
+ */
interface Image_Barcode2_Driver
{
/**
@@ -12,19 +47,24 @@ public function draw();
* Set the image rendering library.
*
* @param Image_Barcode2_Writer $writer Library to use.
+ *
+ * @return void
*/
public function setWriter(Image_Barcode2_Writer $writer);
/**
* Set barcode
*
* @param string $barcode barcode
+ *
+ * @return void
*/
public function setBarcode($barcode);
/**
* Validate barcode
- *
+ *
+ * @return void
* @throws Image_Barcode2_Exception
*/
public function validate();
Oops, something went wrong.