Commit Graph

1296 Commits

Author SHA1 Message Date
Fabien Potencier
9c6b377116 minor #12763 [Validator] [Deprecated] Add a deprecation note about ElementMetadata (davidromani)
This PR was merged into the 2.7 branch.

Discussion
----------

[Validator] [Deprecated] Add a deprecation note about ElementMetadata

| Q             | A
| ------------- | ---
| Bug fix?      | no
| New feature?  | no
| BC breaks?    | no
| Deprecations? | yes
| Tests pass?   | yes
| Fixed tickets | #12682
| License       | MIT
| Doc PR        |

Commits
-------

21c32b5 add trigger message
2014-11-30 13:49:41 +01:00
Fabien Potencier
445fabd336 minor #12723 Added deprecation log for validate and validateValue on ExecutionContext... (Lenard Palko)
This PR was squashed before being merged into the 2.7 branch (closes #12723).

Discussion
----------

Added deprecation log for validate and validateValue on ExecutionContext...

| Q             | A
| ------------- | ---
| Bug fix?      | no
| New feature?  | no
| BC breaks?    | no
| Deprecations? | yes
| Tests pass?   | yes
| Fixed tickets | #12685
| License       | MIT
| Doc PR        |

Commits
-------

deeb652 Added deprecation log for validate and validateValue on ExecutionContext...
2014-11-30 12:24:21 +01:00
Lenard Palko
deeb652bf9 Added deprecation log for validate and validateValue on ExecutionContext... 2014-11-30 12:24:19 +01:00
Fabien Potencier
c65864e0a8 minor #12738 [Hackday][2.7] Add a deprecation note about MetadataInterface's accept() method (snoek09)
This PR was squashed before being merged into the 2.7 branch (closes #12738).

Discussion
----------

[Hackday][2.7] Add a deprecation note about MetadataInterface's accept() method

| Q             | A
| ------------- | ---
| Bug fix?      | no
| New feature?  | no
| BC breaks?    | no
| Deprecations? | no
| Tests pass?   | yes
| Fixed tickets | #12676
| License       | MIT

Commits
-------

171377d [Hackday][2.7] Add a deprecation note about MetadataInterface's accept() method
2014-11-30 12:19:53 +01:00
Henry Snoek
171377df7a [Hackday][2.7] Add a deprecation note about MetadataInterface's accept() method 2014-11-30 12:19:51 +01:00
Fabien Potencier
f7bb10a6e0 minor #12745 [Validator] Added a deprecation note about setPropertyAccessor #12698 (MICKtheBIG)
This PR was squashed before being merged into the 2.7 branch (closes #12745).

Discussion
----------

[Validator] Added a deprecation note about setPropertyAccessor #12698

| Q             | A
| ------------- | ---
| Bug fix?      | no
| New feature?  | no
| BC breaks?    | no
| Deprecations? | yes
| Tests pass?   | yes
| Fixed tickets | #12698
| License       | MIT
| Doc PR        |

Commits
-------

c82dc5e [Validator] Added a deprecation note about setPropertyAccessor #12698
2014-11-30 12:18:55 +01:00
Michael Pohlers
c82dc5e21f [Validator] Added a deprecation note about setPropertyAccessor #12698 2014-11-30 12:18:54 +01:00
Fabien Potencier
b32395bd88 minor #12753 [Validator] added a deprecation note about MetadataFactoryInterface (Ismail Faizi)
This PR was merged into the 2.7 branch.

Discussion
----------

[Validator] added a deprecation note about MetadataFactoryInterface

| Q             | A
| ------------- | ---
| Bug fix?      | no
| New feature?  | no
| BC breaks?    | no
| Deprecations? | no
| Tests pass?   | yes
| Fixed tickets | #12690
| License       | MIT
| Doc PR        |

Commits
-------

33fa8ff [Validator] added a deprecation note about MetadataFactoryInterface addressing #12690
2014-11-30 12:15:54 +01:00
David Romaní
21c32b5923 add trigger message 2014-11-29 20:05:15 +01:00
Ismail Faizi
33fa8ff25d [Validator] added a deprecation note about MetadataFactoryInterface addressing #12690 2014-11-29 19:16:10 +01:00
neoshadybeat
786e50957f [Validator][Hackday] [2.7] Add a deprecation note about ValidationVisitorInterface and ValidationVisitor #12675 2014-11-29 16:25:47 +01:00
Fabien Potencier
3467bf0e98 minor #12736 [Valid] [Validator] [Constraints] [DEPRECATION] Added deprication note on Valid constraint validator for deep option. (Balazs Csaba)
This PR was merged into the 2.7 branch.

Discussion
----------

[Valid] [Validator] [Constraints] [DEPRECATION] Added deprication note on Valid constraint validator for deep option.

| Q             | A
| ------------- | ---
| Bug fix?      | no
| New feature?  | no
| BC breaks?    | no
| Deprecations? | yes
| Tests pass?   | yes
| Fixed tickets | #12695
| License       | MIT
| Doc PR        | -

Commits
-------

46f1eb0 Added deprication note on Valid constraint validator for deep option.
2014-11-29 16:05:59 +01:00
Fabien Potencier
ebcf5dc166 minor #12726 Deprecate interface Symfony\Component\Validator\ExecutionContextInterface (lbrunet)
This PR was merged into the 2.7 branch.

Discussion
----------

Deprecate interface Symfony\Component\Validator\ExecutionContextInterface

| Q             | A
| ------------- | ---
| Bug fix?      | no
| New feature?  | no
| BC breaks?    | no
| Deprecations? | yes
| Tests pass?   | yes
| Fixed tickets | [#12683]
| License       | MIT

Deprecate interface Symfony\Component\Validator\ExecutionContextInterface

Commits
-------

7ed6d11 Deprecate interface Symfony\Component\Validator\ExecutionContextInterface
2014-11-29 16:00:32 +01:00
Laurent Brunet
7ed6d11a23 Deprecate interface Symfony\Component\Validator\ExecutionContextInterface 2014-11-29 15:56:10 +01:00
Balazs Csaba
46f1eb06ff Added deprication note on Valid constraint validator for deep option. 2014-11-29 16:46:48 +02:00
Fabien Potencier
538c537862 minor #12730 add deprecation log (#12674) (phramz)
This PR was merged into the 2.7 branch.

Discussion
----------

add deprecation log (#12674)

| Q             | A
| ------------- | ---
| Bug fix?      | no
| New feature?  | no
| BC breaks?    | no
| Deprecations? | yes
| Tests pass?   | yes
| Fixed tickets | #12674
| License       | MIT
| Doc PR        |

Commits
-------

2e47b62 [Validator] add deprecation log (#12674)
2014-11-29 15:46:10 +01:00
Fabien Potencier
9e2b666534 minor #12748 [Validator] [Hackday] [2.7] Add a deprecation note about PropertyMetadataContainerInterface (mrcmorales)
This PR was squashed before being merged into the 2.7 branch (closes #12748).

Discussion
----------

[Validator] [Hackday] [2.7]  Add a deprecation note about PropertyMetadataContainerInterface

| Q             | A
| ------------- | ---
| Bug fix?      | no
| New feature?  | no
| BC breaks?    | no
| Deprecations? | yes
| Tests pass?   | yes
| Fixed tickets | #12679
| License       | MIT
| Doc PR        |

Commits
-------

a93ab3e [Validator] [Hackday] [2.7]  Add a deprecation note about PropertyMetadataContainerInterface
2014-11-29 15:42:44 +01:00
Marc Morales Valldepérez
a93ab3e33e [Validator] [Hackday] [2.7] Add a deprecation note about PropertyMetadataContainerInterface 2014-11-29 15:42:42 +01:00
Maximilian Reichel
2e47b62017 [Validator] add deprecation log (#12674) 2014-11-29 14:28:50 +00:00
Fabien Potencier
3274632fe0 minor #12729 [Validator] add deprecation log (#12700) (kbsali)
This PR was merged into the 2.7 branch.

Discussion
----------

[Validator] add deprecation log (#12700)

| Q             | A
| ------------- | ---
| Bug fix?      | no
| New feature?  | no
| BC breaks?    | no
| Deprecations? | yes
| Tests pass?   | yes
| Fixed tickets | #12700
| License       | MIT
| Doc PR        |

This adds depreciation note for ConstraintViolation::getMessageParameters() and ConstraintViolation::getMessagePluralization() methods.

Commits
-------

a3cfe82 [Validator] add deprecation log (#12700)
2014-11-29 14:59:00 +01:00
Fabien Potencier
6ad5d8caf9 minor #12742 Deprecate Symfony\Component\Validator\GlobalExecutionContextInterface (aferrandini)
This PR was merged into the 2.7 branch.

Discussion
----------

Deprecate Symfony\Component\Validator\GlobalExecutionContextInterface

| Q             | A
| ------------- | ---
| Bug fix?      | no
| New feature?  | no
| BC breaks?    | no
| Deprecations? | yes
| Tests pass?   | yes
| Fixed tickets | #12689
| License       | MIT

Deprecate interface Symfony\Component\Validator\GlobalExecutionContextInterface

Commits
-------

b581096 Deprecate Symfony\Component\Validator\GlobalExecutionContextInterface
2014-11-29 14:56:14 +01:00
Kevin Saliou
a3cfe82b86 [Validator] add deprecation log (#12700) 2014-11-29 14:54:31 +01:00
Fabien Potencier
216a5fb79c minor #12740 [Hackday][2.7] Resolves #12681. Added deprecation trigger for ClassBased... (amansilla)
This PR was merged into the 2.7 branch.

Discussion
----------

[Hackday][2.7] Resolves #12681. Added deprecation trigger for ClassBased...

| Q             | A
| ------------- | ---
| Bug fix?      | no
| New feature?  | no
| BC breaks?    | no
| Deprecations? | yes
| Tests pass?   | yes
| Fixed tickets | #12681
| License       | MIT
| Doc PR        |

Commits
-------

8bbbefe [Hackday][2.7] Resolves #12681. Added deprecation trigger for ClassBasedInterface.
2014-11-29 14:54:14 +01:00
Ariel Ferrandini
b581096643 Deprecate Symfony\Component\Validator\GlobalExecutionContextInterface 2014-11-29 14:53:16 +01:00
Fabien Potencier
e32d439f7b minor #12739 [Validator] Add deprecation message #12677. (xelaris)
This PR was merged into the 2.7 branch.

Discussion
----------

[Validator] Add deprecation message #12677.

| Q             | A
| ------------- | ---
| Bug fix?      | no
| New feature?  | no
| BC breaks?    | no
| Deprecations? | yes
| Tests pass?   | yes
| Fixed tickets | #12677
| License       | MIT
| Doc PR        |

Commits
-------

a00c954 [Validator] Add deprecation message about Symfony\Component\Validator\MetadataInterface.
2014-11-29 14:52:36 +01:00
Antonio Mansilla
8bbbefe271 [Hackday][2.7] Resolves #12681. Added deprecation trigger for ClassBasedInterface. 2014-11-29 14:47:16 +01:00
Alexander Schwenn
a00c954c60 [Validator] Add deprecation message about Symfony\Component\Validator\MetadataInterface. 2014-11-29 14:44:17 +01:00
Fabien Potencier
22999f71f5 minor #12691 [Validator] add deprecation log to class ApcCache (#12665) (kbsali)
This PR was merged into the 2.7 branch.

Discussion
----------

[Validator] add deprecation log to class ApcCache (#12665)

| Q             | A
| ------------- | ---
| Bug fix?      | no
| New feature?  | no
| BC breaks?    | no
| Deprecations? | yes
| Tests pass?   | yes
| Fixed tickets | #12665
| License       | MIT
| Doc PR        |

This adds depreciation note for the Symfony\Component\Validator\Mapping\Cache\ApcCache class.

Commits
-------

881ed1e [Validator] add deprecation log (#12665)
2014-11-29 14:36:36 +01:00
Kevin Saliou
881ed1eb61 [Validator] add deprecation log (#12665) 2014-11-29 14:30:29 +01:00
Fabien Potencier
a4f8ac1923 minor #12715 Deprecate interface Symfony\Component\Validator\PropertyMetadataInterface (aferrandini)
This PR was merged into the 2.7 branch.

Discussion
----------

Deprecate interface Symfony\Component\Validator\PropertyMetadataInterface

| Q             | A
| ------------- | ---
| Bug fix?      | no
| New feature?  | no
| BC breaks?    | no
| Deprecations? | yes
| Tests pass?   | yes
| Fixed tickets | #12678
| License       | MIT

Deprecate interface Symfony\Component\Validator\PropertyMetadataInterface

Commits
-------

4b3f135 Deprecate interface Symfony\Component\Validator\PropertyMetadataInterface
2014-11-29 14:28:45 +01:00
Ariel Ferrandini
4b3f135a80 Deprecate interface Symfony\Component\Validator\PropertyMetadataInterface 2014-11-29 14:25:30 +01:00
David Fuhr
11ba901fec Adjust error_reporting to allow deprecation messages for 3.0 2014-11-29 13:40:43 +01:00
Fabien Potencier
d277c16a27 Merge branch '2.6' into 2.7
* 2.6: (36 commits)
  [Debug] fix error message on double exception
  [Validator] make DateTime objects represented as strings in the violation message.
  [RFC] [DebugBundle] [HttpKernel] Avoid using container as dependency for DumpListener
  Upgrade information for the Translation component regarding the new LoggingTranslator class.
  [WebProfilerBundle] Remove usage of app.request in search bar template
  Fix initialized() with aliased services
  fix data type in docblock
  Rename Symfony2 to Symfony
  bumped Symfony version to 2.6.0
  updated VERSION for 2.6.0-BETA2
  updated CHANGELOG for 2.6.0-BETA2
  [Debug] fix ENT_SUBSTITUTE usage
  compare version using PHP_VERSION_ID
  backport #12489
  remove an unneeded check
  Remove block submit_widget
  reformat code as suggested by @fabpot
  Fix typo
  Make `\Request::get` more performant.
  properly set request attributes in controller test
  ...
2014-11-28 11:00:56 +01:00
Fabien Potencier
18c4ac1f6e Merge branch '2.5' into 2.6
* 2.5:
  [Debug] fix error message on double exception
  Fix initialized() with aliased services
  Rename Symfony2 to Symfony
  compare version using PHP_VERSION_ID
  backport #12489
  remove an unneeded check
2014-11-28 11:00:40 +01:00
Hugo Hamon
b753218ff5 [Validator] make DateTime objects represented as strings in the violation message. 2014-11-28 10:08:04 +01:00
Christian Flothmann
d2f846b453 compare version using PHP_VERSION_ID
This continues the work started in #12497 on the `2.3` branch.
2014-11-23 21:10:39 +01:00
Fabien Potencier
6a63cc5fc7 Merge branch '2.6' into 2.7
* 2.6:
  Extract an AbstractEventDispatcherTest from EventDispatcherTest and also use it in ContainerAwareEventDispatcherTest
  [SecurityBundle] Authentication entry point is only registered with firewall exception listener, not with authentication listeners
  be smarter when guessing the document root
  Azerbaijani locale
  Fixed grammar error in docblock
  [HttpKernel] fix parse error in DumpDataCollector
  [TwigBundle/DebugBundle] move dump extension & cleanups
  Adjust upgrade file rendering
  [Bridge/Propel1] Changed deps to accepts all upcoming propel1 versions
  compare version using PHP_VERSION_ID
  [Form] Add doc for FormEvents
  *_timezone changes also affect the BirthdayType
  don't override internal PHP constants
  Drop support for model_timezone and view_timezone options in TimeType and DateType.
  [DomCrawler] Added support for link tags in the Link class
  [Session] Fix parameter names in WriteCheckSessionHandler
  Add consistency with request type checking
  [FrameworkBundle] Fix server run in case the router script does not exist
2014-11-20 14:24:30 +01:00
Fabien Potencier
f288a69ae5 Merge branch '2.5' into 2.6
* 2.5:
  [SecurityBundle] Authentication entry point is only registered with firewall exception listener, not with authentication listeners
  be smarter when guessing the document root
  Azerbaijani locale
  Fixed grammar error in docblock
  Adjust upgrade file rendering
  [Bridge/Propel1] Changed deps to accepts all upcoming propel1 versions
  compare version using PHP_VERSION_ID
  [Form] Add doc for FormEvents
  don't override internal PHP constants
  [Session] Fix parameter names in WriteCheckSessionHandler
  Add consistency with request type checking
  [FrameworkBundle] Fix server run in case the router script does not exist

Conflicts:
	composer.json
	src/Symfony/Component/Debug/ErrorHandler.php
	src/Symfony/Component/Debug/ExceptionHandler.php
2014-11-20 14:24:23 +01:00
Fabien Potencier
891ebe594e Merge branch '2.3' into 2.5
* 2.3:
  [SecurityBundle] Authentication entry point is only registered with firewall exception listener, not with authentication listeners
  be smarter when guessing the document root
  Azerbaijani locale
  Fixed grammar error in docblock
  Adjust upgrade file rendering
  [Bridge/Propel1] Changed deps to accepts all upcoming propel1 versions
  compare version using PHP_VERSION_ID
  [Form] Add doc for FormEvents
  don't override internal PHP constants

Conflicts:
	UPGRADE-3.0.md
	src/Symfony/Bundle/FrameworkBundle/Command/ServerRunCommand.php
	src/Symfony/Component/Debug/ErrorHandler.php
	src/Symfony/Component/HttpFoundation/Response.php
2014-11-20 14:22:25 +01:00
Farhad Safarov
7f7b700234 Azerbaijani locale 2014-11-19 07:31:32 +01:00
Fabien Potencier
69b07e9c57 Merge branch '2.6' into 2.7
* 2.6:
  Update filesystem readme.md to include exists method
  Add machine readable events
  Fixed minor typo
  [FrameworkBundle] Fix server start in case the PHP binary is not found
  Update UPGRADE-2.6.md
  [HttpKernel][2.6] Adding support for invokable controllers in the RequestDataCollector
  fixed typo
  [Translations] Added missing Hebrew language trans-unit sources
  [DependencyInjection] inlined factory not referenced
  Fixed case for empty folder
  Fixed whitespace control for password form widget
  [Routing] correctly initialize condition as string
2014-11-16 18:28:20 +01:00
Fabien Potencier
e7067cb771 Merge branch '2.5' into 2.6
* 2.5:
  Update filesystem readme.md to include exists method
  Add machine readable events
  [HttpKernel][2.6] Adding support for invokable controllers in the RequestDataCollector
  fixed typo
  [Translations] Added missing Hebrew language trans-unit sources
  [DependencyInjection] inlined factory not referenced
  Fixed case for empty folder
  Fixed whitespace control for password form widget
  [Routing] correctly initialize condition as string
2014-11-16 18:28:09 +01:00
Fabien Potencier
679911ca82 Merge branch '2.3' into 2.5
* 2.3:
  Update filesystem readme.md to include exists method
  Add machine readable events
  fixed typo
  [Translations] Added missing Hebrew language trans-unit sources
  [DependencyInjection] inlined factory not referenced
  Fixed case for empty folder
2014-11-16 18:28:00 +01:00
Michael H. Arieli
918b16b16c [Translations] Added missing Hebrew language trans-unit sources 2014-11-12 09:10:13 +01:00
Fabien Potencier
d94d837e9e updated version to 2.7 2014-11-10 19:00:54 +01:00
Disquedur
ac1f2b76d6 Remove aligned '=>' and '=' 2014-11-04 15:29:39 +01:00
Fabien Potencier
4982984d31 Merge branch '2.5'
* 2.5:
  added missing files
  [TwigBundle] added a test
  Indicate which file was being parsed if an exception is thrown while running translation:debug
  [ClassLoader] Cast $useIncludePath property to boolean
  [HttpFoundation] Minor spelling fix in PHPDocs
  improve error message for multiple documents
  Remove aligned '=>' and '='
  [Session] remove invalid workaround in session regenerate
  [Kernel] ensure session is saved before sending response
  [Routing] serialize the compiled route to speed things up
  [Form] Fixed usage of "name" variable in form_start block
  [Validator] Fixed Regex::getHtmlPattern() to work with complex and negated patterns
  [DependencyInjection] use inheritdoc for loaders
  [Config] fix filelocator with empty name
  [Form] fix form handling with unconventional request methods like OPTIONS
  CSRF warning docs on Request::enableHttpMethodParameterOverride()

Conflicts:
	src/Symfony/Component/Console/Helper/ProgressBar.php
2014-11-03 04:55:50 +01:00
Fabien Potencier
14c417a391 Merge branch '2.3' into 2.5
* 2.3:
  added missing files
  [TwigBundle] added a test
  Indicate which file was being parsed if an exception is thrown while running translation:debug
  [ClassLoader] Cast $useIncludePath property to boolean
  [HttpFoundation] Minor spelling fix in PHPDocs
  improve error message for multiple documents
  [Session] remove invalid workaround in session regenerate
  [Kernel] ensure session is saved before sending response
  [Routing] serialize the compiled route to speed things up
  [Validator] Fixed Regex::getHtmlPattern() to work with complex and negated patterns
  [DependencyInjection] use inheritdoc for loaders
  [Config] fix filelocator with empty name
  [Form] fix form handling with unconventional request methods like OPTIONS
  CSRF warning docs on Request::enableHttpMethodParameterOverride()

Conflicts:
	src/Symfony/Component/Routing/Route.php
2014-11-03 04:54:42 +01:00
Fabien Potencier
9ea4296028 bug #12235 [Validator] Fixed Regex::getHtmlPattern() to work with complex and negated patterns (webmozart)
This PR was merged into the 2.3 branch.

Discussion
----------

[Validator] Fixed Regex::getHtmlPattern() to work with complex and negated patterns

| Q             | A
| ------------- | ---
| Bug fix?      | yes
| New feature?  | no
| BC breaks?    | no
| Deprecations? | no
| Tests pass?   | yes
| Fixed tickets | #5307
| License       | MIT
| Doc PR        | -

According to my own testing, this should fix the generation of HTML patterns when `Regex::$match` is set to false. Additionally, patterns containing pipes (or statements) are fixed. See the test cases for examples.

Commits
-------

bf006f5 [Validator] Fixed Regex::getHtmlPattern() to work with complex and negated patterns
2014-11-02 01:32:54 +01:00
Disquedur
e638ccbe39 Remove aligned '=>' and '=' 2014-10-30 21:17:55 +01:00