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

Fix deprecation message #21

Merged
merged 1 commit into from
Jul 10, 2017
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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