- Moves two general-topic paragraphs from "Retrieving Environment Configuration" sub-section into the main "Environment Configuration" section
- Adds a security note about committing .env files
- Adds a general note to clarify that .env files variables can be overridden by external environment variables
- Makes the "Retrieving Environment Configuration" sub-section linkable
- Adds a tip to the "Determining The Current Environment" sub-section to mention that the APP_ENV variable could be overridden at server-level configuration
With single quotes I get this error:
[Symfony\Component\Console\Exception\RuntimeException]
Too many arguments, expected arguments "command".
With double quotes it works fine.
Currently the indentation is, for the most part, tabs. However, some of the
indentation is spaces, and there doesn't seem to be a good reason for a
lot of this indentation switch.
For example, some of the indentation is only 3 spaces or 7 spaces instead of
4 or 8. This is even more inconsistent and has probably happened over time
as a result of PRs. This fixes inconsistencies such as that and makes
it 1 tab or 2 tabs.
This does not change specifically-spaced formatting to tabs, such as
aligning far-spaced -> in the queries markdown document and other
documents, meaning that ->'s are still perfectly aligned.
For example, the following is changed:
Old:
if (Auth::attempt(['email' => $email, 'password' => $password, 'active' => 1]))
{
// The user is active, not suspended, and exists.
}
New:
if (Auth::attempt(['email' => $email, 'password' => $password, 'active' => 1]))
{
// The user is active, not suspended, and exists.
}
Alternatively, the following is not changed:
DB::table('users')
->join('contacts', function($join)
{
$join->on('users.id', '=', 'contacts.user_id')
->where('contacts.user_id', '>', 5);
})
->get();
This is to preserve the formatting of -> alignment.