Skip to content

Respect PHP ini settings for error reporting #437

@sebastianfeldmann

Description

@sebastianfeldmann

phive registers its own error handler

set_error_handler([$this, 'errorHandler']);

that does not respect the PHP ini error_reporting setting.

This is a bit problematic while running builds for new PHP versions.
While phive would most likely run under php 8.4 without any problems but because there are deprecation errors it just crashes.

I think, during execution time deprecations can safely be ignored.

Metadata

Metadata

Assignees

Labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions