Skip to content

Commit

Permalink
Changelog v1.26.2
Browse files Browse the repository at this point in the history
  • Loading branch information
zdenekdrahos committed Sep 20, 2022
1 parent d1afabe commit f12f058
Show file tree
Hide file tree
Showing 3 changed files with 13 additions and 9 deletions.
4 changes: 4 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -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)
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://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.
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 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/).
Expand Down Expand Up @@ -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
Expand All @@ -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
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.26.1');
define('PHPQA_VERSION', '1.26.2');
define('PHPQA_USED_COMMAND', implode(' ', $argv));

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

0 comments on commit f12f058

Please sign in to comment.