Skip to content
This repository has been archived by the owner on Aug 17, 2023. It is now read-only.

Commit

Permalink
::class
Browse files Browse the repository at this point in the history
  • Loading branch information
holyshared committed Apr 26, 2015
1 parent e2a16d6 commit 6b18d12
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 6 deletions.
7 changes: 4 additions & 3 deletions src/report/ParserRegistry.php
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,8 @@
namespace coverallskit\report;

use coverallskit\Registry;

use coverallskit\report\parser\CloverReportParser;
use coverallskit\report\parser\LcovReportParser;

/**
* Class ParserRegistry
Expand All @@ -28,8 +29,8 @@ class ParserRegistry
public function __construct()
{
$this->registry = new Registry();
$this->registry->register('clover', '\coverallskit\report\parser\CloverReportParser');
$this->registry->register('lcov', '\coverallskit\report\parser\LcovReportParser');
$this->registry->register('clover', CloverReportParser::class);
$this->registry->register('lcov', LcovReportParser::class);
}

/**
Expand Down
6 changes: 3 additions & 3 deletions src/report/lcov/RecordLexer.php
Original file line number Diff line number Diff line change
Expand Up @@ -33,9 +33,9 @@ class RecordLexer implements IteratorAggregate
* @var array
*/
private $recordTypes = [
'coverallskit\report\lcov\SourceFile',
'coverallskit\report\lcov\Coverage',
'coverallskit\report\lcov\EndOfRecord'
SourceFile::class,
Coverage::class,
EndOfRecord::class
];


Expand Down

0 comments on commit 6b18d12

Please sign in to comment.