Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fixes Test Failures relating to InputFilter Regression and Doctrine Annotations Changes #180

Merged
merged 6 commits into from Jul 25, 2022

Conversation

gsteel
Copy link
Member

@gsteel gsteel commented Jul 25, 2022

Q A
QA yes

Description

Doctrine Annotations now converts deprecations to exceptions (ref: doctrine/annotations#438) but it's difficult to tell when the internal call to trigger_error for the deprecation fires vs the exception thrown from annotations, event though convertDeprecationsToExceptions is active here.

This pull also updates inputfilter to the latest release WRT laminas/laminas-inputfilter#60

A failing test was occurring, due to other changes in InputFilter where factories are now fetching the InputFilterManager et al by FQCN rather than alias. This broke the FormAbstractServiceFactoryTest because of the contrived ServiceManager config. This shouldn't be an issue for consumers because they would be pulling services from a fully configured ServiceManger (The aliases and services haven't changed)

This should help other pulls to go green on latest deps

…st failures

Doctrine Annotations now converts deprecations to exceptions

ref: doctrine/annotations#438
Signed-off-by: George Steel <george@net-glue.co.uk>
@gsteel gsteel added this to the 3.3.0 milestone Jul 25, 2022
@gsteel
Copy link
Member Author

gsteel commented Jul 25, 2022

Probably going to need laminas/laminas-inputfilter#60 before this will go green.

Note: relevant tests were passing in ~2.15.0 of laminas-inputfilter

Signed-off-by: George Steel <george@net-glue.co.uk>
Signed-off-by: George Steel <george@net-glue.co.uk>
…s up with the service names used in input filter and improves type inference

Signed-off-by: George Steel <george@net-glue.co.uk>
…Specification` - a psalm type will need to be imported here from `inputfilter`

Signed-off-by: George Steel <george@net-glue.co.uk>
@gsteel gsteel force-pushed the doctrine-annotation-deprecations branch from b6b10c1 to 033599f Compare July 25, 2022 17:01
@gsteel gsteel changed the title Bumps minimum version of doctrine annotations to 1.13.3 to solve test failures Fixes Test Failures relating to InputFilter Regression and Doctrine Annotations Changes Jul 25, 2022
@gsteel gsteel force-pushed the doctrine-annotation-deprecations branch from 033599f to e5e87e6 Compare July 25, 2022 17:03
Signed-off-by: George Steel <george@net-glue.co.uk>
@gsteel gsteel force-pushed the doctrine-annotation-deprecations branch from e5e87e6 to 6766141 Compare July 25, 2022 17:12
@Ocramius Ocramius self-assigned this Jul 25, 2022
@Ocramius
Copy link
Member

🚢 Thanks @gsteel!

@Ocramius Ocramius merged commit 1208afe into 3.3.x Jul 25, 2022
@Ocramius Ocramius deleted the doctrine-annotation-deprecations branch July 25, 2022 17:22
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants