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

Adapting namespace sensitivity from pr (#1695) to issue (#1649) #1700

Conversation

rdss-sknott
Copy link
Contributor

@rdss-sknott rdss-sknott commented Apr 8, 2024

As Promised in (1695). This is connected to (#1649)

  • Make InternalInterfacesSniff namespace sensitive
  • Make NewInterfaceSniff namespace sensitive

Copy link
Member

@jrfnl jrfnl left a comment

Choose a reason for hiding this comment

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

@rdss-sknott Hi Sebastian, thank you for submitting this follow-up PR.

Mostly looking good, though there are some copy/paste artifacts which need to be fixed.

I'm also a little concerned that the tests didn't fail on these.

@jrfnl jrfnl added this to the 10.0.0 milestone Apr 21, 2024
@rdss-sknott
Copy link
Contributor Author

@rdss-sknott Hi Sebastian, thank you for submitting this follow-up PR.

Mostly looking good, though there are some copy/paste artifacts which need to be fixed.

I'm also a little concerned that the tests didn't fail on these.

Hi @jrfnl. Thank you for considering this pull request. As last time I will go through you remarks and comment them in place and always: Thank you for your time and your great work!

@rdss-sknott rdss-sknott force-pushed the fix/InternalInterfacesSniff-false-positive-on-use branch 2 times, most recently from 8f8f14d to 5bbd83f Compare April 22, 2024 16:34
…ue (PHPCompatibility#1649)

* Make InternalInterfacesSniff namespace sensitive
* Make NewInterfaceSniff namespace sensitive
@rdss-sknott rdss-sknott force-pushed the fix/InternalInterfacesSniff-false-positive-on-use branch from 5bbd83f to 84fa0c5 Compare April 22, 2024 16:40
Copy link
Member

@jrfnl jrfnl left a comment

Choose a reason for hiding this comment

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

@rdss-sknott Thank you for making those updates! All looks good to me and tests are failing when I undo the latest fixes, so that's all sorted too.

The only thing I still realized/noticed is that there are no tests covering the "this is not an import use statement" condition, but I'm fine with that being fixed-up in a future PR (also for the NewClasses sniff).

@jrfnl jrfnl merged commit 96072c3 into PHPCompatibility:develop Apr 30, 2024
40 checks passed
@jrfnl
Copy link
Member

jrfnl commented Apr 30, 2024

@rdss-sknott Fancy doing the last one left as well ? RemovedClasses

@rdss-sknott rdss-sknott deleted the fix/InternalInterfacesSniff-false-positive-on-use branch May 2, 2024 10:59
@rdss-sknott
Copy link
Contributor Author

@jrfnl Thank you for all the work and effort you put into this project. You provide a valuable service to all of us PHP developers that is greatly appreciated. Like last time, it was a great pleasure to work with you.

I'll take a look at RemovedClasses as soon as I find the time. Unfortunately, I can't promise anything. Nonetheless, I'll see what I can do.

@jrfnl
Copy link
Member

jrfnl commented May 2, 2024

@rdss-sknott The pleasure goes both ways.

Unfortunately, I can't promise anything. Nonetheless, I'll see what I can do.

I totally understand. Anything you can do is appreciated though.

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