Ecosyste.ms: Issues

An open API service for providing issue and pull request metadata for open source projects.

GitHub / myclabs/php-enum issues and pull requests

#177 - fix php8.4 deprecated

Pull Request - State: closed - Opened by it-can about 1 month ago - 3 comments

#175 - Add two new methods, valueDesc and getDesc

Pull Request - State: closed - Opened by adam-qiang 6 months ago - 1 comment

#174 - Minor - HTTP to HTTPS for homepage link in composer.json

Pull Request - State: closed - Opened by g-scalvini about 1 year ago - 4 comments

#173 - Change $key from private to protected

Issue - State: open - Opened by Externaluse about 1 year ago

#172 - Update Enum.php

Pull Request - State: closed - Opened by mspreij almost 2 years ago - 5 comments

#170 - Add provider for fakerphp/faker

Pull Request - State: open - Opened by dezer32 about 2 years ago

#169 - PHP 8.2 CI Support

Pull Request - State: closed - Opened by rogervila about 2 years ago - 1 comment

#168 - Upgrade to Psalm 5

Pull Request - State: closed - Opened by rogervila about 2 years ago - 4 comments

#167 - Update README.md

Pull Request - State: closed - Opened by enumag over 2 years ago - 1 comment

#166 - Fix isValid static analysis

Pull Request - State: closed - Opened by enumag over 2 years ago

#165 - Add dev-tools

Pull Request - State: closed - Opened by Aeliot-Tm over 2 years ago - 1 comment

#164 - Declare types of returned data and parameters

Pull Request - State: closed - Opened by Aeliot-Tm over 2 years ago - 2 comments

#163 - yii2-enum is abandoned and not supporting anymore

Pull Request - State: closed - Opened by KartaviK over 2 years ago

#162 - Fix Shepherd link in README

Pull Request - State: closed - Opened by szepeviktor almost 3 years ago - 1 comment

#161 - Added PHP 8.1 to CI configuration

Pull Request - State: closed - Opened by grogy almost 3 years ago - 1 comment

#160 - Implement Stringable interface on Enum

Pull Request - State: closed - Opened by jdecool almost 3 years ago - 7 comments

#159 - cs

Issue - State: closed - Opened by przemyslaw-lapinski about 3 years ago

#158 - document migration to native enums

Pull Request - State: closed - Opened by drealecs about 3 years ago - 2 comments

#157 - Public const inside Enum class

Issue - State: open - Opened by enotocode over 3 years ago - 1 comment

#156 - Add constants method

Pull Request - State: closed - Opened by nunulk over 3 years ago - 4 comments

#155 - phpstan warns about undefined template T in user enum

Issue - State: closed - Opened by adaamz over 3 years ago - 1 comment

#154 - Add Github Actions CI

Pull Request - State: closed - Opened by simPod over 3 years ago - 2 comments

#153 - Do not export psalm.xml in dist

Pull Request - State: closed - Opened by simPod over 3 years ago - 1 comment

#152 - No CI here

Issue - State: closed - Opened by simPod over 3 years ago - 2 comments

#151 - Bump psalm to v4.9.2

Pull Request - State: open - Opened by simPod over 3 years ago - 2 comments

#150 - Using Enum object as array key?

Issue - State: open - Opened by TonyGravagno over 3 years ago - 1 comment

#149 - Removing unnecessary psalm suppress docblock

Issue - State: open - Opened by Ilyes512 over 3 years ago

#148 - Update README.md to explain how to compare enums (singleton limitation)

Pull Request - State: closed - Opened by alexkuc over 3 years ago - 4 comments

#147 - Remove psalm template from static method `from`

Pull Request - State: closed - Opened by kamazee over 3 years ago

#146 - Fix psalm annotation on Enum::from

Pull Request - State: closed - Opened by kamazee over 3 years ago - 5 comments

#145 - Php8.1 resolve json serializable return datatype deprecation

Pull Request - State: closed - Opened by MarkBaker over 3 years ago - 5 comments

#144 - Clash with PHP 8.1 JsonSerializable Interface

Issue - State: closed - Opened by MarkBaker over 3 years ago - 2 comments

#142 - suppress some psalm reported errors

Pull Request - State: closed - Opened by drealecs almost 4 years ago - 2 comments

#141 - Modify the enum implementation for compatibility with PHP 8.1 enumeration

