Skip to content
This repository has been archived by the owner on Jan 3, 2023. It is now read-only.

Show deprecation notices #79

Open
deshack opened this issue Nov 8, 2014 · 0 comments
Open

Show deprecation notices #79

deshack opened this issue Nov 8, 2014 · 0 comments
Milestone

Comments

@deshack
Copy link
Owner

deshack commented Nov 8, 2014

We do not have the needed file right now, so I'll put it here until we have something to place this into.
This hook should be run just before outputting content. Running it before could bring to some deprecation notices not being showed.

We could also consider running this same hook after the content, in case some view files are deprecated.

The hook should be something like:

$hook->add( 'deprecated_exception', function() {
    $hook->run( 'deprecated_function_exception' );
    $hook->run( 'deprecated_file_exception' );
    $hook->run( 'deprecated_argument_exception' );
} );
$hook->run( 'deprecated_exception' );
@deshack deshack added the task label Nov 8, 2014
@deshack deshack added this to the 0.15 milestone Nov 8, 2014
@deshack deshack added the invalid label Nov 8, 2014
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

1 participant