Showing 2 of 4 total issues
Method calcSunRiseTransitSet
has 120 lines of code (exceeds 100 allowed). Consider refactoring. Open
Open
public function calcSunRiseTransitSet()
{
$observer = clone $this->Observer;
$observer->ObserverTime->Hour = 0;
$observer->ObserverTime->Minute = 0;
Method calculate
has 105 lines of code (exceeds 100 allowed). Consider refactoring. Open
Open
public function calculate()
{
$this->PrimeHourAngle = -1 * (self::SUN_RADIUS + $this->PrimeHourAtmosfericRefraction);
/**
* 3.2. Calculate the Earth heliocentric longitude, latitude, and radius vector (L, B, and R):