Skip to content

Commit

Permalink
Updated default PHP version to 8.2
Browse files Browse the repository at this point in the history
  • Loading branch information
GrahamCampbell committed Jun 11, 2023
1 parent 8eea1d0 commit a460271
Show file tree
Hide file tree
Showing 4 changed files with 6 additions and 6 deletions.
2 changes: 1 addition & 1 deletion configuration.md
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@ Our default (PHP-only) configuration looks like this:

```yaml
risky: false
version: 8.1
version: 8.2
preset: recommended
monolithic: true
finder:
Expand Down
2 changes: 1 addition & 1 deletion finder.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ Take a look at the below example of a PHP-only configuration:
```yaml
risky: false

version: 8.1
version: 8.2

presets: recommended

Expand Down
4 changes: 2 additions & 2 deletions multi-language.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ The configuration for each language must now fall under the relevant name. For i
```yaml
php:
risky: true
version: 8.1
version: 8.2
preset: laravel
enabled:
- ternary_to_elvis_operator
Expand Down Expand Up @@ -74,7 +74,7 @@ Setting `php: true` translates to the following:
```yaml
php:
risky: false
version: 8.1
version: 8.2
preset: recommended
monolithic: true
tab-width: 4
Expand Down
4 changes: 2 additions & 2 deletions standalone-php.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ To demonstrate this, below is the contents of an example `.styleci.yml` file, us
```yaml
risky: false

version: 8.1
version: 8.2

preset: recommended

Expand Down Expand Up @@ -55,7 +55,7 @@ Some of our fixers do things that can change code behavior, by design. Risky mod
<a name="version"></a>
## Version

It is possible to set the PHP version your code will be parsed using using the `version` option. `7.4`, `8.0`, `8.1`, and `8.2` are the allowed values, and additionally, `7` is an alias for `7.4` and `8` is an alias for `8.1`. PHP version 8.1 is the default version.
It is possible to set the PHP version your code will be parsed using using the `version` option. `7.4`, `8.0`, `8.1`, and `8.2` are the allowed values, and additionally, `7` is an alias for `7.4` and `8` is an alias for `8.2`. PHP version 8.2 is the default version.

<a name="presets"></a>
## Presets
Expand Down

0 comments on commit a460271

Please sign in to comment.