Commit Graph

23891 Commits

Author SHA1 Message Date
Wouter J 5764a00a76 [Console] Fix bug with overloading 2015-11-26 17:44:51 +01:00
Fabien Potencier 8988409dc6 minor #16663 [Debug] remove unused use statement (Tobion)
This PR was merged into the 3.0-dev branch.

Discussion
----------

[Debug] remove unused use statement

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

ref #15418

Commits
-------

a862e5e [Debug] remove unused use statement
2015-11-26 17:42:16 +01:00
Bernhard Schussek 91496229ab [Form] Fixed wrong usages of the "text" type 2015-11-26 17:29:22 +01:00
Tobias Schultze 1ab73166a7 [DI] use try-finally for container 2015-11-26 17:15:31 +01:00
Nicolas Grekas 12a152b666 [appveyor] Workaround transient segfault when APCu is enabled 2015-11-26 16:12:01 +01:00
Nicolas Grekas 327a52d02f Merge branch '2.8'
* 2.8:
  [Security] Deprecate "AbstractVoter" in favor of "Voter"
  [Security] Revert changes made between 2.7 and 2.8-beta

Conflicts:
	UPGRADE-2.8.md
	src/Symfony/Component/Security/Core/Authorization/Voter/AbstractVoter.php
	src/Symfony/Component/Security/Core/Tests/Authorization/Voter/AbstractVoterTest.php
2015-11-26 15:51:35 +01:00
Nicolas Grekas a58df11244 feature #16601 [Security] Deprecate "AbstractVoter" in favor of "Voter" (nicolas-grekas, lyrixx)
This PR was merged into the 2.8 branch.

Discussion
----------

[Security] Deprecate "AbstractVoter" in favor of "Voter"

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

Commits
-------

fd8b87c [Security] Deprecate "AbstractVoter" in favor of "Voter"
d3c6d93 [Security] Revert changes made between 2.7 and 2.8-beta
2015-11-26 15:48:43 +01:00
Nicolas Grekas 0a40b543e4 Merge branch '2.3' into 2.7
* 2.3:
  [HttpFoundation] Workaround HHVM rewriting HTTP response line

Conflicts:
	src/Symfony/Component/HttpFoundation/Response.php
2015-11-26 10:20:19 +01:00
Nicolas Grekas 5f93188dc0 bug #16676 [HttpFoundation] Workaround HHVM rewriting HTTP response line (nicolas-grekas)
This PR was merged into the 2.3 branch.

Discussion
----------

[HttpFoundation] Workaround HHVM rewriting HTTP response line

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

Commits
-------

5013f98 [HttpFoundation] Workaround HHVM rewriting HTTP response line
2015-11-26 10:19:28 +01:00
Bernhard Schussek f495410d25 [Form] Disabled view data validation if "data_class" is set to null 2015-11-26 10:11:54 +01:00
Peter Rehm 7aac273701 Added the renamed options of the collection type to the upgrade information 2015-11-26 09:44:24 +01:00
Nicolas Grekas 5183c881d0 Merge branch '2.8'
* 2.8:
  Always enable clock-mock for HttpFoundation
  [ClassLoader] Fix parsing namespace when token_get_all() is missing
  Bug #16343 [Router] Too many Routes ?
  Fixes the stack traces of the deprecation logs
  fix unused variable warning
  [Translation][Form] Do not translate form labels and placeholders when 'translation_domain' is false
  add composer exclude-from-classmap for new 2.8 components
  [Yaml] sync changelog and upgrade files
  [Debug] Ensure class declarations are loaded only once
  Minor design tweaks for the Logs and Doctrine profiler panels

Conflicts:
	UPGRADE-2.8.md
2015-11-26 08:02:09 +01:00
Nicolas Grekas da43309f07 Merge branch '2.7' into 2.8
* 2.7:
  Always enable clock-mock for HttpFoundation
  [ClassLoader] Fix parsing namespace when token_get_all() is missing
  Bug #16343 [Router] Too many Routes ?
  [Debug] Ensure class declarations are loaded only once
