diff options
Diffstat (limited to 'common.php')
-rw-r--r-- | common.php | 69 |
1 files changed, 0 insertions, 69 deletions
diff --git a/common.php b/common.php deleted file mode 100644 index 7d06872..0000000 --- a/common.php +++ /dev/null @@ -1,69 +0,0 @@ -<?php - -namespace -{ - function bar() - { - return 1; - } - - function foo($x) - { - $sum = 0; - for ($idx = 0; $idx < $x; $idx++) { - $sum += bar(); - } - return $sum; - } - - function add($a, $b) - { - return $a + $b; - } - - class Foo - { - public $val; - - public function __construct($val = null) - { - $this->val = $val; - } - - public static function asdf() - { - return 'qwer'; - } - - public static function plus($a, $b) - { - return $a + $b; - } - - public function bar() - { - return 1; - } - - public function add($a, $b) - { - return $a + $b; - } - - public function context() - { - return opencensus_trace_context(); - } - } -} - -namespace Illuminate\Database\Eloquent -{ - // fake class with method we know is traced - class Model - { - public function delete() { - - } - } -} |