Skip to content

Commit

Permalink
Added support for enums in PHP 8.1
Browse files Browse the repository at this point in the history
  • Loading branch information
mreduar committed Jun 13, 2022
1 parent 88edfbc commit 25b42e1
Show file tree
Hide file tree
Showing 3 changed files with 32 additions and 24 deletions.
5 changes: 5 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,11 @@

All notable changes to `laravel-phpcs` will be documented in this file

## 1.7.0 - 2022-06-13
- Added support to enums.
- Updated php_codesniffer to 3.7.
- Updated slevomat/coding-standard to dev-php81 to support enums.

## 1.6.0 - 2022-05-20

- [Custom sniffs](https://github.com/slevomat/coding-standard) have been added to improve the Laravel standard.
Expand Down
4 changes: 2 additions & 2 deletions composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -22,8 +22,8 @@
],
"require": {
"php": "^7.4|^8.0",
"slevomat/coding-standard": "^7.2",
"squizlabs/php_codesniffer": "^3.6"
"slevomat/coding-standard": "dev-php81",
"squizlabs/php_codesniffer": "^3.7"
},
"autoload": {
"psr-4": {
Expand Down
47 changes: 25 additions & 22 deletions composer.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

0 comments on commit 25b42e1

Please sign in to comment.