Commit Graph

19807 Commits

Author SHA1 Message Date
victoria
95d8ce3031 [Yaml] Fixed #10597: Improved Yaml directive parsing 2015-01-09 15:23:46 +01:00
Fabien Potencier
a34220ec3e [Validator] always use the lazy loading metadata factory 2015-01-09 15:21:10 +01:00
Fabien Potencier
818ca589d8 [Validator] removed usage of deprecated getMessageParameters() and getMessagePluralization() in unit tests 2015-01-09 15:21:10 +01:00
Fabien Potencier
c6f1f69b7a [Validator] fixed deprecation notices for BuildViolation() calls in constraints 2015-01-09 15:21:09 +01:00
Fabien Potencier
47d5133252 bug #13198 [Form] Fixed check of violation constraint #12792 (xelaris)
This PR was merged into the 2.6 branch.

Discussion
----------

[Form] Fixed check of violation constraint #12792

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

ConstraintViolation::getConstraint() must not expect to provide a constraint as long as Symfony\Component\Validator\ExecutionContext exists (before 3.0)

Commits
-------

aedabc7 [Form] Fixed check of violation constraint #12792
2015-01-09 15:03:07 +01:00
Fabien Potencier
fb3f9d2d1c [Validator] fixed usage of deprecate Validator features 2015-01-09 14:24:20 +01:00
Fabien Potencier
91606b55b5 [Validator] removed obsolete code 2015-01-09 14:24:19 +01:00
Fabien Potencier
5aa44eec3d removed the Validator BC layer for PHP < 5.3.9 2015-01-09 14:24:19 +01:00
Fabien Potencier
a4139c0be5 removed code for PHP < 5.3.9 2015-01-09 14:24:18 +01:00
Fabien Potencier
6dc897931b bumped min PHP version to 5.3.9 2015-01-09 07:51:41 +01:00
Fabien Potencier
9a6f52e419 minor #13333 fixed deprecation summary and missing error_reporting() in tests (fabpot)
This PR was merged into the 2.7 branch.

Discussion
----------

fixed deprecation summary and missing error_reporting() in tests

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

Commits
-------

367184a fixed deprecation summary and missing error_reporting() in tests
2015-01-09 07:49:58 +01:00
Fabien Potencier
367184a6d7 fixed deprecation summary and missing error_reporting() in tests 2015-01-09 07:47:56 +01:00
Fabien Potencier
70a739897c minor #13337 [TwigBundle] adds missing deprecation notice for the twig.form.resources configuration key. (hhamon)
This PR was merged into the 2.7 branch.

Discussion
----------

[TwigBundle] adds missing deprecation notice for the twig.form.resources configuration key.

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

Commits
-------

07beabf [TwigBundle] adds missing deprecation notice for the twig.form.resources configuration key.
2015-01-09 07:34:32 +01:00
Fabien Potencier
251c9c0b9a minor #13339 [FrameworkBundle] adds deprecation notice on framework.csrf_protection.field_name configuration key. (hhamon)
This PR was merged into the 2.7 branch.

Discussion
----------

[FrameworkBundle] adds deprecation notice on framework.csrf_protection.field_name configuration key.

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

Commits
-------

d79d2cf [FrameworkBundle] adds deprecation notice on framework.csrf_protection.field_name configuration key.
2015-01-09 07:33:06 +01:00
Alexander Schwenn
aedabc76b6 [Form] Fixed check of violation constraint #12792
ConstraintViolation::getConstraint() must not expect to provide a
constraint as long as Symfony\Component\Validator\ExecutionContext
exists (before 3.0)
2015-01-09 05:45:27 +01:00
Hugo Hamon
d79d2cf185 [FrameworkBundle] adds deprecation notice on framework.csrf_protection.field_name configuration key. 2015-01-09 00:20:25 +01:00
Hugo Hamon
07beabfe73 [TwigBundle] adds missing deprecation notice for the twig.form.resources configuration key. 2015-01-08 22:30:44 +01:00
Fabien Potencier
66da1d23f5 minor #13335 [FrameworkBundle] avoid using deprecated classes for reflection (fabpot)
This PR was merged into the 2.7 branch.

Discussion
----------

[FrameworkBundle] avoid using deprecated classes for reflection

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

Commits
-------

26fa1a5 [FrameworkBundle] avoid using deprecated classes for reflection
2015-01-08 22:30:25 +01:00
Fabien Potencier
2cdeae5d50 bug #13336 Make that AddExpressionLanguageProviderPass works with aliases (maarekj, jakzal)
This PR was merged into the 2.7 branch.

