Skip to content

Commit

Permalink
removed notices for some constants as it does not work well
Browse files Browse the repository at this point in the history
  • Loading branch information
fabpot committed Jan 16, 2015
1 parent d752f74 commit ee42544
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 60 deletions.

This file was deleted.

Expand Up @@ -78,21 +78,21 @@ class NumberToLocalizedStringTransformer implements DataTransformerInterface
*
* @deprecated since version 2.4, to be removed in 3.0.
*/
const ROUND_HALFEVEN = Deprecated::ROUND_HALFEVEN;
const ROUND_HALFEVEN = \NumberFormatter::ROUND_HALFEVEN;

/**
* Alias for {@link self::ROUND_HALF_UP}.
*
* @deprecated since version 2.4, to be removed in 3.0.
*/
const ROUND_HALFUP = Deprecated::ROUND_HALFUP;
const ROUND_HALFUP = \NumberFormatter::ROUND_HALFUP;

/**
* Alias for {@link self::ROUND_HALF_DOWN}.
*
* @deprecated since version 2.4, to be removed in 3.0.
*/
const ROUND_HALFDOWN = Deprecated::ROUND_HALFDOWN;
const ROUND_HALFDOWN = \NumberFormatter::ROUND_HALFDOWN;

protected $precision;

Expand Down

This file was deleted.

Expand Up @@ -26,7 +26,7 @@ class Form extends Constraint
* @deprecated since version 2.6, to be removed in 3.0.
* Use {@self NOT_SYNCHRONIZED_ERROR} instead.
*/
const ERR_INVALID = Deprecated::ERR_INVALID;
const ERR_INVALID = 1;

protected static $errorNames = array(
self::NOT_SYNCHRONIZED_ERROR => 'NOT_SYNCHRONIZED_ERROR',
Expand Down

0 comments on commit ee42544

Please sign in to comment.