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

Getting different reports with and without --fix #643

Open
d8vjork opened this issue Apr 18, 2023 · 1 comment
Open

Getting different reports with and without --fix #643

d8vjork opened this issue Apr 18, 2023 · 1 comment

Comments

@d8vjork
Copy link

d8vjork commented Apr 18, 2023

Q A
Bug report? yes
Feature request? no
Library version 2.8.0

I think from the reports, the only difference is maybe the one with --fix is excluding this "Object operator indent" (PHP_CodeSniffer\Standards\PEAR\Sniffs\WhiteSpace\ObjectOperatorIndentSniff) rule for some reason... so then it thinks code style is at 100% but its not...

With fixers

image

Here we can see, this "Object operator indent" is being applied but really without any modification being applied...

image

Without fixers

Still reports these "Object operator indent"

image

And this is the config I use: https://gist.github.com/d8vjork/6ee0c48c8f48b06cf8bd22b429af95a7

@d8vjork
Copy link
Author

d8vjork commented Apr 18, 2023

Can this actually be a false-positive thingy?

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