diff --git a/CHANGELOG.md b/CHANGELOG.md index a34a717..4438c92 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,6 +1,24 @@ # Changelog +## v1.25.0 + +* **tools** + * support Robo v3.X [#226](https://github.com/EdgedesignCZ/phpqa/issues/226), [#227](https://github.com/EdgedesignCZ/phpqa/pull/227) + * upgrade pdepend, phpmd _(partial php7.4 and php8 syntax)_ [#231](https://github.com/EdgedesignCZ/phpqa/pull/231) + * drop support for phpcs v2 _(php8 syntax in phpcs 3.6)_ [#232](https://github.com/EdgedesignCZ/phpqa/pull/232) + * refine handling phpmd parsing errors _(visual warning in html, enable counting them for exit code)_ [#230](https://github.com/EdgedesignCZ/phpqa/issues/230), [#237](https://github.com/EdgedesignCZ/phpqa/pull/237) + * add deptrac [#229](https://github.com/EdgedesignCZ/phpqa/issues/229), [#235](https://github.com/EdgedesignCZ/phpqa/issues/235) +* **custom binaries** + * refine loading versions from custom binaries [#233](https://github.com/EdgedesignCZ/phpqa/pull/233) + * run custom binaries, refactoring [#234](https://github.com/EdgedesignCZ/phpqa/pull/234) +* **html reports** + * fix replacing text with multiple file paths, hotfix bootstrap menu with many tools [#239](https://github.com/EdgedesignCZ/phpqa/pull/239) +* _internal_ + * CI - building docker images after release - [#224](https://github.com/EdgedesignCZ/phpqa/pull/224) + * CI - fix phpstan/psalm config [#236](https://github.com/EdgedesignCZ/phpqa/pull/236) + * Refine docs _(github actions example, .phpqa.yml config)_ [#238](https://github.com/EdgedesignCZ/phpqa/pull/238) + ## v1.24.0 * **tools** @@ -14,7 +32,7 @@ * **composer** * fix loading versions installed by composer 2.0 [#212](https://github.com/EdgedesignCZ/phpqa/pull/212), [#213](https://github.com/EdgedesignCZ/phpqa/pull/213) * allow to define vendor and vendor-bin with environment variables [#198](https://github.com/EdgedesignCZ/phpqa/pull/198) - * enable symfony5 [#205](https://github.com/EdgedesignCZ/phpqa/issues/205), twig3 [#203](https://github.com/EdgedesignCZ/phpqa/issues/203), robo3 [#208](https://github.com/EdgedesignCZ/phpqa/pull/208) + * enable symfony5 [#205](https://github.com/EdgedesignCZ/phpqa/issues/205), twig3 [#203](https://github.com/EdgedesignCZ/phpqa/issues/203), robo2 [#208](https://github.com/EdgedesignCZ/phpqa/pull/208) * _internal_ * migrate from travis to github actions, add php 7.4/8.0 [#195](https://github.com/EdgedesignCZ/phpqa/pull/195), [#217](https://github.com/EdgedesignCZ/phpqa/pull/217), [#219](https://github.com/EdgedesignCZ/phpqa/pull/219), [#221](https://github.com/EdgedesignCZ/phpqa/pull/221) * build default and updated docker image [#222](https://github.com/EdgedesignCZ/phpqa/pull/222) diff --git a/README.md b/README.md index 4b6ca4e..95dc584 100644 --- a/README.md +++ b/README.md @@ -128,15 +128,15 @@ Official docker image repository is https://hub.docker.com/r/zdenekdrahos/phpqa/ Images can be used at [Gitlab CI](#gitlabci---docker-installation--composer-cache--artifacts). ```bash -docker run --rm -it zdenekdrahos/phpqa:v1.24.0-php7.2 phpqa tools +docker run --rm -it zdenekdrahos/phpqa:v1.25.0-php7.2 phpqa tools # using a tool without phpqa -docker run --rm -it zdenekdrahos/phpqa:v1.24.0-php7.2 phploc -v +docker run --rm -it zdenekdrahos/phpqa:v1.25.0-php7.2 phploc -v ``` | Image | PHP version | Composer version | Tools versions | | ----- | ----------- | ---------------- | ----- | -| `zdenekdrahos/phpqa:v1.24.0-php7.2` | 7.2 | 1.8.0 | Versions that supports symfony2 components from default composer.lock. Not [latest versions](https://github.com/EdgedesignCZ/phpqa/issues/159#issuecomment-452794397). | -| `zdenekdrahos/phpqa:v1.24.0-php7.4` | 7.4 | 2.0.7 | Generally, latest versions available at the moment. If you need different versions, then [build custom docker image](https://github.com/EdgedesignCZ/phpqa/issues/210) | +| `zdenekdrahos/phpqa:v1.25.0-php7.2` | 7.2 | 1.8.0 | Versions that supports symfony2 components from default composer.lock. Not [latest versions](https://github.com/EdgedesignCZ/phpqa/issues/159#issuecomment-452794397). | +| `zdenekdrahos/phpqa:v1.25.0-php7.4` | 7.4 | 2.0.7 | Generally, latest versions available at the moment. If you need different versions, then [build custom docker image](https://github.com/EdgedesignCZ/phpqa/issues/210) | Beware that images as lean as possible. That can be a problem for running PHPUnit tests. In that case, you might need different PHP version, miss PHP extensions for database etc. @@ -144,8 +144,8 @@ You can [install phpqa](https://gitlab.com/costlocker/integrations/blob/213aab7/ Or [build custom docker image](https://github.com/EdgedesignCZ/phpqa/issues/168#issuecomment-489180974). ```bash -docker run --rm -it zdenekdrahos/phpqa:v1.24.0-php7.2 sh -c "php --version && composer --version && composer outdated --direct --all && phpqa tools" -docker run --rm -it zdenekdrahos/phpqa:v1.24.0-php7.4 sh -c "php --version && composer --version && composer outdated --direct --all && phpqa tools" +docker run --rm -it zdenekdrahos/phpqa:v1.25.0-php7.2 sh -c "php --version && composer --version && composer outdated --direct --all && phpqa tools" +docker run --rm -it zdenekdrahos/phpqa:v1.25.0-php7.4 sh -c "php --version && composer --version && composer outdated --direct --all && phpqa tools" ``` There are also available images [eko3alpha/docker-phpqa](https://hub.docker.com/r/eko3alpha/docker-phpqa/) and [sparkfabrik/docker-phpqa](https://hub.docker.com/r/sparkfabrik/docker-phpqa/). @@ -330,7 +330,7 @@ Tool | Settings | Default Value | Your value [phpmetrics.composer](https://github.com/EdgedesignCZ/phpqa/pull/123) | phpmetrics v2 analyzes composer dependencies | `null` | Path to composer.json when the file is not included in `analyzedDirs` [pdepend.coverageReport](https://github.com/EdgedesignCZ/phpqa/pull/124) | Load Clover style CodeCoverage report | `null` | Path to report produced by PHPUnit's `--coverage-clover` option [phpmd.standard](http://phpmd.org/documentation/creating-a-ruleset.html) | Ruleset | [Edgedesign's standard](/app/phpmd.xml) | Path to ruleset. To specify [multiple rule sets](https://phpmd.org/documentation/index.html#using-multiple-rule-sets), you can use an array -[phpcs.ignoreParsingErrors](https://github.com/EdgedesignCZ/phpqa/issues/230) | If parsing errors affect exit code, or just violations | `true` | Boolean value +[phpmd.ignoreParsingErrors](https://github.com/EdgedesignCZ/phpqa/issues/230) | If parsing errors affect exit code, or just violations | `true` | Boolean value [phpcpd](https://github.com/sebastianbergmann/phpcpd/blob/de9056615da6c1230f3294384055fa7d722c38fa/src/CLI/Command.php#L136) | Minimum number of lines/tokens for copy-paste detection | 5 lines, 70 tokens | [phpstan](https://github.com/phpstan/phpstan#configuration) | Level, config file, memory limit | Level 0, `%currentWorkingDirectory%/phpstan.neon`, memoryLimit: null | Take a look at [phpqa config in tests/.ci](/tests/.ci/) | [phpunit.binary](https://github.com/EdgedesignCZ/phpqa/blob/4947416/.phpqa.yml#L40) | Phpunit binary | phpqa's phpunit | Path to phpunit executable in your project, typically [`vendor/bin/phpunit`](https://gitlab.com/costlocker/integrations/blob/master/basecamp/backend/.phpqa.yml#L2) | @@ -490,7 +490,7 @@ stages: test: stage: test - image: zdenekdrahos/phpqa:v1.24.0-php7.2 + image: zdenekdrahos/phpqa:v1.25.0-php7.2 variables: BACKEND_QA: "*/backend/var/QA" BACKEND_CACHE: $CI_PROJECT_DIR/.composercache @@ -516,7 +516,7 @@ on: [push] jobs: qa: - container: zdenekdrahos/phpqa:v1.24.0-php7.4 + container: zdenekdrahos/phpqa:v1.25.0-php7.4 runs-on: ubuntu-latest steps: - uses: actions/checkout@v2 diff --git a/phpqa b/phpqa index 241fc3f..ded441c 100755 --- a/phpqa +++ b/phpqa @@ -1,7 +1,7 @@ #!/usr/bin/env php