acquia / blt-phpcs

Acquia BLT PHPCS plugin
GNU General Public License v2.0
3 stars 5 forks source link

Validation issues between dev-master and 1.0 #7

Open mikemadison13 opened 3 years ago

mikemadison13 commented 3 years ago

If I install this plugin at commit #ddaa71b (or, from dev-master in general) and run blt validate:phpcs I get a pretty minimal set of issues returned. On the other hand, if I install at ^1 and land on 1.0.0 I get dozens of additional issues.

From my manual code review, it would appear that the 1.0.0 version gives a much more accurate representation of what's "going on" in the codebase.

I'm concerned that something that has been merged since the 1.0.0 release has caused a regression.

I have customer files I can share internally with you @danepowell and some code bases to look at that I can't post here, but I do worry that something is up!

For context:

mikemadison13 commented 3 years ago

looking at the commit history, I have no clue what could have changed (because it would appear that only a docs change has been made).

danepowell commented 3 years ago

I think you'll need to inspect the changes to composer.lock (and anything else in your project) when requiring different versions of the plugin. But I can't imagine any scenario in which this is due to a change in the plugin. As you observed (and as can be confirmed by a diff), there are essentially no changes in master: https://github.com/acquia/blt-phpcs/compare/v1.0.0...master