Package: php-markdown
Version: 1.6.0-2
Severity: normal

Dear Maintainer,

I noticed that this library can't be used as-is in PHP7 (shipped with actual 
Debian stable Stretch) because of it throws a PHP warning:

> Deprecated: Methods with the same name as their class will not be 
> constructors in a future version of PHP; Markdown_Parser has a deprecated 
> constructor in /usr/share/php/markdown.php on line 191.

I don't know why there was that Java-like construct, anyway this is yet 
reported and fixed upstream:
https://github.com/michelf/php-markdown/issues/235

Just sobstituting 'function Markdown_Parser' to `function __construct` would be 
fine.

Thanks for your time :)

Reply via email to