| Conditions | 1 | 
| Paths | 1 | 
| Total Lines | 8 | 
| Code Lines | 5 | 
| Lines | 0 | 
| Ratio | 0 % | 
| Changes | 1 | ||
| Bugs | 0 | Features | 0 | 
| 1 | <?php | ||
| 20 | public function __construct(string $file) | ||
| 21 |     { | ||
| 22 |         $content = preg_replace_callback('/^(\s+)(id|timestamps(Tz)?|softDeletes(Tz)?)$/mi', function ($matches) { | ||
| 23 | return $matches[1].strtolower($matches[2]).': '.$matches[2]; | ||
| 24 | }, File::get($file)); | ||
| 25 | |||
| 26 | $this->contents = Yaml::parse($content); | ||
| 27 | $this->setConfig(); | ||
| 28 | } | ||
| 36 |