Skip to content
Navigation Menu
Sign in
Appearance settings
Platform
AI CODE CREATION
GitHub Copilot
Write better code with AI
GitHub Copilot app
Direct agents from issue to merge
MCP Registry
Integrate external tools
DEVELOPER WORKFLOWS
Actions
Automate any workflow
Codespaces
Instant dev environments
Issues
Plan and track work
Code Review
Manage code changes
Code Quality
Enforce quality at merge
APPLICATION SECURITY
GitHub Advanced Security
Find and fix vulnerabilities
Code security
Secure your code as you build
Secret protection
Stop leaks before they start
EXPLORE
Why GitHub
Documentation
Blog
Changelog
Marketplace
View all features
Solutions
BY COMPANY SIZE
Enterprises
Small and medium teams
Startups
Nonprofits
BY USE CASE
App Modernization
DevSecOps
DevOps
CI/CD
View all use cases
BY INDUSTRY
Healthcare
Financial services
Manufacturing
Government
See all industries
View all solutions
Resources
EXPLORE BY TOPIC
AI
Software Development
DevOps
Security
View all topics
EXPLORE BY TYPE
Customer stories
Events & webinars
Ebooks & reports
Business insights
GitHub Skills
SUPPORT & SERVICES
Documentation
Customer support
Community forum
Trust center
Partners
View all resources
Open Source
COMMUNITY
GitHub Sponsors
Fund open source developers
PROGRAMS
Security Lab
Maintainer Community
GitHub Stars
Archive Program
REPOSITORIES
Topics
Trending
Collections
Enterprise
ENTERPRISE SOLUTIONS
Enterprise platform
AI-powered developer platform
AVAILABLE ADD-ONS
GitHub Advanced Security
Enterprise-grade security features
Copilot for Business
Enterprise-grade AI features
Premium Support
Enterprise-grade 24/7 support
Pricing
Search
/
Sign in
Sign up
Appearance settings
You signed in with another tab or window.
Reload
to refresh your session.
You signed out in another tab or window.
Reload
to refresh your session.
You switched accounts on another tab or window.
Reload
to refresh your session.
Dismiss alert
{{ message }}
14code
phpdotenv
Repository navigation
Code
Pull requests
Actions
Projects
Security and quality
Insights
More
items
Commits
Breadcrumbs
History for
phpdotenv
tests
on
2.2
User selector
All users
Datepicker
All time
Commit history
Commits on Apr 15, 2016
Update DotenvTest.php
GrahamCampbell
committed
840442c
View commit details
Copy full SHA for 840442c
View code at this point
Browse repository at this point
Commits on Jan 17, 2016
Declare test properties
lucasmichot
committed
4717b9a
View commit details
Copy full SHA for 4717b9a
View code at this point
Browse repository at this point
Use stricter and proper assertions
lucasmichot
committed
1a46a50
View commit details
Copy full SHA for 1a46a50
View code at this point
Browse repository at this point
Commits on Dec 29, 2015
Upgraded phpunit config
GrahamCampbell
committed
39aa82d
View commit details
Copy full SHA for 39aa82d
View code at this point
Browse repository at this point
Cleaned up tests
GrahamCampbell
committed
719eaff
View commit details
Copy full SHA for 719eaff
View code at this point
Browse repository at this point
Commits on Nov 19, 2015
Moved brace onto new line
GrahamCampbell
committed
101d5d7
View commit details
Copy full SHA for 101d5d7
View code at this point
Browse repository at this point
CS fixes
GrahamCampbell
committed
bd27bb7
View commit details
Copy full SHA for bd27bb7
View code at this point
Browse repository at this point
Commits on Oct 28, 2015
Add test for validation without loading file
vlucas
committed
63884da
View commit details
Copy full SHA for 63884da
View code at this point
Browse repository at this point
Commits on Aug 18, 2015
Merge pull request #107 from thedavidmeister/clear-variables
Show description for 4c619d3
vlucas
committed
4c619d3
View commit details
Copy full SHA for 4c619d3
View code at this point
Browse repository at this point
Merge pull request #115 from localheinz/fix/fields
Show description for be54cd7
vlucas
committed
be54cd7
View commit details
Copy full SHA for be54cd7
View code at this point
Browse repository at this point
Commits on Aug 17, 2015
Fix: Assert that InvalidArgumentException is thrown
localheinz
committed
4f6095e
View commit details
Copy full SHA for 4f6095e
View code at this point
Browse repository at this point
Fix: Do not declare fields dynamically
localheinz
committed
c3cbf81
View commit details
Copy full SHA for c3cbf81
View code at this point
Browse repository at this point
Commits on Jul 28, 2015
fix php 5.3 tests
thedavidmeister
committed
1a3e04c
View commit details
Copy full SHA for 1a3e04c
View code at this point
Browse repository at this point
Commits on Jul 26, 2015
no message
thedavidmeister
committed
689bf39
View commit details
Copy full SHA for 689bf39
View code at this point
Browse repository at this point
lint
thedavidmeister
committed
cfc63f1
View commit details
Copy full SHA for cfc63f1
View code at this point
Browse repository at this point
added a few more tests to check for environment variable clearing
thedavidmeister
committed
85da4d7
View commit details
Copy full SHA for 85da4d7
View code at this point
Browse repository at this point
ability to clear environment variables, with tests
thedavidmeister
committed
cdf6ee0
View commit details
Copy full SHA for cdf6ee0
View code at this point
Browse repository at this point
Commits on Jul 14, 2015
Fix load being called after overload. Add test case to cover.
louim
committed
4926322
View commit details
Copy full SHA for 4926322
View code at this point
Browse repository at this point
Commits on Jul 13, 2015
Move loader creation to the constructor
Show description for 631e266
louim
committed
631e266
View commit details
Copy full SHA for 631e266
View code at this point
Browse repository at this point
Commits on May 31, 2015
Improved the tests
Show description for 1487c5a
xjchengo
authored and
Graham Campbell
committed
1487c5a
View commit details
Copy full SHA for 1487c5a
View code at this point
Browse repository at this point
Commits on May 30, 2015
Various fixes
Graham Campbell
committed
9106429
View commit details
Copy full SHA for 9106429
View code at this point
Browse repository at this point
Commits on May 29, 2015
Initial v2.0 version (for really reals this time)
vlucas
committed
2f5b1bf
View commit details
Copy full SHA for 2f5b1bf
View code at this point
Browse repository at this point
Commits on Feb 19, 2015
set to immutable at beginning of test
Ultrabenosaurus
committed
3489ed9
View commit details
Copy full SHA for 3489ed9
View code at this point
Browse repository at this point
add function to expose current status of the $immutable variable
Ultrabenosaurus
committed
51b53ca
View commit details
Copy full SHA for 51b53ca
View code at this point
Browse repository at this point
Commits on Oct 16, 2014
Revert fix for #26 as it is a breaking change
vlucas
committed
56c252d
View commit details
Copy full SHA for 56c252d
View code at this point
Browse repository at this point
Allow special characters including $ signs
Show description for 4cbefdf
kelvinj
committed
4cbefdf
View commit details
Copy full SHA for 4cbefdf
View code at this point
Browse repository at this point
Commits on Oct 14, 2014
Fix #26 - Required ENV vars should not be empty
Show description for 647711d
vlucas
committed
647711d
View commit details
Copy full SHA for 647711d
View code at this point
Browse repository at this point
Support comments in .env file
motin
committed
6d432d0
View commit details
Copy full SHA for 6d432d0
View code at this point
Browse repository at this point
Commits on May 22, 2014
Some control over immutability
Kelvin Jones
committed
5e44343
View commit details
Copy full SHA for 5e44343
View code at this point
Browse repository at this point
Add allowed values and nested variables
Show description for 37d6f60
Kelvin Jones
committed
37d6f60
View commit details
Copy full SHA for 37d6f60
View code at this point
Browse repository at this point
Commits on Feb 4, 2014
Don't overwrite existing environment variables.
Show description for e6819e3
pda
committed
e6819e3
View commit details
Copy full SHA for e6819e3
View code at this point
Browse repository at this point
Commits on Jan 24, 2014
adding new test for the trimmed keys
Chris Cornutt
committed
6782fb5
View commit details
Copy full SHA for 6782fb5
View code at this point
Browse repository at this point
adding example to the fixture with spaces around the equals
Chris Cornutt
committed
55c65af
View commit details
Copy full SHA for 55c65af
View code at this point
Browse repository at this point
Commits on Jan 17, 2014
Defaults non-string values for $file back to '.env'
deefour
committed
4553c33
View commit details
Copy full SHA for 4553c33
View code at this point
Browse repository at this point
Commits on Oct 23, 2013
Correctly parse env strings that contain = symbols
shuber
committed
7657853
View commit details
Copy full SHA for 7657853
View code at this point
Browse repository at this point
Previous
Next
You can’t perform that action at this time.