Pull Request - State: closed - Opened by drealecs almost 4 years ago - 5 comments
Labels: enhancement

#139 - [docs] add final to example classes and add note about from() static method

Pull Request - State: closed - Opened by drealecs about 4 years ago - 1 comment

#138 - Fix #134 by marking `Enum::__callStatic` as `@psalm-pure`

Pull Request - State: closed - Opened by Ocramius about 4 years ago - 5 comments

#137 - TooManyTemplateParams errors with recent psalm

Issue - State: closed - Opened by lazka about 4 years ago - 4 comments

#136 - Improve getKey method performance

Pull Request - State: closed - Opened by drealecs about 4 years ago - 2 comments

#135 - Added new named constructor to create enum from mixed

Pull Request - State: closed - Opened by michaelpetri about 4 years ago

#134 - `__callStatic` should probably be `@psalm-pure`

Issue - State: closed - Opened by Ocramius about 4 years ago - 1 comment

#133 - Outdated dependencies

Issue - State: closed - Opened by TheDevelolper about 4 years ago - 2 comments
Labels: invalid

#132 - Can't get an enum value in the associative array.

Issue - State: closed - Opened by barkin94 about 4 years ago
Labels: question

#131 - Remove unused psalm-suppress

Pull Request - State: closed - Opened by gharlan over 4 years ago - 4 comments
Labels: enhancement

#130 - Build Failing due to psalm update

Issue - State: open - Opened by jarstelfox over 4 years ago - 3 comments

#129 - __callStatic: cache created Enum instances

Pull Request - State: closed - Opened by danielbeardsley over 4 years ago - 7 comments

#128 - Add isOneOf method

Issue - State: closed - Opened by carnage over 4 years ago - 2 comments
Labels: enhancement

#127 - Value passed to Enum::equals() can't be validated by static analysis

Issue - State: closed - Opened by enumag over 4 years ago - 7 comments

#126 - Enum could not be converted to int

Issue - State: closed - Opened by pferreirafabricio over 4 years ago - 1 comment
Labels: question

#125 - Resolves issue #124

Pull Request - State: closed - Opened by peter279k over 4 years ago - 9 comments

#124 - Psalm reports static code analysis error

Issue - State: closed - Opened by peter279k over 4 years ago - 1 comment

#123 - Add getKey() return type as string

Pull Request - State: closed - Opened by simPod over 4 years ago - 2 comments

#122 - Add yii2-enum package to docs

Pull Request - State: closed - Opened by KartaviK over 4 years ago - 1 comment

#121 - Ignore private constants

Pull Request - State: closed - Opened by MikkelPaulson over 4 years ago - 1 comment

#120 - PHP Enum ignores constant scope

Issue - State: closed - Opened by MikkelPaulson over 4 years ago - 3 comments

#119 - fix legacy use of words.

Pull Request - State: closed - Opened by Danack over 4 years ago - 1 comment

#118 - Can't access the value when calling the enum

Issue - State: closed - Opened by dydx-git over 4 years ago - 1 comment
Labels: question

#117 - Comparing Enums of different types should throw an exception

Issue - State: closed - Opened by willemstuursma over 4 years ago - 3 comments
Labels: question

#116 - Add "value-less" enumiration posibility

Pull Request - State: closed - Opened by SteadyUA over 4 years ago - 3 comments

#115 - Add docs on how to deal with phpstan types

Issue - State: closed - Opened by willemstuursma almost 5 years ago - 5 comments

#114 - Psalm: do not collide with doctrine templates

Pull Request - State: closed - Opened by jarstelfox about 5 years ago - 1 comment
Labels: bug

#113 - Semantical error while parsing annotations between patch-versions

Issue - State: closed - Opened by trogwarz about 5 years ago - 6 comments

#112 - Clarify psalm types

Pull Request - State: closed - Opened by andyg0808 about 5 years ago - 4 comments
Labels: enhancement

#111 - Add static type checking!

Pull Request - State: closed - Opened by jarstelfox about 5 years ago - 7 comments
Labels: enhancement

#110 - Changed PHP from 7.4 beta to stable in TravisCI

Pull Request - State: closed - Opened by grogy about 5 years ago - 1 comment
Labels: enhancement

#109 - PHP Storm complains about unused private field CONSTANT_NAME

Issue - State: closed - Opened by raheelkhan over 5 years ago - 2 comments
Labels: question

#108 - Update Enum.php

