Skip to content

$http_response_header is deprecated in PHP 8.5 #173

Description

@thomascorthals

Bug report

$http_response_header is deprecated in PHP 8.5.0. PHPStan doesn't report this deprecation.

Code snippet that reproduces the problem

https://phpstan.org/r/8da77505-4474-4aa5-99d9-e29c4776acc5

Expected output

Deprecation should be reported.

Did PHPStan help you today? Did it make you happy in any way?

It did catch other deprecations when switching from PHP 8.4 to 8.5.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions