From e6ff6c07d8b61fdce11b01de0fe44450407b937e Mon Sep 17 00:00:00 2001 From: Patrik Foldes Date: Wed, 16 Oct 2019 11:40:00 +0300 Subject: [PATCH] Fixed docblock spacing, added correct version numbers --- pcov/pcov.php | 68 +++++++++++++++++++++++++-------------------------- 1 file changed, 34 insertions(+), 34 deletions(-) diff --git a/pcov/pcov.php b/pcov/pcov.php index a73f1685..b7c7ea04 100644 --- a/pcov/pcov.php +++ b/pcov/pcov.php @@ -13,56 +13,56 @@ namespace namespace pcov { /** + * (PHP >= 7.0, PECL pcov >= 1.0.0)
* Shall start recording coverage information * @return void - * @since 7.0 */ function start () {} /** + * (PHP >= 7.0, PECL pcov >= 1.0.0)
* Shall stop recording coverage information * @return void - * @since 7.0 */ function stop() {} - /* - * Shall collect coverage information - * @param int $type [optional]

- * pcov\all shall collect coverage information for all files - * pcov\inclusive shall collect coverage information for the specified files - * pcov\exclusive shall collect coverage information for all but the specified files - *

- * @param array $filenames [optional]

- * Note: paths in filter must be realpath - *

- * @return array - * @since 7.0 - */ + /** + * (PHP >= 7.0, PECL pcov >= 1.0.0)
+ * Shall collect coverage information + * @param int $type [optional]

+ * pcov\all shall collect coverage information for all files + * pcov\inclusive shall collect coverage information for the specified files + * pcov\exclusive shall collect coverage information for all but the specified files + *

+ * @param array $filenames [optional]

+ * Note: paths in filter must be realpath + *

+ * @return array + */ function collect($type = all, $filter = []) {} - /* - * Shall clear stored information - * @param bool $files [optional]

- * set true to clear file tables - * Note: clearing the file tables may have surprising consequences - *

- * @return void - * @since 7.0 - */ + /** + * (PHP >= 7.0, PECL pcov >= 1.0.0)
+ * Shall clear stored information + * @param bool $files [optional]

+ * set true to clear file tables + * Note: clearing the file tables may have surprising consequences + *

+ * @return void + */ function clear($files = false) {} - /* - * Shall return list of files waiting to be collected - * @return array - * @since 7.0 - */ + /** + * (PHP >= 7.0, PECL pcov >= 1.0.0)
+ * Shall return list of files waiting to be collected + * @return array + */ function waiting() {} - /* - * Shall return the current size of the trace and cfg arena - * @return int - * @since 7.0 - */ + /** + * (PHP >= 7.0, PECL pcov >= 1.0.0)
+ * Shall return the current size of the trace and cfg arena + * @return int + */ function memory() {} }