Skip to content

Commit

Permalink
Some more utf-8 fuckup found by my editor, also adding the uri test f…
Browse files Browse the repository at this point in the history
…ile to the package.xml

git-svn-id: http://svn.php.net/repository/pear/packages/Validate/trunk@195148 c90b9560-bf6c-de11-be94-00142212c4b1
  • Loading branch information
helgi committed Sep 4, 2005
1 parent f87d909 commit 2cd3813
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 5 deletions.
4 changes: 2 additions & 2 deletions Validate.php
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@
define('VALIDATE_EALPHA', VALIDATE_EALPHA_LOWER . VALIDATE_EALPHA_UPPER);
define('VALIDATE_PUNCTUATION', VALIDATE_SPACE . '\.,;\:&"\'\?\!\(\)');
define('VALIDATE_NAME', VALIDATE_EALPHA . VALIDATE_SPACE . "'");
define('VALIDATE_STREET', VALIDATE_NAME . "/\\");
define('VALIDATE_STREET', VALIDATE_NAME . "/\\ºª");

/**
* Validation class
Expand Down Expand Up @@ -186,7 +186,7 @@ function string($string, $options)
* option, like this:
* <code>
* $options = array('allowed_schemes' => array('http', 'https', 'ftp'))
* var_dumpn(Validate::uri('http://www.example.org'), $options);
* var_dump(Validate::uri('http://www.example.org'), $options);
* </code>
*
* @param string $url URI to validate
Expand Down
7 changes: 4 additions & 3 deletions package.xml
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@
<role>lead</role>
<name>Helgi &#222;ormar</name>
<email>dufuz@php.net</email>
</maintainer>
</maintainer>
<maintainer>
<user>toggg</user>
<role>lead</role>
Expand All @@ -45,7 +45,7 @@
</maintainer>
</maintainers>
<release>

<version>0.5.0</version>
<state>alpha</state>
<date>2004-03-17</date>
Expand Down Expand Up @@ -87,6 +87,7 @@
<file>email.phpt</file>
<file>multiple.phpt</file>
<file>multicard.phpt</file>
<file>uri.phpt</file>
</dir>
<dir name="docs" role="doc">
<file>sample_multiple.php</file>
Expand Down Expand Up @@ -114,7 +115,7 @@
<date>2004-03-16</date>
<notes>- pt_BR moved to ptBR required for multiple support(BC break)
- Add CH validation (Switzerland)
- added Euro banknotes IDs
- added Euro banknotes IDs
- Improved UK postcodes validation
- Fixed allowed_scheme options in Validate::uri() (Torsten Roehr)
- Fixed optional arguments in Validate::number() (Torsten Roehr)
Expand Down

0 comments on commit 2cd3813

Please sign in to comment.