cabc842f52
`config/queue.php` reads `env('QUEUE_CONNECTION', 'sync')` since the
Laravel Shift in v6.0.0 (commit cc3c59bf97), but seven .env templates
and phpunit.xml still set `QUEUE_DRIVER` — the old Laravel <5.7 name
that the framework no longer reads. The default is `sync` anyway so
the gap is silent; but anyone copying these templates and trying to
enable an async driver (redis, database, beanstalkd, sqs) finds their
setting silently ignored.
Rename across:
- .env.example
- .env.docker
- .env.dev.docker
- .env.dusk.example
- docker/docker-secrets.env
- docker/docker.env
- phpunit.xml (XML <env> tag)
No code change. Default value `sync` preserved everywhere.
---
Disclosure: drafted with a coding agent's help.
Signed-off-by: Sebastian Mendel <info@sebastianmendel.de>
36 lines
1.2 KiB
XML
36 lines
1.2 KiB
XML
<?xml version="1.0" encoding="UTF-8"?>
|
|
<phpunit xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
|
|
backupGlobals="false"
|
|
backupStaticProperties="false"
|
|
bootstrap="bootstrap/autoload.php"
|
|
cacheDirectory=".phpunit.cache"
|
|
colors="true"
|
|
processIsolation="false"
|
|
stopOnFailure="false"
|
|
xsi:noNamespaceSchemaLocation="https://schema.phpunit.de/10.5/phpunit.xsd"
|
|
>
|
|
<testsuites>
|
|
<testsuite name="Unit">
|
|
<directory suffix="Test.php">./tests/Unit</directory>
|
|
</testsuite>
|
|
<testsuite name="Feature">
|
|
<directory suffix="Test.php">./tests/Feature</directory>
|
|
</testsuite>
|
|
</testsuites>
|
|
<php>
|
|
<env name="APP_ENV" value="testing"/>
|
|
<env name="BCRYPT_ROUNDS" value="4"/>
|
|
<env name="CACHE_DRIVER" value="array"/>
|
|
<env name="MAIL_FROM_ADDR" value="app@example.com"/>
|
|
<env name="MAIL_MAILER" value="array"/>
|
|
<env name="QUEUE_CONNECTION" value="sync"/>
|
|
<env name="SESSION_DRIVER" value="array"/>
|
|
<ini name="display_errors" value="true"/>
|
|
</php>
|
|
<source>
|
|
<include>
|
|
<directory suffix=".php">app/</directory>
|
|
</include>
|
|
</source>
|
|
</phpunit>
|