Commit Graph

17520 Commits

Author SHA1 Message Date
Fabien Potencier
295be74c34 bug #10876 [Console] Make Helper\Table::setStyle() chainable again (stloyd)
This PR was merged into the 2.4-dev branch.

Discussion
----------

[Console] Make `Helper\Table::setStyle()` chainable again

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

Commits
-------

de2410a [Console] Make `Helper\Table::setStyle()` chainable
2014-05-09 17:29:38 +02:00
Fabien Potencier
894b4a09b5 bug #10762 [BrowserKit] Allow URLs that don't contain a path when creating a cookie from a string (thewilkybarkid)
This PR was merged into the 2.3 branch.

Discussion
----------

[BrowserKit] Allow URLs that don't contain a path when creating a cookie from a string

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

The Cookie class doesn't require a path, but the `fromString()` static method does, so when URL given is something like http://www.example.com (ie no trailing slash) it currently throws an exception. This PR removes the requirement.

Commits
-------

fc1223f Allow URLs that don't contain a path
2014-05-09 17:26:55 +02:00
Ross Tuck
f800e15020 GraphizDumper now displays unresolved parameters
Previously it would crash when given a container with an unresolved
parameter. This change will instead show the parameter name on the
final diagram, instead of the class name.
2014-05-09 16:22:29 +02:00
Joseph Bielawski
de2410a8c2 [Console] Make Helper\Table::setStyle() chainable
Fixes #10874.
2014-05-09 10:15:02 +02:00
Fabien Potencier
ff9f06b978 bug #10861 [Debug] enhance perf of DebugClassLoader (nicolas-grekas)
This PR was merged into the 2.3-dev branch.

Discussion
----------

[Debug] enhance perf of DebugClassLoader

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

- restricts the check for case mismatch to Windows and Darwin,
- on Darwin, use glob() trick to bypass more extensive checks

Commits
-------

