| 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 | /_view_fragments/voltron/pull_requests/show/:user_id/:repository/:id/pull_request_layout(.:format) |
| route-controller | voltron_pull_requests_fragments |
| route-action | pull_request_layout |
| fetch-nonce | v2:8d4f2ce7-e016-dbb1-3366-79ba7ae25519 |
| current-catalog-service-hash | ae870bc5e265a340912cde392f23dad3671a0a881730ffdadd82f2f57d81641b |
| request-id | 9AE6:20DDCE:4FC8F0:6AC65E:6B062166 |
| html-safe-nonce | ada0ce58d59a1f422e85860e6c910ee11dedf166e3cce43c451a40497c0f3015 |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiI5QUU2OjIwRERDRTo0RkM4RjA6NkFDNjVFOjZCMDYyMTY2IiwidmlzaXRvcl9pZCI6IjMxMDY4ODMwMjM3NjU1ODk1MCIsInJlZ2lvbl9lZGdlIjoiaWFkIiwicmVnaW9uX3JlbmRlciI6ImlhZCJ9 |
| visitor-hmac | 2cd87a033992bbb89cca8cf2a82b9a4e7b22c18644fd22622f68838aa22ffe75 |
| hovercard-subject-tag | pull_request:3284286820 |
| 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 | ///voltron/pull_requests_fragments/pull_request_layout |
| fb:app_id | 1401488693436528 |
| apple-itunes-app | app-id=1477376905, app-argument=https://github.com/_view_fragments/voltron/pull_requests/show/kestrel-code/phpdotenv/2/pull_request_layout |
| twitter:image | https://opengraph.githubassets.com/e8a3c590633479da1252f5ccbc3c56746f994c9cee32aa5dbd06128e22565d19/kestrel-code/phpdotenv/pull/2 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/e8a3c590633479da1252f5ccbc3c56746f994c9cee32aa5dbd06128e22565d19/kestrel-code/phpdotenv/pull/2 |
| og:image:alt | NoteMedium Risk
Changes validation semantics by allowing missing variables to bypass certain assertions, which could hide configuration mistakes if callers switch from required() to ifPresent(). Ot... |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | iyang-pythnon |
| hostname | github.com |
| expected-hostname | github.com |
| None | 9a7c5824b75ea2ec5e3de73a483229c7bb9f32a774ffd401f010dd9bacf1483d |
| turbo-cache-control | no-cache |
| go-import | github.com/kestrel-code/phpdotenv git https://github.com/kestrel-code/phpdotenv.git |
| octolytics-dimension-user_id | 256286338 |
| octolytics-dimension-user_login | kestrel-code |
| octolytics-dimension-repository_id | 1154855972 |
| octolytics-dimension-repository_nwo | kestrel-code/phpdotenv |
| octolytics-dimension-repository_public | true |
| octolytics-dimension-repository_is_fork | true |
| octolytics-dimension-repository_parent_id | 7769432 |
| octolytics-dimension-repository_parent_nwo | phpdotenv/phpdotenv |
| octolytics-dimension-repository_network_root_id | 7769432 |
| octolytics-dimension-repository_network_root_nwo | phpdotenv/phpdotenv |
| turbo-body-classes | logged-out env-production page-responsive |
| disable-turbo | false |
| browser-stats-url | https://api.github.com/_private/browser/stats |
| browser-errors-url | https://api.github.com/_private/browser/errors |
| release | b25c3080e84402f75431d8dc7a96b2635219cec7 |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
| react-app-name | pull-requests |
| Skip to content | https://github.com/kestrel-code/phpdotenv/pull/2#start-of-content |
| https://github.com/ |
| Sign in | https://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fkestrel-code%2Fphpdotenv%2Fpull%2F2 |
| 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%2Fkestrel-code%2Fphpdotenv%2Fpull%2F2 |
| 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%2Fvoltron%2Fpull_requests_fragments%2Fpull_request_layout&source=header-repo&source_repo=kestrel-code%2Fphpdotenv |
| Reload | https://github.com/kestrel-code/phpdotenv/pull/2 |
| Reload | https://github.com/kestrel-code/phpdotenv/pull/2 |
| Reload | https://github.com/kestrel-code/phpdotenv/pull/2 |
| kestrel-code | https://github.com/kestrel-code |
| phpdotenv | https://github.com/kestrel-code/phpdotenv |
| Code | https://github.com/kestrel-code/phpdotenv |
| Pull requests2 (2) | https://github.com/kestrel-code/phpdotenv/pulls |
| Actions | https://github.com/kestrel-code/phpdotenv/actions |
| Projects | https://github.com/kestrel-code/phpdotenv/projects |
| Security and quality | https://github.com/kestrel-code/phpdotenv/security |
| Insights | https://github.com/kestrel-code/phpdotenv/insights |
| https://github.com/kestrel-code/phpdotenv |
| iyang-pythnon | https://github.com/iyang-pythnon |
| base-add-ifpresent-validator-r-11722390 | https://github.com/kestrel-code/phpdotenv/tree/base-add-ifpresent-validator-r-11722390 |
| iyang-pythnon/add-ifpresent-validator-r-11722390 | https://github.com/kestrel-code/phpdotenv/tree/iyang-pythnon/add-ifpresent-validator-r-11722390 |
| Conversation | https://github.com/kestrel-code/phpdotenv/pull/2 |
| Commits1 (1) | https://github.com/kestrel-code/phpdotenv/pull/2/commits |
| Checks | https://github.com/kestrel-code/phpdotenv/pull/2/checks |
| Files changed | https://github.com/kestrel-code/phpdotenv/pull/2/files |
| add ifPresent validator to skip missing vars | https://github.com/kestrel-code/phpdotenv/pull/2#top |
| iyang-pythnon | https://github.com/iyang-pythnon |
| base-add-ifpresent-validator-r-11722390 | https://github.com/kestrel-code/phpdotenv/tree/base-add-ifpresent-validator-r-11722390 |
| iyang-pythnon/add-ifpresent-validator-r-11722390 | https://github.com/kestrel-code/phpdotenv/tree/iyang-pythnon/add-ifpresent-validator-r-11722390 |
|
| https://github.com/iyang-pythnon |
| iyang-pythnon | https://github.com/iyang-pythnon |
| Feb 14, 2026 | https://github.com/kestrel-code/phpdotenv/pull/2#issue-3941040359 |
| Please reload this page | https://github.com/kestrel-code/phpdotenv/pull/2 |
| Cursor Bugbot | https://cursor.com/dashboard?tab=bugbot |
| f656e8b | https://github.com/kestrel-code/phpdotenv/commit/f656e8b0099c436275f56c87193108411f593325 |
| here | https://cursor.com/dashboard?tab=bugbot |
| Please reload this page | https://github.com/kestrel-code/phpdotenv/pull/2 |
|
| https://github.com/iyang-pythnon |
| add ifPresent validator to skip missing vars | https://github.com/kestrel-code/phpdotenv/pull/2/commits/f656e8b0099c436275f56c87193108411f593325 |
| f656e8b | https://github.com/kestrel-code/phpdotenv/pull/2/commits/f656e8b0099c436275f56c87193108411f593325 |
| https://github.com/apps/cursor |
| cursor | https://github.com/apps/cursor |
|
Feb 14, 2026
| https://github.com/kestrel-code/phpdotenv/pull/2#pullrequestreview-3801496161 |
|
View reviewed changes
| https://github.com/kestrel-code/phpdotenv/pull/2/files/f656e8b0099c436275f56c87193108411f593325 |
| cursor | https://github.com/apps/cursor |
| https://github.com/kestrel-code/phpdotenv/pull/2#pullrequestreview-3801496161 |
| Learn more | https://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment |
| Cursor dashboard | https://www.cursor.com/dashboard?tab=bugbot |
| Please reload this page | https://github.com/kestrel-code/phpdotenv/pull/2 |
| src/Validator.php | https://github.com/kestrel-code/phpdotenv/pull/2/files/f656e8b0099c436275f56c87193108411f593325#diff-9dad0f0dabc730596b3399e6fe25aed903dba8bc7836fe778fce387cf9f3e111 |
| cursor | https://github.com/apps/cursor |
| Feb 14, 2026 | https://github.com/kestrel-code/phpdotenv/pull/2#discussion_r2807322229 |
| Learn more | https://docs.github.com/articles/managing-disruptive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Q2ZGYyZGI0NzRlMSIsImVuY3J5cHRpb25LZXkiOiI4Sy0xWldOVUthOTF5ZW9PR2NXSzhlN1VjenNlZFQ3SDB5OFdfNVA4ZGlzIiwiYnJhbmNoIjoiaXlhbmctcHl0aG5vbi9hZGQtaWZwcmVzZW50LXZhbGlkYXRvci1yLTExNzIyMzkwIiwicmVwb093bmVyIjoia2VzdHJlbC1jb2RlIiwicmVwb05hbWUiOiJwaHBkb3RlbnYiLCJwck51bWJlciI6MiwiY29tbWl0U2hhIjoiZjY1NmU4YjAwOTljNDM2Mjc1ZjU2Yzg3MTkzMTA4NDExZjU5MzMyNSIsInByb3ZpZGVyIjoiZ2l0aHViIn0sImlhdCI6MTc3MTA2NDg3MCwiZXhwIjoxNzczNjU2ODcwfQ.QaqyIkGGPc4GhOTw8lHdrSR6FpwQnx_z891-1wXNdwWHGkOmAMzBc-OSPIM4gz0cncl5ky9YZgL4aZj7LB1iOceY4JvuAaH-2mWrhOBhS1TRDO57KMmFDaOuyJamFq3_3faLLFfs7z6Hl3MDnO4KEJM6E3tFvoqru5dKUhXo0BbyH4Oe3eSVTQdZFzMx6-YMfTaeI-HBGFim9eGVbXBybCY3lUpTlrcy-Bs10p4fMU3SOjhlNxS9ArHWGAVF7I6ZcMBIpswVBdTluVxYVE2GWOQTQBmzzW8ZsReXujmABpr5d-NIHMEA5TgjmFHNrSyS5242pRSb5d-7mIgbKg4AOA |
| Please reload this page | https://github.com/kestrel-code/phpdotenv/pull/2 |
| https://github.co/hiddenchars |
| https://github.com/kestrel-code/phpdotenv/pull/{{ revealButtonHref }} |
| Sign up for free | https://github.com/join?source=comment-repo |
| Sign in to comment | https://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fkestrel-code%2Fphpdotenv%2Fpull%2F2 |
|
| https://github.com/apps/cursor |
|
cursor[bot]
| https://github.com/apps/cursor |
|
| https://github.com/kestrel-code/phpdotenv/pull/2/files/f656e8b0099c436275f56c87193108411f593325 |
| Please reload this page | https://github.com/kestrel-code/phpdotenv/pull/2 |
| Please reload this page | https://github.com/kestrel-code/phpdotenv/pull/2 |
|
| https://github.com/iyang-pythnon |
|
| 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 |