Skip to content
Navigation Menu
Sign in
Appearance settings
Platform
AI CODE CREATION
GitHub Copilot
Write better code with AI
GitHub Copilot app
Direct agents from issue to merge
MCP Registry
Integrate external tools
DEVELOPER WORKFLOWS
Actions
Automate any workflow
Codespaces
Instant dev environments
Issues
Plan and track work
Code Review
Manage code changes
Code Quality
Enforce quality at merge
APPLICATION SECURITY
GitHub Advanced Security
Find and fix vulnerabilities
Code security
Secure your code as you build
Secret protection
Stop leaks before they start
EXPLORE
Why GitHub
Documentation
Blog
Changelog
Marketplace
View all features
Solutions
BY COMPANY SIZE
Enterprises
Small and medium teams
Startups
Nonprofits
BY USE CASE
App Modernization
DevSecOps
DevOps
CI/CD
View all use cases
BY INDUSTRY
Healthcare
Financial services
Manufacturing
Government
View all industries
View all solutions
Resources
EXPLORE BY TOPIC
AI
Software Development
DevOps
Security
View all topics
EXPLORE BY TYPE
Customer stories
Events & webinars
Ebooks & reports
Business insights
GitHub Skills
SUPPORT & SERVICES
Documentation
Customer support
Community forum
Trust center
Partners
View all resources
Open Source
COMMUNITY
GitHub Sponsors
Fund open source developers
PROGRAMS
Security Lab
Maintainer Community
GitHub Stars
Archive Program
REPOSITORIES
Topics
Trending
Collections
Enterprise
ENTERPRISE SOLUTIONS
Enterprise platform
AI-powered developer platform
AVAILABLE ADD-ONS
GitHub Advanced Security
Enterprise-grade security features
Copilot for Business
Enterprise-grade AI features
Premium Support
Enterprise-grade 24/7 support
Pricing
Search
/
Sign in
Sign up
Appearance settings
You signed in with another tab or window.
Reload
to refresh your session.
You signed out in another tab or window.
Reload
to refresh your session.
You switched accounts on another tab or window.
Reload
to refresh your session.
Dismiss alert
{{ message }}
Uh oh!
There was an error while loading.
Please reload this page
.
xp-framework
/
core
Public
Notifications
You must be signed in to change notification settings
Fork
6
Star
20
Code
Issues
1
Pull requests
1
Actions
Projects
Wiki
Security and quality
0
Insights
Additional navigation options
Code
Issues
Pull requests
Actions
Projects
Wiki
Security and quality
Insights
Add enum_exists() as well as UnitEnum and BackedEnum interfaces
- #261
#261
Merged
thekid
merged 16 commits into
xp-framework:master
xp-framework/core:master
from
thekid:feature/php-enums-fc
thekid/core:feature/php-enums-fc
Copy head branch name to clipboard
Mar 10, 2021
Conversation
Commits
16
(16)
Checks
Files changed
Merged
Add enum_exists() as well as UnitEnum and BackedEnum interfaces
#261
thekid
merged 16 commits into
xp-framework:master
xp-framework/core:master
from
thekid:feature/php-enums-fc
thekid/core:feature/php-enums-fc
Copy head branch name to clipboard
Commits
Commits on Mar 8, 2021
Add enum_exists() as well as UnitEnum and BackedEnum interfaces
Show description for 6b16182
thekid
committed
6b16182
View commit details
Copy full SHA for 6b16182
Browse repository at this point
Add back IDisposable
thekid
committed
131d90d
View commit details
Copy full SHA for 131d90d
Browse repository at this point
Rename lang.Enum -> lang.XPEnum
Show description for c6a4a26
thekid
committed
c6a4a26
View commit details
Copy full SHA for c6a4a26
Browse repository at this point
Commits on Mar 9, 2021
Adjust to renaming of Enum -> XPEnum
Show description for 32cb6aa
thekid
committed
32cb6aa
View commit details
Copy full SHA for 32cb6aa
Browse repository at this point
Fix missing Enum -> XPEnum renaming
thekid
committed
cec61c9
View commit details
Copy full SHA for cec61c9
Browse repository at this point
Commits on Mar 10, 2021
Revert "Fix missing Enum -> XPEnum renaming"
Show description for 762855f
thekid
committed
762855f
View commit details
Copy full SHA for 762855f
Browse repository at this point
Revert "Adjust to renaming of Enum -> XPEnum"
Show description for 6c875c7
thekid
committed
6c875c7
View commit details
Copy full SHA for 6c875c7
Browse repository at this point
Revert "Rename lang.Enum -> lang.XPEnum"
Show description for 5fb21e0
thekid
committed
5fb21e0
View commit details
Copy full SHA for 5fb21e0
Browse repository at this point
Recognize PHP 8.1 enums in XPClass::isEnum()
thekid
committed
2cd3fc8
View commit details
Copy full SHA for 2cd3fc8
Browse repository at this point
QA: Use "_" notation for test names
thekid
committed
9db5f87
View commit details
Copy full SHA for 9db5f87
Browse repository at this point
Change Enum::valuesOf() to return enum cases for PHP 8.1 enums
thekid
committed
7de743f
View commit details
Copy full SHA for 7de743f
Browse repository at this point
Change Enum::valueOf() to return enum cases for PHP 8.1 enums
thekid
committed
5bdff4f
View commit details
Copy full SHA for 5bdff4f
Browse repository at this point
Change Enum::valueOf() to return enum cases for PHP 8.1 enums
thekid
committed
6e1e615
View commit details
Copy full SHA for 6e1e615
Browse repository at this point
Fix Enum::valueOf() for PHP 8.1 enums when a non-existant value is given
thekid
committed
0d779ce
View commit details
Copy full SHA for 0d779ce
Browse repository at this point
Verify class parser handles T_ENUM tokens correctly
thekid
committed
7779d4b
View commit details
Copy full SHA for 7779d4b
Browse repository at this point
QA: Update references in class api doc
thekid
committed
0b96fa2
View commit details
Copy full SHA for 0b96fa2
Browse repository at this point
You can’t perform that action at this time.