mirror of
https://github.com/egulias/EmailValidator.git
synced 2026-09-07 08:37:17 +00:00
Compare commits
9 Commits
| Author | SHA1 | Date | |
|---|---|---|---|
| c9be65c290 | |||
| d164dab97f | |||
| e67aa7abef | |||
| d3a88ef157 | |||
| 3bd9c8c802 | |||
| 8be1dae097 | |||
| dcf8f79c41 | |||
| e30356b45e | |||
| 229560066e |
@@ -8,6 +8,9 @@ on:
|
||||
jobs:
|
||||
upload:
|
||||
runs-on: ubuntu-latest
|
||||
if: >
|
||||
github.event.workflow_run.event == 'pull_request' &&
|
||||
github.event.workflow_run.conclusion == 'success'
|
||||
strategy:
|
||||
fail-fast: true
|
||||
name: upload-coverage
|
||||
@@ -17,8 +20,9 @@ jobs:
|
||||
run: mkdir -p build/coverage
|
||||
|
||||
- name: Download clover.xml artifact
|
||||
uses: actions/download-artifact@v3
|
||||
uses: dawidd6/action-download-artifact@v7
|
||||
with:
|
||||
workflow: unit-tests
|
||||
name: clover.xml
|
||||
path: build/coverage
|
||||
|
||||
|
||||
@@ -11,6 +11,6 @@ class NoDNSRecord implements Reason
|
||||
|
||||
public function description() : string
|
||||
{
|
||||
return 'No MX or A DSN record was found for this email';
|
||||
return 'No MX or A DNS record was found for this email';
|
||||
}
|
||||
}
|
||||
|
||||
@@ -15,7 +15,7 @@ class DNSGetRecordWrapper
|
||||
// A workaround to fix https://bugs.php.net/bug.php?id=73149
|
||||
set_error_handler(
|
||||
static function (int $errorLevel, string $errorMessage): never {
|
||||
throw new \RuntimeException("Unable to get DNS record for the host: $errorMessage");
|
||||
throw new \RuntimeException(sprintf('Unable to get DNS record for the host: %s', $errorMessage));
|
||||
}
|
||||
);
|
||||
try {
|
||||
|
||||
Reference in New Issue
Block a user