for testing and deploying your application
for finding and fixing issues
for empowering human code reviews
<?php
/**
* Klass HGAjax.
* @author Niklas Dougherty
*/
declare(strict_types=1);
namespace Tips\Moduler\Ajax;
use Tips\Klasser\Preludium;
use Tips\Egenskaper\Ajax;
use Tips\Moduler\HG\Konstanter;
* Ajaxanrop ligger utanför ordinarie ordning.
require_once dirname(__FILE__) . '/../../../vendor/autoload.php';
new Preludium();
* @SuppressWarnings("PHPMD.UnusedPrivateMethod")
final class HGAjax {
use Ajax;
Tips\Egenskaper\Ajax
$logg
Tips\Moduler\Ajax\HGAjax
use Konstanter;
public function __construct() {
$this->förgrena();
}
* Håll HG inom godtagbara intervall.
private function hg_min(): void {
hg_min()
This check looks for private methods that have been defined, but are not used inside the class.
$this->db_preferenser->validera_indata('hg_min', self::HG_MIN, self::HG_MAX, self::HG_STD, 'hg.hg_min');
Tips\Moduler\Ajax\HGAjax::HG_MIN
Tips\Moduler\Ajax\HGAjax::HG_STD
Tips\Moduler\Ajax\HGAjax::HG_MAX
* Spara attraktionsfaktor.
private function attraktionsfaktor(): void {
attraktionsfaktor()
$this->ändra_attraktionsfaktor('hg');
new HGAjax();