Skip to content

Conversation

@nicolas-grekas
Copy link
Contributor

Q A
Bug fix? yes
New feature? no
BC breaks? no
Deprecations? no
Tickets -
License MIT
Doc PR -

@teohhanhui
Copy link
Contributor

This should target 2.5 branch, right?

@nicolas-grekas nicolas-grekas changed the base branch from master to 2.5 November 12, 2019 18:21
@nicolas-grekas
Copy link
Contributor Author

Now targetting branch 2.5

@alanpoulain
Copy link
Member

Errors seem related.

@teohhanhui
Copy link
Contributor

Test mocking needs to handle both cases.

@soyuka
Copy link
Member

soyuka commented Nov 15, 2019

rebased + fixed by @flug waiting for CI

@teohhanhui
Copy link
Contributor

teohhanhui commented Nov 15, 2019

@soyuka You've messed up the indentation in phpstan.neon.dist 😆

I guess you need to install the EditorConfig plugin? 🙈

@teohhanhui
Copy link
Contributor

Looks like we still need to add more conditional mocking.

nicolas-grekas added a commit to symfony/symfony that referenced this pull request Nov 16, 2019
…t typed (chalasr)

This PR was merged into the 4.4 branch.

Discussion
----------

[HttpKernel] Flatten "exception" controller argument if not typed

| Q             | A
| ------------- | ---
| Branch?       | 4.4
| Bug fix?      | yes
| New feature?  | no
| Deprecations? | no
| Tickets       | -
| License       | MIT
| Doc PR        | -

Fixes a BC break and makes it easier for libs to support both debug & error-handler e.g. api-platform/core#3246 (comment)

Commits
-------

585216a [HttpKernel] Flatten "exception" controller argument if not typed
@soyuka soyuka merged commit 7035e9a into api-platform:2.5 Nov 17, 2019
@soyuka
Copy link
Member

soyuka commented Nov 17, 2019

Thanks @nicolas-grekas @chalasr @teohhanhui @flug

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

7 participants