Skip to content

Commit

Permalink
Merge branch 'release/v0.2.8'
Browse files Browse the repository at this point in the history
  • Loading branch information
betterthanclay committed Oct 2, 2020
2 parents d17c6d6 + b6b706c commit b102a74
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 4 deletions.
3 changes: 3 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,6 @@
## v0.2.8 (2020-10-02)
* Switched to Glitch Proxy for Path Normalizer

## v0.2.7 (2020-10-02)
* Added incomplete() shortcut

Expand Down
4 changes: 2 additions & 2 deletions composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -12,13 +12,13 @@
"php": "^7.2",
"symfony/polyfill-mbstring": "^1.7",

"decodelabs/glitch-support": "^0.1"
"decodelabs/glitch-support": "^0.2"
},
"require-dev": {
"phpunit/phpunit": "^8",
"phpstan/phpstan": "^0.12.45",
"phpstan/extension-installer": "^1.0",
"decodelabs/phpstan-decodelabs": "^0.3"
"decodelabs/phpstan-decodelabs": "^0.3.5"
},
"autoload": {
"psr-4": {
Expand Down
4 changes: 2 additions & 2 deletions src/Exceptional/ExceptionTrait.php
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
use DecodeLabs\Glitch\Stack\Frame;
use DecodeLabs\Glitch\Stack\Trace;

use DecodeLabs\Glitch\Path\Normalizer as Path;
use DecodeLabs\Glitch\Proxy;

trait ExceptionTrait
{
Expand Down Expand Up @@ -133,7 +133,7 @@ public function getStackTrace(): Trace
public function __toString(): string
{
$output = $this->getMessage()."\n".
'in '.Path::normalize($this->getFile()).' : '.$this->getLine()."\n\n".
'in '.Proxy::normalizePath($this->getFile()).' : '.$this->getLine()."\n\n".
$this->getStackTrace();

return $output;
Expand Down

0 comments on commit b102a74

Please sign in to comment.