Skip to content

Commit

Permalink
Changelog v1.26.0
Browse files Browse the repository at this point in the history
  • Loading branch information
zdenekdrahos committed Apr 30, 2022
1 parent 5bac59f commit bdd49e3
Show file tree
Hide file tree
Showing 3 changed files with 18 additions and 9 deletions.
9 changes: 9 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,15 @@

# Changelog

## v1.26.0

* **tools**
* upgrade pdepend, phpmd, phpcs [#245](https://github.com/EdgedesignCZ/phpqa/pull/245)
* phpstan - use excludePaths instead of excludes_analyse [#241](https://github.com/EdgedesignCZ/phpqa/issues/241)
* security-checker - enable overriding composer.lock location [#248](https://github.com/EdgedesignCZ/phpqa/pull/248)
* _internal_
* CI - add PHP 8.1 - [#246](https://github.com/EdgedesignCZ/phpqa/pull/246)

## v1.25.0

* **tools**
Expand Down
16 changes: 8 additions & 8 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.25.0-php7.2 phpqa tools
docker run --rm -it zdenekdrahos/phpqa:v1.26.0-php7.2 phpqa tools
# using a tool without phpqa
docker run --rm -it zdenekdrahos/phpqa:v1.25.0-php7.2 phploc -v
docker run --rm -it zdenekdrahos/phpqa:v1.26.0-php7.2 phploc -v
```

| Image | PHP version | Composer version | Tools versions |
| ----- | ----------- | ---------------- | ----- |
| `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) |
| `zdenekdrahos/phpqa:v1.26.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.26.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.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"
docker run --rm -it zdenekdrahos/phpqa:v1.26.0-php7.2 sh -c "php --version && composer --version && composer outdated --direct --all && phpqa tools"
docker run --rm -it zdenekdrahos/phpqa:v1.26.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 @@ -491,7 +491,7 @@ stages:
test:
stage: test
image: zdenekdrahos/phpqa:v1.25.0-php7.2
image: zdenekdrahos/phpqa:v1.26.0-php7.2
variables:
BACKEND_QA: "*/backend/var/QA"
BACKEND_CACHE: $CI_PROJECT_DIR/.composercache
Expand All @@ -517,7 +517,7 @@ on: [push]
jobs:
qa:
container: zdenekdrahos/phpqa:v1.25.0-php7.4
container: zdenekdrahos/phpqa:v1.26.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.25.0');
define('PHPQA_VERSION', '1.26.0');
define('PHPQA_USED_COMMAND', implode(' ', $argv));

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

0 comments on commit bdd49e3

Please sign in to comment.