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

[modulite] fixed inheritance late static bindings #908

Merged
merged 5 commits into from
Oct 18, 2023

Conversation

Hidanio
Copy link
Contributor

@Hidanio Hidanio commented Sep 28, 2023

Added new test cases for late static bindigs
Fixed some issues with late static bindigs

Also added pull requests in modulite-phpstan and modulite

@Hidanio Hidanio self-assigned this Sep 28, 2023
@Hidanio Hidanio changed the title Hidanjkezor/inheritance late static bindings fix fixed inheritance late static bindings Sep 28, 2023
@Hidanio Hidanio force-pushed the hidanjkezor/inheritance_late_static_bindings_fix branch 4 times, most recently from a8e03e9 to d844db9 Compare September 28, 2023 16:11
@Hidanio Hidanio force-pushed the hidanjkezor/inheritance_late_static_bindings_fix branch 2 times, most recently from 83044ed to c5e7e69 Compare September 29, 2023 14:48
Hidanio and others added 5 commits October 18, 2023 15:27
…s, but trying to be required in derived too

Added test for case when we have class(1) inside function of another class(2) that is parent class(2) for another (3), but (1) trying to be required in (3)
Added test for late static binding
updated comments for case2 in modulite-check-rules
@tolk-vm tolk-vm force-pushed the hidanjkezor/inheritance_late_static_bindings_fix branch from 2d1067a to 11741ee Compare October 18, 2023 12:27
@tolk-vm tolk-vm added this to the next milestone Oct 18, 2023
@tolk-vm tolk-vm changed the title fixed inheritance late static bindings [modulite] fixed inheritance late static bindings Oct 18, 2023
@Hidanio Hidanio merged commit c4031c7 into master Oct 18, 2023
5 checks passed
@Hidanio Hidanio deleted the hidanjkezor/inheritance_late_static_bindings_fix branch October 18, 2023 13:22
Hidanio added a commit that referenced this pull request Oct 23, 2023
* added new tests for late static bindings in modulite

* fixed logic when modulite not correctly handles late static binding with cross-module inheritance

---------

Co-authored-by: Aleksandr Kirsanov <[email protected]>
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