Skip to content
Snippets Groups Projects

renamed exception to be more consistent with original PHP one

Merged Jan Kuchař requested to merge rename-error into master
2 files
+ 4
10
Compare changes
  • Side-by-side
  • Inline
Files
2
+ 1
7
<?php declare(strict_types=1);
namespace Grifart\AssertFunction;
use Throwable;
final class AssertFunctionError extends \AssertionError {
final class FunctionAssertionError extends \AssertionError {
const PATH_DEPTH = 2;
@@ -53,5 +49,3 @@ final class AssertFunctionError extends \AssertionError {
return implode('/', $pathParts); // normalized shortened readable path
}
};
abstract class RuntimeException extends \RuntimeException {};
Loading