Skip to content

Use Civi::$statics instead of php static

DaveD requested to merge DaveD/cdntaxreceipts:static-cling into master

This was driving me nuts trying to figure out why a test was failing. In tests, static vars carry over between tests. Using Civi::$statics it gets cleared between tests but otherwise functions the same.

Merge request reports

Loading