Skip to content

Conversation

mtarld
Copy link
Contributor

@mtarld mtarld commented Aug 21, 2025

Q A
Branch? 7.4
Bug fix? no
New feature? yes
Deprecations? no
Issues Fix #61302
License MIT

Add support for custom extra type aliases.

When using Symfony as a framework, they can be defined as follows:

framework:
    type_info:
        aliases:
            CustomAlias: int

@carsonbot carsonbot added this to the 7.4 milestone Aug 21, 2025
@mtarld mtarld force-pushed the feat/type-info-custom-type-aliases branch from e6a8bf5 to 90d6e1e Compare August 21, 2025 07:44
@mtarld mtarld force-pushed the feat/type-info-custom-type-aliases branch from 90d6e1e to 2be7e06 Compare August 21, 2025 10:29
@fabpot
Copy link
Member

fabpot commented Aug 22, 2025

Thank you @mtarld.

@fabpot fabpot merged commit 32b347f into symfony:7.4 Aug 22, 2025
11 of 12 checks passed
@mtarld mtarld deleted the feat/type-info-custom-type-aliases branch August 22, 2025 07:30
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

[PropertyInfo] PhpStanExtractor does not support phpstan.neon-defined aliases
5 participants