Skip to content

Commit de06d40

Browse files
committed
version 2.0.0
1 parent a446c08 commit de06d40

33 files changed

+277
-1717
lines changed

CHANGELOG.md

+10
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,16 @@
22

33
All notable changes to `Enumhancer` will be documented in this file
44

5+
## 2.0.0 - 2023-02-28
6+
7+
- Now supports Laravel 10
8+
- dropped support for laravel 8
9+
10+
### Upgrade notes
11+
12+
- Makers (make, tryMake etc.) are removed in favor
13+
of [Getters](docs/getters.md)
14+
515
## 1.23.0 - 2023-02-03
616

717
- added [PHPStan](docs/phpstan.md) support

README.md

+1-2
Original file line numberDiff line numberDiff line change
@@ -67,7 +67,6 @@ implemented the methods of `Getters`, `Extractor` and `Reporters`.
6767
- [From](docs/from.md)
6868
- [Getters](docs/getters.md)
6969
- [Labels](docs/labels.md)
70-
- ~~[Makers](docs/makers.md)~~ (deprecated)
7170
- [Macros](docs/macros.md)
7271
- [Mappers](docs/mappers.md)
7372
- [Properties](docs/properties.md)
@@ -99,7 +98,7 @@ implemented the methods of `Getters`, `Extractor` and `Reporters`.
9998

10099
When you are installing this package into a laravel project, Enumhancer will
101100
automatically set macro's for the `validation rules` and sets the global
102-
`Reporter` for the `makeOrReport` methods, so that it will use Laravel's
101+
`Reporter` for the `getOrReport` methods, so that it will use Laravel's
103102
`Log` facade.
104103

105104
If you don't want that to happen, you can tell Laravel not to discover the

composer.json

+1-2
Original file line numberDiff line numberDiff line change
@@ -73,9 +73,8 @@
7373
"composer/composer": "^2.5",
7474
"henzeb/enumhancer-ide-helper": "main-dev",
7575
"mockery/mockery": "^1.5",
76-
"nette/php-generator": "^4.0",
7776
"nunomaduro/larastan": "^2.3",
78-
"orchestra/testbench": "v6.24.1|^v7.18",
77+
"orchestra/testbench": "^v7.18|^8.0",
7978
"phpstan/phpstan": "^1.9",
8079
"phpunit/phpunit": "^9.5.27"
8180
},

docs/makers.md

-63
This file was deleted.

0 commit comments

Comments
 (0)