-
vendor/jiannei/laravel-enum/src/Support/Traits/EnumEnhance.php:31
~~$key = "$localizationGroup.".static::class.'.'.$this->name;~~
需变更成value
``` php
$key = "$localizationGroup." . static::class . '…
-
- Larastan Version: 2.9.9
- Laravel Version: 11.28.1
### Description
This is happening while upgrading to Laravel 11:
I cast Enums from the DB in to PHP Enums, if i do not annotate, i get warnin…
-
##### Description
If enum values contain single quotes the codegen generates not valid PHP code.
##### Swagger-codegen version
2.4.0
##### Swagger declaration file content or url
```json
{…
-
### Description
Creating this ticket to keep track of some issues related to dl() and permanent / interned strings:
Extensions loaded during a `dl()` call will try to allocate persistent interne…
-
https://psalm.dev/r/98fee0b0c6
Assignment of the value of an enum to a const marked with value-of is not recognized as valid
-
I would like to propose having the error logging on the constraints checkers optionaly store a value called "element" that shows the actual value that failed the constraint, this would be valuable in …
-
### What Happened
Expect('App\Enums')->toBeEnums(); is passing although my App doesn't contain an Enums directory.
The test is executed in tests/Unit/ArchTest.php
![pest](https://github.com/pes…
-
First step was made in https://github.com/Elao/PhpEnums/pull/165 to rewrite the lib with the new native enum types & adding some integrations based on it and our specificities (readables, flags, …).
…
-
Our helpers currently contain a few enums that are not included in the OpenAPI specs. They are a one to one mapping to the enums defined in the PHP source code, so we should be able to generate them a…
-
In PHP 8, `Attribute` is a reserved class name due to the introduction of [attributes](https://www.php.net/manual/en/language.attributes.classes.php).
When the `Attribute` enum is compiled to PHP, an…