Showing 109 of 109 total issues
Method __construct
has 5 arguments (exceeds 4 allowed). Consider refactoring. Open
Open
$bondFaceValue,
$bondMarketValue,
$bondAnnualCouponRate,
$bondYearsToMaturity,
$bondPaymentFrequency = 1
Method newCustomCouponFrequencyBond
has 5 arguments (exceeds 4 allowed). Consider refactoring. Open
Open
$bondFaceValue,
$bondMarketValue,
$bondAnnualCouponRate,
$bondYearsToMaturity,
$bondPaymentFrequency
Method newCustomCouponFrequencyBond
has 5 arguments (exceeds 4 allowed). Consider refactoring. Open
Open
$bondFaceValue,
$bondAnnualCouponRate,
$bondVIR,
$bondYearsToMaturity,
$bondPaymentFrequency
Method newCustomCouponFrequencyBond
has 5 arguments (exceeds 4 allowed). Consider refactoring. Open
Open
$bondFaceValue,
$bondAnnualCouponRate,
$bondAnnualYield,
$bondYearsToMaturity,
$bondPaymentFrequency
Method __construct
has 5 arguments (exceeds 4 allowed). Consider refactoring. Open
Open
$bondFaceValue,
$bondAnnualCouponRate,
$bondVIR,
$bondYearsToMaturity,
$bondPaymentFrequency = 1
Method __construct
has 5 arguments (exceeds 4 allowed). Consider refactoring. Open
Open
$bondFaceValue,
$bondAnnualCouponRate,
$bondAnnualYield,
$bondYearsToMaturity,
$bondPaymentFrequency = 1
There must be one blank line after the last USE statement; 2 found; Open
Open
use FinanCalc\Interfaces\Calculator\CalculatorFactoryAbstract;
- Exclude checks
Function closing brace must go on the next line following the body; found 1 blank lines before brace Open
Open
}
- Exclude checks
The closing brace for the class must go on the next line after the body Open
Open
}
- Exclude checks
The closing brace for the class must go on the next line after the body Open
Open
}
- Exclude checks
The closing brace for the class must go on the next line after the body Open
Open
}
- Exclude checks
The closing brace for the class must go on the next line after the body Open
Open
}
- Exclude checks
There must be one blank line after the last USE statement; 2 found; Open
Open
use FinanCalc\Interfaces\Calculator\CalculatorFactoryAbstract;
- Exclude checks
The closing brace for the class must go on the next line after the body Open
Open
}
- Exclude checks
Function closing brace must go on the next line following the body; found 1 blank lines before brace Open
Open
}
- Exclude checks
Expected 1 space before USE keyword; found 16 Open
Open
use ($domDocument, &$funcArrayToXML) {
- Exclude checks
There must be one blank line after the namespace declaration Open
Open
namespace FinanCalc\Calculators\Factories {
- Exclude checks
Blank line found at start of control structure Open
Open
if (Helpers::checkIfNotNull($annuityPaymentType)) {
- Exclude checks
There must be one blank line after the last USE statement; 2 found; Open
Open
use FinanCalc\Utils\MathFuncs;
- Exclude checks
Missing class import via use statement (line '50', column '30'). Open
Open
$reflector = new \ReflectionClass(get_class($this));
- Read upRead up
- Exclude checks
MissingImport
Since: 2.7.0
Importing all external classes in a file through use statements makes them clearly visible.
Example
function make() {
return new \stdClass();
}