Function getStackDependenciesAsFlatList
has a Cognitive Complexity of 10 (exceeds 5 allowed). Consider refactoring.
public function getStackDependenciesAsFlatList()
{
$rows = [];
foreach ($this->stacks as $type => $typeData) {
foreach ($typeData as $stackName => $stackData) {
Function findDependantsForStack
has a Cognitive Complexity of 10 (exceeds 5 allowed). Consider refactoring.
public function findDependantsForStack($stackName)
{
$dependants = [];
foreach ($this->stacks as $type => $typeData) {
if (isset($typeData[$stackName])) {
Function getEnvDependenciesAsFlatList
has a Cognitive Complexity of 10 (exceeds 5 allowed). Consider refactoring.
public function getEnvDependenciesAsFlatList()
{
$rows = [];
foreach ($this->envVars as $type => $typeData) {
foreach ($typeData as $envVar => $tmp) {
Method trackEnvUsage
has 6 arguments (exceeds 4 allowed). Consider refactoring.
public function trackEnvUsage($envVar, $withDefault=false, $value, Blueprint $sourceBlueprint=null, $sourceType=null, $sourceKey=null)
Method trackStackDependency
has 6 arguments (exceeds 4 allowed). Consider refactoring.
public function trackStackDependency($type, $stack, $resource, Blueprint $sourceBlueprint=null, $sourceType=null, $sourceKey=null)
There are no issues that match your filters.