Skip to content

Commit

Permalink
updated to doctrine changes
Browse files Browse the repository at this point in the history
  • Loading branch information
schmittjoh committed Jun 30, 2011
1 parent edb0382 commit 596b2cd
Show file tree
Hide file tree
Showing 29 changed files with 29 additions and 0 deletions.
1 change: 1 addition & 0 deletions Constraints/All.php
Expand Up @@ -13,6 +13,7 @@

use Symfony\Component\Validator\Constraint;

/** @Annotation */
class All extends Constraint
{
public $constraints = array();
Expand Down
1 change: 1 addition & 0 deletions Constraints/Blank.php
Expand Up @@ -13,6 +13,7 @@

use Symfony\Component\Validator\Constraint;

/** @Annotation */
class Blank extends Constraint
{
public $message = 'This value should be blank';
Expand Down
1 change: 1 addition & 0 deletions Constraints/Callback.php
Expand Up @@ -13,6 +13,7 @@

use Symfony\Component\Validator\Constraint;

/** @Annotation */
class Callback extends Constraint
{
public $methods;
Expand Down
1 change: 1 addition & 0 deletions Constraints/Choice.php
Expand Up @@ -13,6 +13,7 @@

use Symfony\Component\Validator\Constraint;

/** @Annotation */
class Choice extends Constraint
{
public $choices;
Expand Down
1 change: 1 addition & 0 deletions Constraints/Collection.php
Expand Up @@ -13,6 +13,7 @@

use Symfony\Component\Validator\Constraint;

/** @Annotation */
class Collection extends Constraint
{
public $fields;
Expand Down
1 change: 1 addition & 0 deletions Constraints/Country.php
Expand Up @@ -13,6 +13,7 @@

use Symfony\Component\Validator\Constraint;

/** @Annotation */
class Country extends Constraint
{
public $message = 'This value is not a valid country';
Expand Down
1 change: 1 addition & 0 deletions Constraints/Date.php
Expand Up @@ -13,6 +13,7 @@

use Symfony\Component\Validator\Constraint;

/** @Annotation */
class Date extends Constraint
{
public $message = 'This value is not a valid date';
Expand Down
1 change: 1 addition & 0 deletions Constraints/DateTime.php
Expand Up @@ -13,6 +13,7 @@

use Symfony\Component\Validator\Constraint;

/** @Annotation */
class DateTime extends Constraint
{
public $message = 'This value is not a valid datetime';
Expand Down
1 change: 1 addition & 0 deletions Constraints/Email.php
Expand Up @@ -13,6 +13,7 @@

use Symfony\Component\Validator\Constraint;

/** @Annotation */
class Email extends Constraint
{
public $message = 'This value is not a valid email address';
Expand Down
1 change: 1 addition & 0 deletions Constraints/False.php
Expand Up @@ -13,6 +13,7 @@

use Symfony\Component\Validator\Constraint;

/** @Annotation */
class False extends Constraint
{
public $message = 'This value should be false';
Expand Down
1 change: 1 addition & 0 deletions Constraints/File.php
Expand Up @@ -13,6 +13,7 @@

use Symfony\Component\Validator\Constraint;

/** @Annotation */
class File extends Constraint
{
public $maxSize = null;
Expand Down
1 change: 1 addition & 0 deletions Constraints/GroupSequence.php
Expand Up @@ -14,6 +14,7 @@
/**
* Annotation for group sequences
*
* @Annotation
* @author Bernhard Schussek <bernhard.schussek@symfony.com>
*/
class GroupSequence
Expand Down
1 change: 1 addition & 0 deletions Constraints/Image.php
Expand Up @@ -11,6 +11,7 @@

namespace Symfony\Component\Validator\Constraints;

/** @Annotation */
class Image extends File
{
public $mimeTypes = array(
Expand Down
1 change: 1 addition & 0 deletions Constraints/Ip.php
Expand Up @@ -17,6 +17,7 @@
/**
* Validates that a value is a valid IP address
*
* @Annotation
* @author Bernhard Schussek <bernhard.schussek@symfony.com>
* @author Joseph Bielawski <stloyd@gmail.com>
*/
Expand Down
1 change: 1 addition & 0 deletions Constraints/Language.php
Expand Up @@ -13,6 +13,7 @@

use Symfony\Component\Validator\Constraint;

/** @Annotation */
class Language extends Constraint
{
public $message = 'This value is not a valid language';
Expand Down
1 change: 1 addition & 0 deletions Constraints/Locale.php
Expand Up @@ -13,6 +13,7 @@

use Symfony\Component\Validator\Constraint;

/** @Annotation */
class Locale extends Constraint
{
public $message = 'This value is not a valid locale';
Expand Down
1 change: 1 addition & 0 deletions Constraints/Max.php
Expand Up @@ -13,6 +13,7 @@

use Symfony\Component\Validator\Constraint;

/** @Annotation */
class Max extends Constraint
{
public $message = 'This value should be {{ limit }} or less';
Expand Down
1 change: 1 addition & 0 deletions Constraints/MaxLength.php
Expand Up @@ -13,6 +13,7 @@

use Symfony\Component\Validator\Constraint;

/** @Annotation */
class MaxLength extends Constraint
{
public $message = 'This value is too long. It should have {{ limit }} characters or less';
Expand Down
1 change: 1 addition & 0 deletions Constraints/Min.php
Expand Up @@ -13,6 +13,7 @@

use Symfony\Component\Validator\Constraint;

/** @Annotation */
class Min extends Constraint
{
public $message = 'This value should be {{ limit }} or more';
Expand Down
1 change: 1 addition & 0 deletions Constraints/MinLength.php
Expand Up @@ -13,6 +13,7 @@

use Symfony\Component\Validator\Constraint;

/** @Annotation */
class MinLength extends Constraint
{
public $message = 'This value is too short. It should have {{ limit }} characters or more';
Expand Down
1 change: 1 addition & 0 deletions Constraints/NotBlank.php
Expand Up @@ -13,6 +13,7 @@

use Symfony\Component\Validator\Constraint;

/** @Annotation */
class NotBlank extends Constraint
{
public $message = 'This value should not be blank';
Expand Down
1 change: 1 addition & 0 deletions Constraints/NotNull.php
Expand Up @@ -13,6 +13,7 @@

use Symfony\Component\Validator\Constraint;

/** @Annotation */
class NotNull extends Constraint
{
public $message = 'This value should not be null';
Expand Down
1 change: 1 addition & 0 deletions Constraints/Null.php
Expand Up @@ -13,6 +13,7 @@

use Symfony\Component\Validator\Constraint;

/** @Annotation */
class Null extends Constraint
{
public $message = 'This value should be null';
Expand Down
1 change: 1 addition & 0 deletions Constraints/Regex.php
Expand Up @@ -13,6 +13,7 @@

use Symfony\Component\Validator\Constraint;

/** @Annotation */
class Regex extends Constraint
{
public $message = 'This value is not valid';
Expand Down
1 change: 1 addition & 0 deletions Constraints/Time.php
Expand Up @@ -13,6 +13,7 @@

use Symfony\Component\Validator\Constraint;

/** @Annotation */
class Time extends Constraint
{
public $message = 'This value is not a valid time';
Expand Down
1 change: 1 addition & 0 deletions Constraints/True.php
Expand Up @@ -13,6 +13,7 @@

use Symfony\Component\Validator\Constraint;

/** @Annotation */
class True extends Constraint
{
public $message = 'This value should be true';
Expand Down
1 change: 1 addition & 0 deletions Constraints/Type.php
Expand Up @@ -13,6 +13,7 @@

use Symfony\Component\Validator\Constraint;

/** @Annotation */
class Type extends Constraint
{
public $message = 'This value should be of type {{ type }}';
Expand Down
1 change: 1 addition & 0 deletions Constraints/Url.php
Expand Up @@ -13,6 +13,7 @@

use Symfony\Component\Validator\Constraint;

/** @Annotation */
class Url extends Constraint
{
public $message = 'This value is not a valid URL';
Expand Down
1 change: 1 addition & 0 deletions Constraints/Valid.php
Expand Up @@ -13,6 +13,7 @@

use Symfony\Component\Validator\Constraint;

/** @Annotation */
class Valid extends Constraint
{
public $traverse = true;
Expand Down

0 comments on commit 596b2cd

Please sign in to comment.