Skip to content

Fix #401 #402

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

Merged
merged 1 commit into from
May 8, 2020
Merged

Conversation

Jibbarth
Copy link
Collaborator

@Jibbarth Jibbarth commented May 8, 2020

Q A
Bug fix? yes
New feature? yes/no
Fixed tickets #401

CF #401 (comment) the Config for PHPCS load .phpcs.xml from project.

That is useless for us, because we register sniff based on phpinsights.php configuration later, by file.

So I restore the standard config to remove this .phpcs.xml use, and restrict config to only 1 diff (without 1, the ruleset creation throw an error).

Don't use .phpcs.xml of project when loading FileFactory
@Jibbarth Jibbarth added the bug Something isn't working label May 8, 2020
@Jibbarth Jibbarth requested a review from olivernybroe May 8, 2020 12:02
@Jibbarth Jibbarth linked an issue May 8, 2020 that may be closed by this pull request
Copy link
Owner

@nunomaduro nunomaduro left a comment

Choose a reason for hiding this comment

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

I am really out of context here. But sounds good to me.

@Jibbarth
Copy link
Collaborator Author

Jibbarth commented May 8, 2020

@nunomaduro Thanks 🤗

@olivernybroe Does this fix your issue ?

Copy link
Collaborator

@olivernybroe olivernybroe left a comment

Choose a reason for hiding this comment

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

@Jibbarth Nice this sounds like the correct issue 👍 Nice debugging!

I haven't tested it out yet to make sure it fixes it though.
However I'll greenlit it as I don't see anything wrong with doing this.

Prob. won't be able to test before next week.

@Jibbarth Jibbarth merged commit 1e93b3a into nunomaduro:master May 8, 2020
@Jibbarth Jibbarth deleted the fix/401-phpcs-ruleset-load branch May 8, 2020 18:29
50bhan added a commit to 50bhan/phpinsights that referenced this pull request May 10, 2020
* upstream/master:
  Feature/syntax check (nunomaduro#373)
  Fix display detail message without file (nunomaduro#404)
  Fix nunomaduro#401 (nunomaduro#402)
  Update doc (add phpunit upgrade command) (nunomaduro#399)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

Successfully merging this pull request may close these issues.

"SlevomatCodingStandard.Arrays.TrailingArrayComma" does not exist
3 participants