Fixed docblock spacing, added correct version numbers

This commit is contained in:
Patrik Foldes 2019-10-16 11:40:00 +03:00
parent 064dc4dc4c
commit e6ff6c07d8
1 changed files with 34 additions and 34 deletions

View File

@ -13,56 +13,56 @@ namespace
namespace pcov namespace pcov
{ {
/** /**
* (PHP &gt;= 7.0, PECL pcov &gt;= 1.0.0)<br/>
* Shall start recording coverage information * Shall start recording coverage information
* @return void * @return void
* @since 7.0
*/ */
function start () {} function start () {}
/** /**
* (PHP &gt;= 7.0, PECL pcov &gt;= 1.0.0)<br/>
* Shall stop recording coverage information * Shall stop recording coverage information
* @return void * @return void
* @since 7.0
*/ */
function stop() {} function stop() {}
/* /**
* Shall collect coverage information * (PHP &gt;= 7.0, PECL pcov &gt;= 1.0.0)<br/>
* @param int $type [optional] <p> * Shall collect coverage information
* pcov\all shall collect coverage information for all files * @param int $type [optional] <p>
* pcov\inclusive shall collect coverage information for the specified files * pcov\all shall collect coverage information for all files
* pcov\exclusive shall collect coverage information for all but the specified files * pcov\inclusive shall collect coverage information for the specified files
* </p> * pcov\exclusive shall collect coverage information for all but the specified files
* @param array $filenames [optional] <p> * </p>
* Note: paths in filter must be realpath * @param array $filenames [optional] <p>
* </p> * Note: paths in filter must be realpath
* @return array * </p>
* @since 7.0 * @return array
*/ */
function collect($type = all, $filter = []) {} function collect($type = all, $filter = []) {}
/* /**
* Shall clear stored information * (PHP &gt;= 7.0, PECL pcov &gt;= 1.0.0)<br/>
* @param bool $files [optional] <p> * Shall clear stored information
* set true to clear file tables * @param bool $files [optional] <p>
* Note: clearing the file tables may have surprising consequences * set true to clear file tables
* </p> * Note: clearing the file tables may have surprising consequences
* @return void * </p>
* @since 7.0 * @return void
*/ */
function clear($files = false) {} function clear($files = false) {}
/* /**
* Shall return list of files waiting to be collected * (PHP &gt;= 7.0, PECL pcov &gt;= 1.0.0)<br/>
* @return array * Shall return list of files waiting to be collected
* @since 7.0 * @return array
*/ */
function waiting() {} function waiting() {}
/* /**
* Shall return the current size of the trace and cfg arena * (PHP &gt;= 7.0, PECL pcov &gt;= 1.0.0)<br/>
* @return int * Shall return the current size of the trace and cfg arena
* @since 7.0 * @return int
*/ */
function memory() {} function memory() {}
} }