2015-11-26 08:00:59 +01:00
Nicolas Grekas d1a50a2b61 Merge branch '2.3' into 2.7
* 2.3:
  Always enable clock-mock for HttpFoundation
  [ClassLoader] Fix parsing namespace when token_get_all() is missing
  Bug #16343 [Router] Too many Routes ?
2015-11-26 08:00:48 +01:00
Nicolas Grekas 5013f9895f [HttpFoundation] Workaround HHVM rewriting HTTP response line 2015-11-26 07:58:58 +01:00
Nicolas Grekas 7ddfc5fae9 minor #16670 Always enable clock-mock for HttpFoundation (nicolas-grekas)
This PR was merged into the 2.3 branch.

Discussion
----------

Always enable clock-mock for HttpFoundation

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

Commits
-------

1712086 Always enable clock-mock for HttpFoundation
2015-11-26 07:56:24 +01:00
Tobias Schultze 27327d3e4d bug #16668 [ClassLoader] Fix parsing namespace when token_get_all() is missing (nicolas-grekas)
This PR was merged into the 2.3 branch.

Discussion
----------

[ClassLoader] Fix parsing namespace when token_get_all() is missing

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

Commits
-------

4a17c9e [ClassLoader] Fix parsing namespace when token_get_all() is missing
2015-11-25 20:26:50 +01:00
Nicolas Grekas 171208627d Always enable clock-mock for HttpFoundation 2015-11-25 19:15:39 +01:00
Nicolas Grekas 4a17c9e6af [ClassLoader] Fix parsing namespace when token_get_all() is missing 2015-11-25 18:16:22 +01:00
Fabien Potencier cd0ffc9a41 bug #16615 fix type assignement (rande)
This PR was squashed before being merged into the 3.0-dev branch (closes #16615).

Discussion
----------

fix type assignement

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

This PR make sure the original key is used when the type is resolved. Also the code now respect the PHPDoc.

Commits
-------

cc26454 fix type assignement
2015-11-25 16:48:43 +01:00
Thomas Rabaix cc2645404a fix type assignement 2015-11-25 16:48:40 +01:00
Tobias Schultze a862e5ef8f [Debug] remove unused use statement 2015-11-25 14:49:01 +01:00
Nicolas Grekas bece73aa27 bug #16386 Bug #16343 [Router] Too many Routes ? (jelte)
This PR was submitted for the 2.8 branch but it was merged into the 2.3 branch instead (closes #16386).

Discussion
----------

Bug #16343 [Router] Too many Routes ?

| Q             | A
| ------------- | ---
| Bug fix?      | yes
| New feature?  | no
| BC breaks?    | no
| Deprecations? | no
| Tests pass?   | yes
| Fixed tickets | https://github.com/symfony/symfony/issues/16343
| License       | MIT
| Doc PR        | N/A

Seems there is an issue when you have more than 7265 routes declared,
The routes are generated into the cached appDevUrlGenerator.php but php only loads the last 7265 elements of the array.

Commits
-------

0113ac3 Bug #16343 [Router] Too many Routes ?
2015-11-25 13:20:53 +01:00
Jelte Steijaert 0113ac3ce2 Bug #16343 [Router] Too many Routes ? 2015-11-25 13:20:52 +01:00
Tobias Schultze 1abfecf5ca minor #16658 Fixes the stack traces of the deprecation logs (javiereguiluz)
This PR was merged into the 2.8 branch.

Discussion
----------

Fixes the stack traces of the deprecation logs

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

The stack trace information was displayed in a very confusing way. Now it's easier to understand what is called from which file and line.

### Before

![stack_trace_before](https://cloud.githubusercontent.com/assets/73419/11392640/5c02607a-935b-11e5-8f99-812fbd97aad3.png)

### After

![stack_trace_after](https://cloud.githubusercontent.com/assets/73419/11392650/5f0b821a-935b-11e5-8472-7fae9bd21149.png)

Commits
-------

09f4895 Fixes the stack traces of the deprecation logs
2015-11-25 13:13:51 +01:00
Javier Eguiluz 09f489530b Fixes the stack traces of the deprecation logs 2015-11-25 09:53:09 +01:00
Fabien Potencier 074a4bf89e minor #16647 Minor design tweaks for the Logs and Doctrine profiler panels (javiereguiluz)
This PR was merged into the 2.8 branch.

Discussion
----------

Minor design tweaks for the Logs and Doctrine profiler panels

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

### Logger panel BEFORE

![stacktrace_before](https://cloud.githubusercontent.com/assets/73419/11362363/65924218-9293-11e5-8b89-c405e6bcee9a.png)

### Logger panel AFTER

![stacktrace_after](https://cloud.githubusercontent.com/assets/73419/11362365/68cd37da-9293-11e5-8ef9-607d60a1b4cf.png)

### Doctrine panel BEFORE

![doctrine_before](https://cloud.githubusercontent.com/assets/73419/11362370/6ce78f14-9293-11e5-8bd8-d486447c1134.png)

### Doctrine panel AFTER

![doctrine_after](https://cloud.githubusercontent.com/assets/73419/11362372/71a3eade-9293-11e5-9949-a7f0463fb12a.png)

Commits
-------

fdfa176 Minor design tweaks for the Logs and Doctrine profiler panels
2015-11-25 05:22:23 +01:00
Fabien Potencier 3ed092ed80 bug #16498 fix unused variable warning (eventhorizonpl)
This PR was squashed before being merged into the 2.8 branch (closes #16498).

Discussion
----------

fix unused variable warning

Hi,

This PR fixes a bug in ClockMock class.

Best regards,
Michal

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

Commits
-------

cf28474 fix unused variable warning
2015-11-25 05:20:03 +01:00
Michal Piotrowski cf284742ff fix unused variable warning 2015-11-25 05:19:33 +01:00
Fabien Potencier 8b58291f20 minor #16654 [Yaml] sync changelog and upgrade files (xabbuh)
This PR was merged into the 2.8 branch.

Discussion
----------

[Yaml] sync changelog and upgrade files

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

Commits
-------

062d707 [Yaml] sync changelog and upgrade files
2015-11-25 05:12:04 +01:00
Fabien Potencier 9042dc543c minor #16655 add composer exclude-from-classmap for new 2.8 components (Tobion)
This PR was merged into the 2.8 branch.

Discussion
----------

add composer exclude-from-classmap for new 2.8 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

#16397 for new components in 2.8 that was missing

Commits
-------

2edebbf add composer exclude-from-classmap for new 2.8 components
2015-11-25 05:08:23 +01:00
Fabien Potencier 09e896c306 feature #16031 [Translation][Form] Do not translate form labels and placeholders when 'translation_domain' is false (Restless-ET)
This PR was squashed before being merged into the 2.8 branch (closes #16031).

Discussion
----------

[Translation][Form] Do not translate form labels and placeholders when 'translation_domain' is false

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

Seems like this behaviour was already partially added (as stated [here](https://github.com/symfony/symfony/pull/16016#issuecomment-144464875)) to solve the problem of expanded choice widgets.

Commits
-------

0e0b904 [Translation][Form] Do not translate form labels and placeholders when 'translation_domain' is false
2015-11-25 05:07:02 +01:00
Restless-ET 0e0b904ff2 [Translation][Form] Do not translate form labels and placeholders when 'translation_domain' is false 2015-11-25 05:06:57 +01:00
Tobias Schultze 2edebbf2ae add composer exclude-from-classmap for new 2.8 components 2015-11-24 23:11:35 +01:00
Christian Flothmann 062d707820 [Yaml] sync changelog and upgrade files 2015-11-24 22:06:14 +01:00
Grégoire Pineau fd8b87c498 [Security] Deprecate "AbstractVoter" in favor of "Voter" 2015-11-24 16:56:59 +01:00
Nicolas Grekas d3c6d93dff [Security] Revert changes made between 2.7 and 2.8-beta 2015-11-24 14:34:07 +01:00
Nicolas Grekas 26ef430b5b bug #16651 [Debug] Ensure class declarations are loaded only once (nicolas-grekas)
This PR was merged into the 2.7 branch.

Discussion
----------

[Debug] Ensure class declarations are loaded only once

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

Commits
-------

01c08fc [Debug] Ensure class declarations are loaded only once
2015-11-24 13:20:25 +01:00
Nicolas Grekas 01c08fccf4 [Debug] Ensure class declarations are loaded only once 2015-11-24 12:55:28 +01:00
Javier Eguiluz fdfa1767b9 Minor design tweaks for the Logs and Doctrine profiler panels 2015-11-24 10:07:02 +01:00
Abdellatif Ait boudad a21a0166c6 [DI][autowiring] throw exception when many services use the same class. 2015-11-24 08:45:36 +00:00
Nicolas Grekas b859d95c28 Merge branch '2.8'
* 2.8:
  [travis] Disable xdebug on PHP7
  Tweaking deprecation message to include class name
  bumped Symfony version to 2.7.8
  updated VERSION for 2.7.7
  updated CHANGELOG for 2.7.7
  bumped Symfony version to 2.3.36
  updated VERSION for 2.3.35
  update CONTRIBUTORS for 2.3.35
  updated CHANGELOG for 2.3.35

Conflicts:
	CHANGELOG-2.3.md
	CHANGELOG-2.7.md
	src/Symfony/Component/Config/Resource/BCResourceInterfaceChecker.php
2015-11-24 08:34:16 +01:00
Nicolas Grekas e0f5ffc304 Merge branch '2.7' into 2.8
* 2.7:
  [travis] Disable xdebug on PHP7
  bumped Symfony version to 2.7.8
  updated VERSION for 2.7.7
  updated CHANGELOG for 2.7.7
  bumped Symfony version to 2.3.36
  updated VERSION for 2.3.35
  update CONTRIBUTORS for 2.3.35
  updated CHANGELOG for 2.3.35

Conflicts:
	src/Symfony/Component/HttpKernel/Kernel.php
2015-11-24 08:33:26 +01:00
Nicolas Grekas 6de2304c0b Merge branch '2.3' into 2.7
* 2.3:
  [travis] Disable xdebug on PHP7
  bumped Symfony version to 2.3.36
  updated VERSION for 2.3.35
  update CONTRIBUTORS for 2.3.35
  updated CHANGELOG for 2.3.35

Conflicts:
	src/Symfony/Component/HttpKernel/Kernel.php
2015-11-24 08:32:22 +01:00
Nicolas Grekas 8d0ec00caa minor #16644 [travis] Disable xdebug on PHP7 (nicolas-grekas)
This PR was merged into the 2.3 branch.

Discussion
----------

[travis] Disable xdebug on PHP7

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

Commits
-------

dfda5ce [travis] Disable xdebug on PHP7
2015-11-24 08:30:27 +01:00
Nicolas Grekas dfda5ced7c [travis] Disable xdebug on PHP7 2015-11-24 08:24:59 +01:00
Fabien Potencier 15c2416c97 minor #16641 Tweaking deprecation message to include class name (weaverryan)
This PR was squashed before being merged into the 2.8 branch (closes #16641).

Discussion
----------

Tweaking deprecation message to include class name

| 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

Before:

> Resource checking through ResourceInterface::isFresh() is deprecated since 2.8
> and will be removed in 3.0

After:

> The class Symfony\Bundle\AsseticBundle\Config\AsseticResource is performing
> resource checking through ResourceInterface::isFresh(), which is deprecated since 2.8
> and will be removed in 3.0

Commits
-------

07d627d Tweaking deprecation message to include class name
2015-11-23 21:38:03 +01:00
Ryan Weaver 07d627de0f Tweaking deprecation message to include class name 2015-11-23 21:38:01 +01:00
Tobias Schultze c6f2b653c5 feature #16637 [3.0] Removed unneeded polyfill (GrahamCampbell)
This PR was merged into the 3.0-dev branch.

Discussion
----------

[3.0] Removed unneeded polyfill

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

Surely we don't need these on 3.x?

Commits
-------

42c9a48 Removed unneeded polyfill from the master
2015-11-23 17:09:36 +01:00
Fabien Potencier fc0ee0efd5 bumped Symfony version to 2.7.8 2015-11-23 13:27:27 +01:00