Discussion
----------

Make that AddExpressionLanguageProviderPass works with aliases

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

Replaces #12982 by @maarekj (includes his commit).

Commits
-------

16a22cd [FrameworkBundle] Add a test case for service aliases used with AddExpressionLanguageProviderPass.
fd97cef [FrameworkBundle] fixed #12847 AddExpressionLanguageProviderPass
2015-01-08 22:28:04 +01:00
Fabien Potencier
26fa1a5417 [FrameworkBundle] avoid using deprecated classes for reflection 2015-01-08 19:00:48 +01:00
Jakub Zalas
16a22cd66b [FrameworkBundle] Add a test case for service aliases used with AddExpressionLanguageProviderPass. 2015-01-08 17:54:25 +00:00
Joseph Maarek
fd97cefbad [FrameworkBundle] fixed #12847 AddExpressionLanguageProviderPass 2015-01-08 17:54:25 +00:00
Fabien Potencier
c7bee8f861 [SecurityBundle] fixed deps 2015-01-08 18:43:42 +01:00
Fabien Potencier
e104595568 feature #13323 [Security] removed usage of the deprecated SecurityContextInterface (fabpot)
This PR was merged into the 2.7 branch.

Discussion
----------

[Security] removed usage of the deprecated SecurityContextInterface

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

This PR removed internal usage of SecurityContextInterface in favor of the new alternatives, it also fixes removes as many deprecation notices as possible for the Security component.

Commits
-------

ba71b68 added type-hint
91d01d8 [Security] removed usage of the deprecated SecurityContextInterface
2015-01-08 17:31:33 +01:00
Fabien Potencier
ba71b689cd added type-hint 2015-01-08 17:01:58 +01:00
Fabien Potencier
91d01d83f5 [Security] removed usage of the deprecated SecurityContextInterface 2015-01-08 16:48:25 +01:00
Fabien Potencier
50ed09ed4a bug #13329 [Form] fixed deprecation triggers, removed usage of deprecated features (fabpot)
This PR was merged into the 2.7 branch.

Discussion
----------

[Form] fixed deprecation triggers, removed usage of deprecated features

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

Commits
-------

60bc402 [Form] fixed deprecation triggers, removed usage of deprecated features
2015-01-08 15:06:23 +01:00
Fabien Potencier
60bc402f8c [Form] fixed deprecation triggers, removed usage of deprecated features 2015-01-08 14:06:57 +01:00
Fabien Potencier
dcfc338499 minor #13326 [EventDispatcher] fixed deprecation notices in the EventDispatcher Component (fabpot)
This PR was merged into the 2.7 branch.

Discussion
----------

[EventDispatcher] fixed deprecation notices in the EventDispatcher Component

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

Commits
-------

98047ae [EventDispatcher] fixed deprecation notices in the EventDispatcher Component
2015-01-08 14:03:53 +01:00
Fabien Potencier
98047ae209 [EventDispatcher] fixed deprecation notices in the EventDispatcher Component 2015-01-08 14:03:06 +01:00
Fabien Potencier
e52754f1f3 minor #13325 [Yaml] removed deprecation notices on internal constant (fabpot)
This PR was merged into the 2.7 branch.

Discussion
----------

[Yaml] removed deprecation notices on internal constant

| Q             | A
| ------------- | ---
| Bug fix?      | no
| New feature?  | no
| BC breaks?    | no
| Deprecations? | no
| Tests pass?   | yes
| Fixed tickets | antonioribeiro/tracker#56, #13306
| License       | MIT
| Doc PR        | n/a

Reverting the deprecated notices on `Unescaper::ENCODING` for two reasons:

 * The constant is only used internally and nobody ever used it anyway;
 * The deprecation notice is ALWAYS triggered when using the YAML component.

Commits
-------

faeed58 [Yaml] removed deprecation notices on internal constant
2015-01-08 14:01:33 +01:00
Fabien Potencier
5c5a99e3f1 minor #13327 [HttpFoundation] maked a test as being for deprecated feature (fabpot)
This PR was merged into the 2.7 branch.

Discussion
----------

[HttpFoundation] maked a test as being for deprecated feature

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

Commits
-------

a2ea28d [HttpFoundation] maked a test as being for deprecated feature
2015-01-08 13:59:47 +01:00
Fabien Potencier
a2ea28d8b7 [HttpFoundation] maked a test as being for deprecated feature 2015-01-08 13:58:24 +01:00
Fabien Potencier
77061c997f added missing error_reporting 2015-01-08 13:57:51 +01:00
Fabien Potencier
f8fa26dbb3 minor #13328 [Yaml] maked a test as being for deprecated feature (fabpot)
This PR was merged into the 2.7 branch.

