Skip to content
This repository has been archived by the owner on Mar 15, 2020. It is now read-only.

Commit

Permalink
Fix deprecation message (#21)
Browse files Browse the repository at this point in the history
  • Loading branch information
theofidry authored Jul 10, 2017
1 parent 279ff67 commit 6e6c47a
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 3 deletions.
4 changes: 4 additions & 0 deletions composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,10 @@
"name": "Pádraic Brady",
"email": "padraic.brady@gmail.com",
"homepage": "http://blog.astrumfutura.com"
},
{
"name": "Théo Fidry",
"email": "theo.fidry@gmail.com"
}
],

Expand Down
6 changes: 3 additions & 3 deletions src/function.php
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@
function humbug_get_contents($filename, $use_include_path = false, $context = null)
{
@trigger_error(
'humbug_get_contents() is deprecated since 1.1.0 and will be removed in 4.0.0. Use '
'humbug_get_contents() is deprecated since 1.1.0 and will be removed in 2.0.0. Use '
.'Humbug/get_contents() instead.',
E_USER_DEPRECATED
);
Expand All @@ -26,7 +26,7 @@ function humbug_get_contents($filename, $use_include_path = false, $context = nu
function humbug_get_headers()
{
@trigger_error(
'humbug_get_headers() is deprecated since 1.1.0 and will be removed in 4.0.0. Use '
'humbug_get_headers() is deprecated since 1.1.0 and will be removed in 2.0.0. Use '
.'Humbug/get_headers() instead.',
E_USER_DEPRECATED
);
Expand All @@ -39,7 +39,7 @@ function humbug_get_headers()
function humbug_set_headers(array $headers)
{
@trigger_error(
'humbug_set_headers() is deprecated since 1.1.0 and will be removed in 4.0.0. Use '
'humbug_set_headers() is deprecated since 1.1.0 and will be removed in 2.0.0. Use '
.'Humbug/get_headers() instead.',
E_USER_DEPRECATED
);
Expand Down

0 comments on commit 6e6c47a

Please sign in to comment.