Skip to content

Commit

Permalink
Changelog v1.25.0
Browse files Browse the repository at this point in the history
  • Loading branch information
zdenekdrahos committed May 25, 2021
1 parent b7aa6ca commit d34ac1c
Show file tree
Hide file tree
Showing 3 changed files with 29 additions and 11 deletions.
20 changes: 19 additions & 1 deletion CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -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**
Expand All @@ -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)
Expand Down
18 changes: 9 additions & 9 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -128,24 +128,24 @@ 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.
You can [install phpqa](https://gitlab.com/costlocker/integrations/blob/213aab7/.ci/get-phpqa-binary#L40) in another [php image](https://gitlab.com/costlocker/integrations/blob/213aab7/.ci/.gitlab-ci.yml#L28)
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/).
Expand Down Expand Up @@ -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) |
Expand Down Expand Up @@ -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
Expand All @@ -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
Expand Down
2 changes: 1 addition & 1 deletion phpqa
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
#!/usr/bin/env php
<?php

define('PHPQA_VERSION', '1.24.0');
define('PHPQA_VERSION', '1.25.0');
define('PHPQA_USED_COMMAND', implode(' ', $argv));

if (getenv('COMPOSER_BIN_DIR') && getenv('COMPOSER_VENDOR_DIR')) {
Expand Down

0 comments on commit d34ac1c

Please sign in to comment.