This is a list of changes from 1.3.1.
- PHP5.4 not support
- The return value of getSendAt method of event class has become DateTimeImmutable
- ReporterInterface to Reporter
- ReflectionInterface to Reflection
- AdaptorInterface to Adaptor
- Driver to AnalyzerDriver
- DriverInterface.php to Driver
- Event to AbstractEvent
- EventInterface to Event
- SectionInterface to Section
- ResultNodeInterface to ResultNode
- CodeCoverageResultInterface to CodeCoverageResult
- LineResultInterface to LineCountResult
- CoverageResultInterface to CoverageResultNode
- CoverageResultVisitorInterface to CoverageResultVisitor
- WriterInterface to Writer
- ResultConsoleWriterInterface to ResultWriter
- ConsoleWriterInterface to StdoutWriter
- CollectionInterface to Collection
- SpecificationInterface to Specification
- AnalyzeLifeCycleNotifierAwareInterface to AnalyzeLifeCycleNotifierAware
- AnalyzeLifeCycleNotifierInterface to LifeCycleNotifier
- Analyzer to CoverageAnalyzer
- AnalyzerInterface to ReportableAnalyzer
- AbstractTypeResultInterface to AbstractTypeResultNode
- CoverageResultCollectionInterface to CoverageResultNodeCollection
- Remove LineResultCollectionInterface
- StartEventLister to AnalyzeStartEventLister
- StopEventLister to AnalyzeStopEventLister
- StartEvent to AnalyzeStartEvent
- StopEvent to AnalyzeStopEvent
- InitEvent to InitializeEvent
- Add FinalizeEvent
- Result to AnalyzedCoverageResult
- Configuration to AnalyzerConfiguration
- Upgrade peridot-temporary-plugin ~0.3 to ~0.4
- Reporter bugfix
- TextReporter
- TreeReporter
- peridot-expectation to peridot-expect-plugin
- Driver detector bugfix
- Upgrade yosymfony/toml (v3.0)
- Remove ReflectionInterface::assembleBy method
- Add cloak\reflection\LineResultSelectable interface
- Add cloak\reflection\collectionResultCollectionConvertible interface
- Changed reporter colors
- before
- critical - yellow
- warning - normal(white)
- satisfactory - green
- after
- critical - red
- warning - yellow
- satisfactory - green
- before
- Remove Analyzer::factory method
- Support init event for reporter
- Changed the format of the configuration file.
- Added the report section
[report] reportDirectory = "./tmp" [report.coverageBounds] satisfactory = 70.0 critical = 35.0
- Removed the option of text reporter and tree reporter.
- Removed critical option
- Removed satisfactory option
- Changed the outputFilePath of lcov reporter and markdown reporter to fileName.
- Added the report section
- Changed MarkdownReporter of format
- Add satisfactory, critical on the setting of the MarkdownReporter
- Bug fixes coverage of calculation logic
- Fixed output result of TreeReporter
- Changed parameter name of TreeReporter and TextReporter
- before
highLowerBound = 70.0 lowUpperBound = 35.0
- after
satisfactory = 70.0 critical = 35.0
-
Use of closure argument ConfigurationBuilder has changed
target methods: inclueFile, inclueFiles, excludeFile, excludeFiles
//before $builder->inclueFile(function(\cloak\result\File $file) { //do something });
//after $builder->inclueFile(function(\cloak\driver\result\FileResult $file) { //do something });
-
cloak\result\LineSet, cloak\result\LineSetInterface to LineResultCollection, LineResultCollectionInterface
-
cloak\result\Line to LineResult
-
cloak\result\File to FileResult
-
cloak\ConfigrationBuilder to cloak\configration\ConfigrationBuilder
-
cloak/DriverDetector to cloak/driver/DriverDetector
-
cloak/DriverDetectorInterface to cloak/driver/DriverDetectorInterface
-
cloak/DriverNotFoundException to cloak/driver/DriverNotFoundException
-
Support configuration file (toml format)
-
Support class, trait, method code coverage
- Add MarkdownReporter from cloak/markdown-reporter:1.0.2
- Add LcovReporter from cloak/lcov-reporter:1.1.4
- Change the output format of TextReporter.
- Change the output format of ProcessingTimeReporter.
- Add WriterInterface
- To the public from the protected selectLines method of class LineSet
- add ProcessingTimeReporter reporter
- cloak\result\Coverage to cloak\value\Coverage
- add cloak\result\LineSet class
- add cloak\value\LineRange class
- Remove addLine, removeLine, setLines method from File class
- The renamed to getLineResults the getLines method of the File class
- The renamed to value the valueOf method of the Coverage class
- add methods to Result class
- getLineCount
- getDeadLineCount
- getUnusedLineCount
- getExecutedLineCount
- getExecutableLineCount
- getCodeCoverage
- isCoverageLessThan
- isCoverageGreaterEqual
- Remove class and interface
- Report
- ReportInterface,
- ReportFactoryInterface
- TextReportFactory
- add ReportFactoryInterface, TextReportFactory
- add Report or ReportInterface
- EventInterface to StartEventInterface