cvs: pear /Validate/Validate DE.php
| From: | Ken Guest | Date: | Sun, 16 Sep 2007 17:35:37 +0000 |
| Subject: | cvs: pear /Validate/Validate DE.php | ||
| Groups: | php.pear.cvs | ||
| Request: | Send a blank email to pear-cvs+get-48613@lists.php.net to get a copy of this message | ||
kguest Sun Sep 16 17:35:37 2007 UTC
Modified files:
/pear/Validate/Validate DE.php
Log:
Bug #12059 coding standard errors
http://cvs.php.net/viewvc.cgi/pear/Validate/Validate/DE.php?r1=1.11&r2=1.12&diff_format=u
Index: pear/Validate/Validate/DE.php
diff -u pear/Validate/Validate/DE.php:1.11 pear/Validate/Validate/DE.php:1.12
--- pear/Validate/Validate/DE.php:1.11 Tue Nov 1 13:12:30 2005
+++ pear/Validate/Validate/DE.php Sun Sep 16 17:35:37 2007
@@ -1,29 +1,25 @@
<?php
/* vim: set expandtab tabstop=4 shiftwidth=4: */
-// +----------------------------------------------------------------------+
-// | Copyright (c) 1997-2005 Stefan Neufeind |
-// +----------------------------------------------------------------------+
-// | This source file is subject to the New BSD license, That is bundled |
-// | with this package in the file LICENSE, and is available through |
-// | the world-wide-web at |
-// | http://www.opensource.org/licenses/bsd-license.php
|
-// | If you did not receive a copy of the new BSDlicense and are unable |
-// | to obtain it through the world-wide-web, please send a note to |
-// | pajoye@php.net so we can mail you a copy immediately. |
-// +----------------------------------------------------------------------+
-// | Author: Stefan Neufeind <pear.neufeind@speedpartner.de> |
-// +----------------------------------------------------------------------+
-//
/**
- * Methods for common data validations
+ * Methods for common German data validations
*
- * @category Validate
- * @package Validate_DE
- * @author Stefan Neufeind <pear.neufeind@speedpartner.de>
- * @copyright 1997-2005 Stefan Neufeind
- * @license http://www.opensource.org/licenses/bsd-license.php
New BSD License
- * @version CVS: $Id: DE.php,v 1.11 2005/11/01 13:12:30 pajoye Exp $
- * @link http://pear.php.net/package/Validate_DE
+ * PHP Versions 4 and 5
+ *
+ * This source file is subject to the New BSD license, That is bundled
+ * with this package in the file LICENSE, and is available through
+ * the world-wide-web at
+ * http://www.opensource.org/licenses/bsd-license.php
+ * If you did not receive a copy of the new BSDlicense and are unable
+ * to obtain it through the world-wide-web, please send a note to
+ * pajoye@php.net so we can mail you a copy immediately.
+ *
+ * @category Validate
+ * @package Validate_DE
+ * @author Stefan Neufeind <pear.neufeind@speedpartner.de>
+ * @copyright 1997-2005 Stefan Neufeind
+ * @license http://www.opensource.org/licenses/bsd-license.php
New BSD License
+ * @version CVS: $Id: DE.php,v 1.12 2007/09/16 17:35:37 kguest Exp $
+ * @link http://pear.php.net/package/Validate_DE
*/
/**
@@ -33,21 +29,23 @@
* - Postal code
* - German bank code
*
- * @category Validate
- * @package Validate_DE
- * @author Stefan Neufeind <pear.neufeind@speedpartner.de>
- * @copyright 1997-2005 Stefan Neufeind
- * @license http://www.opensource.org/licenses/bsd-license.php
New BSD License
- * @version Release: @package_version@
- * @link http://pear.php.net/package/Validate_DE
+ * @category Validate
+ * @package Validate_DE
+ * @author Stefan Neufeind <pear.neufeind@speedpartner.de>
+ * @copyright 1997-2005 Stefan Neufeind
+ * @license http://www.opensource.org/licenses/bsd-license.php
New BSD License
+ * @version Release: @package_version@
+ * @link http://pear.php.net/package/Validate_DE
*/
class Validate_DE
{
/**
* Validate a German postcode
*
- * @param string postcode to validate
- * @param bool optional; strong checks (e.g. against a list of postcodes) (not implanted)
+ * @param string $postcode postcode to validate
+ * @param bool $strong optional; strong checks (e.g. against a list of
+ * postcodes) (not implemented)
+ *
* @return bool true if postcode is ok, false otherwise
*/
function postalCode($postcode, $strong = false)
@@ -63,7 +61,8 @@
*
* German bankcodes consist of exactly 8 numbers
*
- * @param string $bankcode German bankcode to validate
+ * @param string $bankcode German bankcode to validate
+ *
* @return bool true if bankcode is ok, false otherwise
*/
function bankcode($bankcode)