diff --git a/CHANGELOG.md b/CHANGELOG.md index d6a74c7..8f088f1 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -6,6 +6,12 @@ Apologies that this starts with version 0.27, but for some reason I did not have The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/), and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html). +## [0.29.1] -- 2020.09.16 + +### Changed + +- Updated local `phpunit-printer.yml` to include `cd-printer-dont-format-classname` when package initialized + ## [0.29.0] -- 2020.09.16 ### Added @@ -48,4 +54,3 @@ E-Mail: [codedungeon@gmail.com](mailto:codedungeon@gmail.com) Twitter: [@codedungeon](http://twitter.com/codedungeon) Website: [https://github.com/mikeerickson](https://github.com/mikeerickson) - diff --git a/README.md b/README.md index 023a3e8..2d3499d 100755 --- a/README.md +++ b/README.md @@ -1,6 +1,6 @@ # CodeDungeon PHPUnit Pretty Result Printer -Version 0.28.0 +Version 0.29.1 Extend the default PHPUnit Result Printer with a modern, pretty printer! --- @@ -15,6 +15,16 @@ Installation provided via composer and can be done with the following command, t > composer require --dev codedungeon/phpunit-result-printer ``` +### Upgrading to >= 0.29.x + +If you are upgrading from previous verison and have published `phpunit-printer.yml` locally, make sure add the following to the options section + +```yml + ... + cd-printer-dont-format-classname: false + ... +``` + ### Execute Initialization Script (Optional) The following steps are optional, but will provide zero configuration for implementing **phpunit-pretty-result-printer** @@ -26,13 +36,6 @@ The following steps are optional, but will provide zero configuration for implem > php ./vendor/codedungeon/phpunit-result-printer/src/init.php ``` -#### Collision Listener -If you wish to activate the [Laravel Collision Listener](https://laravel-news.com/using-the-collision-phpunit-listener-with-laravel) when running tests, you can use the `--collision` flag - -```bash -> php ./vendor/codedungeon/phpunit-result-printer/src/init.php --collision -``` - #### Manual Configuration Alternately, if you wish to configure **phpunit-pretty-result-printer** manually, you will need to update your `phpunit.xml` file as follows @@ -65,6 +68,7 @@ If you have AnyBar installed, it will be enabled by default. You can disable usi [https://github.com/tonsky/AnyBar](https://github.com/tonsky/AnyBar) **Anybar is off by default, thus you will need to set the `cd-printer-anybar` option in the `phpunit-printer.yml` to `true` if you wish to use Anybar. + This has been done to address issues with using CI tools such as travis (please see [Issue 122](https://github.com/mikeerickson/phpunit-pretty-result-printer/issues/122) for details) ** _NOTE: AnyBar is only available with PHPUnit 7.1 or greater. @@ -107,7 +111,7 @@ _\* Notice space after each marker. This makes the output a little more visually ## License -Copyright © 2017-2019 Mike Erickson +Copyright © 2017-2021 Mike Erickson Released under the MIT license ## Credits diff --git a/composer.json b/composer.json index 118bc89..f2f8544 100755 --- a/composer.json +++ b/composer.json @@ -1,6 +1,6 @@ { "name": "codedungeon/phpunit-result-printer", - "version": "0.29.0", + "version": "0.29.1", "description": "PHPUnit Pretty Result Printer", "keywords": [ "phpunit", diff --git a/package.json b/package.json index 0b80053..b736dcb 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "phpunit-pretty-result-printer", - "version": "0.29.0", + "version": "0.29.1", "description": "Version 0.28 Extend the default PHPUnit Result Printer with a modern, pretty printer!", "main": "index.js", "directories": { diff --git a/src/phpunit-printer.yml b/src/phpunit-printer.yml index f9a033f..e17c3d2 100755 --- a/src/phpunit-printer.yml +++ b/src/phpunit-printer.yml @@ -5,6 +5,7 @@ options: cd-printer-hide-namespace: true cd-printer-anybar: false cd-printer-anybar-port: 1738 + cd-printer-dont-format-classname: false markers: cd-pass: "✔ " cd-fail: "✖ "