@@ -2489,7 +2489,7 @@
Loading
2489 2489
        if (!$date instanceof DateTime && !$date instanceof DateTimeInterface) {
2490 2490
            throw new InvalidTypeException(
2491 2491
                $message.'DateTime or DateTimeInterface, '.
2492 -
                (is_object($date) ? get_class($date) : gettype($date)).' given'
2492 +
                (\is_object($date) ? \get_class($date) : \gettype($date)).' given'
2493 2493
            );
2494 2494
        }
2495 2495
    }
@@ -2508,7 +2508,7 @@
Loading
2508 2508
            return $this->nowWithSameTz();
2509 2509
        }
2510 2510
2511 -
        if (is_string($date)) {
2511 +
        if (\is_string($date)) {
2512 2512
            return static::parse($date, $this->getTimezone());
2513 2513
        }
2514 2514
@@ -2527,10 +2527,10 @@
Loading
2527 2527
        if ($macro instanceof Closure) {
2528 2528
            $boundMacro = @$macro->bindTo($this, static::class) ?: @$macro->bindTo(null, static::class);
2529 2529
2530 -
            return call_user_func_array($boundMacro ?: $macro, $parameters);
2530 +
            return \call_user_func_array($boundMacro ?: $macro, $parameters);
2531 2531
        }
2532 2532
2533 -
        return call_user_func_array($macro, $parameters);
2533 +
        return \call_user_func_array($macro, $parameters);
2534 2534
    }
2535 2535
2536 2536
    protected function executeCallableWithContext($macro, ...$parameters)
@@ -2555,10 +2555,10 @@
Loading
2555 2555
            if ($macro instanceof Closure) {
2556 2556
                $boundMacro = @Closure::bind($macro, null, static::class);
2557 2557
2558 -
                return call_user_func_array($boundMacro ?: $macro, $parameters);
2558 +
                return \call_user_func_array($boundMacro ?: $macro, $parameters);
2559 2559
            }
2560 2560
2561 -
            return call_user_func_array($macro, $parameters);
2561 +
            return \call_user_func_array($macro, $parameters);
2562 2562
        });
2563 2563
    }
2564 2564

@@ -344,7 +344,7 @@
Loading
344 344
     */
345 345
    public function __construct($years = null, $months = null, $weeks = null, $days = null, $hours = null, $minutes = null, $seconds = null, $microseconds = null)
346 346
    {
347 -
        $this->originalInput = func_num_args() === 1 ? $years : func_get_args();
347 +
        $this->originalInput = \func_num_args() === 1 ? $years : \func_get_args();
348 348
349 349
        if ($years instanceof Closure) {
350 350
            $this->step = $years;
Files Complexity Coverage
src/Carbon 2,031 100.00%
Project Totals (885 files) 2031 100.00%
4948.11
7.3=.3
TRAVIS_OS_NAME=linux

No yaml found.

Create your codecov.yml to customize your Codecov experience

Sunburst
The inner-most circle is the entire project, moving away from the center are folders then, finally, a single file. The size and color of each slice is representing the number of statements and the coverage, respectively.
Icicle
The top section represents the entire project. Proceeding with folders and finally individual files. The size and color of each slice is representing the number of statements and the coverage, respectively.
Grid
Each block represents a single file in the project. The size and color of each block is represented by the number of statements and the coverage, respectively.
Loading