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

Improved plugins template and new PHPCS rules #1

Open
wants to merge 6 commits into
base: master
Choose a base branch
from

Conversation

Screenfeed
Copy link

No description provided.

- File header with new entries.
- Modified the namespace.
- Replaced the `or` statement by `||`.
- Put the `add_action()` before the function.
- Added a `@since` tag to the function DocBlock.
@Screenfeed Screenfeed added the enhancement New feature or request label Jan 13, 2020
README.md Outdated Show resolved Hide resolved
README.md Outdated Show resolved Hide resolved
_imagify-helper-plugin/imagify-helper-plugin.php Outdated Show resolved Hide resolved
_imagify-helper-plugin/imagify-helper-plugin.php Outdated Show resolved Hide resolved
- Added vendor to namespaces
- Removed `@package` tags since they are redundent with namespaces. Also added the related phpcs exclusion in phpcs.xml.
- Fixed `CamelCase` => `PascalCase` in general README.
- Removed useless priority + number of args in a filter in "Change Bulk Buffer Size" helper.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants