src/MathParser/Lexing/StdMathLexer.php
Method __construct
has 47 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
public function __construct()
{
$this->add(new TokenDefinition('/\d+[,\.]\d+(e[+-]?\d+)?/', TokenType::RealNumber));
$this->add(new TokenDefinition('/\d+/', TokenType::PosInt));