Commit Graph

17579 Commits

Author SHA1 Message Date
Fabien Potencier
279b5e5b98 minor #11247 [Validator] Polish translation for "empty file" validation (stloyd)
This PR was merged into the 2.6-dev branch.

Discussion
----------

[Validator] Polish translation for "empty file" validation

Commits
-------

7212d0e [Validator] Polish translation for "empty file" validation
2014-06-28 09:15:08 +02:00
Joseph Bielawski
7212d0e011 [Validator] Polish translation for "empty file" validation 2014-06-27 18:43:06 +02:00
Fabien Potencier
c6b751cd10 minor #11243 [Validator] Added missing Czech translation (hason)
This PR was merged into the 2.6-dev branch.

Discussion
----------

[Validator] Added missing Czech translation

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

Commits
-------

8fe71a9 [Validator] Added missing Czech translation
2014-06-27 11:44:54 +02:00
Martin Hasoň
8fe71a9322 [Validator] Added missing Czech translation 2014-06-27 09:52:53 +02:00
Fabien Potencier
9567b9aac9 fixed CS 2014-06-26 09:13:51 +02:00
Fabien Potencier
579c465831 feature #11193 [FrameworkBundle] Simplify "invokable" controllers as services (kbond)
This PR was submitted for the 2.3 branch but it was merged into the 2.4-dev branch instead (closes #11193).

Discussion
----------

[FrameworkBundle] Simplify "invokable" controllers as services

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

Simplifies the configuration when defining controllers as services that implement `__invoke`.

Old:

```yaml
my_route:
    path: /path
    defaults: { _controller: my.controller.service:__invoke }
```

New:

```yaml
my_route:
    path: /path
    defaults: { _controller: my.controller.service }
```

Commits
-------

e712e89 [FrameworkBundle] Simplify "invokable" controllers as services
2014-06-26 09:12:55 +02:00
Kevin Bond
e712e89e9f [FrameworkBundle] Simplify "invokable" controllers as services 2014-06-26 09:12:55 +02:00
Fabien Potencier
ce15db5647 minor #11228 Added missing Spanish translation (Diego Agulló)
This PR was merged into the 2.6-dev branch.

Discussion
----------

Added missing Spanish translation

Yet another missing translation on 2.6-dev branch.

Commits
-------

6f881d4 Added missing Spanish translation
2014-06-25 17:52:49 +02:00
Diego Agulló
6f881d4705 Added missing Spanish translation 2014-06-25 16:19:54 +02:00
Fabien Potencier
3111c70fd1 minor #11226 Added missing dutch translation (WouterJ)
This PR was merged into the 2.6-dev branch.

Discussion
----------

Added missing dutch translation

Another missing message for the 2.6-dev branch

Commits
-------

fc67000 Added missing dutch translation
2014-06-25 13:10:24 +02:00
Wouter J
fc67000fe1 Added missing dutch translation 2014-06-25 13:08:22 +02:00
Fabien Potencier
8ce71654b2 minor #11224 [Validator] added Japanese translation for empty file (id: 78) (issei-m)
This PR was merged into the 2.3-dev branch.

Discussion
----------

[Validator] added Japanese translation for empty file (id: 78)

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

Commits
-------

ff13184 [Validator] added Japanese translation for empty file (id: 78)
2014-06-25 12:34:03 +02:00
Fabien Potencier
eb5988dd90 minor #11214 [Validator] Added Slovenian translation for empty file (peterkokot)
This PR was merged into the 2.4-dev branch.

Discussion
----------

[Validator] Added Slovenian translation for empty file

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

Commits
-------

0e46e91 [Validator] Added Slovenian translation for empty file
2014-06-25 12:28:16 +02:00
Issei.M
ff131841dc [Validator] added Japanese translation for empty file (id: 78) 2014-06-25 18:35:38 +09:00
Peter Kokot
0e46e91159 [Validator] Added Slovenian translation for empty file 2014-06-24 15:12:22 +02:00
Fabien Potencier
55934aa239 minor #11213 [Validator] Added Hungarian translation for empty file (1ed)
This PR was merged into the 2.4-dev branch.

Discussion
----------

[Validator] Added Hungarian translation for empty file

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

Commits
-------

613c86d [Validator] Added Hungarian translation for empty file
2014-06-24 15:08:10 +02:00
Gábor Egyed
613c86dfb6 [Validator] Added Hungarian translation for empty file 2014-06-24 14:07:36 +02:00
Fabien Potencier
e42c07b1d6 minor #11196 [Validator] Add translation for empty file message (megazoll)
This PR was merged into the 2.6-dev branch.

Discussion
----------

[Validator] Add translation for empty file message

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

Commits
-------

8308cfa [Validator] Add en and ru translations for empty file message
2014-06-23 14:43:23 +02:00
Vyacheslav Salakhutdinov
8308cfaf05 [Validator] Add en and ru translations for empty file message 2014-06-23 12:27:02 +00:00
Fabien Potencier
9dc55b5c5e Merge branch '2.5'
* 2.5:
  [Validator] Add missing ru translations
  don't disable constructor calls to mockups of classes that extend internal PHP classes
  special handling for the JsonDescriptor to work around changes in PHP's JSON pretty printer
2014-06-23 09:34:40 +02:00
Fabien Potencier
44501976ae Merge branch '2.4' into 2.5
* 2.4:
  [Validator] Add missing ru translations
  don't disable constructor calls to mockups of classes that extend internal PHP classes
  special handling for the JsonDescriptor to work around changes in PHP's JSON pretty printer

Conflicts:
	src/Symfony/Component/Security/Core/Tests/Authentication/AuthenticationProviderManagerTest.php
	src/Symfony/Component/Security/Core/Tests/Authentication/Provider/DaoAuthenticationProviderTest.php
	src/Symfony/Component/Security/Core/Tests/Authentication/Provider/PreAuthenticatedAuthenticationProviderTest.php
	src/Symfony/Component/Security/Core/Tests/Authentication/Provider/RememberMeAuthenticationProviderTest.php
	src/Symfony/Component/Security/Core/Tests/Authentication/Provider/UserAuthenticationProviderTest.php
2014-06-23 09:34:27 +02:00
Fabien Potencier
00679520b2 minor #11195 [Validator] Add missing ru translations (megazoll)
This PR was merged into the 2.4 branch.

Discussion
----------

[Validator] Add missing ru translations

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

Commits
-------

71eb8a8 [Validator] Add missing ru translations
2014-06-23 09:29:44 +02:00
Vyacheslav Salakhutdinov
71eb8a8c0f [Validator] Add missing ru translations 2014-06-22 09:51:52 +00:00
Fabien Potencier
f45f2dfd00 minor #11191 [Tests] fix tests due to recent changes in PHP's behavior (xabbuh)
This PR was merged into the 2.4 branch.

Discussion
----------

[Tests] fix tests due to recent changes in PHP's behavior

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

The drawback of this solution is that the pretty printed string produced by ``json_encode()`` isn't validated anymore. Instead, the tests only ensures that the represented object structure is as expected. I guess that's fair enough since the goal of the test is not to test PHP's pretty printing feature.

Commits
-------

bc8042d don't disable constructor calls to mockups of classes that extend internal PHP classes
f4a3c7a special handling for the JsonDescriptor to work around changes in PHP's JSON pretty printer
2014-06-21 19:50:06 +02:00
Christian Flothmann
bc8042dc34 don't disable constructor calls to mockups of classes that extend internal PHP classes 2014-06-21 00:02:36 +02:00
Christian Flothmann
f4a3c7a370 special handling for the JsonDescriptor to work around changes in PHP's JSON pretty printer 2014-06-20 23:33:58 +02:00
Fabien Potencier
d38a4b3414 Merge branch '2.5'
* 2.5:
  fixed previous merge
  Added missing `break` statement
  don't disable constructor calls to mockups of classes that extend internal PHP classes
  Small comment update according to PSR-2
  [Yaml] fix overwriting of keys after merged map
  [Yaml] fix priority of sequence merges according to spec
  [Console] Fixed notice in QuestionHelper
  [Console] Fixed notice in DialogHelper
  [Yaml] refactoring of merges for performance
  [Console] remove weird use statement
  [HttpFoundation] Fixed Request::getPort returns incorrect value under IPv6
  [Filesystem] Fix test suite on OSX
  [FrameworkBundle] Redirect server output to /dev/null in case no verbosity is needed
  Add framework-bundle

Conflicts:
	src/Symfony/Component/Yaml/Parser.php
2014-06-20 19:41:51 +02:00
Fabien Potencier
76d3c9e185 Merge branch '2.4' into 2.5
* 2.4:
  fixed previous merge
  Added missing `break` statement
  don't disable constructor calls to mockups of classes that extend internal PHP classes
  Small comment update according to PSR-2
  [Console] Fixed notice in DialogHelper
  [HttpFoundation] Fixed Request::getPort returns incorrect value under IPv6
  [Filesystem] Fix test suite on OSX
  Add framework-bundle

Conflicts:
	src/Symfony/Bundle/TwigBundle/composer.json
2014-06-20 19:38:20 +02:00
Fabien Potencier
f2bdc22b0d fixed previous merge 2014-06-20 19:37:57 +02:00
Fabien Potencier
b387477d51 Merge branch '2.3' into 2.4
* 2.3:
  Added missing `break` statement
  don't disable constructor calls to mockups of classes that extend internal PHP classes
  Small comment update according to PSR-2
  [Console] Fixed notice in DialogHelper
  [HttpFoundation] Fixed Request::getPort returns incorrect value under IPv6
  [Filesystem] Fix test suite on OSX
  Add framework-bundle

Conflicts:
	src/Symfony/Component/Filesystem/Tests/FilesystemTest.php
	src/Symfony/Component/HttpFoundation/Tests/Session/Storage/Handler/MongoDbSessionHandlerTest.php
2014-06-20 19:36:47 +02:00
Fabien Potencier
eeeae94196 minor #11187 [Tests] don't disable constructor calls to mockups of classes that extend intern... (xabbuh)
This PR was merged into the 2.3 branch.

Discussion
----------

[Tests] don't disable constructor calls to mockups of classes that extend intern...

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

Fixes the tests for the 2.3 branch as reported by @stof in #11176.

Commits
-------

2c726b8 don't disable constructor calls to mockups of classes that extend internal PHP classes
2014-06-20 19:32:59 +02:00
Fabien Potencier
ff00dcce7d bug #11186 Added missing break statement (apfelbox)
This PR was submitted for the master branch but it was merged into the 2.3 branch instead (closes #11186).

Discussion
----------

Added missing `break` statement

Added a missing `break` statement in `AbstractFindAdapter` - a fall-through doesn't seem to be intended here.

Commits
-------

5af2802 Added missing `break` statement
2014-06-20 18:06:34 +02:00
Jannik Zschiesche
5af2802661 Added missing break statement
Added missing `break` statement in `AbstractFindAdapter` - a fall through doesn't seem to be intended here.
2014-06-20 18:06:33 +02:00
Christian Flothmann
2c726b8988 don't disable constructor calls to mockups of classes that extend internal PHP classes 2014-06-20 17:17:50 +02:00
Fabien Potencier
96bc061109 minor #11182 Small comment update according to PSR-2 (apfelbox)
This PR was submitted for the master branch but it was merged into the 2.3 branch instead (closes #11182).

Discussion
----------

Small comment update according to PSR-2

See [PSR-2](http://www.php-fig.org/psr/psr-2/) paragraph 5.2

> There MUST be a comment such as `// no break` when fall-through is intentional in a non-empty case body.

Related to #11181

Commits
-------

31b1dff Small comment update according to PSR-2
2014-06-20 16:22:59 +02:00
Jannik Zschiesche
31b1dff875 Small comment update according to PSR-2
See [PSR-2](http://www.php-fig.org/psr/psr-2/) paragraph 5.2

> There MUST be a comment such as `// no break` when fall-through is intentional in a non-empty case body.

Related to #11181
2014-06-20 16:22:59 +02:00
Fabien Potencier
a50aca04e4 bug #11168 [YAML] fix merge node (<<) (Tobion)
This PR was merged into the 2.5 branch.

Discussion
----------

[YAML] fix merge node (<<)

| Q             | A
| ------------- | ---
| Bug fix?      | yes
| New feature?  | no
| BC breaks?    | yes but according to spec
| Deprecations? | no
| Tests pass?   | yes
| Needs merge to | 2.5
| Fixed tickets | #11142 and #11154
| License       | MIT
| Doc PR        | —

First commit small refactoring.
Second fixes #11154 (causing a BC break for a less common feature)
Third fixes #11142

Commits
-------

dee1562 [Yaml] fix overwriting of keys after merged map
8c621ab [Yaml] fix priority of sequence merges according to spec
02614e0 [Yaml] refactoring of merges for performance
2014-06-20 09:17:53 +02:00
Fabien Potencier
cd0309f847 minor #11162 [Console] remove weird use statement (cordoval)
This PR was merged into the 2.5 branch.

Discussion
----------

[Console] remove weird use statement

|Q            |A     |
|---          |---   |
|Bug Fix?     |yes   |
|New Feature? |no    |
|BC Breaks?   |no    |
|Deprecations?|no    |
|Tests Pass?  |yes     |
|Fixed Tickets| |
|License      |MIT   |
|Doc PR       |      |

Commits
-------

c117e8e [Console] remove weird use statement
2014-06-19 18:27:19 +02:00
Tobias Schultze
dee15623ae [Yaml] fix overwriting of keys after merged map
fixes symfony/symfony#11142
2014-06-19 16:02:29 +02:00
Tobias Schultze
8c621ab4b5 [Yaml] fix priority of sequence merges according to spec
fixes symfony/symfony#11154
2014-06-19 16:01:11 +02:00
Fabien Potencier
bebd18cbd1 bug #11170 [Console] Fixed notice in QuestionHelper (florianv)
This PR was merged into the 2.5 branch.

Discussion
----------

[Console] Fixed notice in QuestionHelper

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

When pressing escape in a question, a notice is shown because the sequence is only 2 characters long.

Commits
-------

9fe4b88 [Console] Fixed notice in QuestionHelper
2014-06-19 11:31:54 +02:00
Fabien Potencier
7d4f4f276a bug #11169 [Console] Fixed notice in DialogHelper (florianv)
This PR was merged into the 2.3 branch.

Discussion
----------

[Console] Fixed notice in DialogHelper

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

When pressing escape in a question, a notice is shown because the sequence is only 2 characters long.

Commits
-------

ff6c65e [Console] Fixed notice in DialogHelper
2014-06-19 11:31:20 +02:00
florianv
9fe4b88aaa [Console] Fixed notice in QuestionHelper 2014-06-19 01:05:50 +02:00
florianv
ff6c65ecf7 [Console] Fixed notice in DialogHelper 2014-06-19 01:02:32 +02:00
Tobias Schultze
02614e064f [Yaml] refactoring of merges for performance 2014-06-18 19:56:19 +02:00
Luis Cordova
c117e8eaa8 [Console] remove weird use statement 2014-06-18 07:37:22 -05:00
Romain Neutron
71c3a3599c bug #11156 Update WindowsPipes.php (jgonzalezlopez)
This PR was merged into the 2.6-dev branch.

Discussion
----------

Update WindowsPipes.php

This file has made that my assetic had an error, the property assignment have an extra "$" that it mustn't be present. Please correct it

Commits
-------

7bb98e2 Update WindowsPipes.php
2014-06-18 14:04:38 +02:00
jgonzalezlopez
7bb98e2146 Update WindowsPipes.php
This file has made that my assetic had an error, the property assignment have an extra "$" that it mustn't be present. Please correct it
2014-06-18 13:43:36 +02:00
Fabien Potencier
fbf92e58cb bug #11144 [HttpFoundation] Fixed Request::getPort returns incorrect value under IPv6 (kicken)
This PR was merged into the 2.3 branch.

Discussion
----------

[HttpFoundation] Fixed Request::getPort returns incorrect value under IPv6

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

Commits
-------

2a0e8e3 [HttpFoundation] Fixed Request::getPort returns incorrect value under IPv6
2014-06-18 07:53:47 +02:00
Fabien Potencier
598d85cf01 minor #11122 [2.5][FrameworkBundle] Redirect server output to /dev/null in case no verbosity is needed (romainneutron)
This PR was merged into the 2.5 branch.

Discussion
----------

[2.5][FrameworkBundle] Redirect server output to /dev/null in case no verbosity is needed

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

This should reduce I/Os

Commits
-------

6d9fd62 [FrameworkBundle] Redirect server output to /dev/null in case no verbosity is needed
2014-06-17 22:02:09 +02:00