Discussion
----------

[Yaml] maked a test as being for deprecated feature

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

Commits
-------

651f5fb [Yaml] maked a test as being for deprecated feature
2015-01-08 13:55:43 +01:00
Fabien Potencier
651f5fb570 [Yaml] maked a test as being for deprecated feature 2015-01-08 12:43:03 +01:00
Fabien Potencier
faeed58221 [Yaml] removed deprecation notices on internal constant 2015-01-08 12:18:11 +01:00
Fabien Potencier
0ea8ae9205 Merge branch '2.6' into 2.7
* 2.6:
  [Security] moved test files into the right place
2015-01-08 11:46:25 +01:00
Fabien Potencier
ccee4ea91d Merge branch '2.5' into 2.6
* 2.5:
  [Security] moved test files into the right place
2015-01-08 11:46:13 +01:00
Fabien Potencier
b52e0d19c1 minor #13319 [Security] moved test files into the right place (fabpot)
This PR was merged into the 2.5 branch.

Discussion
----------

[Security] moved test files into the right place

Commits
-------

0601ed3 [Security] moved test files into the right place
2015-01-08 11:45:59 +01:00
Fabien Potencier
0601ed33c4 [Security] moved test files into the right place 2015-01-08 11:25:36 +01:00
Fabien Potencier
8d4fcc0798 minor #13317 [HttpKernel] fixed deprecation notices for ESI classes (fabpot)
This PR was merged into the 2.7 branch.

Discussion
----------

[HttpKernel] fixed deprecation notices for ESI classes

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

Commits
-------

bd954aa [HttpKernel] fixed deprecation notices for ESI classes
2015-01-08 10:26:38 +01:00
Fabien Potencier
33de290825 Merge branch '2.6' into 2.7
* 2.6:
  [Form] fixed the CSRF extension to allow using only the new interfaces
2015-01-08 10:11:47 +01:00
Fabien Potencier
e49b325d4a Merge branch '2.5' into 2.6
* 2.5:
  [Form] fixed the CSRF extension to allow using only the new interfaces
2015-01-08 10:11:40 +01:00
Fabien Potencier
04ec9424d3 bug #13316 [Form] fixed the CSRF extension to allow using only the new interfaces (fabpot)
This PR was merged into the 2.5 branch.

Discussion
----------

[Form] fixed the CSRF extension to allow using only the new interfaces

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

The CSRF extension did not allow to only use the new interfaces, which leads to deprecation notices you cannot get rid of in 2.7.

Commits
-------

555b010 [Form] fixed the CSRF extension to allow using only the new interfaces
2015-01-08 10:11:25 +01:00
Fabien Potencier
20ccb0ee17 minor #13314 [Form] tweaked a deprecation message (fabpot)
This PR was merged into the 2.7 branch.

Discussion
----------

[Form] tweaked a deprecation message

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

While upgrading an app to 2.7, I found this message unclear. To be honest, and like many developers, I did not read the entire message and I missed the "cast to a string" part.

Commits
-------

a396b41 [Form] tweaked a deprecation message
2015-01-08 10:10:59 +01:00
Fabien Potencier
2edfff9e96 minor #13315 [Form] moved a deprecation notice (fabpot)
This PR was merged into the 2.7 branch.

Discussion
----------

[Form] moved a deprecation notice

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

This deprecation notice on BindListener was wrongly put at the top of the class. This listener is always registered to provide BC, but the deprecation notice should only be generated when taking the path that is deprecated.

Commits
-------

050f4bc [Form] moved a deprecation notice
2015-01-08 10:09:46 +01:00
Fabien Potencier
bd954aaaee [HttpKernel] fixed deprecation notices for ESI classes 2015-01-08 10:07:02 +01:00
Fabien Potencier
050f4bc03e [Form] moved a deprecation notice 2015-01-08 09:47:40 +01:00
Fabien Potencier
4b44f0c878 minor #13313 [Validator] Add a Russian translation for the checkDNS option in the URL validator (vadim2404)
This PR was merged into the 2.7 branch.

Discussion
----------

[Validator] Add a Russian translation for the checkDNS option in the URL validator

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

Commits
-------

ac00b87 [Validator] Add a Russian translation for the checkDNS option in the URL validator
2015-01-08 09:44:51 +01:00