From f12f0581da1539c0b7f914700850560d207b9ac0 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Zdene=CC=8Ck=20Drahos=CC=8C?= Date: Tue, 20 Sep 2022 17:22:09 +0200 Subject: [PATCH] Changelog v1.26.2 --- CHANGELOG.md | 4 ++++ README.md | 16 ++++++++-------- phpqa | 2 +- 3 files changed, 13 insertions(+), 9 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 88f4794..ddd8131 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,6 +1,10 @@ # Changelog +## v1.26.2 + +* **tools** - upgrade phpcs _(support PHP 8.1 Enums)_ [#251](https://github.com/EdgedesignCZ/phpqa/pull/251) + ## v1.26.1 * **Docker** - php 8.1, github container registry [#249](https://github.com/EdgedesignCZ/phpqa/pull/249) diff --git a/README.md b/README.md index aee5fb0..a00e22c 100644 --- a/README.md +++ b/README.md @@ -128,15 +128,15 @@ Official docker image repository is https://github.com/EdgedesignCZ/phpqa/pkgs/c Images can be used at [Gitlab CI](#gitlabci---docker-installation--composer-cache--artifacts). ```bash -docker run --rm -it ghcr.io/edgedesigncz/phpqa:v1.26.1-php7.2 phpqa tools +docker run --rm -it ghcr.io/edgedesigncz/phpqa:v1.26.2-php7.2 phpqa tools # using a tool without phpqa -docker run --rm -it ghcr.io/edgedesigncz/phpqa:v1.26.1-php7.2 phploc -v +docker run --rm -it ghcr.io/edgedesigncz/phpqa:v1.26.2-php7.2 phploc -v ``` | Image | PHP version | Composer version | Tools versions | | ----- | ----------- | ---------------- | ----- | -| `ghcr.io/edgedesigncz/phpqa:v1.26.1-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). | -| `ghcr.io/edgedesigncz/phpqa:v1.26.1-php8.1` | 8.1 | 2.2.12 | Generally, latest versions available at the moment. If you need different versions, then [build custom docker image](https://github.com/EdgedesignCZ/phpqa/issues/210) | +| `ghcr.io/edgedesigncz/phpqa:v1.26.2-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). | +| `ghcr.io/edgedesigncz/phpqa:v1.26.2-php8.1` | 8.1 | 2.2.12 | 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 ghcr.io/edgedesigncz/phpqa:v1.26.1-php7.2 sh -c "php --version && composer --version && composer outdated --direct --all && phpqa tools" -docker run --rm -it ghcr.io/edgedesigncz/phpqa:v1.26.1-php8.1 sh -c "php --version && composer --version && composer outdated --direct --all && phpqa tools" +docker run --rm -it ghcr.io/edgedesigncz/phpqa:v1.26.2-php7.2 sh -c "php --version && composer --version && composer outdated --direct --all && phpqa tools" +docker run --rm -it ghcr.io/edgedesigncz/phpqa:v1.26.2-php8.1 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/). @@ -491,7 +491,7 @@ stages: test: stage: test - image: ghcr.io/edgedesigncz/phpqa:v1.26.1-php7.2 + image: ghcr.io/edgedesigncz/phpqa:v1.26.2-php7.2 variables: BACKEND_QA: "*/backend/var/QA" BACKEND_CACHE: $CI_PROJECT_DIR/.composercache @@ -517,7 +517,7 @@ on: [push] jobs: qa: - container: ghcr.io/edgedesigncz/phpqa:v1.26.1-php8.1 + container: ghcr.io/edgedesigncz/phpqa:v1.26.2-php8.1 runs-on: ubuntu-latest steps: - uses: actions/checkout@v2 diff --git a/phpqa b/phpqa index b73f2b9..6b97f84 100755 --- a/phpqa +++ b/phpqa @@ -1,7 +1,7 @@ #!/usr/bin/env php