Skip to content

Commit

Permalink
Bumped versions
Browse files Browse the repository at this point in the history
  • Loading branch information
GrahamCampbell committed Nov 6, 2022
1 parent 8f0d939 commit 74ae323
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 6 deletions.
8 changes: 4 additions & 4 deletions cli-tool.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# CLI Tool

The StyleCI CLI Tool requires [PHP](https://www.php.net/) 7.2.5 or higher, and can be installed either directly downloading the phar, orby using [Composer](https://getcomposer.org/). The tool will allow you to analyze your code using StyleCI, before you push. This tool is licensed under [The Apache License 2.0](https://github.com/StyleCI/CLI/blob/1.3/LICENSE).
The StyleCI CLI Tool requires [PHP](https://www.php.net/) 7.2.5 or higher, and can be installed either directly downloading the phar, orby using [Composer](https://getcomposer.org/). The tool will allow you to analyze your code using StyleCI, before you push. This tool is licensed under [The Apache License 2.0](https://github.com/StyleCI/CLI/blob/1.4/LICENSE).

<a name="installation"></a>
## Installation
Expand All @@ -10,7 +10,7 @@ The StyleCI CLI Tool requires [PHP](https://www.php.net/) 7.2.5 or higher, and c
Global installation:

```bash
$ curl -SsLo styleci.phar https://github.com/StyleCI/CLI/releases/download/v1.3.2/styleci.phar \
$ curl -SsLo styleci.phar https://github.com/StyleCI/CLI/releases/download/v1.4.0/styleci.phar \
&& chmod +x styleci.phar && sudo mv styleci.phar /usr/local/bin/styleci
```

Expand All @@ -19,13 +19,13 @@ $ curl -SsLo styleci.phar https://github.com/StyleCI/CLI/releases/download/v1.3.
Local installation:

```bash
$ composer require styleci/cli:^1.3 --dev
$ composer require styleci/cli:^1.4 --dev
```

Global installation:

```bash
$ composer global require styleci/cli:^1.3
$ composer global require styleci/cli:^1.4
```

## First Time Setup
Expand Down
4 changes: 2 additions & 2 deletions multi-language.md
Original file line number Diff line number Diff line change
Expand Up @@ -254,7 +254,7 @@ Setting `py: true` translates to the following:

```yaml
py:
version: 3.10
version: 3.11
preset: pep8
options:
tab-width: 4
Expand All @@ -275,7 +275,7 @@ py:
name: "*.py"
```

* The `version` key specifies the Python grammar version to use. `2.7` and `3.10` are allowed values, `3.10` being the default, and additionally, `2` is an alias for `2.7` and `3` is an alias for `3.10`.
* The `version` key specifies the Python grammar version to use. `2.7` and `3.11` are allowed values, `3.11` being the default, and additionally, `2` is an alias for `2.7` and `3` is an alias for `3.11`.
* Valid values for the `preset` key are `pep8`, `google`, `chromium` or `facebook`. We'd recommend either `pep8` or `google`.
* The `options` key contains several suboptions for further, fine-tuned customizations. These options are as follows:
* Valid values for `tab-width` are `2` and `4`.
Expand Down

0 comments on commit 74ae323

Please sign in to comment.