Skip to content

Commit

Permalink
[Release] 1.13.0 (#360)
Browse files Browse the repository at this point in the history
* Bumps version to 1.13.0

* fix phpstan error in test
  • Loading branch information
olivernybroe authored Feb 13, 2020
1 parent c8e68ac commit 59cbc3b
Show file tree
Hide file tree
Showing 4 changed files with 21 additions and 3 deletions.
12 changes: 12 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,18 @@ All notable changes to this project will be documented in this file.
The format is based on [Keep a Changelog](http://keepachangelog.com/)
and this project adheres to [Semantic Versioning](http://semver.org/).

## [v1.13.0]
### Added
- Sort issues by file, line, function and lastly message ([#348](https://github.com/nunomaduro/phpinsights/pull/348))
- Support multiple formatters ([#357](https://github.com/nunomaduro/phpinsights/pull/357))
- Support custom class formatters ([#357](https://github.com/nunomaduro/phpinsights/pull/357))
- Added diff from fixer to JSON formatter ([#356](https://github.com/nunomaduro/phpinsights/pull/356))
- Check PHP version from composer to determine native type hint ([#347](https://github.com/nunomaduro/phpinsights/pull/347))
- Added GitHub Action formatter ([#344](https://github.com/nunomaduro/phpinsights/pull/344))

### Fixed
- Prevent failing on empty namespace ([#352](https://github.com/nunomaduro/phpinsights/pull/352))

## [v1.12.0]
### Added
- Text coloring per section ([#339](https://github.com/nunomaduro/phpinsights/pull/339))
Expand Down
2 changes: 1 addition & 1 deletion docs/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "phpinsights",
"version": "1.12.0",
"version": "1.13.0",
"main": "index.js",
"license": "MIT",
"dependencies": {
Expand Down
2 changes: 1 addition & 1 deletion src/Domain/Kernel.php
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ final class Kernel
/**
* The app version.
*/
public const VERSION = 'v1.12.0';
public const VERSION = 'v1.13.0';

/**
* Bootstraps the usage of the package.
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -79,6 +79,12 @@ public function testPassFileInsteadOfDirectory(): void

self::assertCount(1, $files);
self::assertInstanceOf(SplFileInfo::class, $files[0]);
self::assertStringContainsString('/Fixtures/FileToInspect.php', $files[0]->getRealPath());
$path = $files[0]->getRealPath();

if ($path === false) {
self::fail("Path cannot be false.");
return;
}
self::assertStringContainsString('/Fixtures/FileToInspect.php', $path);
}
}

0 comments on commit 59cbc3b

Please sign in to comment.