Commit Graph

19583 Commits

Author SHA1 Message Date
Christophe Coevoet c71fe0c37b Deprecate the translator implementation in the Validator component
The Translation component already provides an implementation which only
deals with replacing parameters in the message without translating it.
Duplicating the logic in the Validator component is not needed (and it
is the wrong place for it).
2015-01-06 12:08:07 +01:00
Fabien Potencier e7bdb5bce3 minor #13197 [2.7][FrameworkBundle] Removed the use of TableHelper (saro0h)
This PR was merged into the 2.7 branch.

Discussion
----------

[2.7][FrameworkBundle] Removed the use of TableHelper

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

The PR https://github.com/symfony/symfony/pull/13121 on 3.0 removed the ``TableHelper `` class. Now the tests don't pass when using ``components=high`` version of dependencis, because of the use of the deprecated TableHelper.

This one removes the use of ``TableHelper`` without the removal of the ``TableHelper`` class, and adapt the existing code to use the Table class instead.

Commits
-------

08a5b5a [FrameworkBundle] Removed the use of TableHelper
2015-01-06 09:57:00 +01:00
Saro0h 08a5b5ac5a [FrameworkBundle] Removed the use of TableHelper 2015-01-06 09:49:24 +01:00
Fabien Potencier b3b4f505a9 minor #13275 [Validator][Translation][ES] Spanish translation for checkDNS option (phansys)
This PR was merged into the 2.7 branch.

Discussion
----------

[Validator][Translation][ES] Spanish translation for checkDNS option

Spanish translation for the ```checkDNS``` option introduced in #12956.

| Q             | A
| ------------- | ---
| Bug fix?      | no
| New feature?  | no
| BC breaks?    | no
| Deprecations? | no
| Tests pass?   | yes
| Doc PR        | none

Commits
-------

c81be5b Spanish translation for the ```checkDNS``` option introduced in #12956.
2015-01-06 07:58:12 +01:00
Javier Spagnoletti c81be5b689 Spanish translation for the ```checkDNS``` option introduced in #12956.
| Q             | A
| ------------- | ---
| Bug fix?      | no
| New feature?  | no
| BC breaks?    | no
| Deprecations? | no
| Tests pass?   | yes
| Doc PR        | none
2015-01-05 22:14:08 -03:00
Fabien Potencier 72d0f93d79 Merge branch '2.6' into 2.7
* 2.6:
  use Table instead of the deprecated TableHelper
  [2.3] fix failing test
  fixed typo
  Escape annotations in comments, refs #13089.
  [2.3] missing cleanup for legacy test
  add missing param names to @param annotation
  Improve the composer root version setting on Travis
  use Table instead of the deprecated TableHelper

Conflicts:
	src/Symfony/Bundle/FrameworkBundle/composer.json
2015-01-05 22:00:14 +01:00
Fabien Potencier a7fd55a7d3 Merge branch '2.5' into 2.6
* 2.5:
  [2.3] fix failing test
  fixed typo
  Escape annotations in comments, refs #13089.
  [2.3] missing cleanup for legacy test
  add missing param names to @param annotation
  Improve the composer root version setting on Travis
  use Table instead of the deprecated TableHelper

Conflicts:
	src/Symfony/Bundle/FrameworkBundle/Console/Descriptor/TextDescriptor.php
2015-01-05 21:59:13 +01:00
Fabien Potencier e3ca5165c6 Merge branch '2.3' into 2.5
* 2.3:
  [2.3] fix failing test
  fixed typo
  Escape annotations in comments, refs #13089.
  [2.3] missing cleanup for legacy test
  add missing param names to @param annotation
  Improve the composer root version setting on Travis
2015-01-05 21:58:03 +01:00
Fabien Potencier f77bfaa38c minor #13273 [2.6][FrameworkBundle] use Table instead of the deprecated TableHelper (xabbuh)
This PR was merged into the 2.6 branch.

Discussion
----------

[2.6][FrameworkBundle] use Table instead of the deprecated TableHelper

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

