-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Refactor socket handling & mailbox … and add tests!
- Loading branch information
1 parent
5a5305f
commit 5aa6870
Showing
133 changed files
with
5,516 additions
and
1,057 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,14 @@ | ||
## Log levels: | ||
# - Debug | ||
# - Info | ||
# - Notice | ||
# - Warning | ||
# - Error | ||
# - Critical | ||
# - Alert | ||
# - Emergency | ||
SMTP_LOG_LEVEL=debug | ||
SMTP_LOG_FILE="%kernel.project_dir%/var/log/smtp.log" | ||
SMTP_SPOOL_DIR="%kernel.project_dir%/var/spool" | ||
HTTP_LOG_LEVEL=debug | ||
HTTP_LOG_FILE="%kernel.project_dir%/var/log/http.log" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,5 @@ | ||
SMTP_LOG_LEVEL=debug | ||
SMTP_LOG_FILE="%kernel.project_dir%/var/test/smtp.log" | ||
SMTP_SPOOL_DIR="%kernel.project_dir%/var/test/spool" | ||
HTTP_LOG_LEVEL=debug | ||
HTTP_LOG_FILE="%kernel.project_dir%/var/test/http.log" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -2,6 +2,7 @@ | |
/vendor/ | ||
|
||
/composer.lock | ||
/.env.local | ||
/.php-cs-fixer.php | ||
/.php-cs-fixer.cache | ||
/phpunit.xml | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -13,4 +13,5 @@ | |
'@PhpCsFixer:risky' => true, | ||
]) | ||
->in('src') | ||
->in('tests') | ||
; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,17 @@ | ||
<?php | ||
|
||
declare(strict_types=1); | ||
|
||
use Symfony\Component\Dotenv\Dotenv; | ||
|
||
if (is_file(dirname(__DIR__) . '/vendor/autoload.php')) { | ||
$projectDir = dirname(__DIR__); | ||
require_once $projectDir . '/vendor/autoload.php'; | ||
} elseif (is_file(dirname(__DIR__, 3) . '/autoload.php')) { | ||
$projectDir = dirname(__DIR__, 3); | ||
require_once $projectDir . '/autoload.php'; | ||
} else { | ||
throw new LogicException('Composer autoload is missing. Try running "composer install".'); | ||
} | ||
|
||
(new DotEnv())->bootEnv("{$projectDir}/.env"); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,8 @@ | ||
<?php | ||
|
||
declare(strict_types=1); | ||
|
||
use Symfony\Config\SmtpDevServerConfig; | ||
|
||
return static function (SmtpDevServerConfig $serverConfig): void { | ||
}; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.