Skip to content

[TEST ONLY] Avoid hundreds of E_NOTICES

DaveD requested to merge DaveD/cdntaxreceipts:file-exists into master

This is the same fix as in the original drupal bootstrap file.

Unsilenced deprecation notices (135)

  135x: file_exists(): Passing null to parameter #1 ($filename) of type string is deprecated
    15x in AggregateTest::testAggregateTaxReceipt from Civi\Cdntaxreceipts\Tests\Mink
    15x in CustomTemplateTest::testCustomTemplate from Civi\Cdntaxreceipts\Tests\Mink
    15x in IssueTest::testIssueTaxReceipt from Civi\Cdntaxreceipts\Tests\Mink
    15x in IssueTest::testIssueTaxReceiptPrint from Civi\Cdntaxreceipts\Tests\Mink
    15x in IssueTest::testIssueTaxReceiptEmail from Civi\Cdntaxreceipts\Tests\Mink
    ...

Merge request reports

Loading