Skip to content

Commit

Permalink
Merge branch '2.15' into 2.16
Browse files Browse the repository at this point in the history
  • Loading branch information
keradus committed Oct 27, 2020
2 parents ad3cb59 + c3b49b0 commit ac98e77
Show file tree
Hide file tree
Showing 8 changed files with 13 additions and 8 deletions.
1 change: 0 additions & 1 deletion .appveyor.yml
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,6 @@ install:
- echo extension=php_mbstring.dll >> php.ini
- IF NOT EXIST C:\tools\composer.phar (cd C:\tools && appveyor DownloadFile https://getcomposer.org/composer-stable.phar -FileName composer.phar)
- cd C:\projects\php-cs-fixer
- php C:\tools\composer.phar global show hirak/prestissimo -q || php C:\tools\composer.phar global require hirak/prestissimo

before_test:
- cd C:\projects\php-cs-fixer
Expand Down
1 change: 0 additions & 1 deletion .circleci/config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,6 @@ jobs:
- run: brew install [email protected]
- run: echo "memory_limit = 512M" > $(brew --prefix)/etc/php/7.4/conf.d/memory.ini
- run: curl -sS https://getcomposer.org/installer | php
- run: php composer.phar global show hirak/prestissimo -q || php composer.phar global require --no-interaction --no-progress --optimize-autoloader hirak/prestissimo
- run: php composer.phar install --optimize-autoloader --no-interaction --no-progress --no-suggest
- run: php composer.phar info -D | sort

Expand Down
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
/.php_cs
/.phpunit.result.cache
/box.json
/composer.lock
/php-cs-fixer.phar
Expand Down
8 changes: 4 additions & 4 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -20,8 +20,8 @@ before_install:
# turn off XDebug
- phpenv config-rm xdebug.ini || return 0

# Composer: boost installation
- composer global show hirak/prestissimo -q || travis_retry composer global require $DEFAULT_COMPOSER_FLAGS hirak/prestissimo
# Composer v2
- composer self-update --2

jobs:
include:
Expand Down Expand Up @@ -115,8 +115,8 @@ jobs:
# turn off XDebug
- phpenv config-rm xdebug.ini || return 0

# Composer: boost installation
- composer global show hirak/prestissimo -q || travis_retry composer global require $DEFAULT_COMPOSER_FLAGS hirak/prestissimo
# Composer v2
- composer self-update --2

# Require PHPUnit 8
- composer require --dev --no-update phpunit/phpunit:^8
Expand Down
1 change: 1 addition & 0 deletions dev-tools/check_file_permissions.sh
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@ files_with_wrong_permissions=$(
git ls-files --stage . \
':!*.sh' \
':!php-cs-fixer' \
':!dev-tools/*.php' \
| grep -P "^100\d\d(1|3|5|7) " \
| sort -fh
)
Expand Down
Empty file modified dev-tools/info-extractor.php
100644 → 100755
Empty file.
6 changes: 4 additions & 2 deletions dev-tools/install.sh
Original file line number Diff line number Diff line change
Expand Up @@ -20,12 +20,14 @@ cd "$(dirname "$0")"

mkdir -p bin

VERSION_CB="2.0.0.2"
VERSION_CB="2.20.4"
VERSION_SC="stable"

echo λλλ checkbashisms
if [ ! -x bin/checkbashisms ]; then
wget -Obin/checkbashisms https://sourceforge.net/projects/checkbaskisms/files/${VERSION_CB}/checkbashisms/download
wget -qO- "https://deb.debian.org/debian/pool/main/d/devscripts/devscripts_${VERSION_CB}.tar.xz" \
| tar -xJv -O devscripts-${VERSION_CB}/scripts/checkbashisms.pl \
> bin/checkbashisms
chmod u+x bin/checkbashisms
fi
bin/checkbashisms --version
Expand Down
3 changes: 3 additions & 0 deletions phpstan.neon
Original file line number Diff line number Diff line change
Expand Up @@ -47,4 +47,7 @@ parameters:
-
message: '/^Parameter #1 \$finder of method PhpCsFixer\\Config::setFinder\(\) expects iterable<string>, int given\.$/'
path: tests/ConfigTest.php
-
message: '/^Unreachable statement - code above always terminates\.$/'
path: tests/AutoReview/DocumentationTest.php
tipsOfTheDay: false

0 comments on commit ac98e77

Please sign in to comment.