uruba/FinanCalc

View on GitHub

Showing 109 of 109 total issues

Line exceeds 120 characters; contains 151 characters
Open

    'message_vir_must_be_higher_than_growth_value' => 'The stock\'s valuation interest rate has to be higher than the stock\'s annual dividend growth',
Severity: Minor
Found in src/locale/en.php by phpcodesniffer

Line exceeds 120 characters; contains 142 characters
Open

    'message_must_define_manufactured_class_name' => 'String class constant MANUFACTURED_CLASS_NAME has to be defined in this factory class!',
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 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

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

                                $this->bondMarketValue),

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

            "debtRepayments" => "debtRepaymentsAsArrays"

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

                        2));

Multi-line function call not indented correctly; expected 28 spaces but found 32
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

Multi-line function call not indented correctly; expected 20 spaces but found 24
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

            "annuityPresentValue" =>

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

                        2));

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

                Lambdas::checkIfNotNegative());

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

                        $this->annuityInterest)

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

            "debtSingleRepayment",

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

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

            "debtInterest",

Expected 0 spaces after opening bracket; newline found
Open

            if (

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
Severity
Category
Status
Source
Language