Pull Request - State: closed - Opened by lilianjin over 5 years ago - 1 comment

#107 - Update Enum.php

Pull Request - State: closed - Opened by lilianjin over 5 years ago - 1 comment

#106 - add __invoke

Pull Request - State: closed - Opened by SolitudeSword over 5 years ago - 1 comment
Labels: invalid

#105 - Is there a better way of returning the enum value?

Issue - State: closed - Opened by dingo-d over 5 years ago - 3 comments
Labels: question

#104 - Unhandled ReflectionException

Issue - State: closed - Opened by xoinstein over 5 years ago - 1 comment

#103 - Add the ability to have title case formatted labels

Pull Request - State: closed - Opened by remotelyliving over 5 years ago - 1 comment
Labels: enhancement

#102 - Add the ability to have title case formatted labels

Pull Request - State: closed - Opened by remotelyliving over 5 years ago

#101 - Adds own toString() method

Pull Request - State: closed - Opened by fruit over 5 years ago - 1 comment
Labels: enhancement

#100 - __toString() returns the enum's name, the documentation suggests otherwise.

Issue - State: closed - Opened by leroy over 5 years ago - 3 comments

#99 - Add support for phpstorm

Issue - State: open - Opened by zmitic over 5 years ago

#98 - Update .gitattributes

Pull Request - State: closed - Opened by willemstuursma over 5 years ago - 1 comment

#97 - Solution for construct enum from inherited enum with incompatible value

Pull Request - State: closed - Opened by KartaviK over 5 years ago - 1 comment
Labels: bug

#96 - Fix yaml array style and add php7.4-beta for tests

Pull Request - State: closed - Opened by KartaviK over 5 years ago - 1 comment

#95 - Construction of enum object with invalid value is possible

Issue - State: closed - Opened by slepic over 5 years ago - 6 comments
Labels: bug

#94 - Implement "valueOf()" method

Pull Request - State: closed - Opened by mbezhanov over 5 years ago - 5 comments
Labels: enhancement

#93 - [Feature Request] Method to retrieve human readable name for numeric enums

Issue - State: closed - Opened by stevebauman over 5 years ago - 2 comments
Labels: enhancement

#92 - Implement Enum Interface

Issue - State: closed - Opened by pascal-eberhard almost 6 years ago - 7 comments

#91 - In the example "private const VIEW = 'view';" cannot be accessed via "Action::VIEW"

Issue - State: closed - Opened by woodongwong almost 6 years ago - 8 comments
Labels: question

#90 - Add a comparator to help with writing tests

Pull Request - State: closed - Opened by willemstuursma almost 6 years ago - 7 comments
Labels: enhancement

#89 - Change minimum PHP version to 7.1

Pull Request - State: closed - Opened by jmsfwk almost 6 years ago - 1 comment

#88 - Add return type declaration for "equals()" method

Pull Request - State: closed - Opened by jacek-foremski almost 6 years ago - 4 comments
Labels: enhancement

#87 - Change "equals()" method to accept anything as a parameter

Pull Request - State: closed - Opened by jacek-foremski almost 6 years ago - 4 comments
Labels: enhancement

#86 - Compatibility with php-ds/ext-ds

Issue - State: closed - Opened by jacek-foremski almost 6 years ago - 11 comments
Labels: enhancement

#85 - Update PHP requirement for using private keyword

Pull Request - State: closed - Opened by drmonkeyninja about 6 years ago - 1 comment

#76 - Adding getValues for the only the values of the enum

Pull Request - State: closed - Opened by allamgr over 6 years ago - 5 comments

#75 - Prefix all function calls with a backspace

Pull Request - State: closed - Opened by willemstuursma over 6 years ago - 4 comments
Labels: enhancement

#70 - Drop support for unsupported PHP versions

Issue - State: closed - Opened by shadowhand almost 7 years ago - 7 comments

#66 - isValid() returns false for a valid value?

Issue - State: closed - Opened by ChrisTucker2000 almost 7 years ago - 4 comments

#65 - Most methods do not consider constants with same values.

Issue - State: open - Opened by keithmifsud about 7 years ago - 6 comments

#50 - Serializable default

Pull Request - State: closed - Opened by peter-gribanov almost 8 years ago - 2 comments

#48 - Fix method equals is incorrect working

Pull Request - State: closed - Opened by peter-gribanov almost 8 years ago - 1 comment