Skip to content

decimal-int-string and non-decimal-int-string#5279

Draft
ondrejmirtes wants to merge 1 commit into2.2.xfrom
decimal-int-string
Draft

decimal-int-string and non-decimal-int-string#5279
ondrejmirtes wants to merge 1 commit into2.2.xfrom
decimal-int-string

Conversation

@ondrejmirtes
Copy link
Member

No description provided.

@phpstan-bot
Copy link
Collaborator

You've opened the pull request against the latest branch 2.2.x. PHPStan 2.2 is not going to be released for months. If your code is relevant on 2.1.x and you want it to be released sooner, please rebase your pull request and change its target to 2.1.x.

*
* @api
*/
class AccessoryDecimalIntegerStringType implements CompoundType, AccessoryType
Copy link
Contributor

@staabm staabm Mar 23, 2026

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

in a followup we might use this new accessory for regex type inference for [0-9], :digit: or \d

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants