Download the PHP package m0hanraj/phpcs-config without Composer
On this page you can find all versions of the php package m0hanraj/phpcs-config. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Download m0hanraj/phpcs-config
More information about m0hanraj/phpcs-config
Files in m0hanraj/phpcs-config
Package phpcs-config
Short Description PHPCS configuration for WordPress VIP plugins and themes
License MIT
Informations about the package phpcs-config
phpcs-config
This library contains WordPress VIP PHPCS configuration.
Architecture
Project Structure
Technical Documentation
- Package Extensibility
Contribution
More details on how to contribute to this package can be found in the CONTRIBUTING.md file.
Minimal requirements
- PHP 8.2
- WordPress 6.2
Development setup
To build the package
PHP setup
composer install
Installation
Composer install:
Usage
Using the ruleset
Create a phpcs.xml.dist file in your project and add the following to use WPDev ruleset:
Usage with Composer
Add the following to scripts section in composer.json file to run linting.
Tagging and releasing
The content schema uses Semantic Versioning semver for versioning. The package is released using GitHub Releases. The release process is automated in Circle CI build step. To create a new release, follow these steps:
- Update the relevant files with the new version. Commit the updated files.
- Push the changes to the
mainbranch, by merging the associated pull request - Create a release targeting the
mainbranch within GitHub.
All versions of phpcs-config with dependencies
dealerdirect/phpcodesniffer-composer-installer Version ^1.0
ergebnis/composer-normalize Version ^2.42
fig-r/psr2r-sniffer Version ^2.1.2
phpcompatibility/phpcompatibility-wp Version ^2.1
slevomat/coding-standard Version ^8.14
wp-coding-standards/wpcs Version ^3.1