New data plugin for DB fix
This commit is contained in:
parent
d8684645fc
commit
ab3aec0186
|
@ -9,7 +9,6 @@
|
|||
|
||||
namespace PHPCI\Plugin;
|
||||
|
||||
use b8\Store\Factory;
|
||||
use PHPCI;
|
||||
use PHPCI\Builder;
|
||||
use PHPCI\Model\Build;
|
||||
|
@ -107,16 +106,15 @@ class PhpLoc implements PHPCI\Plugin, PHPCI\ZeroConfigPlugin
|
|||
$key = $matches[1];
|
||||
$val = $matches[2];
|
||||
$data = array(
|
||||
$key[1] = (int)$val[1],
|
||||
$key[2] = (int)$val[2],
|
||||
$key[3] = (int)$val[3],
|
||||
$key[6] = (int)$val[6],
|
||||
$key[1] => (int) $val[1],
|
||||
$key[2] => (int) $val[2],
|
||||
$key[3] => (int) $val[3],
|
||||
$key[6] => (int) $val[6],
|
||||
);
|
||||
|
||||
$this->build->storeMeta('phploc-summary', $data);
|
||||
$this->build->storeMeta('phploc-structure', $data);
|
||||
}
|
||||
|
||||
|
||||
return $success;
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue