Skip to content

Cast attr to string to prevent a PHP deprecation warning in 8.1 #48

Cast attr to string to prevent a PHP deprecation warning in 8.1

Cast attr to string to prevent a PHP deprecation warning in 8.1 #48

Re-run triggered June 17, 2025 23:28
Status Failure
Total duration 20s
Artifacts

ci.yml

on: pull_request
Matrix: tests
Fit to window
Zoom out
Zoom in

Annotations

7 errors
Linting - PHP 8.1
Process completed with exit code 1.
Linting - PHP 8.1: Michelf/MarkdownInterface.php#L8
PHPDoc tag @copyright has invalid value ((Original Markdown) 2004-2006 John Gruber <https://daringfireball.net/projects/markdown/>): Unexpected token "Markdown", expected ')' at offset 260 on line 7
Linting - PHP 8.1: Michelf/MarkdownExtra.php#L1799
Parameter #2 $replace of function str_replace expects array<string>|string, array<int, int> given.
Linting - PHP 8.1: Michelf/MarkdownExtra.php#L232
Variable $attr on left side of ?? always exists and is not nullable.
Linting - PHP 8.1: Michelf/MarkdownExtra.php#L8
PHPDoc tag @copyright has invalid value ((Original Markdown) 2004-2006 John Gruber <https://daringfireball.net/projects/markdown/>): Unexpected token "Markdown", expected ')' at offset 264 on line 7
Linting - PHP 8.1: Michelf/Markdown.php#L1785
Call to preg_quote() is missing delimiter / to be effective.
Linting - PHP 8.1: Michelf/Markdown.php#L8
PHPDoc tag @copyright has invalid value ((Original Markdown) 2004-2006 John Gruber <https://daringfireball.net/projects/markdown/>): Unexpected token "Markdown", expected ')' at offset 260 on line 7