OnlyTestLogging   A
last analyzed

Complexity

Total Complexity 1

Size/Duplication

Total Lines 13
Duplicated Lines 0 %

Coupling/Cohesion

Components 0
Dependencies 1

Importance

Changes 0
Metric Value
wmc 1
lcom 0
cbo 1
dl 0
loc 13
c 0
b 0
f 0
rs 10

1 Method

Rating   Name   Duplication   Size   Complexity  
A setTestingTrue() 0 4 1
1
<?php
2
declare(strict_types=1);
3
/**
4
 * Created by PhpStorm.
5
 * User: benedikt
6
 * Date: 1/6/18
7
 * Time: 10:21 PM
8
 */
9
10
namespace Tfboe\FmLib\TestHelpers;
11
12
13
use Tfboe\FmLib\Helpers\Logging;
14
15
/**
16
 * Trait OnlyTestLogging
17
 * @package Tfboe\FmLib\TestHelpers
18
 */
19
trait OnlyTestLogging
20
{
21
//<editor-fold desc="Public Methods">
22
  /**
23
   * Sets the logging value testing to true
24
   * @before
25
   */
26
  public function setTestingTrue()
27
  {
28
    Logging::$testing = true;
29
  }
30
//</editor-fold desc="Public Methods">
31
}