for testing and deploying your application
for finding and fixing issues
for empowering human code reviews
<?php
namespace devtoolboxuk\cerberus;
class BaseOptions
{
public function getOptions()
return [
'Detection' => [
'Rules' => [
'BotBlock' => [
'active' => 1,
'score' => 1,
'params' => '360Spider'
],
'Html' => [
'params' => '',
'StringLength' => [
'Numeric' => [
'Url' => [
'Ip' => [
'Tor' => [
'DisposableEmail' => [
'score' => 10,
'InvalidEmail' => [
'QueryStringKey' => [
'QueryStringValue' => [
'DifferentCountry' => [
'Country' => [
'Xss' => [
]
];
}
private function isYamlLoaded()
isYamlLoaded()
This check looks for private methods that have been defined, but are not used inside the class.
return extension_loaded('yaml');
This check looks for private methods that have been defined, but are not used inside the class.