From 15b049f1e34b4aeae9bd6968b68610025bfa95e9 Mon Sep 17 00:00:00 2001 From: Dariusz Ruminski Date: Sun, 15 Oct 2017 00:46:59 +0200 Subject: [PATCH] Prepare v1.0.2 --- .travis.yml | 2 +- CHANGELOG.md | 67 +++++++++++-------- README.md | 24 +++---- composer.json | 4 +- .../Bundle/CoverallsV1Bundle/Version.php | 2 +- .../Collector/GitInfoCollectorTest.php | 6 +- .../Entity/Git/RemoteTest.php | 2 +- 7 files changed, 60 insertions(+), 47 deletions(-) diff --git a/.travis.yml b/.travis.yml index aa4b1f1b..cf8ab854 100644 --- a/.travis.yml +++ b/.travis.yml @@ -54,7 +54,7 @@ deploy: file: build/artifacts/coveralls.phar skip_cleanup: true on: - repo: satooshi/php-coveralls + repo: php-coveralls/php-coveralls tags: true all_branches: true condition: $BOX = yes diff --git a/CHANGELOG.md b/CHANGELOG.md index 1b21b845..363b58b8 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,55 +1,68 @@ CHANGELOG ============= +## 1.0.2 + +### Misc +- Update github repo link +- [#250](https://github.com/php-coveralls/php-coveralls/pull/250) GitCommand - drop useless tests +- [#248](https://github.com/php-coveralls/php-coveralls/pull/248) Allow Symfony 4 +- [#249](https://github.com/php-coveralls/php-coveralls/pull/249) Allow PHPUnit 6 +- [#224](https://github.com/php-coveralls/php-coveralls/pull/224) Travis - update used ubuntu dist +- [#212](https://github.com/php-coveralls/php-coveralls/pull/212) update PHP CS Fixer +- Use stable and semantic version constrains +- Start v1.0.2 development +- Phpdoc + ## 1.0.1 ### Misc -- [#183](https://github.com/satooshi/php-coveralls/pull/183) Lower required version of symfony/* +- [#183](https://github.com/php-coveralls/php-coveralls/pull/183) Lower required version of symfony/* ## 1.0.0 ### miscellaneous -- [#136](https://github.com/satooshi/php-coveralls/pull/136) Removed src_dir from CoverallsConfiguration -- [#154](https://github.com/satooshi/php-coveralls/issues/154) Show a deprecation notice when src_dir is set in the config +- [#136](https://github.com/php-coveralls/php-coveralls/pull/136) Removed src_dir from CoverallsConfiguration +- [#154](https://github.com/php-coveralls/php-coveralls/issues/154) Show a deprecation notice when src_dir is set in the config ## 0.7.0 ### Bug fix -- [#30](https://github.com/satooshi/php-coveralls/issues/30) Fix bug: Guzzle\Common\Exception\RuntimeException occur without response body -- [#41](https://github.com/satooshi/php-coveralls/issues/41) CloverXmlCoverageCollector could not handle root directory -- [#114](https://github.com/satooshi/php-coveralls/pull/114) Fix PHP 5.3.3, Fix HHVM on Travis, boost Travis configuration, enhance PHP CS Fixer usage +- [#30](https://github.com/php-coveralls/php-coveralls/issues/30) Fix bug: Guzzle\Common\Exception\RuntimeException occur without response body +- [#41](https://github.com/php-coveralls/php-coveralls/issues/41) CloverXmlCoverageCollector could not handle root directory +- [#114](https://github.com/php-coveralls/php-coveralls/pull/114) Fix PHP 5.3.3, Fix HHVM on Travis, boost Travis configuration, enhance PHP CS Fixer usage ### Enhancement -- [#15](https://github.com/satooshi/php-coveralls/issues/15) Support environment prop in json_file -- [#24](https://github.com/satooshi/php-coveralls/issues/24) Show helpful message if the requirements are not satisfied -- [#53](https://github.com/satooshi/php-coveralls/issues/53) Setting configuration options through command line flags +- [#15](https://github.com/php-coveralls/php-coveralls/issues/15) Support environment prop in json_file +- [#24](https://github.com/php-coveralls/php-coveralls/issues/24) Show helpful message if the requirements are not satisfied +- [#53](https://github.com/php-coveralls/php-coveralls/issues/53) Setting configuration options through command line flags - Added --root_dir and --coverage_clover flags -- [#64](https://github.com/satooshi/php-coveralls/issues/64) file names need to be relative to the git repo root -- [#114](https://github.com/satooshi/php-coveralls/pull/114) Fix PHP 5.3.3, Fix HHVM on Travis, boost Travis configuration, enhance PHP CS Fixer usage -- [#124](https://github.com/satooshi/php-coveralls/pull/124) Create a .phar file -- [#149](https://github.com/satooshi/php-coveralls/pull/149) Build phar file on travis -- [#127](https://github.com/satooshi/php-coveralls/issues/126) Remove src_dir entirely +- [#64](https://github.com/php-coveralls/php-coveralls/issues/64) file names need to be relative to the git repo root +- [#114](https://github.com/php-coveralls/php-coveralls/pull/114) Fix PHP 5.3.3, Fix HHVM on Travis, boost Travis configuration, enhance PHP CS Fixer usage +- [#124](https://github.com/php-coveralls/php-coveralls/pull/124) Create a .phar file +- [#149](https://github.com/php-coveralls/php-coveralls/pull/149) Build phar file on travis +- [#127](https://github.com/php-coveralls/php-coveralls/issues/126) Remove src_dir entirely ### miscellaneous -- [#17](https://github.com/satooshi/php-coveralls/issues/17) Refactor test cases -- [#32](https://github.com/satooshi/php-coveralls/issues/32) Refactor CoverallsV1JobsCommand -- [#35](https://github.com/satooshi/php-coveralls/issues/35) Remove ext-curl dependency -- [#38](https://github.com/satooshi/php-coveralls/issues/38) Change namespace -- [#114](https://github.com/satooshi/php-coveralls/pull/114) PHP 7.0.0 is now officially supported +- [#17](https://github.com/php-coveralls/php-coveralls/issues/17) Refactor test cases +- [#32](https://github.com/php-coveralls/php-coveralls/issues/32) Refactor CoverallsV1JobsCommand +- [#35](https://github.com/php-coveralls/php-coveralls/issues/35) Remove ext-curl dependency +- [#38](https://github.com/php-coveralls/php-coveralls/issues/38) Change namespace +- [#114](https://github.com/php-coveralls/php-coveralls/pull/114) PHP 7.0.0 is now officially supported ## 0.6.1 (2013-05-04) ### Bug fix -- [#27](https://github.com/satooshi/php-coveralls/issues/27) Fix bug: Response message is not shown if exception occurred +- [#27](https://github.com/php-coveralls/php-coveralls/issues/27) Fix bug: Response message is not shown if exception occurred ### Enhancement -- [#23](https://github.com/satooshi/php-coveralls/issues/23) Add CLI option: `--exclude-no-stmt` -- [#23](https://github.com/satooshi/php-coveralls/issues/23) Add .coveralls.yml configuration: `exclude_no_stmt` +- [#23](https://github.com/php-coveralls/php-coveralls/issues/23) Add CLI option: `--exclude-no-stmt` +- [#23](https://github.com/php-coveralls/php-coveralls/issues/23) Add .coveralls.yml configuration: `exclude_no_stmt` ## 0.6.0 (2013-05-03) @@ -57,19 +70,19 @@ CHANGELOG ### Bug fix - Fix bug: Show exception log at sending a request instead of exception backtrace -- [#12](https://github.com/satooshi/php-coveralls/issues/12) Fix bug: end of file should not be included in code coverage -- [#21](https://github.com/satooshi/php-coveralls/issues/21) Fix bug: add connection error handling +- [#12](https://github.com/php-coveralls/php-coveralls/issues/12) Fix bug: end of file should not be included in code coverage +- [#21](https://github.com/php-coveralls/php-coveralls/issues/21) Fix bug: add connection error handling ### Enhancement -- [#11](https://github.com/satooshi/php-coveralls/issues/11) Support configuration for multiple clover.xml -- [#14](https://github.com/satooshi/php-coveralls/issues/14) Log enhancement +- [#11](https://github.com/php-coveralls/php-coveralls/issues/11) Support configuration for multiple clover.xml +- [#14](https://github.com/php-coveralls/php-coveralls/issues/14) Log enhancement - show file size of `json_file` - show number of included source files - show elapsed time and memory usage - show coverage - show response message -- [#18](https://github.com/satooshi/php-coveralls/issues/18) Relax dependent libs version +- [#18](https://github.com/php-coveralls/php-coveralls/issues/18) Relax dependent libs version ## 0.5.0 (2013-04-29) diff --git a/README.md b/README.md index fdcc2fb7..ceb37f86 100644 --- a/README.md +++ b/README.md @@ -1,12 +1,12 @@ php-coveralls ============= -[![Build Status](https://travis-ci.org/satooshi/php-coveralls.png?branch=master)](https://travis-ci.org/satooshi/php-coveralls) -[![Coverage Status](https://coveralls.io/repos/satooshi/php-coveralls/badge.png?branch=master)](https://coveralls.io/r/satooshi/php-coveralls) +[![Build Status](https://travis-ci.org/php-coveralls/php-coveralls.png?branch=master)](https://travis-ci.org/php-coveralls/php-coveralls) +[![Coverage Status](https://coveralls.io/repos/php-coveralls/php-coveralls/badge.png?branch=master)](https://coveralls.io/r/php-coveralls/php-coveralls) [![Dependency Status](https://www.versioneye.com/package/php--satooshi--php-coveralls/badge.png)](https://www.versioneye.com/package/php--satooshi--php-coveralls) -[![Latest Stable Version](https://poser.pugx.org/satooshi/php-coveralls/v/stable.png)](https://packagist.org/packages/satooshi/php-coveralls) -[![Total Downloads](https://poser.pugx.org/satooshi/php-coveralls/downloads.png)](https://packagist.org/packages/satooshi/php-coveralls) +[![Latest Stable Version](https://poser.pugx.org/php-coveralls/php-coveralls/v/stable.png)](https://packagist.org/packages/php-coveralls/php-coveralls) +[![Total Downloads](https://poser.pugx.org/php-coveralls/php-coveralls/downloads.png)](https://packagist.org/packages/php-coveralls/php-coveralls) PHP client library for [Coveralls](https://coveralls.io). @@ -25,13 +25,13 @@ We started to create a phar file, starting from the version 0.7.0 release. It is available at the URLs like: ``` -https://github.com/satooshi/php-coveralls/releases/download/v1.0.0/coveralls.phar +https://github.com/php-coveralls/php-coveralls/releases/download/v1.0.0/coveralls.phar ``` Download the file and add exec permissions: ```sh -$ wget https://github.com/satooshi/php-coveralls/releases/download/v1.0.0/coveralls.phar +$ wget https://github.com/php-coveralls/php-coveralls/releases/download/v1.0.0/coveralls.phar $ chmod +x coveralls.phar ``` @@ -40,10 +40,10 @@ $ chmod +x coveralls.phar To install php-coveralls with Composer, run the following command: ```sh -$ composer require satooshi/php-coveralls --dev +$ composer require php-coveralls/php-coveralls --dev ``` -You can see this library on [Packagist](https://packagist.org/packages/satooshi/php-coveralls). +You can see this library on [Packagist](https://packagist.org/packages/php-coveralls/php-coveralls). Composer installs autoloader at `./vendor/autoloader.php`. If you use php-coveralls in your php script, add: @@ -61,9 +61,9 @@ Or you can use git clone command: ```sh # HTTP -$ git clone https://github.com/satooshi/php-coveralls.git +$ git clone https://github.com/php-coveralls/php-coveralls.git # SSH -$ git clone git@github.com:satooshi/php-coveralls.git +$ git clone git@github.com:php-coveralls/php-coveralls.git ``` # Configuration @@ -99,7 +99,7 @@ Above settings are good for most projects if your test suite is executed once a ```json "require-dev": { - "satooshi/php-coveralls": "^1.0", + "php-coveralls/php-coveralls": "^1.0", "phpunit/phpcov": "^2.0" }, ``` @@ -330,4 +330,4 @@ This tool assume the current directory is the project root directory by default. # Wiki -[See wiki](https://github.com/satooshi/php-coveralls/wiki) +[See wiki](https://github.com/php-coveralls/php-coveralls/wiki) diff --git a/composer.json b/composer.json index d162bc01..720a5ee3 100644 --- a/composer.json +++ b/composer.json @@ -1,8 +1,8 @@ { - "name": "satooshi/php-coveralls", + "name": "php-coveralls/php-coveralls", "description": "PHP client library for Coveralls API", "keywords": ["coverage", "github", "test", "ci"], - "homepage": "https://github.com/satooshi/php-coveralls", + "homepage": "https://github.com/php-coveralls/php-coveralls", "type": "library", "license": "MIT", "authors": [ diff --git a/src/Satooshi/Bundle/CoverallsV1Bundle/Version.php b/src/Satooshi/Bundle/CoverallsV1Bundle/Version.php index 819c48e8..9911371d 100644 --- a/src/Satooshi/Bundle/CoverallsV1Bundle/Version.php +++ b/src/Satooshi/Bundle/CoverallsV1Bundle/Version.php @@ -14,5 +14,5 @@ final class Version * * @var string */ - const VERSION = '1.0.2-dev'; + const VERSION = '1.0.2'; } diff --git a/tests/Satooshi/Bundle/CoverallsV1Bundle/Collector/GitInfoCollectorTest.php b/tests/Satooshi/Bundle/CoverallsV1Bundle/Collector/GitInfoCollectorTest.php index e16ba268..ea39bc17 100644 --- a/tests/Satooshi/Bundle/CoverallsV1Bundle/Collector/GitInfoCollectorTest.php +++ b/tests/Satooshi/Bundle/CoverallsV1Bundle/Collector/GitInfoCollectorTest.php @@ -30,8 +30,8 @@ public function setUp() 'commit message', ); $this->getRemotesValue = array( - "origin\tgit@github.com:satooshi/php-coveralls.git (fetch)", - "origin\tgit@github.com:satooshi/php-coveralls.git (push)", + "origin\tgit@github.com:php-coveralls/php-coveralls.git (fetch)", + "origin\tgit@github.com:php-coveralls/php-coveralls.git (push)", ); } @@ -164,7 +164,7 @@ protected function assertCommit(Commit $commit) protected function assertRemote(Remote $remote) { $this->assertSame('origin', $remote->getName()); - $this->assertSame('git@github.com:satooshi/php-coveralls.git', $remote->getUrl()); + $this->assertSame('git@github.com:php-coveralls/php-coveralls.git', $remote->getUrl()); } // collectBranch() exception diff --git a/tests/Satooshi/Bundle/CoverallsV1Bundle/Entity/Git/RemoteTest.php b/tests/Satooshi/Bundle/CoverallsV1Bundle/Entity/Git/RemoteTest.php index c9cdd5f8..706c3811 100644 --- a/tests/Satooshi/Bundle/CoverallsV1Bundle/Entity/Git/RemoteTest.php +++ b/tests/Satooshi/Bundle/CoverallsV1Bundle/Entity/Git/RemoteTest.php @@ -57,7 +57,7 @@ public function shouldSetRemoteName() */ public function shouldSetRemoteUrl() { - $expected = 'git@github.com:satooshi/php-coveralls.git'; + $expected = 'git@github.com:php-coveralls/php-coveralls.git'; $obj = $this->object->setUrl($expected);