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

fix(phpcs): specify path in custom ruleset ref #1637

Merged
merged 1 commit into from
Sep 2, 2024
Merged

Conversation

dkoo
Copy link
Contributor

@dkoo dkoo commented Aug 30, 2024

All Submissions:

Changes proposed in this Pull Request:

Same as Automattic/newspack-plugin#3384 but for this repo.

#1611 implemented some custom PHPCS sniffs, but for some reason the <rule ref="phpcsSniffs" /> causes my IDE to fail to find them unless I specify a relative path from the repo's root directory.

How to test the changes in this Pull Request:

If you use VS Code + a PHPCS/PHPCBF extension, you may observe on trunk that attempting to lint or fix errors throws an error about not being able to find the referenced sniff. This should fix it.

Screenshot 2024-08-30 at 2 45 56 PM

Other information:

  • Have you added an explanation of what your changes do and why you'd like us to include them?
  • Have you written new tests for your changes, as applicable?
  • Have you successfully ran tests with your changes locally?

@leogermani leogermani merged commit 28f5b50 into trunk Sep 2, 2024
10 checks passed
@leogermani leogermani deleted the fix/sniff-ref-path branch September 2, 2024 20:45
matticbot pushed a commit that referenced this pull request Sep 4, 2024
# [3.2.0-alpha.2](v3.2.0-alpha.1...v3.2.0-alpha.2) (2024-09-04)

### Bug Fixes

* error handling, tests, CI builds ([#1641](#1641), [#1642](#1642)) ([791fdc3](791fdc3))
* handle missing Mailchimp API key ([83a0d6f](83a0d6f))
* **phpcs:** specify path in custom ruleset ref ([#1637](#1637)) ([28f5b50](28f5b50))

### Reverts

* "chore(deps-dev): bump @wordpress/browserslist-config from 6.5.0 to 6.6.0" ([f08f271](f08f271))
@matticbot
Copy link
Contributor

🎉 This PR is included in version 3.2.0-alpha.2 🎉

The release is available on GitHub release

Your semantic-release bot 📦🚀

matticbot pushed a commit that referenced this pull request Oct 8, 2024
# [3.2.0](v3.1.7...v3.2.0) (2024-10-08)

### Bug Fixes

* a typo that came after a refactor ([#1656](#1656)) ([0ae5b61](0ae5b61))
* dont send metadata on subscribe ([#1648](#1648)) ([5b4a059](5b4a059))
* handle missing Mailchimp API key ([83a0d6f](83a0d6f))
* **mailchimp:** allow contacts to resubscribe after unsubscribing ([#1654](#1654)) ([b76dbc2](b76dbc2))
* **phpcs:** specify path in custom ruleset ref ([#1637](#1637)) ([28f5b50](28f5b50))

### Features

* **mailchimp:** parse contact name into merge fields ([#1628](#1628)) ([aeba65a](aeba65a))
* **styling:** list styles ([e9ea4dd](e9ea4dd)), closes [#1335](#1335)

### Reverts

* "chore(deps-dev): bump @wordpress/browserslist-config from 6.5.0 to 6.6.0" ([f08f271](f08f271))
@matticbot
Copy link
Contributor

🎉 This PR is included in version 3.2.0 🎉

The release is available on GitHub release

Your semantic-release bot 📦🚀

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.

4 participants