Skip to content
This repository has been archived by the owner on Jan 4, 2022. It is now read-only.

Enhancement: Update localheinz/php-cs-fixer-config #113

Merged
merged 3 commits into from
Jan 5, 2019
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 2 additions & 1 deletion .php_cs
Original file line number Diff line number Diff line change
Expand Up @@ -3,13 +3,14 @@
declare(strict_types=1);

/**
* Copyright (c) 2017 Andreas Möller.
* Copyright (c) 2017 Andreas Möller
*
* For the full copyright and license information, please view
* the LICENSE file that was distributed with this source code.
*
* @see https://github.com/localheinz/test-util
*/

use Localheinz\PhpCsFixer\Config;

$header = <<<'EOF'
Expand Down
1 change: 0 additions & 1 deletion .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -73,7 +73,6 @@ jobs:
- if [[ -n "$GITHUB_TOKEN" ]]; then composer config github-oauth.github.com $GITHUB_TOKEN; fi

install:
- if [[ "$TRAVIS_PHP_VERSION" == "7.3" ]]; then composer remove --dev localheinz/php-cs-fixer-config; fi
- if [[ "$WITH_LOWEST" == "true" ]]; then composer update --prefer-lowest; fi
- if [[ "$WITH_LOCKED" == "true" ]]; then composer install; fi
- if [[ "$WITH_HIGHEST" == "true" ]]; then composer update; fi
Expand Down
2 changes: 1 addition & 1 deletion composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@
"require-dev": {
"infection/infection": "~0.11.4",
"localheinz/composer-normalize": "^1.0.0",
"localheinz/php-cs-fixer-config": "~1.17.0",
"localheinz/php-cs-fixer-config": "~1.19.0",
"localheinz/phpstan-rules": "~0.5.0",
"phpstan/phpstan": "~0.10.5",
"phpstan/phpstan-phpunit": "~0.10.0",
Expand Down
75 changes: 41 additions & 34 deletions composer.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion src/Exception/InvalidExcludeClassName.php
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
declare(strict_types=1);

/**
* Copyright (c) 2017 Andreas Möller.
* Copyright (c) 2017 Andreas Möller
*
* For the full copyright and license information, please view
* the LICENSE file that was distributed with this source code.
Expand Down
2 changes: 1 addition & 1 deletion src/Exception/NonExistentDirectory.php
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
declare(strict_types=1);

/**
* Copyright (c) 2017 Andreas Möller.
* Copyright (c) 2017 Andreas Möller
*
* For the full copyright and license information, please view
* the LICENSE file that was distributed with this source code.
Expand Down
2 changes: 1 addition & 1 deletion src/Exception/NonExistentExcludeClass.php
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
declare(strict_types=1);

/**
* Copyright (c) 2017 Andreas Möller.
* Copyright (c) 2017 Andreas Möller
*
* For the full copyright and license information, please view
* the LICENSE file that was distributed with this source code.
Expand Down
4 changes: 2 additions & 2 deletions src/Helper.php
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
declare(strict_types=1);

/**
* Copyright (c) 2017 Andreas Möller.
* Copyright (c) 2017 Andreas Möller
*
* For the full copyright and license information, please view
* the LICENSE file that was distributed with this source code.
Expand Down Expand Up @@ -196,7 +196,7 @@ final protected function assertClassyConstructsSatisfySpecification(callable $sp
throw Exception\NonExistentDirectory::fromDirectory($directory);
}

\array_walk($excludeClassyNames, static function ($excludeClassyName) {
\array_walk($excludeClassyNames, static function ($excludeClassyName): void {
if (!\is_string($excludeClassyName)) {
throw Exception\InvalidExcludeClassName::fromClassName($excludeClassyName);
}
Expand Down
2 changes: 1 addition & 1 deletion test/AutoReview/SrcCodeTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
declare(strict_types=1);

/**
* Copyright (c) 2017 Andreas Möller.
* Copyright (c) 2017 Andreas Möller
*
* For the full copyright and license information, please view
* the LICENSE file that was distributed with this source code.
Expand Down
2 changes: 1 addition & 1 deletion test/AutoReview/TestCodeTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
declare(strict_types=1);

/**
* Copyright (c) 2017 Andreas Möller.
* Copyright (c) 2017 Andreas Möller
*
* For the full copyright and license information, please view
* the LICENSE file that was distributed with this source code.
Expand Down
2 changes: 1 addition & 1 deletion test/Fixture/ClassExists/ExampleClass.php
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
declare(strict_types=1);

/**
* Copyright (c) 2017 Andreas Möller.
* Copyright (c) 2017 Andreas Möller
*
* For the full copyright and license information, please view
* the LICENSE file that was distributed with this source code.
Expand Down
2 changes: 1 addition & 1 deletion test/Fixture/ClassExtends/ChildClass.php
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
declare(strict_types=1);

/**
* Copyright (c) 2017 Andreas Möller.
* Copyright (c) 2017 Andreas Möller
*
* For the full copyright and license information, please view
* the LICENSE file that was distributed with this source code.
Expand Down
2 changes: 1 addition & 1 deletion test/Fixture/ClassExtends/ParentClass.php
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
declare(strict_types=1);

/**
* Copyright (c) 2017 Andreas Möller.
* Copyright (c) 2017 Andreas Möller
*
* For the full copyright and license information, please view
* the LICENSE file that was distributed with this source code.
Expand Down
2 changes: 1 addition & 1 deletion test/Fixture/ClassExtends/UnrelatedClass.php
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
declare(strict_types=1);

/**
* Copyright (c) 2017 Andreas Möller.
* Copyright (c) 2017 Andreas Möller
*
* For the full copyright and license information, please view
* the LICENSE file that was distributed with this source code.
Expand Down
2 changes: 1 addition & 1 deletion test/Fixture/ClassIsAbstract/AbstractClass.php
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
declare(strict_types=1);

/**
* Copyright (c) 2017 Andreas Möller.
* Copyright (c) 2017 Andreas Möller
*
* For the full copyright and license information, please view
* the LICENSE file that was distributed with this source code.
Expand Down
2 changes: 1 addition & 1 deletion test/Fixture/ClassIsAbstract/ConcreteClass.php
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
declare(strict_types=1);

/**
* Copyright (c) 2017 Andreas Möller.
* Copyright (c) 2017 Andreas Möller
*
* For the full copyright and license information, please view
* the LICENSE file that was distributed with this source code.
Expand Down
2 changes: 1 addition & 1 deletion test/Fixture/ClassIsFinal/AbstractClass.php
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
declare(strict_types=1);

/**
* Copyright (c) 2017 Andreas Möller.
* Copyright (c) 2017 Andreas Möller
*
* For the full copyright and license information, please view
* the LICENSE file that was distributed with this source code.
Expand Down
2 changes: 1 addition & 1 deletion test/Fixture/ClassIsFinal/FinalClass.php
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
declare(strict_types=1);

/**
* Copyright (c) 2017 Andreas Möller.
* Copyright (c) 2017 Andreas Möller
*
* For the full copyright and license information, please view
* the LICENSE file that was distributed with this source code.
Expand Down
Loading