| react-profiling | 0 |
| react-import-map | react,react-dom,react-dom/client,react-dom/profiling,react-is,react/compiler-runtime,react/jsx-dev-runtime,react/jsx-runtime,scheduler@b8488ee2c322 |
| route-pattern | /:user_id/:repository/pull/:id/files(.:format) |
| route-controller | pull_requests |
| route-action | files |
| fetch-nonce | v2:8abaa115-5c61-3e50-a8fb-a2dbbcb87915 |
| current-catalog-service-hash | ae870bc5e265a340912cde392f23dad3671a0a881730ffdadd82f2f57d81641b |
| request-id | D58C:A69D:E8741:144B2B:6B00637C |
| html-safe-nonce | ac641c62d00d535e96619d888f95732c91db4085122267ce5a4ebd374d8c3a3b |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJENThDOkE2OUQ6RTg3NDE6MTQ0QjJCOjZCMDA2MzdDIiwidmlzaXRvcl9pZCI6IjE5OTgwNjU3MTQ3MDcwNjM2NzYiLCJyZWdpb25fZWRnZSI6ImlhZCIsInJlZ2lvbl9yZW5kZXIiOiJpYWQifQ== |
| visitor-hmac | 210b45a20e0d9fce638ef0356821a20dabae47e466e8cd82f76b243b5c1254fd |
| hovercard-subject-tag | pull_request:5200620825 |
| github-keyboard-shortcuts | repository,pull-request-list,pull-request-conversation,pull-request-files-changed,copilot |
| google-site-verification | Apib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I |
| octolytics-url | https://collector.github.com/github/collect |
| analytics-location | ///pull_requests/show/files |
| fb:app_id | 1401488693436528 |
| apple-itunes-app | app-id=1477376905, app-argument=https://github.com/phpstan/phpdoc-parser/pull/342/files |
| twitter:image | https://avatars.githubusercontent.com/u/310134?s=400&v=4 |
| twitter:card | summary_large_image |
| og:image | https://avatars.githubusercontent.com/u/310134?s=400&v=4 |
| og:image:alt | This makes a global constant name written with asterisks parse, the way Foo::BAR_* already does for class constants:
/** @param PHP_ROUND_* $mode */
/** @param E_*_ERROR $level */
/** @return \Foo\... |
| og:site_name | GitHub |
| og:type | object |
| hostname | github.com |
| expected-hostname | github.com |
| None | 25854482a1773a7c1ebb8be3d2bc1c6e61d82d78126be63b5044474a86d44d9e |
| turbo-cache-control | no-preview |
| diff-view | unified |
| go-import | github.com/phpstan/phpdoc-parser git https://github.com/phpstan/phpdoc-parser.git |
| octolytics-dimension-user_id | 16435710 |
| octolytics-dimension-user_login | phpstan |
| octolytics-dimension-repository_id | 111290081 |
| octolytics-dimension-repository_nwo | phpstan/phpdoc-parser |
| octolytics-dimension-repository_public | true |
| octolytics-dimension-repository_is_fork | false |
| octolytics-dimension-repository_network_root_id | 111290081 |
| octolytics-dimension-repository_network_root_nwo | phpstan/phpdoc-parser |
| turbo-body-classes | logged-out env-production page-responsive full-width |
| disable-turbo | true |
| browser-stats-url | https://api.github.com/_private/browser/stats |
| browser-errors-url | https://api.github.com/_private/browser/errors |
| release | e4f5c239e31f1f680e6bbc419ff92d774da616ec |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
| Skip to content | https://github.com/phpstan/phpdoc-parser/pull/342/files#start-of-content |
| https://github.com/ |
| Sign in | https://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fphpstan%2Fphpdoc-parser%2Fpull%2F342%2Ffiles |
| GitHubRepository hosting, code review, and collaboration | https://github.com/platform |
| CopilotAI coding agent for tasks, projects, and automated work | https://github.com/features/copilot |
| ActionsCI/CD and automation | https://github.com/features/actions |
| Code QualityQuality analysis, fixes, and enforcement | https://github.com/features/code-quality |
| CodespacesCloud development environments | https://github.com/features/codespaces |
| Code SecurityVulnerability detection and remediation | https://github.com/security/advanced-security/code-security |
| Secret ProtectionSecret scanning and leak prevention | https://github.com/security/advanced-security/secret-protection |
| All Features | https://github.com/features |
| Documentation | https://docs.github.com/en |
| Training | https://learn.github.com/skills |
| Certifications | https://learn.github.com/credentials |
| Build with Copilot | https://github.com/features/ai |
| Customize Copilot | https://docs.github.com/en/copilot/how-tos/copilot-on-github/customize-copilot/customize-copilot-overview |
| Integrations | https://github.com/marketplace |
| Trending repos | https://github.com/trending |
| GitHub Sponsors | https://github.com/open-source/sponsors |
| Developer articles | https://github.com/resources/articles |
| ChangelogYour source for the latest features, improvements, and fixes across GitHub products, all in one place. | https://github.blog/changelog/ |
| Enterprises | https://github.com/enterprise |
| Team | https://github.com/team |
| Startups | https://github.com/enterprise/startups |
| Nonprofits | https://github.com/solutions/industry/nonprofits |
| Healthcare | https://github.com/solutions/industry/healthcare |
| Financial services | https://github.com/solutions/industry/financial-services |
| Manufacturing | https://github.com/solutions/industry/manufacturing |
| Government | https://github.com/solutions/industry/government |
| See all industries | https://github.com/solutions/industry |
| Why GitHub | https://github.com/why-github |
| Customer Stories | https://github.com/customer-stories |
| Business insights | https://github.com/solutions/executive-insights |
| Trust Center | https://github.com/trust-center |
| GitHub Advanced SecurityEnterprise-grade code security | https://github.com/security/advanced-security |
| Copilot for businessEnterprise-grade AI features | https://github.com/features/copilot/copilot-business |
| Premium SupportEnterprise-grade 24/7 support | https://github.com/enterprise/premium-support |
| Documentation | https://docs.github.com/en |
| Resource center | https://github.com/resources |
| Blog | https://github.blog/ |
| Events & webinars | https://github.com/resources/events |
| Community Forum | https://github.com/orgs/community/discussions |
| Customer Stories | https://github.com/customer-stories |
| Integrations | https://github.com/marketplace |
| Customer support | https://help.github.com/ |
| Training | https://learn.github.com/skills |
| GitHub Status | https://www.githubstatus.com/ |
| About | https://github.com/about |
| Partners | https://github.com/partners |
| Changelog | https://github.blog/changelog/ |
| GitHub UniverseThe event for developers, by developers — talks, workshops, and what’s next for GitHub. | https://githubuniverse.com/ |
| Pricing | https://github.com/pricing |
| Sign in | https://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fphpstan%2Fphpdoc-parser%2Fpull%2F342%2Ffiles |
| Sign up | https://github.com/signup?ref_cta=Sign+up&ref_loc=header+logged+out&ref_page=%2F%3Cuser-name%3E%2F%3Crepo-name%3E%2Fpull_requests%2Fshow%2Ffiles&source=header-repo&source_repo=phpstan%2Fphpdoc-parser |
| Reload | https://github.com/phpstan/phpdoc-parser/pull/342/files |
| Reload | https://github.com/phpstan/phpdoc-parser/pull/342/files |
| Reload | https://github.com/phpstan/phpdoc-parser/pull/342/files |
| phpstan | https://github.com/phpstan |
| phpdoc-parser | https://github.com/phpstan/phpdoc-parser |
| Code | https://github.com/phpstan/phpdoc-parser |
| Issues7 (7) | https://github.com/phpstan/phpdoc-parser/issues |
| Pull requests14 (14) | https://github.com/phpstan/phpdoc-parser/pulls |
| Actions | https://github.com/phpstan/phpdoc-parser/actions |
| Projects | https://github.com/phpstan/phpdoc-parser/projects |
| Security and quality | https://github.com/phpstan/phpdoc-parser/security |
| Insights | https://github.com/phpstan/phpdoc-parser/insights |
| Sign up for GitHub
| https://github.com/signup?return_to=%2Fphpstan%2Fphpdoc-parser%2Fissues%2Fnew%2Fchoose |
| terms of service | https://docs.github.com/terms |
| privacy statement | https://docs.github.com/privacy |
| Sign in | https://github.com/login?return_to=%2Fphpstan%2Fphpdoc-parser%2Fissues%2Fnew%2Fchoose |
| gnutix | https://github.com/gnutix |
| phpstan:2.4.x | https://github.com/phpstan/phpdoc-parser/tree/2.4.x |
| gnutix:global-constant-wildcard | https://github.com/gnutix/phpdoc-parser/tree/global-constant-wildcard |
|
Conversation
0
| https://github.com/phpstan/phpdoc-parser/pull/342 |
|
Commits
1
| https://github.com/phpstan/phpdoc-parser/pull/342/commits |
|
Checks
66
| https://github.com/phpstan/phpdoc-parser/pull/342/checks |
|
Files changed
| https://github.com/phpstan/phpdoc-parser/pull/342/files |
| Please reload this page | https://github.com/phpstan/phpdoc-parser/pull/342/files |
|
Read a global constant name written with asterisks, like PHP_ROUND_*
| https://github.com/phpstan/phpdoc-parser/pull/342/files#top |
|
Show all changes
1 commit
| https://github.com/phpstan/phpdoc-parser/pull/342/files |
|
af5bf68
Read a global constant name written with asterisks, like PHP_ROUND_*
gnutix Nov 7, 2026
| https://github.com/phpstan/phpdoc-parser/pull/342/commits/af5bf68eb20bf346e5981efb6921f179b45c28b0 |
|
Clear filters
| https://github.com/phpstan/phpdoc-parser/pull/342/files |
| Please reload this page | https://github.com/phpstan/phpdoc-parser/pull/342/files |
| Please reload this page | https://github.com/phpstan/phpdoc-parser/pull/342/files |
|
common.pp3
| https://github.com/phpstan/phpdoc-parser/pull/342/files#diff-647e91bccaddd0379d8d91480e8685f4c0e86b329b692553148c8e6cd968f7e5 |
|
const-expr.pp3
| https://github.com/phpstan/phpdoc-parser/pull/342/files#diff-bdee93e4c9418da80ce9a08ca9d39916e098097dcb5890dd6d343ee56f309a92 |
|
lexemes.pp3
| https://github.com/phpstan/phpdoc-parser/pull/342/files#diff-93b6d461d0b8eb78821bb237e832caef260dea2fe058dce97dee3e456e9e80bd |
|
phpdoc-block.pp3
| https://github.com/phpstan/phpdoc-parser/pull/342/files#diff-722bc867edc20b1657631b7c400aa7874be542c879e8d3c9c3c7ee71641b13e5 |
|
types.pp3
| https://github.com/phpstan/phpdoc-parser/pull/342/files#diff-f259a7d40d2b83e3845c59b4ff877a2300b4b33546599bd23024dbcba08b273b |
|
ConstExprParser.php
| https://github.com/phpstan/phpdoc-parser/pull/342/files#diff-514ddc8d56a466794034a6f8bc9a2a362b7e54b32b19780fe1250da9b2160b59 |
|
TypeParser.php
| https://github.com/phpstan/phpdoc-parser/pull/342/files#diff-8310d893400b80c480ffe6d8b59b25a546791c2bb8c6eb03454869d14aecf666 |
|
ConstExprParserTest.php
| https://github.com/phpstan/phpdoc-parser/pull/342/files#diff-d99fdddb3aefbbb0b3822f554f90d05288179e39240f3a8aa5958abbac8a6554 |
|
PhpDocParserTest.php
| https://github.com/phpstan/phpdoc-parser/pull/342/files#diff-5cc1a53e00eecd3aeaf4078368df775c6bffed83cc67d13bcd0cc81cd9b39eae |
|
TypeParserTest.php
| https://github.com/phpstan/phpdoc-parser/pull/342/files#diff-1f8ca9548d16a6ae6a38225df681a13d39762d18ad9d8b65a21fa6b141a76192 |
|
Generator.php
| https://github.com/phpstan/phpdoc-parser/pull/342/files#diff-a4f95af3d85ed2f2f2171b607d50125233e111a1f866fd54a3695114f305f92c |
|
TokenStream.php
| https://github.com/phpstan/phpdoc-parser/pull/342/files#diff-07e3d434d656be75373549dfe2db2d49a18643811adc6813af8b5b0197556ac8 |
| doc/grammars/common.pp3 | https://github.com/phpstan/phpdoc-parser/pull/342/files#diff-647e91bccaddd0379d8d91480e8685f4c0e86b329b692553148c8e6cd968f7e5 |
|
View file
| https://github.com/phpstan/phpdoc-parser/blob/af5bf68eb20bf346e5981efb6921f179b45c28b0/doc/grammars/common.pp3 |
|
Open in desktop
| https://desktop.github.com |
| https://github.co/hiddenchars |
| https://github.com/phpstan/phpdoc-parser/pull/342/{{ revealButtonHref }} |
|
| https://github.com/phpstan/phpdoc-parser/pull/342/files#diff-647e91bccaddd0379d8d91480e8685f4c0e86b329b692553148c8e6cd968f7e5 |
|
| https://github.com/phpstan/phpdoc-parser/pull/342/files#diff-647e91bccaddd0379d8d91480e8685f4c0e86b329b692553148c8e6cd968f7e5 |
| doc/grammars/const-expr.pp3 | https://github.com/phpstan/phpdoc-parser/pull/342/files#diff-bdee93e4c9418da80ce9a08ca9d39916e098097dcb5890dd6d343ee56f309a92 |
|
View file
| https://github.com/phpstan/phpdoc-parser/blob/af5bf68eb20bf346e5981efb6921f179b45c28b0/doc/grammars/const-expr.pp3 |
|
Open in desktop
| https://desktop.github.com |
| https://github.co/hiddenchars |
| https://github.com/phpstan/phpdoc-parser/pull/342/{{ revealButtonHref }} |
|
| https://github.com/phpstan/phpdoc-parser/pull/342/files#diff-bdee93e4c9418da80ce9a08ca9d39916e098097dcb5890dd6d343ee56f309a92 |
|
| https://github.com/phpstan/phpdoc-parser/pull/342/files#diff-bdee93e4c9418da80ce9a08ca9d39916e098097dcb5890dd6d343ee56f309a92 |
| doc/grammars/lexemes.pp3 | https://github.com/phpstan/phpdoc-parser/pull/342/files#diff-93b6d461d0b8eb78821bb237e832caef260dea2fe058dce97dee3e456e9e80bd |
|
View file
| https://github.com/phpstan/phpdoc-parser/blob/af5bf68eb20bf346e5981efb6921f179b45c28b0/doc/grammars/lexemes.pp3 |
|
Open in desktop
| https://desktop.github.com |
| https://github.co/hiddenchars |
| https://github.com/phpstan/phpdoc-parser/pull/342/{{ revealButtonHref }} |
|
| https://github.com/phpstan/phpdoc-parser/pull/342/files#diff-93b6d461d0b8eb78821bb237e832caef260dea2fe058dce97dee3e456e9e80bd |
|
| https://github.com/phpstan/phpdoc-parser/pull/342/files#diff-93b6d461d0b8eb78821bb237e832caef260dea2fe058dce97dee3e456e9e80bd |
| doc/grammars/phpdoc-block.pp3 | https://github.com/phpstan/phpdoc-parser/pull/342/files#diff-722bc867edc20b1657631b7c400aa7874be542c879e8d3c9c3c7ee71641b13e5 |
|
View file
| https://github.com/phpstan/phpdoc-parser/blob/af5bf68eb20bf346e5981efb6921f179b45c28b0/doc/grammars/phpdoc-block.pp3 |
|
Open in desktop
| https://desktop.github.com |
| https://github.co/hiddenchars |
| https://github.com/phpstan/phpdoc-parser/pull/342/{{ revealButtonHref }} |
|
| https://github.com/phpstan/phpdoc-parser/pull/342/files#diff-722bc867edc20b1657631b7c400aa7874be542c879e8d3c9c3c7ee71641b13e5 |
|
| https://github.com/phpstan/phpdoc-parser/pull/342/files#diff-722bc867edc20b1657631b7c400aa7874be542c879e8d3c9c3c7ee71641b13e5 |
| doc/grammars/types.pp3 | https://github.com/phpstan/phpdoc-parser/pull/342/files#diff-f259a7d40d2b83e3845c59b4ff877a2300b4b33546599bd23024dbcba08b273b |
|
View file
| https://github.com/phpstan/phpdoc-parser/blob/af5bf68eb20bf346e5981efb6921f179b45c28b0/doc/grammars/types.pp3 |
|
Open in desktop
| https://desktop.github.com |
| https://github.co/hiddenchars |
| https://github.com/phpstan/phpdoc-parser/pull/342/{{ revealButtonHref }} |
|
| https://github.com/phpstan/phpdoc-parser/pull/342/files#diff-f259a7d40d2b83e3845c59b4ff877a2300b4b33546599bd23024dbcba08b273b |
|
| https://github.com/phpstan/phpdoc-parser/pull/342/files#diff-f259a7d40d2b83e3845c59b4ff877a2300b4b33546599bd23024dbcba08b273b |
|
| https://github.com/phpstan/phpdoc-parser/pull/342/files#diff-f259a7d40d2b83e3845c59b4ff877a2300b4b33546599bd23024dbcba08b273b |
|
| https://github.com/phpstan/phpdoc-parser/pull/342/files#diff-f259a7d40d2b83e3845c59b4ff877a2300b4b33546599bd23024dbcba08b273b |
|
| https://github.com/phpstan/phpdoc-parser/pull/342/files#diff-f259a7d40d2b83e3845c59b4ff877a2300b4b33546599bd23024dbcba08b273b |
| src/Parser/ConstExprParser.php | https://github.com/phpstan/phpdoc-parser/pull/342/files#diff-514ddc8d56a466794034a6f8bc9a2a362b7e54b32b19780fe1250da9b2160b59 |
|
View file
| https://github.com/phpstan/phpdoc-parser/blob/af5bf68eb20bf346e5981efb6921f179b45c28b0/src/Parser/ConstExprParser.php |
|
Open in desktop
| https://desktop.github.com |
| https://github.co/hiddenchars |
| https://github.com/phpstan/phpdoc-parser/pull/342/{{ revealButtonHref }} |
|
| https://github.com/phpstan/phpdoc-parser/pull/342/files#diff-514ddc8d56a466794034a6f8bc9a2a362b7e54b32b19780fe1250da9b2160b59 |
|
| https://github.com/phpstan/phpdoc-parser/pull/342/files#diff-514ddc8d56a466794034a6f8bc9a2a362b7e54b32b19780fe1250da9b2160b59 |
|
| https://github.com/phpstan/phpdoc-parser/pull/342/files#diff-514ddc8d56a466794034a6f8bc9a2a362b7e54b32b19780fe1250da9b2160b59 |
|
| https://github.com/phpstan/phpdoc-parser/pull/342/files#diff-514ddc8d56a466794034a6f8bc9a2a362b7e54b32b19780fe1250da9b2160b59 |
| src/Parser/TypeParser.php | https://github.com/phpstan/phpdoc-parser/pull/342/files#diff-8310d893400b80c480ffe6d8b59b25a546791c2bb8c6eb03454869d14aecf666 |
|
View file
| https://github.com/phpstan/phpdoc-parser/blob/af5bf68eb20bf346e5981efb6921f179b45c28b0/src/Parser/TypeParser.php |
|
Open in desktop
| https://desktop.github.com |
| https://github.co/hiddenchars |
| https://github.com/phpstan/phpdoc-parser/pull/342/{{ revealButtonHref }} |
|
| https://github.com/phpstan/phpdoc-parser/pull/342/files#diff-8310d893400b80c480ffe6d8b59b25a546791c2bb8c6eb03454869d14aecf666 |
|
| https://github.com/phpstan/phpdoc-parser/pull/342/files#diff-8310d893400b80c480ffe6d8b59b25a546791c2bb8c6eb03454869d14aecf666 |
|
| https://github.com/phpstan/phpdoc-parser/pull/342/files#diff-8310d893400b80c480ffe6d8b59b25a546791c2bb8c6eb03454869d14aecf666 |
|
| https://github.com/phpstan/phpdoc-parser/pull/342/files#diff-8310d893400b80c480ffe6d8b59b25a546791c2bb8c6eb03454869d14aecf666 |
|
| https://github.com/phpstan/phpdoc-parser/pull/342/files#diff-8310d893400b80c480ffe6d8b59b25a546791c2bb8c6eb03454869d14aecf666 |
|
| https://github.com/phpstan/phpdoc-parser/pull/342/files#diff-8310d893400b80c480ffe6d8b59b25a546791c2bb8c6eb03454869d14aecf666 |
| tests/PHPStan/Parser/ConstExprParserTest.php | https://github.com/phpstan/phpdoc-parser/pull/342/files#diff-d99fdddb3aefbbb0b3822f554f90d05288179e39240f3a8aa5958abbac8a6554 |
|
View file
| https://github.com/phpstan/phpdoc-parser/blob/af5bf68eb20bf346e5981efb6921f179b45c28b0/tests/PHPStan/Parser/ConstExprParserTest.php |
|
Open in desktop
| https://desktop.github.com |
| https://github.co/hiddenchars |
| https://github.com/phpstan/phpdoc-parser/pull/342/{{ revealButtonHref }} |
|
| https://github.com/phpstan/phpdoc-parser/pull/342/files#diff-d99fdddb3aefbbb0b3822f554f90d05288179e39240f3a8aa5958abbac8a6554 |
| tests/PHPStan/Parser/PhpDocParserTest.php | https://github.com/phpstan/phpdoc-parser/pull/342/files#diff-5cc1a53e00eecd3aeaf4078368df775c6bffed83cc67d13bcd0cc81cd9b39eae |
|
View file
| https://github.com/phpstan/phpdoc-parser/blob/af5bf68eb20bf346e5981efb6921f179b45c28b0/tests/PHPStan/Parser/PhpDocParserTest.php |
|
Open in desktop
| https://desktop.github.com |
| https://github.co/hiddenchars |
| https://github.com/phpstan/phpdoc-parser/pull/342/{{ revealButtonHref }} |
|
| https://github.com/phpstan/phpdoc-parser/pull/342/files#diff-5cc1a53e00eecd3aeaf4078368df775c6bffed83cc67d13bcd0cc81cd9b39eae |
|
| https://github.com/phpstan/phpdoc-parser/pull/342/files#diff-5cc1a53e00eecd3aeaf4078368df775c6bffed83cc67d13bcd0cc81cd9b39eae |
|
| https://github.com/phpstan/phpdoc-parser/pull/342/files#diff-5cc1a53e00eecd3aeaf4078368df775c6bffed83cc67d13bcd0cc81cd9b39eae |
|
| https://github.com/phpstan/phpdoc-parser/pull/342/files#diff-5cc1a53e00eecd3aeaf4078368df775c6bffed83cc67d13bcd0cc81cd9b39eae |
| Please reload this page | https://github.com/phpstan/phpdoc-parser/pull/342/files |
| Please reload this page | https://github.com/phpstan/phpdoc-parser/pull/342/files |
|
| https://github.com |
| Terms | https://docs.github.com/site-policy/github-terms/github-terms-of-service |
| Privacy | https://docs.github.com/site-policy/privacy-policies/github-privacy-statement |
| Security | https://github.com/security |
| Status | https://www.githubstatus.com/ |
| Community | https://github.community/ |
| Docs | https://docs.github.com/ |
| Contact | https://support.github.com?tags=dotcom-footer |