Changes on top of #12970 for the `2.6` branch.

Commits
-------

0bcb594 use Table instead of the deprecated TableHelper
2015-01-05 21:57:25 +01:00
Fabien Potencier 1201853b55 minor #13272 [2.3] fix failing test (nicolas-grekas)
This PR was merged into the 2.3 branch.

Discussion
----------

[2.3] fix failing test

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

Fix failing tests on 2.3 with components=high

Commits
-------

064799a [2.3] fix failing test
2015-01-05 21:55:16 +01:00
Fabien Potencier fb7eb2dc9f minor #13060 [2.7] adds deprecation notices. (hhamon)
This PR was merged into the 2.7 branch.

Discussion
----------

[2.7] adds deprecation notices.

| Q             | A
| ------------- | ---
| Bug fix?      | no
| New feature?  | no
| BC breaks?    | no
| Deprecations? | yes
| Tests pass?   | yes
| Fixed tickets | #12608, #12672, #12675 #12684, #12686
| License       | MIT
| Doc PR        | ~

Commits
-------

f9fbb4f Fixes more deprecation notices as per @stof review.
fd47c07 Fixed some deprecations according to @stof feedbacks.
2a3e7d2 Normalizes deprecation notice messages.
738b9be [Validator] fixes UuidValidator deprecated class namespace.
e608ba6 [Form] adds more deprecation notices.
cd9617a [Validator] adds more deprecation notices.
a7f841e [Form] Adds a way to trigger deprecation notice on demand for VirtualFormAwareIterator class.
97efd2c Fixes more deprecation notices.
fd9c7bb Normalized @deprecated annotations.
39cfd47 Removed deprecation notices from test files.
2a9749d Fixes deprecation notices.
6f57b7b Reverted trigger_error() function calls on deprecated interfaces to prevent breaking third party projects implementing them.
86b9f6b Adds deprecation notices for structures to be removed in 3.0.
2015-01-05 21:51:33 +01:00
Christian Flothmann 0bcb59414e use Table instead of the deprecated TableHelper 2015-01-05 21:17:59 +01:00
Nicolas Grekas 064799a146 [2.3] fix failing test 2015-01-05 20:37:56 +01:00
Fabien Potencier e11f8b4934 minor #12970 [FrameworkBundle] use Table instead of the deprecated TableHelper (xabbuh)
This PR was merged into the 2.5 branch.

Discussion
----------

[FrameworkBundle] use Table instead of the deprecated TableHelper

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

Commits
-------

c5ad74d use Table instead of the deprecated TableHelper
2015-01-05 19:46:33 +01:00
Nicolas Grekas ea1ac32815 Merge branch '2.6' into 2.7
* 2.6:
  [2.6] fix deprecation silencing...
  [Form] fix Context\ExecutionContextInterface mock
  [Validator] marks TraversalStrategy::STOP_RECURSION constant internal as it has been introduced for the BC layer and will be removed in 3.0.
2015-01-05 19:25:37 +01:00
Fabien Potencier 966ac2d066 minor #13271 [2.6] fix deprecation silencing... (nicolas-grekas)
This PR was merged into the 2.6 branch.

Discussion
----------

[2.6] fix deprecation silencing...

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

My bad...

Commits
-------

57fddbf [2.6] fix deprecation silencing...
2015-01-05 18:58:26 +01:00
Fabien Potencier 3b0db95cc8 Merge branch '2.5' into 2.6
* 2.5:
  [Form] fix Context\ExecutionContextInterface mock
  [Validator] marks TraversalStrategy::STOP_RECURSION constant internal as it has been introduced for the BC layer and will be removed in 3.0.
2015-01-05 18:57:42 +01:00
Fabien Potencier 987717e40b minor #13268 [Form] fix Context\ExecutionContextInterface mock (nicolas-grekas)
This PR was merged into the 2.5 branch.

Discussion
----------

[Form] fix Context\ExecutionContextInterface mock

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

Proper mock creation should fix tests on 2.6 once merged.

Commits
-------

