jimmerioles/bitcoin-currency-converter-php

View on GitHub

Showing 4 of 4 total issues

File CurrencyCodeChecker.php has 316 lines of code (exceeds 250 allowed). Consider refactoring.
Open

<?php

declare(strict_types=1);

namespace Jimmerioles\BitcoinCurrencyConverter\Util;
Severity: Minor
Found in src/Util/CurrencyCodeChecker.php - About 3 hrs to fix

Line exceeds 120 characters; contains 124 characters
Open

            throw new InvalidArgumentException("Argument passed not a valid currency code, '" . $currencyCode . "' given.");

Line exceeds 120 characters; contains 125 characters
Open

            throw new InvalidArgumentException('Argument $currencyCode \'' . $currencyCode . "' not supported by provider.");

Line exceeds 120 characters; contains 126 characters
Open

        throw new InvalidArgumentException('Argument $currencyCode not valid currency code, \'' . $currencyCode . "' given.");
Severity
Category
Status
Source
Language