for testing and deploying your application
for finding and fixing issues
for empowering human code reviews
<?php
namespace keeko\core\events;
use Symfony\Component\EventDispatcher\Event;
use keeko\core\model\Module;
class ModuleEvent extends Event {
const INSTALLED = 'core.module.installed';
This check looks for multiple assignments in successive lines of code. It will report an issue if the operators are not in a straight line.
To visualize
$a = "a"; $ab = "ab"; $abc = "abc";
will produce issues in the first and second line, while this second example
will produce no issues.
const UNINSTALLED = 'core.module.uninstalled';
const UPDATED = 'core.module.updated';
const ACTIVATED = 'core.module.activated';
const DEACTIVATED = 'core.module.deactivated';
/** @var Module */
private $module;
public function __construct(Module $module) {
$this->module = $module;
}
/**
* @return Module
*/
public function getModule() {
return $this->module;
This check looks for multiple assignments in successive lines of code. It will report an issue if the operators are not in a straight line.
To visualize
will produce issues in the first and second line, while this second example
will produce no issues.