d79aa70 [Form] fix Context\ExecutionContextInterface mock
2015-01-05 18:57:23 +01:00
Nicolas Grekas 57fddbf9b7 [2.6] fix deprecation silencing... 2015-01-05 18:41:06 +01:00
Nicolas Grekas d79aa70edd [Form] fix Context\ExecutionContextInterface mock 2015-01-05 18:29:33 +01:00
Hugo Hamon f9fbb4f55e Fixes more deprecation notices as per @stof review. 2015-01-05 16:02:28 +01:00
Hugo Hamon fd47c07253 Fixed some deprecations according to @stof feedbacks. 2015-01-05 16:02:28 +01:00
Hugo Hamon 2a3e7d2cc9 Normalizes deprecation notice messages. 2015-01-05 16:02:28 +01:00
Hugo Hamon 738b9be447 [Validator] fixes UuidValidator deprecated class namespace. 2015-01-05 16:02:27 +01:00
Hugo Hamon e608ba6f1a [Form] adds more deprecation notices. 2015-01-05 16:02:27 +01:00
Hugo Hamon cd9617a6a4 [Validator] adds more deprecation notices. 2015-01-05 16:02:27 +01:00
Hugo Hamon a7f841e854 [Form] Adds a way to trigger deprecation notice on demand for VirtualFormAwareIterator class. 2015-01-05 16:02:26 +01:00
Hugo Hamon 97efd2cfe5 Fixes more deprecation notices. 2015-01-05 16:02:26 +01:00
Hugo Hamon fd9c7bb39f Normalized @deprecated annotations. 2015-01-05 16:02:26 +01:00
Hugo Hamon 39cfd4744e Removed deprecation notices from test files. 2015-01-05 15:58:40 +01:00
Hugo Hamon 2a9749d0f4 Fixes deprecation notices. 2015-01-05 15:57:16 +01:00
Hugo Hamon 6f57b7b552 Reverted trigger_error() function calls on deprecated interfaces to prevent breaking third party projects implementing them. 2015-01-05 15:57:16 +01:00
Hugo Hamon 86b9f6b0c6 Adds deprecation notices for structures to be removed in 3.0. 2015-01-05 15:57:15 +01:00
Fabien Potencier b6dadf4e18 minor #13242 CS: add missing param names to @param annotation (xabbuh)
This PR was merged into the 2.3 branch.

Discussion
----------

CS: add missing param names to @param annotation

| Q             | A
| ------------- | ---
| Fixed tickets |
| License       | MIT

as stated by @stof [here](https://github.com/symfony/symfony/pull/12886#issuecomment-68626732)

Commits
-------

665825b add missing param names to @param annotation
2015-01-05 15:41:15 +01:00
Fabien Potencier f7d489ef61 fixed typo 2015-01-05 15:38:29 +01:00
Fabien Potencier 190d00cb48 minor #13215 Improve the composer root version setting on Travis (stof)
This PR was merged into the 2.3 branch.

Discussion
----------

Improve the composer root version setting on Travis

The previous implementation was setting dev-master in all branches. This was working fine only because the dev-master branch alias was never updated in maintenance branches, and so dev-master was aliased as 2.3.x-dev in the 2.3 branch.

Commits
-------

01f7a3a Improve the composer root version setting on Travis
2015-01-05 15:37:49 +01:00
Fabien Potencier 1f13517347 minor #13237 [2.5] [Validator] marks TraversalStrategy::STOP_RECURSION constant internal (hhamon)
This PR was merged into the 2.5 branch.

Discussion
----------

[2.5] [Validator] marks TraversalStrategy::STOP_RECURSION constant internal

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

This constant has been introduced for the BC layer and will be removed in 3.0.

Commits
-------

583fee4 [Validator] marks TraversalStrategy::STOP_RECURSION constant internal as it has been introduced for the BC layer and will be removed in 3.0.
2015-01-05 15:36:28 +01:00
Fabien Potencier e64daca980 minor #13256 [Validator] add german translation for checkDNS option (xabbuh)
This PR was merged into the 2.7 branch.

Discussion
----------

[Validator] add german translation for checkDNS option

| Q             | A
| ------------- | ---
| Fixed tickets |
| License       | MIT

German translation for the `checkDNS` option introduced in #12956.

Commits
-------

33d79b6 add german translation for checkDNS option
2015-01-05 15:35:31 +01:00
Fabien Potencier 1994cacd66 Merge branch '2.6' into 2.7
* 2.6:
  [2.6] cleanup deprecated uses
  [2.5] cleanup deprecated uses

Conflicts:
	src/Symfony/Component/Form/composer.json
	src/Symfony/Component/Security/Tests/Core/LegacySecurityContextInterfaceTest.php
2015-01-05 15:29:53 +01:00
Fabien Potencier 12d8261d21 Merge branch '2.5' into 2.6
* 2.5:
  [2.5] cleanup deprecated uses
2015-01-05 15:28:40 +01:00
Fabien Potencier 9d4bab0cd2 minor #13254 [2.6] cleanup deprecated uses (nicolas-grekas)
This PR was merged into the 2.6 branch.

Discussion
----------

[2.6] cleanup deprecated uses

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

I wish again we could find a way to make deprecation authors do this job.
This is especially visible here: trying to use the new factory declaration enlightens holes in the implementation.

Commits
-------

2856cae [2.6] cleanup deprecated uses
2015-01-05 15:28:02 +01:00
Fabien Potencier 22885d82d7 minor #13243 [2.5] cleanup deprecated uses (nicolas-grekas)
This PR was merged into the 2.5 branch.

Discussion
----------

[2.5] cleanup deprecated uses

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

I wish deprecation authors could do this job.

Commits
-------

237c315 [2.5] cleanup deprecated uses
2015-01-05 15:26:33 +01:00
Nicolas Grekas 2856caed2f [2.6] cleanup deprecated uses 2015-01-05 09:56:52 +01:00
Nicolas Grekas 237c315144 [2.5] cleanup deprecated uses 2015-01-05 09:51:41 +01:00
Christian Flothmann 33d79b6506 add german translation for checkDNS option 2015-01-04 21:50:32 +01:00
Fabien Potencier 31ad8c9f7d feature #12956 [2.7][Validator] Added checkDNS option on URL validator (saro0h)
This PR was merged into the 2.7 branch.

Discussion
----------

[2.7][Validator] Added checkDNS option on URL validator

| Q             | A
| ------------- | ---
| Bug fix?      | no
| New feature?  | yes
| BC breaks?    | no
| Deprecations? | no
| Tests pass?   | yes
| Fixed tickets | #10088
| License       | MIT
| Doc PR        | symfony/symfony-docs#4631

Commits
-------

ad2f906 [Validator] Added a check DNS option on URL validator
2015-01-04 19:35:03 +01:00
Fabien Potencier b4c1e898c0 minor #13245 [2.3] missing cleanup for legacy test (nicolas-grekas)
This PR was merged into the 2.3 branch.

Discussion
----------

[2.3] missing cleanup for legacy test

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

Commits
-------

7e929ab [2.3] missing cleanup for legacy test
2015-01-04 19:21:09 +01:00
Fabien Potencier bd8ff04506 minor #13240 Escape annotations in comments (cmfcmf)
This PR was merged into the 2.3 branch.

Discussion
----------

Escape annotations in comments

| Q             | A
| ------------- | ---
| Fixed tickets | ---
| Referenced tickets | #13089
| License       | MIT

Commits
-------

0cb17f3 Escape annotations in comments, refs #13089.
2015-01-04 19:18:18 +01:00
cmfcmf 0cb17f3dd2 Escape annotations in comments, refs #13089. 2015-01-04 19:14:50 +01:00
Fabien Potencier 5f2fcb7f44 Merge branch '2.6' into 2.7
* 2.6:
  [Debug] fix test
  [Debug] split tests for deprecated interfaces
2015-01-04 19:09:45 +01:00