Dhii/exception

View on GitHub

Showing 3 of 29 total issues

Similar blocks of code found in 3 locations. Consider refactoring.
Open

<?php
 
namespace Dhii\Exception;
 
use InvalidArgumentException as RootInvalidArgumentException;
Severity: Major
Found in src/InvalidArgumentException.php and 2 other locations - About 3 hrs to fix
src/OutOfBoundsException.php on lines 1..80
src/OutOfRangeException.php on lines 1..80

Similar blocks of code found in 3 locations. Consider refactoring.
Open

<?php
 
namespace Dhii\Exception;
 
use Exception as RootException;
Severity: Major
Found in src/OutOfRangeException.php and 2 other locations - About 3 hrs to fix
src/InvalidArgumentException.php on lines 1..80
src/OutOfBoundsException.php on lines 1..80

Similar blocks of code found in 3 locations. Consider refactoring.
Open

<?php
 
namespace Dhii\Exception;
 
use Exception as RootException;
Severity: Major
Found in src/OutOfBoundsException.php and 2 other locations - About 3 hrs to fix
src/InvalidArgumentException.php on lines 1..80
src/OutOfRangeException.php on lines 1..80
Severity
Category
Status
Source
Language