Compare commits

..

6 Commits

Author SHA1 Message Date
Eduardo Gulias Davis 9ede2f8795 polish 2024-12-27 23:42:49 +01:00
Eduardo Gulias Davis 013f386b49 polish 2024-12-27 23:24:59 +01:00
Eduardo Gulias Davis 2d5d7a034a Fix action usage 2024-12-27 23:24:59 +01:00
Eduardo Gulias Davis 2f210503cd improve workflow 2024-12-27 23:24:58 +01:00
Eduardo Gulias Davis d2580184a4 polish 2024-12-27 23:13:48 +01:00
Eduardo Gulias Davis f31e565efd Polish 2024-12-27 22:56:31 +01:00
3 changed files with 3 additions and 7 deletions
+1 -5
View File
@@ -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
+1 -1
View File
@@ -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';
}
}
+1 -1
View File
@@ -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 {