Commit Graph

21218 Commits

Author SHA1 Message Date
reecefowell 73bbaa6cc7 Silence invasive deprecation warnings, opt-in for warnings 2015-06-08 10:37:21 +01:00
Fabien Potencier 53d9003616 minor #14902 [FrameworkBundle] Document form.csrf_provider service deprecation (jakzal)
This PR was merged into the 2.7 branch.

Discussion
----------

[FrameworkBundle] Document form.csrf_provider service deprecation

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

`form.csrf_provider` was deprecated in #9216.

Commits
-------

0fea66f [FrameworkBundle] Document form.csrf_provider service deprecation
2015-06-07 18:44:21 +02:00
Jakub Zalas 0fea66faf4 [FrameworkBundle] Document form.csrf_provider service deprecation 2015-06-07 11:05:37 +01:00
Fabien Potencier 18f0dda25a bug #14888 [Console] Fix ask and askHidden methods (dosten)
This PR was merged into the 2.7 branch.

Discussion
----------

[Console] Fix ask and askHidden methods

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

Commits
-------

5bb2cc8 Fix ask and askHidden methods
2015-06-06 16:06:47 +02:00
Diego Saint Esteben 5bb2cc8331 Fix ask and askHidden methods 2015-06-05 20:29:24 -03:00
Fabien Potencier d1404a6c34 minor #14884 Change error message to reflect SecurityContext deprecation. (nickbyfleet)
This PR was submitted for the master branch but it was merged into the 2.7 branch instead (closes #14884).

Discussion
----------

Change error message to reflect SecurityContext deprecation.

This PR was submitted on the symfony/Security read-only repository by @nickbyfleet and moved automatically to the main Symfony repository (closes symfony/Security#6).

Commits
-------

4212bda Change error message to reflect SecurityContext deprecation.
2015-06-05 21:57:46 +02:00
Nicholas Byfleet 4212bdaf72 Change error message to reflect SecurityContext deprecation. 2015-06-05 21:57:45 +02:00
Fabien Potencier 04630ad60e fixed merge 2015-06-05 21:54:43 +02:00
Fabien Potencier 31eb16c03e Merge branch '2.6' into 2.7
* 2.6:
  Issue #14815
2015-06-05 21:54:27 +02:00
Fabien Potencier 75d5d547bb minor #14819 [Yaml] [Validator] Removed conditional @deprecated tags and moved their descriptions to the method description as a note (gerritdrost)
This PR was submitted for the 2.7 branch but it was merged into the 2.6 branch instead (closes #14819).

Discussion
----------

[Yaml] [Validator] Removed conditional @deprecated tags and moved their descriptions to the method description as a note

[Yaml] [Validator] Removed conditional @deprecated tags and moved their descriptions to the method description as a note.

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

Commits
-------

17b4251 Issue #14815
2015-06-05 21:54:11 +02:00
Gerrit Drost 17b4251310 Issue #14815
Removed @deprecated tags and moved their descriptions to the method description as a note.
2015-06-05 21:54:03 +02:00
Fabien Potencier 72b2a79972 Merge branch '2.6' into 2.7
* 2.6:
  [Security] Update tests after a merge
  [Console] Remove an unused argument and fix a small cs issue
2015-06-05 18:29:23 +02:00
Fabien Potencier 2fa3585d08 minor #14882 [Security] Update tests after a merge (jakzal)
This PR was merged into the 2.6 branch.

Discussion
----------

[Security] Update tests after a merge

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

Security component was split into three and test fixture namespaces are different between 2.3 and 2.6 branches.

Commits
-------

322f629 [Security] Update tests after a merge
2015-06-05 18:28:56 +02:00
Jakub Zalas 322f629020 [Security] Update tests after a merge
Security component was split into three and test fixture namespaces are different between 2.3 and 2.6 branches.
2015-06-05 15:24:01 +01:00
Fabien Potencier 34ad82e1d2 bug #14705 [Translator] avoid serialize unserializable resources. (aitboudad)
This PR was merged into the 2.7 branch.

Discussion
----------

[Translator] avoid serialize unserializable resources.

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

Commits
-------

7220f2c [Translator] avoid serialize unserializable resources.
2015-06-05 15:55:54 +02:00
Fabien Potencier c2ea763fbe minor #14880 [Console] Remove an unused argument (jakzal)
This PR was merged into the 2.6 branch.

Discussion
----------

[Console] Remove an unused argument

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

It was overlooked when doing a refactoring in #8800

I also fixed a small cs issue indicated by fabbot.

Commits
-------

ec14143 [Console] Remove an unused argument and fix a small cs issue
2015-06-05 15:50:22 +02:00
Jakub Zalas ec14143922 [Console] Remove an unused argument and fix a small cs issue 2015-06-05 14:36:34 +01:00
Fabien Potencier d65adc07a9 Merge branch '2.6' into 2.7
* 2.6:
  Improve the config validation in TwigBundle
  [WebProfilerBundle][logger] added missing deprecation message.
  [Security][Acl] enforce string identifiers
  [BrowserKit] Fix bug when uri starts with http.
  bumped Symfony version to 2.3.31
  updated VERSION for 2.3.30
  updated CHANGELOG for 2.3.30
  Php Inspections (EA Extended):     - resolved possible PHP Fatal in \Symfony\Component\BrowserKit\Cookie::__toString     -resolved implicit magic methods calls     -resolved callable name case mismatches
2015-06-04 22:11:48 +02:00
Fabien Potencier 1c4c0435b4 Merge branch '2.3' into 2.6
* 2.3:
  Improve the config validation in TwigBundle
  [Security][Acl] enforce string identifiers
  [BrowserKit] Fix bug when uri starts with http.
  bumped Symfony version to 2.3.31
  updated VERSION for 2.3.30
  updated CHANGELOG for 2.3.30
  Php Inspections (EA Extended):     - resolved possible PHP Fatal in \Symfony\Component\BrowserKit\Cookie::__toString     -resolved implicit magic methods calls     -resolved callable name case mismatches

Conflicts:
	src/Symfony/Component/Debug/Tests/ErrorHandlerTest.php
	src/Symfony/Component/DependencyInjection/Tests/Dumper/PhpDumperTest.php
	src/Symfony/Component/HttpKernel/Kernel.php
2015-06-04 22:11:39 +02:00
Fabien Potencier e8d06b2e4a minor #14798 [DependencyInjection] provide better error message when using deprecated configuration options (xabbuh)
This PR was merged into the 2.7 branch.

Discussion
----------

[DependencyInjection] provide better error message when using deprecated configuration options

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

Commits
-------

e1e7440 [DependencyInjection] provide better error message when using deprecated configuration options
2015-06-04 22:07:55 +02:00
Christian Flothmann e1e74404a0 [DependencyInjection] provide better error message when using deprecated configuration options 2015-06-04 21:37:50 +02:00
Fabien Potencier d4efccd9e4 bug #14846 [console][TableCell] get cell width without decoration. (aitboudad)
This PR was squashed before being merged into the 2.7 branch (closes #14846).

Discussion
----------

[console][TableCell] get cell width without decoration.

| Q             | A
| ------------- | ---
| Bug fix?      | yes
| New feature?  | no
| BC breaks?    | no
| Deprecations? | no
| Fixed tickets  | https://github.com/symfony/symfony/pull/14513#issuecomment-108093051
| Tests pass?   | yes
| License       | MIT

Commits
-------

d93b16f [console][TableCell] get cell width without decoration.
2015-06-04 16:44:05 +02:00
Abdellatif Ait boudad d93b16f407 [console][TableCell] get cell width without decoration. 2015-06-04 16:44:02 +02:00
Fabien Potencier d6b0e64a5d bug #14852 [VarDumper] Fix generic casters calling order (nicolas-grekas)
This PR was merged into the 2.7 branch.

Discussion
----------

[VarDumper] Fix generic casters calling order

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

There is a logical mistake in the calling order of the catch all `*` caster. Casters are called with increasing specificity, from parents first to children classes last. But this one is currently called last, although it is the less specific. Here is the fix in `AbstractCloner`.
All the other changes are adding robustness to potentially not-set array indexes.

Commits
-------

ec124e0 [VarDumper] Fix generic casters calling order
2015-06-04 16:40:31 +02:00
Fabien Potencier 5e6781d2b2 bug #14855 [VarDumper] Changed tooltip to expand-all keybinding in OS X (taylankasap)
This PR was merged into the 2.7 branch.

Discussion
----------

[VarDumper] Changed tooltip to expand-all keybinding in OS X

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

Commits
-------

8809362 [VarDumper] Changed tooltip to expand-all keybinding in OS X
2015-06-04 15:57:43 +02:00
Fabien Potencier c2127a3992 bug #14854 [Bridge\PhpUnit] Fix composer installed phpunit detection (nicolas-grekas)
This PR was merged into the 2.7 branch.

Discussion
----------

[Bridge\PhpUnit] Fix composer installed phpunit detection

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

Commits
-------

1b690c1 [Bridge\PhpUnit] Fix composer installed phpunit detection
2015-06-04 15:39:33 +02:00
Fabien Potencier 5c7cb563db bug #14859 Improve the config validation in TwigBundle (stof)
This PR was merged into the 2.3 branch.

Discussion
----------

Improve the config validation in TwigBundle

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

This ensures we have better error messages in case of misconfiguration instead of having crappy errors from Twig (which does not validates its options fully either, missing these things)

Commits
-------

f4dfee3 Improve the config validation in TwigBundle
2015-06-04 15:38:55 +02:00
Christophe Coevoet f4dfee3bea Improve the config validation in TwigBundle 2015-06-04 12:52:47 +02:00
Taylan Kasap 88093623ea [VarDumper] Changed tooltip to expand-all keybinding in OS X
Expand all keybinding is Cmd+click in OS X
2015-06-03 15:36:55 -07:00
Nicolas Grekas 1b690c18aa [Bridge\PhpUnit] Fix composer installed phpunit detection 2015-06-03 14:50:52 -07:00
Nicolas Grekas ec124e078a [VarDumper] Fix generic casters calling order 2015-06-03 10:54:19 -07:00
Fabien Potencier dc296cc951 bug #14837 [2.7][SecurityBundle] Remove SecurityContext from Compile (Zander Baldwin)
This PR was merged into the 2.7 branch.

Discussion
----------

[2.7][SecurityBundle] Remove SecurityContext from Compile

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

Remove the deprecated [SecurityContext](https://github.com/symfony/symfony/blob/master/src/Symfony/Component/Security/Core/SecurityContext.php) from the list of classes to compile into `classes.map` and `classes.php`. Prevents `E_USER_DEPRECATED` notices from being thrown on every request.

Commits
-------

1778e02 [2.7][SecurityBundle] Remove SecurityContext from Compile
2015-06-02 19:14:20 +02:00
Zander Baldwin 1778e02151 [2.7][SecurityBundle] Remove SecurityContext from Compile
Remove the deprecated SecurityContext from the list of classes to compile into `classes.map` and `classes.php`.
2015-06-02 16:01:16 +01:00
Fabien Potencier 1dbf67ed66 bug #14793 [FrameworkBundle] make `templating.helper.router` service available again for BC reasons (xabbuh)
This PR was merged into the 2.7 branch.

Discussion
----------

[FrameworkBundle] make `templating.helper.router` service available again for BC reasons

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

Commits
-------

95dcfa2 [FrameworkBundle] make `templating.helper.router` service available again for BC reasons
2015-06-01 17:28:56 +02:00
Fabien Potencier 5607f71079 bug #14785 [BrowserKit] Fix bug when uri starts with http. (amouhzi)
This PR was merged into the 2.3 branch.

Discussion
----------

[BrowserKit] Fix bug when uri starts with http.

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

Commits
-------

6d3ec63 [BrowserKit] Fix bug when uri starts with http.
2015-06-01 17:27:09 +02:00
Fabien Potencier 013009b6c8 minor #14474 [2.3] Static Code Analysis for Components (kalessil)
This PR was merged into the 2.3 branch.

Discussion
----------

[2.3] Static Code Analysis for Components

| 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

Static Code Analysis with Php Inspections (EA Extended), no functional changes:
- resolved possible PHP Fatal in \Symfony\Component\BrowserKit\Cookie::__toString
- resolved callable name case mismatches

Commits
-------

9eb2b14 Php Inspections (EA Extended):     - resolved possible PHP Fatal in \Symfony\Component\BrowserKit\Cookie::__toString     -resolved implicit magic methods calls     -resolved callable name case mismatches
2015-06-01 17:18:16 +02:00
Fabien Potencier 8172f2fecb bug #14807 [Security][Acl] enforce string identifiers (xabbuh)
This PR was merged into the 2.3 branch.

Discussion
----------

[Security][Acl] enforce string identifiers

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

Commits
-------

bbb1064 [Security][Acl] enforce string identifiers
2015-06-01 17:07:46 +02:00
Fabien Potencier 418b28b464 bug #14808 [WebProfilerBundle][logger] added missing deprecation message. (aitboudad)
This PR was merged into the 2.6 branch.

Discussion
----------

[WebProfilerBundle][logger] added missing deprecation message.

| Q             | A
| ------------- | ---
| Bug fix?      | yes
| New feature?  | no
| BC breaks?    | no
| Deprecations? | no
| Fixed tickets  | https://github.com/symfony/symfony/pull/14696#issuecomment-105710882
| Tests pass?   | yes
| License       | MIT

before:

![selection_012](https://cloud.githubusercontent.com/assets/1753742/7902598/068acae4-07ae-11e5-824e-12146548209e.jpg)

after:

![selection_011](https://cloud.githubusercontent.com/assets/1753742/7902599/0e7cf29a-07ae-11e5-80bd-42958df9d76b.jpg)

Commits
-------

3061ace [WebProfilerBundle][logger] added missing deprecation message.
2015-06-01 17:00:21 +02:00
Fabien Potencier 09515d61ac minor #14813 Fix profiler CSS (blaugueux)
This PR was merged into the 2.7 branch.

Discussion
----------

Fix profiler CSS

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

![translation-profiler](https://cloud.githubusercontent.com/assets/767963/7908422/2fb45984-0845-11e5-962c-34021238a13c.jpg)

Commits
-------

fb9e5bf Fix profiler CSS
2015-06-01 16:58:43 +02:00
Abdellatif Ait boudad 3061ace2bf [WebProfilerBundle][logger] added missing deprecation message. 2015-06-01 09:10:59 +00:00
Benjamin Laugueux fb9e5bfc69 Fix profiler CSS 2015-06-01 10:01:07 +02:00
Abdellatif Ait boudad 7220f2c880 [Translator] avoid serialize unserializable resources. 2015-05-31 17:58:25 +00:00
Christian Flothmann bbb1064c99 [Security][Acl] enforce string identifiers 2015-05-31 17:00:49 +02:00
Christian Flothmann 95dcfa2ee6 [FrameworkBundle] make `templating.helper.router` service available again for BC reasons 2015-05-30 22:40:00 +02:00
Hassan Amouhzi 6d3ec633cd [BrowserKit] Fix bug when uri starts with http.
| Q             | A
| ------------- | ---
| Fixed tickets |
| License       | MIT
2015-05-30 22:07:20 +02:00
Fabien Potencier 7493c2bef5 bumped Symfony version to 2.7.1 2015-05-30 19:16:04 +02:00
Fabien Potencier 9975b1eca3 updated VERSION for 2.7.0 2015-05-30 18:52:28 +02:00
Fabien Potencier c16e122590 updated CHANGELOG for 2.7.0 2015-05-30 18:52:19 +02:00
Fabien Potencier e2b74ca429 Merge branch '2.6' into 2.7
* 2.6:
  bumped Symfony version to 2.6.10
  updated VERSION for 2.6.9
  updated CHANGELOG for 2.6.9
  fixed tests
  Avoid using the app global variable in the profiler templates

Conflicts:
	src/Symfony/Component/HttpKernel/Kernel.php
2015-05-30 01:30:31 +02:00
Fabien Potencier 390e9b4dc6 bumped Symfony version to 2.6.10 2015-05-30 01:26:13 +02:00