Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/CarnetApp/CarnetNextcloud.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'vendor/phpunit/php-code-coverage/tests/_files/source_with_ignore.php')
-rw-r--r--vendor/phpunit/php-code-coverage/tests/_files/source_with_ignore.php37
1 files changed, 37 insertions, 0 deletions
diff --git a/vendor/phpunit/php-code-coverage/tests/_files/source_with_ignore.php b/vendor/phpunit/php-code-coverage/tests/_files/source_with_ignore.php
new file mode 100644
index 0000000..dd9aa12
--- /dev/null
+++ b/vendor/phpunit/php-code-coverage/tests/_files/source_with_ignore.php
@@ -0,0 +1,37 @@
+<?php
+if ($neverHappens) {
+ // @codeCoverageIgnoreStart
+ print '*';
+ // @codeCoverageIgnoreEnd
+}
+
+/**
+ * @codeCoverageIgnore
+ */
+class Foo
+{
+ public function bar()
+ {
+ }
+}
+
+class Bar
+{
+ /**
+ * @codeCoverageIgnore
+ */
+ public function foo()
+ {
+ }
+}
+
+function baz()
+{
+ print '*'; // @codeCoverageIgnore
+}
+
+interface Bor
+{
+ public function foo();
+
+}