uruba/FinanCalc

View on GitHub

Showing 109 of 109 total issues

Line exceeds 120 characters; contains 121 characters
Open

                            $factoryClassReflector = new ReflectionClass($factoriesNamespace . '\\' . $factoryClassName);
Severity: Minor
Found in src/FinanCalc.php by phpcodesniffer

Line exceeds 120 characters; contains 124 characters
Open

        public static function checkIfLeftOperandGreaterOrThrowAnException($leftOperand, $rightOperand, $messageOnException)
Severity: Minor
Found in src/Utils/Helpers.php by phpcodesniffer

Line exceeds 120 characters; contains 170 characters
Open

    'message_cannot_set_growth_value_on_zero_growth_type' => 'You cannot set the $stockAnnualDividendsGrowth on the zero-growth type discount dividend model calculator!',
Severity: Minor
Found in src/locale/en.php by phpcodesniffer

Line exceeds 120 characters; contains 135 characters
Open

    'message_propresultarray_not_supplied' => '$propResultArray has not been supplied neither by the argument, nor by the class field',
Severity: Minor
Found in src/locale/en.php by phpcodesniffer

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

            "debtSingleRepayment",

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

            "debtRepayments" => "debtRepaymentsAsArrays"

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

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

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

            throw new InvalidArgumentException(ErrorMessages::getIncompatibleTypesMessage($nameOfTheExpectedClass,
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

                        $i++)

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

                        2));

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

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

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

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

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

                        $i++)

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

                                $this->bondMarketValue),

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

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

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

                        $this->annuityInterest)

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

                            $this->annuitySinglePaymentAmount);

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

                        $i++)

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

                        2));

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

            "debtLength" =>
Severity
Category
Status
Source
Language