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

support root-namespace parent classes #39

Open
staabm opened this issue Jul 19, 2024 · 0 comments
Open

support root-namespace parent classes #39

staabm opened this issue Jul 19, 2024 · 0 comments

Comments

@staabm
Copy link
Contributor

staabm commented Jul 19, 2024

a file with content

<?php

class X {}

class Y extends X {}

class Z extends ArrayObject {}

is fixed into

<?php

final class X {}

final class Y extends X {}

final class Z extends ArrayObject {}

but I expected class X not to get final. Its hard to unit-test because all tests atm require a namespace.

Originally posted by @staabm in #19 (comment)

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

No branches or pull requests

1 participant