Add support for enum default arguments using enum cases (#1464)

* add case when default value is of type enum

* Update CHANGELOG.md

* add tests for enum arguments default values

* ignore psalm issue (built-in `\UnitEnum` class does not exists in PHP7)

* Update run-static-analysis.yml to use PHP8.1

---------

Co-authored-by: Barry vd. Heuvel <[email protected]>
Co-authored-by: Barry vd. Heuvel <[email protected]>
This commit is contained in:
Ruben Robles
2024-02-07 21:27:30 +01:00
committed by GitHub
co-authored by Barry vd. Heuvel Barry vd. Heuvel
parent f3ad134242
commit f64ff9c0b1
8 changed files with 243 additions and 1 deletions
+4
View File
@@ -8,6 +8,10 @@ All notable changes to this project will be documented in this file.
### Changed
- Removed support for Laravel 8 and therefore for PHP < 8.0 [#1504 / mfn](https://github.com/barryvdh/laravel-ide-helper/pull/1504)
### Added
- Add support for enum default arguments using enum cases. [#1464 / d8vjork](https://github.com/barryvdh/laravel-ide-helper/pull/1464)
2024-02-05, 2.14.0
------------------