Skip to content

Commit 25b42e1

Browse files
committed
Added support for enums in PHP 8.1
1 parent 88edfbc commit 25b42e1

File tree

3 files changed

+32
-24
lines changed

3 files changed

+32
-24
lines changed

CHANGELOG.md

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,11 @@
22

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

5+
## 1.7.0 - 2022-06-13
6+
- Added support to enums.
7+
- Updated php_codesniffer to 3.7.
8+
- Updated slevomat/coding-standard to dev-php81 to support enums.
9+
510
## 1.6.0 - 2022-05-20
611

712
- [Custom sniffs](https://github.com/slevomat/coding-standard) have been added to improve the Laravel standard.

composer.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -22,8 +22,8 @@
2222
],
2323
"require": {
2424
"php": "^7.4|^8.0",
25-
"slevomat/coding-standard": "^7.2",
26-
"squizlabs/php_codesniffer": "^3.6"
25+
"slevomat/coding-standard": "dev-php81",
26+
"squizlabs/php_codesniffer": "^3.7"
2727
},
2828
"autoload": {
2929
"psr-4": {

composer.lock

Lines changed: 25 additions & 22 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)