You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
// Use the `Coveralls` class to write the JSON coverage into a file
Coveralls::write([
'coverage' => $coverage,
'file' => $this->commandLine()->get('coverage-coveralls'),
'service_name' => 'travis-ci',
'service_job_id' => getenv('TRAVIS_JOB_ID') ?: null
]);
The following error is produced upon compiling:
PHP Fatal error: Uncaught Error: Call to a member function export()
I traced the code through the specs and it seems the issue is due to a given Exporters write method wanting to take an instantiated Collector object as an input 'collector' option.
The text was updated successfully, but these errors were encountered:
Using
kahlan@3.1.4
and given the following snippet from https://kahlan.github.io/docs/config-file.html:The following error is produced upon compiling:
I traced the code through the specs and it seems the issue is due to a given
Exporter
swrite
method wanting to take an instantiatedCollector
object as an input'collector'
option.The text was updated successfully, but these errors were encountered: