Skip to content

Conversation

nicolas-grekas
Copy link
Member

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

This reverts commit ad1888b, reversing
changes made to fffcc24.

The rationale behind this change is that type hinting against Exception is not compatible with PHP7.
The second level rational is that this creates a BC break that can easilly be prevented.

This PR will be seconded by an other one on 2.3 that will allow catching then rendering throwables, and add an instanceof type check for $output.

Merging this one first will prevent merge conflicts.

…besset)"

This reverts commit ad1888b, reversing
changes made to fffcc24.
@Tobion
Copy link
Contributor

Tobion commented Aug 31, 2015

The OutputInterface typehint should stay as this has nothing to do with php 7 compatibility and we already agreed to add it.

@nicolas-grekas
Copy link
Member Author

So, thinking twice about this one, I'm closing: throwables should be handled differently, and in fact we already do with the debug component (they are converted to exception then re-injected into this code path).

@nicolas-grekas nicolas-grekas deleted the console-render-x branch August 31, 2015 06:49
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy