Skip to content

Commit 1fe23e7

Browse files
committed
Changelog v1.22.0
1 parent 5f7f491 commit 1fe23e7

File tree

3 files changed

+46
-4
lines changed

3 files changed

+46
-4
lines changed

CHANGELOG.md

Lines changed: 42 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,48 @@
11

22
# Changelog
33

4+
## v1.22.0
5+
6+
* **.phpqa.yml**
7+
* [#173](https://github.com/EdgedesignCZ/phpqa/issues/173) Support multiple phpcs standards
8+
```yaml
9+
phpcs:
10+
standard:
11+
- PSR2
12+
- phpcs.xml
13+
```
14+
* [#175](https://github.com/EdgedesignCZ/phpqa/issues/175) Optional phpqa configuration in yml file instead of CLI options<br />
15+
_Alternatives:_
16+
```bash
17+
# CLI options
18+
phpqa --verbose --report --tools phploc,phpcs:0
19+
# load "CLI options" from yaml file
20+
phpqa --config ./
21+
```
22+
```yaml
23+
# ./.phpqa.yml
24+
phpqa:
25+
report: true
26+
verbose: true
27+
tools:
28+
- phploc
29+
- phpcs:0
30+
```
31+
* [#177](https://github.com/EdgedesignCZ/phpqa/pull/177) _Configuration changes_
32+
* [b450040](https://github.com/EdgedesignCZ/phpqa/commit/b450040#diff-04c6e90faac2675aa89e2176d2eec7d8) **BC** `allowedErrorsCount` is no longer supported, configure errors count in `phpqa.tools`
33+
* [de736d6](https://github.com/EdgedesignCZ/phpqa/commit/de736d6) Extensions should be configured in `phpqa.extensions`
34+
```yaml
35+
# preferred configuration
36+
phpqa:
37+
extensions: php
38+
39+
# deprecated configuration
40+
extensions: php
41+
```
42+
* _Internal_
43+
* [#172](https://github.com/EdgedesignCZ/phpqa/pull/172) CI - test php-cs-fixer on Windows, fix Travis php7.1 build (support phpunit > 5, security-checker)
44+
* [29262ef](https://github.com/EdgedesignCZ/phpqa/commit/29262ef) Delete php-eye badge
45+
446
## v1.21.1
547

648
* [6ef3519](https://github.com/EdgedesignCZ/phpqa/commit/6ef3519) Fix docker build

README.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -129,9 +129,9 @@ Beware that the image is as lean as possible. That can be a problem for running
129129
In that case, you might 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)_).
130130

131131
```bash
132-
docker run --rm -it zdenekdrahos/phpqa:v1.21.1 phpqa tools
132+
docker run --rm -it zdenekdrahos/phpqa:v1.22.0 phpqa tools
133133
# using a tool without phpqa
134-
docker run --rm -it zdenekdrahos/phpqa:v1.21.1 phploc -v
134+
docker run --rm -it zdenekdrahos/phpqa:v1.22.0 phploc -v
135135
```
136136

137137
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/).
@@ -440,7 +440,7 @@ stages:
440440
441441
test:
442442
stage: test
443-
image: zdenekdrahos/phpqa:v1.21.1
443+
image: zdenekdrahos/phpqa:v1.22.0
444444
variables:
445445
BACKEND_QA: "*/backend/var/QA"
446446
BACKEND_CACHE: $CI_PROJECT_DIR/.composercache

phpqa

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
#!/usr/bin/env php
22
<?php
33

4-
define('PHPQA_VERSION', '1.21.1');
4+
define('PHPQA_VERSION', '1.22.0');
55
define('PHPQA_USED_COMMAND', implode(' ', $argv));
66

77
if (file_exists(__DIR__ . '/vendor/autoload.php')) {

0 commit comments

Comments
 (0)