Skip to content

Fix php 8 warnings #8270

Fix php 8 warnings

Fix php 8 warnings #8270

Triggered via pull request October 3, 2024 14:06
Status Failure
Total duration 3m 26s
Artifacts 2

ci.yml

on: pull_request
Matrix: phpstan / php-stan
Waiting for pending jobs
Matrix: windows-ci / win-test
Waiting for pending jobs
Fit to window
Zoom out
Zoom in

Annotations

4 errors and 2 warnings
phan / Run phan: htdocs/emailcollector/class/emailcollector.class.php#L2663
emailcollector.class.php: PhanUndeclaredFunction: Call to undeclared function \dol_escape_all()
phan / Run phan: htdocs/ticket/class/ticket.class.php#L1907
ticket.class.php: PhanTypeMismatchArgumentInternalReal: Argument 3 ($subject) is $destdir of type null but \preg_replace() takes array|string
phan / Run phan
Process completed with exit code 1.
phan / Run phan
Process completed with exit code 1.
pre-commit / pre-commit
Cache save failed.
phan / Run phan: htdocs/ticket/class/ticket.class.php#L1907
ticket.class.php: PhanUndeclaredVariable: Variable $destdir is undeclared

Artifacts

Produced during runtime
Name Size
phan-srcrt Expired
472 Bytes
precommit-logs
558 Bytes