for testing and deploying your application
for finding and fixing issues
for empowering human code reviews
<?php
class ProfileBadgeActivator extends BadgeActivator
{
public function triggerMaxNrg($max)
if ($max >= 35) {
$this->activate('max_nrg_35');
}
if ($max >= 100) {
$this->activate('max_nrg_100');
public function triggerSkill($max)
$this->activate('skill_35');
$this->activate('skill_100');
public function triggerStrength($max)
$this->activate('strength_35');
$this->activate('strength_100');
/**
* @param integer $uid
*/
public function triggerDollar($uid, $dollar)
$this->setUid($uid);
if ($dollar >= 50) {
$this->activate('dollar_50');
if ($dollar >= 5000) {
$this->activate('dollar_5000');
* @param integer $level
public function triggerLevel($uid, $level)
if ($level >= 10) {
$this->activate('level_10');
if ($level >= 100) {
$this->activate('level_100');
This check marks files that end in a newline character, i.e. an empy line.
This check marks files that end in a newline character, i.e. an empy line.