uruba/FinanCalc

View on GitHub

Showing 109 of 109 total issues

Expected 0 spaces after opening bracket; newline found
Open

            if (

Closing parenthesis of a multi-line function call must be on a line by itself
Open

                                $denominator),

Opening parenthesis of a multi-line function call must be the last content on the line
Open

                            error_log(ErrorMessages::getFactoryClassExpectedAncestorMessage($factoryClassName,
Severity: Minor
Found in src/FinanCalc.php by phpcodesniffer

Expected 1 newline at end of file; 0 found
Open

require_once('src/init/autoloader.php');
Severity: Minor
Found in init.php by phpcodesniffer

Closing parenthesis of a multi-line function call must be on a line by itself
Open

                Lambdas::checkIfNotNegative());

Closing parenthesis of a multi-line function call must be on a line by itself
Open

                get_class($checkedVariable)));
Severity: Minor
Found in src/Utils/Helpers.php by phpcodesniffer

Closing parenthesis of a multi-line function call must be on a line by itself
Open

                        $this->annuityInterest)

Multi-line function call not indented correctly; expected 20 spaces but found 24
Open

                        2));

Line indented incorrectly; expected at least 16 spaces, found 12
Open

            "annuityFutureValue" =>

Multi-line function call not indented correctly; expected 24 spaces but found 28
Open

                            $this->annuitySinglePaymentAmount);

Line indented incorrectly; expected at least 16 spaces, found 12
Open

            "debtInterest",

Multi-line function call not indented correctly; expected 12 spaces but found 16
Open

                Lambdas::checkIfNotNegative());

Multi-line function call not indented correctly; expected 28 spaces but found 32
Open

                                $denominator),

Multi-line function call not indented correctly; expected 20 spaces but found 24
Open

                        $i++)

Opening parenthesis of a multi-line function call must be the last content on the line
Open

                            error_log(ErrorMessages::getFactoryClassExpectedInNamespaceMessage($factoryClassName,
Severity: Minor
Found in src/FinanCalc.php by phpcodesniffer

Closing parenthesis of a multi-line function call must be on a line by itself
Open

                                $factoryAbstractClass));
Severity: Minor
Found in src/FinanCalc.php by phpcodesniffer

Line indented incorrectly; expected at least 16 spaces, found 12
Open

            "annuityPresentValue" =>

Opening parenthesis of a multi-line function call must be the last content on the line
Open

            $this->setProperty("annuityNoOfCompoundingPeriods", $annuityNoOfCompoundingPeriods,

Line indented incorrectly; expected at least 16 spaces, found 12
Open

            "debtDiscountFactor",

Closing parenthesis of a multi-line function call must be on a line by itself
Open

                                $this->bondMarketValue),
Severity
Category
Status
Source
Language