mirror of
https://github.com/egulias/EmailValidator.git
synced 2026-09-02 13:41:55 +00:00
Compare commits
6 Commits
| Author | SHA1 | Date | |
|---|---|---|---|
| 9ede2f8795 | |||
| 013f386b49 | |||
| 2d5d7a034a | |||
| 2f210503cd | |||
| d2580184a4 | |||
| f31e565efd |
@@ -8,9 +8,6 @@ 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
|
||||
@@ -20,9 +17,8 @@ jobs:
|
||||
run: mkdir -p build/coverage
|
||||
|
||||
- name: Download clover.xml artifact
|
||||
uses: dawidd6/action-download-artifact@v7
|
||||
uses: actions/download-artifact@v3
|
||||
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 DNS record was found for this email';
|
||||
return 'No MX or A DSN 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(sprintf('Unable to get DNS record for the host: %s', $errorMessage));
|
||||
throw new \RuntimeException("Unable to get DNS record for the host: $errorMessage");
|
||||
}
|
||||
);
|
||||
try {
|
||||
|
||||
Reference in New Issue
Block a user