Skip to content

chore: class cannot be final when lazy loaded#40

Merged
eFrane merged 1 commit intoeFrane:masterfrom
mussbach:f-fix-lazy-builder
Jan 13, 2025
Merged

chore: class cannot be final when lazy loaded#40
eFrane merged 1 commit intoeFrane:masterfrom
mussbach:f-fix-lazy-builder

Conversation

@mussbach
Copy link
Contributor

Current master branch throws an error during upgrade to symfony 6.4

Script cache:clear returned with error code 1
!!
!! In LazyServiceDumper.php line 138:
!!
!! Cannot generate lazy proxy for service "EFrane\PharBuilder\Development\Proc
!! ess\BoxProcessProvider".
!!
!!
!! In ProxyHelper.php line 92:
!!
!! Cannot generate lazy proxy: class "EFrane\PharBuilder\Development\Process\B
!! oxProcessProvider" is final.
!!
!!

Is there a need for BoxProcessProvider to be final?

Copy link
Owner

@eFrane eFrane left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Yep, this doesn't have to be final. I vividly remember me being in my oh this should never need to be extended, I'm gonna put final on it era. Good catch.

@eFrane eFrane merged commit 947a8a9 into eFrane:master Jan 13, 2025
0 of 3 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants