Skip to content

Commit

Permalink
update project README page for branch 8.0
Browse files Browse the repository at this point in the history
  • Loading branch information
llaville committed Jul 11, 2022
1 parent 5eb8849 commit 0483bfd
Showing 1 changed file with 4 additions and 3 deletions.
7 changes: 4 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -18,12 +18,12 @@
- PHP >= 8.0
- Composer >= 2.0

> if you are using php 7.0, please refer [the 7.4 branch](https://github.com/overtrue/phplint/tree/7.4).
> if you are using php 5.5, php 5.6 or php 7.x, please refer [the 7.4 branch](https://github.com/overtrue/phplint/tree/7.4).
### Locally, if you have PHP

```shell
$ composer require overtrue/phplint:^4.0 --dev -vvv
$ composer require overtrue/phplint: --dev -vvv
```

### Locally, if you only have Docker
Expand Down Expand Up @@ -82,13 +82,14 @@ extensions:
exclude:
- vendor
warning: false
memory_limit: -1
```
```shell
$ ./vendor/bin/phplint
```

By default, the command will read configuration from file `.phplint.yml` of path specified, you can custom the filename by option: `--configuration=FILENAME` or `-c FILENAME`;
By default, the command will read configuration from file `.phplint.yml` of path specified, you can use another filename by option: `--configuration=FILENAME` or `-c FILENAME`;

If you want to disable the config file, you can add option `--no-configuration`.

Expand Down

0 comments on commit 0483bfd

Please sign in to comment.