| 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:4b47d4b6-059c-eb6c-7005-48fd5c1ae605 |
| current-catalog-service-hash | ae870bc5e265a340912cde392f23dad3671a0a881730ffdadd82f2f57d81641b |
| request-id | B60E:3E191E:2D0A03:3D8714:6B006A3C |
| html-safe-nonce | f5c8eed7b045075ea265204d0997d42aff11215bc0ec0d549142993ed5a2de20 |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJCNjBFOjNFMTkxRToyRDBBMDM6M0Q4NzE0OjZCMDA2QTNDIiwidmlzaXRvcl9pZCI6IjcyNTgwOTQ3MjAyNTYwNzYzNDgiLCJyZWdpb25fZWRnZSI6ImlhZCIsInJlZ2lvbl9yZW5kZXIiOiJpYWQifQ== |
| visitor-hmac | ebbd86dff20da04112e1681fae9742727bb4203d7669e104d074921417a74c8a |
| hovercard-subject-tag | pull_request:1436096506 |
| 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/202/files |
| twitter:image | https://avatars.githubusercontent.com/u/1292337?s=400&v=4 |
| twitter:card | summary_large_image |
| og:image | https://avatars.githubusercontent.com/u/1292337?s=400&v=4 |
| og:image:alt | This PR adds support for comments inside type definitions, e.g.:
/** @return array { // Array with comments.
* // Comments can be placed on their own line.
* foo: string, // An array key... |
| og:site_name | GitHub |
| og:type | object |
| hostname | github.com |
| expected-hostname | github.com |
| None | 6527e91c60c0b29d16606ff32ac5df8ecdc37a2a62205ea057a14d7762c870fa |
| 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 | 46f1cd2ae3cd8ae1a81019b5d619742e76f13bbd |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
| Skip to content | https://github.com/phpstan/phpdoc-parser/pull/202/files#start-of-content |
| https://github.com/ |
| Sign in | https://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fphpstan%2Fphpdoc-parser%2Fpull%2F202%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%2F202%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/202/files |
| Reload | https://github.com/phpstan/phpdoc-parser/pull/202/files |
| Reload | https://github.com/phpstan/phpdoc-parser/pull/202/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 |
| rhertogh | https://github.com/rhertogh |
| phpstan:1.22.x | https://github.com/phpstan/phpdoc-parser/tree/1.22.x |
| rhertogh:support_one_line_comments | https://github.com/rhertogh/phpstan-phpdoc-parser/tree/support_one_line_comments |
|
Conversation
8
| https://github.com/phpstan/phpdoc-parser/pull/202 |
|
Commits
2
| https://github.com/phpstan/phpdoc-parser/pull/202/commits |
|
Checks
0
| https://github.com/phpstan/phpdoc-parser/pull/202/checks |
|
Files changed
| https://github.com/phpstan/phpdoc-parser/pull/202/files |
| Please reload this page | https://github.com/phpstan/phpdoc-parser/pull/202/files |
|
Support "one-line" comments (starting with //)
| https://github.com/phpstan/phpdoc-parser/pull/202/files#top |
|
Show all changes
2 commits
| https://github.com/phpstan/phpdoc-parser/pull/202/files |
|
e80305e
Support "one-line" comments (starting with //)
rhertogh Jul 15, 2023
| https://github.com/phpstan/phpdoc-parser/pull/202/commits/e80305ead957e2f12a56b091c26ac4b7bb719c2c |
|
5b055b1
Fixed coding standards and linting for 'support "one-line" comments' …
rhertogh Jul 15, 2023
| https://github.com/phpstan/phpdoc-parser/pull/202/commits/5b055b1591575384db1753491f5fa7f915c21007 |
|
Clear filters
| https://github.com/phpstan/phpdoc-parser/pull/202/files |
| Please reload this page | https://github.com/phpstan/phpdoc-parser/pull/202/files |
| Please reload this page | https://github.com/phpstan/phpdoc-parser/pull/202/files |
|
TokenIterator.php
| https://github.com/phpstan/phpdoc-parser/pull/202/files#diff-62d19c66cc22434f96724388acd962198a200c0c0ced48aeace88157ae658586 |
|
TypeParser.php
| https://github.com/phpstan/phpdoc-parser/pull/202/files#diff-8310d893400b80c480ffe6d8b59b25a546791c2bb8c6eb03454869d14aecf666 |
|
TypeParserTest.php
| https://github.com/phpstan/phpdoc-parser/pull/202/files#diff-1f8ca9548d16a6ae6a38225df681a13d39762d18ad9d8b65a21fa6b141a76192 |
| src/Parser/TokenIterator.php | https://github.com/phpstan/phpdoc-parser/pull/202/files#diff-62d19c66cc22434f96724388acd962198a200c0c0ced48aeace88157ae658586 |
|
View file
| https://github.com/rhertogh/phpstan-phpdoc-parser/blob/5b055b1591575384db1753491f5fa7f915c21007/src/Parser/TokenIterator.php |
|
Open in desktop
| https://desktop.github.com |
| https://github.co/hiddenchars |
| https://github.com/phpstan/phpdoc-parser/pull/202/{{ revealButtonHref }} |
|
| https://github.com/phpstan/phpdoc-parser/pull/202/files#diff-62d19c66cc22434f96724388acd962198a200c0c0ced48aeace88157ae658586 |
|
| https://github.com/phpstan/phpdoc-parser/pull/202/files#diff-62d19c66cc22434f96724388acd962198a200c0c0ced48aeace88157ae658586 |
|
| https://github.com/phpstan/phpdoc-parser/pull/202/files#diff-62d19c66cc22434f96724388acd962198a200c0c0ced48aeace88157ae658586 |
| src/Parser/TypeParser.php | https://github.com/phpstan/phpdoc-parser/pull/202/files#diff-8310d893400b80c480ffe6d8b59b25a546791c2bb8c6eb03454869d14aecf666 |
|
View file
| https://github.com/rhertogh/phpstan-phpdoc-parser/blob/5b055b1591575384db1753491f5fa7f915c21007/src/Parser/TypeParser.php |
|
Open in desktop
| https://desktop.github.com |
| https://github.co/hiddenchars |
| https://github.com/phpstan/phpdoc-parser/pull/202/{{ revealButtonHref }} |
|
| https://github.com/phpstan/phpdoc-parser/pull/202/files#diff-8310d893400b80c480ffe6d8b59b25a546791c2bb8c6eb03454869d14aecf666 |
|
| https://github.com/phpstan/phpdoc-parser/pull/202/files#diff-8310d893400b80c480ffe6d8b59b25a546791c2bb8c6eb03454869d14aecf666 |
| tests/PHPStan/Parser/TypeParserTest.php | https://github.com/phpstan/phpdoc-parser/pull/202/files#diff-1f8ca9548d16a6ae6a38225df681a13d39762d18ad9d8b65a21fa6b141a76192 |
|
View file
| https://github.com/rhertogh/phpstan-phpdoc-parser/blob/5b055b1591575384db1753491f5fa7f915c21007/tests/PHPStan/Parser/TypeParserTest.php |
|
Open in desktop
| https://desktop.github.com |
| https://github.co/hiddenchars |
| https://github.com/phpstan/phpdoc-parser/pull/202/{{ revealButtonHref }} |
|
| https://github.com/phpstan/phpdoc-parser/pull/202/files#diff-1f8ca9548d16a6ae6a38225df681a13d39762d18ad9d8b65a21fa6b141a76192 |
|
| https://github.com/phpstan/phpdoc-parser/pull/202/files#diff-1f8ca9548d16a6ae6a38225df681a13d39762d18ad9d8b65a21fa6b141a76192 |
|
| 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 |