485e047 [Debug] enhance perf of DebugClassLoader
2014-05-08 18:40:26 +02:00
Fabien Potencier
d51c9b3bda bug #10863 [Security] Add check for supported attributes in AclVoter (artursvonda)
This PR was submitted for the master branch but it was merged into the 2.3 branch instead (closes #10863).

Discussion
----------

[Security] Add check for supported attributes in AclVoter

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

Couldn't get the tests to pass but the issues where unrelated to change.

This fixes issues with Attribute containing ExpressionLanguage instance when using allow_if.

Commits
-------

a605a3d [Security] Add check for supported attributes in AclVoter
2014-05-08 18:38:49 +02:00
Arturs Vonda
a605a3d925 [Security] Add check for supported attributes in AclVoter 2014-05-08 18:38:48 +02:00
Bernhard Schussek
b0bc83d2ac [Form] Fixed TrimListenerTest as of PHP 5.5 2014-05-08 17:34:38 +02:00
Nicolas Grekas
485e04749c [Debug] enhance perf of DebugClassLoader 2014-05-08 10:31:54 +02:00
Fabien Potencier
903acf9acb minor #10856 Added more IDE links (WouterJ)
This PR was submitted for the master branch but it was merged into the 2.3 branch instead (closes #10856).

Discussion
----------

Added more IDE links

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

Commits
-------

239b738 Added more IDE links
2014-05-05 21:19:05 +02:00
Wouter J
239b738e98 Added more IDE links 2014-05-05 21:19:04 +02:00
Fabien Potencier
896a351d0d bug #10854 [Debug] fix handling deprecated warnings and stacked errors turned into exceptions (nicolas-grekas)
This PR was merged into the 2.5-dev branch.

Discussion
----------

[Debug] fix handling deprecated warnings and stacked errors turned into exceptions

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

When no deprecation logger was registered, deprecated warnings were pretended to be handled (`return true`) when in fact there were just ignored. This is the first part fixed by this patch.
The second is in handleFatal(), when a stacked error was turned into an exception, this exception wasn't properly handled. Fixed also.

Commits
-------

95f3276 [Debug] fix handling deprecated warnings and stacked errors turned into exceptions
2014-05-05 13:55:24 +02:00
Nicolas Grekas
95f3276309 [Debug] fix handling deprecated warnings and stacked errors turned into exceptions 2014-05-05 07:50:37 +00:00
Fabien Potencier
19db5f7c4b feature #10843 [TwigBridge] Added compile-time issues checking in twig:lint command (maxromanovsky)
This PR was merged into the 2.5-dev branch.

Discussion
----------

[TwigBridge] Added compile-time issues checking in twig:lint command

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

Commits
-------

418cea1 [TwigBridge] Added compile-time issues checking in twig:lint command
2014-05-04 19:06:57 +02:00
Fabien Potencier
9c1cdbd82d feature #10829 Fix issue 9172 (umpirsky)
This PR was squashed before being merged into the 2.3-dev branch (closes #10829).

Discussion
----------

Fix issue 9172

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

Commits
-------

25f1d85 Fix issue 9172
2014-05-04 18:57:00 +02:00
umpirsky
25f1d85d6b Fix issue 9172 2014-05-04 18:56:58 +02:00
Max
418cea174d [TwigBridge] Added compile-time issues checking in twig:lint command 2014-05-03 09:54:10 +00:00
Fabien Potencier
e14f0077a0 minor #10847 DependencyInjection] Fix parameter description in ConfigurationExtensionInterface (n-aleha)
This PR was merged into the 2.3 branch.

Discussion
----------

DependencyInjection] Fix parameter description in ConfigurationExtensionInterface

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

This fixes the description of parameter `array $config` in file [ConfigurationExtensionInterface.php](https://github.com/symfony/symfony/blob/2.3/src/Symfony/Component/DependencyInjection/Extension/ConfigurationExtensionInterface.php) by removing the extra `$config`.

Commits
-------

93544aa [DependencyInjection] Fix parameter description in ConfigurationExtensionInterface
2014-05-03 10:08:05 +02:00
n-aleha
93544aadfa [DependencyInjection] Fix parameter description in ConfigurationExtensionInterface
| Q             | A
| ------------- | ---
| Fixed tickets | #10845
| License       | MIT

This fixes the description of parameter `array $config` in file ConfigurationExtensionInterface.php by removing the extra `$config`.
2014-05-02 22:42:57 +00:00
Fabien Potencier
b3ec567224 minor #10840 [Security] fixed wrong PHPDoc of the TokenGeneratorInterface (hhamon)
This PR was merged into the 2.4 branch.

Discussion
----------

[Security] fixed wrong PHPDoc of the TokenGeneratorInterface

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

Commits
-------

0e32676 [Security] fixed wrong PHPDoc of the TokenGeneratorInterface
2014-05-02 17:36:34 +02:00
Hugo Hamon
0e32676032 [Security] fixed wrong PHPDoc of the TokenGeneratorInterface 2014-05-02 15:46:37 +02:00
Fabien Potencier
c6d88a8cf8 bug #10833 [TwigBridge][Transchoice] set %count% from the current context. (aitboudad)
This PR was merged into the 2.3 branch.

Discussion
----------

[TwigBridge][Transchoice] set %count% from the current context.

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

Commits
-------

8f7b2cc [TwigBridge][Transchoice] set %count% from the current context.
2014-05-02 09:31:13 +02:00
Fabien Potencier
a1143be31a minor #10835 Finder typehint fix (hhamon)
This PR was merged into the 2.3 branch.

Discussion
----------

Finder typehint fix

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

Commits
-------

f3b0ef1 [Finder] fixed typehint of the Finder::addAdapter() method
2014-05-02 08:19:40 +02:00
Hugo Hamon
f3b0ef1a6f [Finder] fixed typehint of the Finder::addAdapter() method 2014-05-02 00:38:16 +02:00
Abdellatif Ait boudad
8f7b2cc44d [TwigBridge][Transchoice] set %count% from the current context. 2014-05-01 19:10:47 +01:00
Fabien Potencier
d1267cb2d7 minor #10819 Fix a test that was ambiguous (fabpot)
This PR was merged into the 2.3 branch.

Discussion
----------

Fix a test that was ambiguous

| Q             | A
| ------------- | ---
| Bug fix?      | no
| New feature?  | no
| BC breaks?    | no
| Deprecations? | no
| Tests pass?   | yes
| Fixed tickets | see #9634 for a discussion of this and #9383 for the report
| License       | MIT
| Doc PR        | n/a

This PR fixes a test that was always passing as the exception catch was catching the PHP notice but also the exception sent by `fail`, so it was useless. That said, I'm not even convinced that this test is useful at all.

Commits
-------

a94b4e0 [Validator] fixed wrong test
2014-05-01 08:28:42 +02:00
Fabien Potencier
1b6daf304f minor #10826 [2.3] Fix phpunit test suite on travis #2 (romainneutron)
This PR was merged into the 2.3 branch.

Discussion
----------

[2.3] Fix phpunit test suite on travis #2

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

This is a second approach to solve #10821.
Something is weird: `Symfony\Component\Form\Tests\Extension\Core\EventListener\TrimListenerTest` passes when using PHPUnit as phar and fails when using a composer global install

Commits
-------

32e5f67 [DependencyInjection] Fix travis unit tests
c7befd5 Update PHPUnit before run
2014-04-30 18:56:37 +02:00
Romain Neutron
32e5f6727a [DependencyInjection] Fix travis unit tests 2014-04-30 17:29:47 +02:00
Romain Neutron
c7befd5380 Update PHPUnit before run 2014-04-30 17:29:47 +02:00
Fabien Potencier
a94b4e0ae2 [Validator] fixed wrong test 2014-04-30 16:30:03 +02:00
Fabien Potencier
b471dbe27d bug #10820 [WebProfilerBundle] Fixed profiler seach/homepage with empty token (tucksaun)
This PR was merged into the 2.3 branch.

Discussion
----------

[WebProfilerBundle] Fixed profiler seach/homepage with empty token

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

Commits
-------

16dd0e5 [WebProfilerBundle] added test case for #10773
5b91e70 [WebProfilerBundle] fixed profiler homepage, fixed #10806
7b425d2 [WebProfilerBundle] Added test case for #10806
2014-04-30 11:31:25 +02:00
Tugdual Saunier
16dd0e5dda [WebProfilerBundle] added test case for #10773 2014-04-30 10:15:45 +02:00
Tugdual Saunier
5b91e70777 [WebProfilerBundle] fixed profiler homepage, fixed #10806 2014-04-30 10:11:17 +02:00
Tugdual Saunier
7b425d229d [WebProfilerBundle] Added test case for #10806 2014-04-30 10:11:11 +02:00
Fabien Potencier
8f8b20c16f minor #10811 Use absolute URLs to assets on Symfony its internal pages. (RubenKruiswijk)
This PR was merged into the 2.5-dev branch.

Discussion
----------

Use absolute URLs to assets on Symfony its internal pages.

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

Commits
-------

e401533 Use absolute URLs to assets on Symfony its internal pages.
2014-04-30 09:36:21 +02:00
Fabien Potencier
4b56c69319 minor #10802 changed travis to run on the nightly builds of HHVM until everything gets stable (fabpot)
This PR was merged into the 2.3 branch.

Discussion
----------

changed travis to run on the nightly builds of HHVM until everything gets stable

| 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

As HHVM is not stable enough yet to run Symfony, let's test on the HHVM nightly builds. It will allow us to get a better feeling of the remaining problems with HHVM. ping @deguif

Commits
-------

e93cbd7 changed travis to run on the nightly builds of HHVM until everything gets stable
2014-04-30 09:12:35 +02:00
Fabien Potencier
e93cbd7735 changed travis to run on the nightly builds of HHVM until everything gets stable 2014-04-30 08:48:11 +02:00
Fabien Potencier
135c174ee1 bug #10809 Fixed composer to include config component for mocks in phpunit (jpauli)
This PR was merged into the 2.5-dev branch.

Discussion
----------

Fixed composer to include config component for mocks in phpunit

Commits
-------

939e92d Fixed composer to include config component for mocks in phpunit
2014-04-30 08:46:20 +02:00
Fabien Potencier
93926cae34 bug #10815 Fixed issue #5427 (umpirsky)
This PR was submitted for the master branch but it was merged into the 2.3 branch instead (closes #10815).

Discussion
----------

Fixed issue #5427

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

Commits
-------

f308f52 Fixed issue #5427
2014-04-30 08:40:38 +02:00
umpirsky
f308f521a6 Fixed issue #5427 2014-04-30 08:40:38 +02:00
Fabien Potencier
afca3cdf2d Revert "bug #10817 [Debug] fix #10313: FlattenException not found (nicolas-grekas)"
reverted in 2.5 as it does not make sense here.

This reverts commit c18bf19016, reversing
changes made to 585b61db95.
2014-04-30 08:24:35 +02:00
Fabien Potencier
49bc4f1469 Merge branch '2.4'
* 2.4:
  [Debug] fix #10313: FlattenException not found because of https://bugs.php.net/42098
2014-04-30 08:22:38 +02:00
Fabien Potencier
272490312a Merge branch '2.3' into 2.4
* 2.3:
  [Debug] fix #10313: FlattenException not found because of https://bugs.php.net/42098
2014-04-30 08:22:28 +02:00
Fabien Potencier
c18bf19016 bug #10817 [Debug] fix #10313: FlattenException not found (nicolas-grekas)
This PR was merged into the 2.3 branch.

Discussion
----------

[Debug] fix #10313: FlattenException not found

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

Note that this patch should be ignored while merging into 2.5/master (it will conflict because 2.5/master has a much stronger workaround, not suitable for a minor release IMHO).

Commits
-------

b147cfa [Debug] fix #10313: FlattenException not found because of https://bugs.php.net/42098
2014-04-30 08:22:14 +02:00
Nicolas Grekas
b147cfaf15 [Debug] fix #10313: FlattenException not found because of https://bugs.php.net/42098 2014-04-29 21:42:43 +02:00
Ruben Kruiswijk
e40153354d Use absolute URLs to assets on Symfony its internal pages. 2014-04-29 13:32:21 +02:00
Fabien Potencier
89f7907c4f bumped Symfony version to 2.5.0 2014-04-29 12:38:03 +02:00
Julien Pauli
939e92d3ca Fixed composer to include config component for mocks in phpunit 2014-04-29 12:13:57 +02:00
Fabien Potencier
aea2c6427e updated VERSION for 2.5.0-BETA2 2014-04-29 09:08:19 +02:00
Fabien Potencier
0126c56dd3 updated CHANGELOG for 2.5.0-BETA2 2014-04-29 09:08:09 +02:00