laminas / laminas-diactoros

PSR HTTP Message implementations
https://docs.laminas.dev/laminas-diactoros/
BSD 3-Clause "New" or "Revised" License
483 stars 63 forks source link

Drop legacy helper functions in Zend namespace #146

Closed Xerkus closed 1 year ago

Xerkus commented 1 year ago
Q A
Documentation no
Bugfix no
BC Break yes
New Feature no
RFC no
QA no

Description

Legacy helper functions in Zend namespace were left in place to facilitate migration but no longer needed.

Xerkus commented 1 year ago

Psalm issue: UndefinedAttributeClass can be suppressed with issue handler using targeted referencedClass.

When running on 8.2 psalm targets 8.0 and complains with

ERROR: InvalidAttribute - src/Uri.php:246:11 - The class SensitiveParameter doesn't have the Attribute attribute (see https://psalm.dev/242)
        #[SensitiveParameter]

This issue does not have referencedClass to make targeted issue handler and it can't be baselined either.

Ocramius commented 1 year ago

Thanks @Xerkus!