Skip to content

Commit 3849a14

Browse files
committed
Merge branch '2.15' into 2.16
2 parents 2c12f91 + 6efbbe8 commit 3849a14

File tree

6 files changed

+26
-7
lines changed

6 files changed

+26
-7
lines changed

.travis.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -54,7 +54,7 @@ jobs:
5454
- php -d auto_prepend_file=dev-tools/vendor/autoload.php ./dev-tools/tools/phpstan analyse
5555
- if [ -n "$CHANGED_PHP_FILES" ]; then ./dev-tools/vendor/bin/phpmd `echo "$CHANGED_PHP_FILES" | xargs | sed 's/ /,/g'` text phpmd.xml || travis_terminate 1; fi
5656
- ./dev-tools/tools/composer-require-checker check composer.json --config-file $(realpath .composer-require-checker.json) || travis_terminate 1
57-
- composer normalize -d ./dev-tools ./../composer.json --dry-run
57+
- ./dev-tools/tools/composer-normalize composer.json --dry-run
5858
- ./dev-tools/check-shell-scripts.sh
5959

6060
- &STANDARD_TEST_JOB

README.rst

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -166,9 +166,17 @@ NOTE: the output for the following formats are generated in accordance with XML
166166
* ``junit`` follows the `JUnit xml schema from Jenkins </doc/junit-10.xsd>`_
167167
* ``checkstyle`` follows the common `"checkstyle" xml schema </doc/checkstyle.xsd>`_
168168

169+
The ``--quiet`` Do not output any message.
169170

170171
The ``--verbose`` option will show the applied rules. When using the ``txt`` format it will also display progress notifications.
171172

173+
NOTE: if there is an error like "errors reported during linting after fixing", you can use this to be even more verbose for debugging purpose
174+
175+
* ``--verbose=0`` or no option: normal
176+
* ``--verbose``, ``--verbose=1``, ``-v``: verbose
177+
* ``--verbose=2``, ``-vv``: very verbose
178+
* ``--verbose=3``, ``-vvv``: debug
179+
172180
The ``--rules`` option limits the rules to apply to the
173181
project:
174182

dev-tools/composer.json

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,6 @@
55
"require-dev": {
66
"humbug/box": "^3.8",
77
"jangregor/phpstan-prophecy": "^0.6",
8-
"localheinz/composer-normalize": "^1.1",
98
"mi-schi/phpmd-extension": "^4.3",
109
"phpmd/phpmd": "^2.6",
1110
"phpstan/phpstan-phpunit": "^0.12"

dev-tools/install.sh

Lines changed: 8 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -28,12 +28,19 @@ echo λλλ phive
2828
if [ ! -x bin/phive ]; then
2929
wget -Obin/phive https://phar.io/releases/phive.phar
3030
wget -Obin/phive.asc https://phar.io/releases/phive.phar.asc
31-
gpg --keyserver pool.sks-keyservers.net --recv-keys 0x9D8A98B29B2D5D79
31+
gpg --list-keys 0x9D8A98B29B2D5D79 \
32+
|| gpg --keyserver ha.pool.sks-keyservers.net --recv-keys 0x9D8A98B29B2D5D79 \
33+
|| gpg --keyserver keys.fedoraproject.org --recv-keys 0x9D8A98B29B2D5D79 \
34+
|| gpg --keyserver keyserver.ubuntu.com --recv-keys 0x9D8A98B29B2D5D79 \
35+
|| gpg --keyserver pgp.mit.edu --recv-keys 0x9D8A98B29B2D5D79
3236
gpg --verify bin/phive.asc bin/phive
3337
chmod u+x bin/phive
3438
fi
3539
bin/phive --version
3640

41+
echo λλλ phive packages
42+
./bin/phive install --trust-gpg-keys D2CCAC42F6295E7D,8E730BA25823D8B5,C00543248C87FB13,CF1A108D0E7AE720
43+
3744
echo λλλ checkbashisms
3845
if [ ! -x bin/checkbashisms ]; then
3946
wget -Obin/checkbashisms https://sourceforge.net/projects/checkbaskisms/files/${VERSION_CB}/checkbashisms/download
@@ -53,7 +60,3 @@ bin/shellcheck --version
5360
echo λλλ composer packages
5461
composer update
5562
composer info -D | sort
56-
57-
echo λλλ phive packages
58-
59-
./bin/phive install --trust-gpg-keys D2CCAC42F6295E7D,8E730BA25823D8B5,CF1A108D0E7AE720

dev-tools/phive.xml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,6 @@
11
<?xml version="1.0" encoding="UTF-8"?>
22
<phive xmlns="https://phar.io/phive">
3+
<phar name="composer-normalize" version="^2.1.2" installed="2.1.2" location="./tools/composer-normalize" copy="false"/>
34
<phar name="composer-require-checker" version="^2.0" installed="2.0.0" location="./tools/composer-require-checker" copy="false"/>
45
<phar name="phpstan" version="^0.12" installed="0.12.9" location="./tools/phpstan" copy="true"/>
56
</phive>

src/Console/Command/HelpCommand.php

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -71,9 +71,17 @@ public static function getHelpCopy()
7171
* ``junit`` follows the `JUnit xml schema from Jenkins </doc/junit-10.xsd>`_
7272
* ``checkstyle`` follows the common `"checkstyle" xml schema </doc/checkstyle.xsd>`_
7373
74+
The <comment>--quiet</comment> Do not output any message.
7475
7576
The <comment>--verbose</comment> option will show the applied rules. When using the ``txt`` format it will also display progress notifications.
7677
78+
NOTE: if there is an error like "errors reported during linting after fixing", you can use this to be even more verbose for debugging purpose
79+
80+
* ``--verbose=0`` or no option: normal
81+
* ``--verbose``, ``--verbose=1``, ``-v``: verbose
82+
* ``--verbose=2``, ``-vv``: very verbose
83+
* ``--verbose=3``, ``-vvv``: debug
84+
7785
The <comment>--rules</comment> option limits the rules to apply to the
7886
project:
7987

0 commit comments

Comments
 (0)