Commit Graph

23292 Commits

Author SHA1 Message Date
Fabien Potencier
a94d7a06d1 minor #15967 [Console] Fix tests for SymfonyStyle (1ed)
This PR was merged into the 2.7 branch.

Discussion
----------

[Console] Fix tests for SymfonyStyle

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

Commits
-------

7720f5c [Console] Fix tests for SymfonyStyle
2015-10-01 15:25:36 +02:00
Fabien Potencier
38888af7ce minor #16005 The 'config' variable is already used as an array expression less... (tecnocat)
This PR was submitted for the 2.8 branch but it was merged into the 2.3 branch instead (closes #16005).

Discussion
----------

The 'config' variable is already used as an array expression less...

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

The 'config' variable is already used as an array expression less...

Using a variable both as an 'array expression' and as a 'key' or 'value' most often is a typing error.

Commits
-------

f15d179 The 'config' variable is already used as an array expression less...
2015-10-01 15:23:51 +02:00
Aarón Nieves Fernández
f15d179fbd The 'config' variable is already used as an array expression less... 2015-10-01 15:23:50 +02:00
Fabien Potencier
559554e157 bug #16023 Minor fixes for the profiler and toolbar (javiereguiluz)
This PR was squashed before being merged into the 2.8 branch (closes #16023).

Discussion
----------

Minor fixes for the profiler and toolbar

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

Changes:

  * Fixed a misaligned icon
  * Changed the priorities of the collectors to better control their position and to leave a "gap" between priorities so custom panels can be displayed between the default panels. This idea came from @stof.

By the way, @stof do you know how can I set the priority of the SwiftMailer collector? Its definition is the only one that doesn't use the `<tag name="data_collector" />`:

```xml
<service id="swiftmailer.data_collector" class="%swiftmailer.data_collector.class%">
    <argument type="service" id="service_container" />
</service>
```

https://github.com/symfony/swiftmailer-bundle/blob/master/Resources/config/swiftmailer.xml#L90-L92

Commits
-------

bff4098 Minor fixes for the profiler and toolbar
2015-10-01 15:15:49 +02:00
Javier Eguiluz
bff4098a35 Minor fixes for the profiler and toolbar 2015-10-01 15:15:47 +02:00
Fabien Potencier
b107f235c2 minor #16048 Fix FrameworkBundle low deps tests (WouterJ)
This PR was merged into the 2.8 branch.

Discussion
----------

Fix FrameworkBundle low deps tests

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

Commits
-------

06700ae Require at least Console 2.8 to have SymfonyStyle#comment()
2015-10-01 14:34:19 +02:00
Nicolas Grekas
b02d3ab168 Merge branch '2.8'
* 2.8:
  Fix merge
  Fix appveyor.yml missing ANSICON env var
  [appveyor] merge test matrix in a single job
  [travis] Skip testing intermediate PHP versions on pull requests

Conflicts:
	.travis.yml
	appveyor.yml
2015-10-01 14:14:43 +02:00
Nicolas Grekas
591cd0879c Fix merge 2015-10-01 14:12:45 +02:00
Nicolas Grekas
5bc3581a4e Merge branch '2.7' into 2.8
* 2.7:
  Fix appveyor.yml missing ANSICON env var
  [appveyor] merge test matrix in a single job
  [travis] Skip testing intermediate PHP versions on pull requests

Conflicts:
	.travis.yml
	appveyor.yml
2015-10-01 14:06:27 +02:00
Nicolas Grekas
0a615f999f Merge branch '2.3' into 2.7
* 2.3:
  Fix appveyor.yml missing ANSICON env var
  [appveyor] merge test matrix in a single job
  [travis] Skip testing intermediate PHP versions on pull requests

Conflicts:
	appveyor.yml
2015-10-01 14:02:24 +02:00
Nicolas Grekas
36306ab7c6 Fix appveyor.yml missing ANSICON env var 2015-10-01 14:01:27 +02:00
Nicolas Grekas
6a249bba5f minor #16047 [travis] Skip testing intermediate PHP versions on pull requests (nicolas-grekas)
This PR was merged into the 2.3 branch.

Discussion
----------

[travis] Skip testing intermediate PHP versions on pull requests

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

I've never seen a build fail exclusively on 5.4/5.5. But for sure, this could happen.
Thus, to get results faster, I propose to skip the corresponding matrix lines on pull requests but keep them when testing branches.

Commits
-------

99c1cd7 [travis] Skip testing intermediate PHP versions on pull requests
2015-10-01 13:59:01 +02:00
Nicolas Grekas
80be79185f minor #16043 [appveyor] merge test matrix in a single job (nicolas-grekas)
This PR was merged into the 2.3 branch.

Discussion
----------

[appveyor] merge test matrix in a single job

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

Appveyor doesn't allow more than one concurrent job. Let's manage our matrix ourselves to get results faster.

Commits
-------

249942a [appveyor] merge test matrix in a single job
2015-10-01 13:58:27 +02:00
Wouter J
06700ae44c Require at least Console 2.8 to have SymfonyStyle#comment() 2015-10-01 12:29:19 +02:00
Nicolas Grekas
249942a31a [appveyor] merge test matrix in a single job 2015-10-01 12:28:28 +02:00
Nicolas Grekas
99c1cd725d [travis] Skip testing intermediate PHP versions on pull requests 2015-10-01 12:01:50 +02:00
Fabien Potencier
746ec84ffd Merge branch '2.8'
* 2.8:
  fixed typo
2015-10-01 10:42:39 +02:00
Fabien Potencier
442af181bd Merge branch '2.7' into 2.8
* 2.7:
  fixed typo
2015-10-01 10:42:31 +02:00
Fabien Potencier
aa09d82289 Merge branch '2.3't m into 2.7
* 2.3:
  fixed typo
2015-10-01 10:42:07 +02:00
Fabien Potencier
1be6f3efa8 fixed typo 2015-10-01 10:41:56 +02:00
Fabien Potencier
4652a606a1 Merge branch '2.8'
* 2.8:
  Use PHPUnit 5.0 for PHP 7
  [DomCrawler] always pass base href to subcrawlers
2015-10-01 10:37:34 +02:00
Fabien Potencier
b938a7f1fc Merge branch '2.7' into 2.8
* 2.7:
  Use PHPUnit 5.0 for PHP 7
  [DomCrawler] always pass base href to subcrawlers
2015-10-01 10:37:26 +02:00
Fabien Potencier
4b24394a87 Merge branch '2.3' into 2.7
* 2.3:
  Use PHPUnit 5.0 for PHP 7
2015-10-01 10:36:54 +02:00
Fabien Potencier
25855eb71b minor #16041 Use PHPUnit 5.0 for PHP 7 (stof)
This PR was submitted for the 2.8 branch but it was merged into the 2.3 branch instead (closes #16041).

Discussion
----------

Use PHPUnit 5.0 for PHP 7

PHPUnit 4.8 is not fully compatible with PHP 7, and won't be fixed for full support. See https://github.com/sebastianbergmann/phpunit/issues/1882

Commits
-------

1129d60 Use PHPUnit 5.0 for PHP 7
2015-10-01 10:36:33 +02:00
Christophe Coevoet
1129d608de Use PHPUnit 5.0 for PHP 7
PHPUnit 4.8 is not fully compatible with PHP 7, and won't be fixed for
full support.
2015-10-01 10:36:32 +02:00
Fabien Potencier
4913362993 Merge branch '2.8'
* 2.8:
  [Security] made tests work for 2.8 and 3.0
2015-10-01 08:29:55 +02:00
Fabien Potencier
763d478a69 feature #16019 [HttpFoundation] removed the ParameterBag::get() deep argument (fabpot)
This PR was merged into the 3.0-dev branch.

Discussion
----------

[HttpFoundation] removed the ParameterBag::get() deep argument

| 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
-------

317f7b4 [HttpFoundation] removed the ParameterBag::get() deep argument
2015-10-01 08:29:29 +02:00
Fabien Potencier
ff6d9c1e50 minor #16037 [Security] made tests work for 2.8 and 3.0 (fabpot)
This PR was merged into the 2.8 branch.

Discussion
----------

[Security] made tests work for 2.8 and 3.0

| 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
-------

0b7e1f3 [Security] made tests work for 2.8 and 3.0
2015-10-01 08:28:23 +02:00
Fabien Potencier
557e416f80 feature #16018 [HttpKernel] removed deprecated profiler storages (fabpot)
This PR was merged into the 3.0-dev branch.

Discussion
----------

[HttpKernel] removed deprecated profiler storages

| 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
-------

2925df5 [HttpKernel] removed deprecated profiler storages
2015-10-01 08:26:03 +02:00
Fabien Potencier
0b7e1f3e4d [Security] made tests work for 2.8 and 3.0 2015-10-01 08:20:17 +02:00
Fabien Potencier
77da8ad467 Merge branch '2.8'
* 2.8:
  [Form] made the tests compatible with 3.0
2015-10-01 08:00:56 +02:00
Fabien Potencier
fdb2073253 bug #16033 [Form] made the tests compatible with 3.0 (fabpot)
This PR was merged into the 2.8 branch.

Discussion
----------

[Form] made the tests compatible with 3.0

| 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

Commits
-------

795da85 [Form] made the tests compatible with 3.0
2015-10-01 07:58:36 +02:00
Fabien Potencier
2925df5fe1 [HttpKernel] removed deprecated profiler storages 2015-10-01 07:55:42 +02:00
Fabien Potencier
a3b921d0c4 Merge branch '2.8'
* 2.8:
  fix test for not configured form action attribute
  do not render empty form action attributes
  deprecated lifetime profiler option
2015-10-01 07:54:43 +02:00
Fabien Potencier
291587f4d0 bug #16028 [DomCrawler] always pass base href to subcrawlers (xabbuh)
This PR was merged into the 2.7 branch.

Discussion
----------

[DomCrawler] always pass base href to subcrawlers

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

Make sure that all relevant information is passed to created crawlers.
To avoid future regressions, this commit backports the approach taken by
@stof in #15934 to have a single place in the class that is responsible
to create subcrawler instances.

Commits
-------

3d9a748 [DomCrawler] always pass base href to subcrawlers
2015-10-01 07:29:57 +02:00
Fabien Potencier
08c5b3f83c minor #16034 fix test for not configured form action attribute (xabbuh)
This PR was merged into the 2.8 branch.

Discussion
----------

fix test for not configured form action attribute

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

As @Tobion noted in https://github.com/symfony/symfony/pull/16029#discussion_r40851757 `0` is a valid relative path that can be used for the form action.

Commits
-------

54c63fa fix test for not configured form action attribute
2015-10-01 07:28:10 +02:00
Christian Flothmann
54c63fabf0 fix test for not configured form action attribute 2015-09-30 23:25:54 +02:00
Fabien Potencier
dbb099dad6 feature #16029 [FrameworkBundle][TwigBridge] do not render empty form action attributes (xabbuh)
This PR was merged into the 2.8 branch.

Discussion
----------

[FrameworkBundle][TwigBridge] do not render empty form action attributes

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

Commits
-------

1307043 do not render empty form action attributes
2015-09-30 22:57:05 +02:00
Fabien Potencier
795da85f9d [Form] made the tests compatible with 3.0 2015-09-30 22:53:32 +02:00
Fabien Potencier
62a0ecdfbc bug #16027 deprecated lifetime profiler option (fabpot)
This PR was merged into the 2.8 branch.

Discussion
----------

deprecated lifetime profiler option

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

Commits
-------

cd6ba7f deprecated lifetime profiler option
2015-09-30 22:37:28 +02:00
Fabien Potencier
317f7b417c [HttpFoundation] removed the ParameterBag::get() deep argument 2015-09-30 22:35:25 +02:00
Fabien Potencier
aa2e7e4135 feature #15899 [3.0][Security] Remove deprecated features (WouterJ)
This PR was merged into the 3.0-dev branch.

Discussion
----------

[3.0][Security] Remove deprecated features

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

Commits
-------

c3c5989 Remove more tests
6f9e897 Remove AbstractVoter#isGranted() method
6b6de15 Removed supports{Attribute,Class}() methods
2015-09-30 22:31:32 +02:00
Fabien Potencier
1bcce3c376 Merge branch '2.8'
* 2.8:
  add dependency required by a replaced package
  Add a way to group toolbar info pieces
  Added general sf-toolbar-block-right class
  Bind input before executing the COMMAND event
2015-09-30 22:30:24 +02:00
Fabien Potencier
a2914027ee bug #16030 [Security] add dependency required by a replaced package (xabbuh)
This PR was merged into the 2.8 branch.

Discussion
----------

[Security] add dependency required by a replaced package

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

Since #16007, the Security HTTP component requires the PropertyAccess
component to access nested parameter bag values. Since the Security
component replaces the Security HTTP component, all dependencies of the
replaced packages must be mirrored here.

Commits
-------

d7034db add dependency required by a replaced package
2015-09-30 22:28:22 +02:00
Fabien Potencier
3b3431e289 feature #15938 [Console] Bind input before executing the COMMAND event (WouterJ)
This PR was merged into the 2.8 branch.

Discussion
----------

[Console] Bind input before executing the COMMAND event

| Q             | A
| ------------- | ---
| Bug fix?      | no
| New feature?  | yes
| BC breaks?    | no
| Deprecations? | no
| Tests pass?   | yes
| Fixed tickets | #10695 (problem 1)
| License       | MIT
| Doc PR        | -

Previously, `$input` wasn't very usefull in the `console.command` event, as the input was not yet bound to the command definition.

With this PR, the input is now bound twice: Once before the event is dispatched (to make it usefull in the listeners) and once at the original location in `Command#run()` (to allow changing the input definition in an event listener).

Commits
-------

0af1676 Bind input before executing the COMMAND event
2015-09-30 22:26:55 +02:00
Christian Flothmann
130704387a do not render empty form action attributes 2015-09-30 19:29:48 +02:00
Christian Flothmann
d7034db6bd add dependency required by a replaced package
Since #16007, the Security HTTP component requires the PropertyAccess
component to access nested parameter bag values. Since the Security
component replaces the Security HTTP component, all dependencies of the
replaced packages must be mirrored here.
2015-09-30 18:57:49 +02:00
Christian Flothmann
3d9a748978 [DomCrawler] always pass base href to subcrawlers
Make sure that all relevant information is passed to created crawlers.
To avoid future regressions, this commit backports the approach taken by
@stof in #15934 to have a single place in the class that is responsible
to create subcrawler instances.
2015-09-30 18:22:59 +02:00
Fabien Potencier
cd6ba7f7bb deprecated lifetime profiler option 2015-09-30 18:04:19 +02:00
Fabien Potencier
2f4417137c feature #15503 UI & CSS improvement to new toolbar (WouterJ)
This PR was merged into the 2.8 branch.

Discussion
----------

UI & CSS improvement to new toolbar

* Created a generic class for right floating toolbar blocks, so it can be reused by other blocks serving the same goal (the Sylius toolbar block for instance)
* Added a way to group toolbar info pieces, this makes the bigger info blocks easier to read:

  ![sf-toolbar-group](https://cloud.githubusercontent.com/assets/749025/9178378/41987f02-3f97-11e5-971e-37f44a47d56d.png)

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

Commits
-------

049fdfe Add a way to group toolbar info pieces
23b8a56 Added general sf-toolbar-block-right class
2015-09-30 17:38:50 +02:00