Skip to content
Snippets Groups Projects
Verified Commit 7a360374 authored by Bartek Jaskulski's avatar Bartek Jaskulski
Browse files

chore: add readme and changelog

parent 904a260e
Branches
Tags 1.0.0
No related merge requests found
# [1.0.0] - 2023-11-17
## Added
- Initial project release with basic configuration.
# Common PHPStan configuration for WP Desk
This meta-package contains PHPStan configuration for WP Desk projects. This includes dependent extensions like `szepeviktor/phpstan-wordpress`, and additional, default configuration like inclusion of WooCommerce stubs.
## Installation
```sh
composer require wpdesk/phpstan-rules
```
## Usage
After installation, you can simply use PHPStan in your project without the need to further configuration. Nevertheless, as project grows, it's worth to add even [the basic one](https://phpstan.org/config-reference).
To run PHPStan, simply execute the following command (<path> is only required if not present in configuration file):
```sh
vendor/bin/phpstan analyse <path>
```
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment