diff --git a/.dependabot/config.yml b/.dependabot/config.yml index 704b2232..bfda34e2 100644 --- a/.dependabot/config.yml +++ b/.dependabot/config.yml @@ -9,14 +9,8 @@ update_configs: commit_message: include_scope: true prefix: "Build" - default_assignees: - - "ergebnis-bot" - - "localheinz" default_labels: - "dependency" - default_reviewers: - - "ergebnis-bot" - - "localheinz" directory: "/" ignored_updates: - match: diff --git a/.github/settings.yml b/.github/settings.yml index 604671f1..9251615b 100644 --- a/.github/settings.yml +++ b/.github/settings.yml @@ -75,7 +75,9 @@ repository: allow_merge_commit: true allow_rebase_merge: false allow_squash_merge: false + archived: false default_branch: "master" + delete_branch_on_merge: true description: ":eyeglasses: Provides additional rules for phpstan/phpstan." has_downloads: true has_issues: true diff --git a/.github/workflows/continuous-integration.yml b/.github/workflows/continuous-integration.yml index ad3f5b92..c8e54c02 100644 --- a/.github/workflows/continuous-integration.yml +++ b/.github/workflows/continuous-integration.yml @@ -32,7 +32,7 @@ jobs: uses: "actions/checkout@v2.0.0" - name: "Install PHP with extensions" - uses: "shivammathur/setup-php@1.7.0" + uses: "shivammathur/setup-php@1.7.3" with: coverage: "none" extensions: "${{ env.REQUIRED_PHP_EXTENSIONS }}" @@ -94,7 +94,7 @@ jobs: uses: "actions/checkout@v2.0.0" - name: "Install PHP with extensions" - uses: "shivammathur/setup-php@1.7.0" + uses: "shivammathur/setup-php@1.7.3" with: coverage: "none" extensions: "${{ env.REQUIRED_PHP_EXTENSIONS }}" @@ -140,7 +140,7 @@ jobs: uses: "actions/checkout@v2.0.0" - name: "Install PHP with extensions" - uses: "shivammathur/setup-php@1.7.0" + uses: "shivammathur/setup-php@1.7.3" with: coverage: "none" extensions: "${{ env.REQUIRED_PHP_EXTENSIONS }}" @@ -200,7 +200,7 @@ jobs: uses: "actions/checkout@v2.0.0" - name: "Install PHP with extensions" - uses: "shivammathur/setup-php@1.7.0" + uses: "shivammathur/setup-php@1.7.3" with: coverage: "none" extensions: "${{ env.REQUIRED_PHP_EXTENSIONS }}" @@ -252,7 +252,7 @@ jobs: uses: "actions/checkout@v2.0.0" - name: "Install PHP with extensions" - uses: "shivammathur/setup-php@1.7.0" + uses: "shivammathur/setup-php@1.7.3" with: coverage: "xdebug" extensions: "${{ env.REQUIRED_PHP_EXTENSIONS }}" @@ -306,7 +306,7 @@ jobs: uses: "actions/checkout@v2.0.0" - name: "Install PHP with extensions" - uses: "shivammathur/setup-php@1.7.0" + uses: "shivammathur/setup-php@1.7.3" with: coverage: "xdebug" extensions: "${{ env.REQUIRED_PHP_EXTENSIONS }}" @@ -334,8 +334,8 @@ jobs: - name: "Run mutation tests with Xdebug and infection/infection" run: "vendor/bin/infection --ignore-msi-with-no-mutations --min-covered-msi=${{ env.MIN_COVERED_MSI }} --min-msi=${{ env.MIN_MSI }}" - approve: - name: "Approve" + review: + name: "Review" runs-on: "ubuntu-latest" @@ -353,3 +353,9 @@ jobs: if: "(github.actor == 'dependabot[bot]' || github.actor == 'dependabot-preview[bot]') && github.event_name == 'pull_request' && startsWith(github.event.pull_request.title, 'Build(deps-dev)')" with: github-token: "${{ secrets.ERGEBNIS_BOT_TOKEN }}" + + - name: "Approve pull requests created by @ergebnis-bot that update the license year" + uses: "hmarr/auto-approve-action@v2.0.0" + if: "github.actor == 'ergebnis-bot' && github.event_name == 'pull_request' && github.event.pull_request.title == 'Enhancement: Update license year'" + with: + github-token: "${{ secrets.ERGEBNIS_BOT_TOKEN }}" diff --git a/.github/workflows/license.yml b/.github/workflows/license.yml new file mode 100644 index 00000000..5786ef26 --- /dev/null +++ b/.github/workflows/license.yml @@ -0,0 +1,85 @@ +# https://help.github.com/en/categories/automating-your-workflow-with-github-actions + +name: "License" + +on: + schedule: + - cron: "1 0 1 1 *" + +env: + REQUIRED_PHP_EXTENSIONS: "mbstring" + +jobs: + license: + name: "License" + + runs-on: "ubuntu-latest" + + strategy: + matrix: + php-version: + - "7.1" + + dependencies: + - "locked" + + steps: + - name: "Checkout" + uses: "actions/checkout@v2.0.0" + + - name: "Install PHP with extensions" + uses: "shivammathur/setup-php@1.7.3" + with: + coverage: "none" + extensions: "${{ env.REQUIRED_PHP_EXTENSIONS }}" + php-version: "${{ matrix.php-version }}" + + - name: "Validate composer.json and composer.lock" + run: "composer validate --strict" + + - name: "Cache dependencies installed with composer" + uses: "actions/cache@v1.0.3" + with: + path: "~/.composer/cache" + key: "php-${{ matrix.php-version }}-composer-${{ matrix.dependencies }}-${{ hashFiles('**/composer.lock') }}" + restore-keys: "php-${{ matrix.php-version }}-composer-${{ matrix.dependencies }}-" + + - name: "Install lowest dependencies with composer" + if: "matrix.dependencies == 'lowest'" + run: "composer update --no-interaction --no-progress --no-suggest --prefer-lowest" + + - name: "Install locked dependencies with composer" + if: "matrix.dependencies == 'locked'" + run: "composer install --no-interaction --no-progress --no-suggest" + + - name: "Install highest dependencies with composer" + if: "matrix.dependencies == 'highest'" + run: "composer update --no-interaction --no-progress --no-suggest" + + - name: "Create cache directory for friendsofphp/php-cs-fixer" + run: "mkdir -p .build/php-cs-fixer" + + - name: "Cache cache directory for friendsofphp/php-cs-fixer" + uses: "actions/cache@v1.0.3" + with: + path: ".build/php-cs-fixer" + key: "php-${{ matrix.php-version }}-php-cs-fixer-${{ hashFiles('**/composer.lock') }}" + restore-keys: "php-${{ matrix.php-version }}-php-cs-fixer-" + + - name: "Run friendsofphp/php-cs-fixer" + run: "vendor/bin/php-cs-fixer fix --config=.php_cs --diff --diff-format=udiff --dry-run --verbose" + + - name: "Open pull request updating license year" + uses: "gr2m/create-or-update-pull-request-action@v1.2.9" + with: + author: "ergebnis-bot " + branch: "feature/license-year" + body: | + This PR + + * [x] updates the license year + commit-message: "Enhancement: Update license year" + path: "." + title: "Enhancement: Update license year" + env: + GITHUB_TOKEN: "${{ secrets.ERGEBNIS_BOT_TOKEN }}" diff --git a/.php_cs b/.php_cs index 71f30e41..8545b6af 100644 --- a/.php_cs +++ b/.php_cs @@ -3,26 +3,30 @@ declare(strict_types=1); /** - * Copyright (c) 2018 Andreas Möller + * Copyright (c) 2018-2020 Andreas Möller * * For the full copyright and license information, please view - * the LICENSE file that was distributed with this source code. + * the LICENSE.md file that was distributed with this source code. * * @see https://github.com/ergebnis/phpstan-rules */ +use Ergebnis\License; use Ergebnis\PhpCsFixer\Config; -$header = <<<'EOF' -Copyright (c) 2018 Andreas Möller +$license = License\Type\MIT::markdown( + __DIR__ . '/LICENSE.md', + License\Range::since( + License\Year::fromString('2018'), + new \DateTimeZone('UTC') + ), + License\Holder::fromString('Andreas Möller'), + License\Url::fromString('https://github.com/ergebnis/phpstan-rules') +); -For the full copyright and license information, please view -the LICENSE file that was distributed with this source code. +$license->save(); -@see https://github.com/ergebnis/phpstan-rules -EOF; - -$config = Config\Factory::fromRuleSet(new Config\RuleSet\Php71($header)); +$config = Config\Factory::fromRuleSet(new Config\RuleSet\Php71($license->header())); $config->getFinder() ->ignoreDotFiles(false) diff --git a/.php_cs.fixture b/.php_cs.fixture index 66d25ff6..8dc99b0d 100644 --- a/.php_cs.fixture +++ b/.php_cs.fixture @@ -3,10 +3,10 @@ declare(strict_types=1); /** - * Copyright (c) 2018 Andreas Möller + * Copyright (c) 2018-2020 Andreas Möller * * For the full copyright and license information, please view - * the LICENSE file that was distributed with this source code. + * the LICENSE.md file that was distributed with this source code. * * @see https://github.com/ergebnis/phpstan-rules */ diff --git a/LICENSE b/LICENSE.md similarity index 77% rename from LICENSE rename to LICENSE.md index 05c24464..2aa4353a 100644 --- a/LICENSE +++ b/LICENSE.md @@ -1,16 +1,16 @@ -The MIT License (MIT) +# The MIT License (MIT) -Copyright (c) 2018 Andreas Möller +Copyright (c) 2018-2020 Andreas Möller Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated -documentation files (the "Software"), to deal in the Software without restriction, including without limitation the +documentation files (the _Software_), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions: The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software. -THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE +THE SOFTWARE IS PROVIDED **AS IS**, WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. diff --git a/README.md b/README.md index 3e385eb9..ff604986 100644 --- a/README.md +++ b/README.md @@ -2,8 +2,10 @@ [![Continuous Deployment](https://github.com/ergebnis/phpstan-rules/workflows/Continuous%20Deployment/badge.svg)](https://github.com/ergebnis/phpstan-rules/actions) [![Continuous Integration](https://github.com/ergebnis/phpstan-rules/workflows/Continuous%20Integration/badge.svg)](https://github.com/ergebnis/phpstan-rules/actions) + [![Code Coverage](https://codecov.io/gh/ergebnis/phpstan-rules/branch/master/graph/badge.svg)](https://codecov.io/gh/ergebnis/phpstan-rules) [![Type Coverage](https://shepherd.dev/github/ergebnis/phpstan-rules/coverage.svg)](https://shepherd.dev/github/ergebnis/phpstan-rules) + [![Latest Stable Version](https://poser.pugx.org/ergebnis/phpstan-rules/v/stable)](https://packagist.org/packages/ergebnis/phpstan-rules) [![Total Downloads](https://poser.pugx.org/ergebnis/phpstan-rules/downloads)](https://packagist.org/packages/ergebnis/phpstan-rules) @@ -264,7 +266,7 @@ Please have a look at [`CODE_OF_CONDUCT.md`](https://github.com/ergebnis/.github ## License -This package is licensed using the MIT License. +This package is licensed using the [MIT License](LICENSE.md). ## Credits diff --git a/composer.json b/composer.json index be05a420..2ffa6ace 100644 --- a/composer.json +++ b/composer.json @@ -23,6 +23,7 @@ }, "require-dev": { "ergebnis/composer-normalize": "^2.2.2", + "ergebnis/license": "~0.1.0", "ergebnis/php-cs-fixer-config": "^1.1.3", "ergebnis/test-util": "~0.9.1", "infection/infection": "~0.13.6", diff --git a/composer.lock b/composer.lock index ce6a33fb..00ada013 100644 --- a/composer.lock +++ b/composer.lock @@ -4,7 +4,7 @@ "Read more about it at https://getcomposer.org/doc/01-basic-usage.md#installing-dependencies", "This file is @generated automatically" ], - "content-hash": "b3ba4ea916f0095d7580bdc5517b788b", + "content-hash": "1e9b89ebd8e1a3688548248499d0e022", "packages": [ { "name": "composer/xdebug-handler", @@ -1954,6 +1954,64 @@ ], "time": "2019-12-19T14:42:54+00:00" }, + { + "name": "ergebnis/license", + "version": "0.1.0", + "source": { + "type": "git", + "url": "https://github.com/ergebnis/license.git", + "reference": "ca94bcaabcbd56e663899fc4510e9cfdd8c6329c" + }, + "dist": { + "type": "zip", + "url": "https://api.github.com/repos/ergebnis/license/zipball/ca94bcaabcbd56e663899fc4510e9cfdd8c6329c", + "reference": "ca94bcaabcbd56e663899fc4510e9cfdd8c6329c", + "shasum": "" + }, + "require": { + "ext-filter": "*", + "php": "^7.1" + }, + "require-dev": { + "ergebnis/composer-normalize": "^2.2.2", + "ergebnis/php-cs-fixer-config": "~1.1.3", + "ergebnis/phpstan-rules": "~0.14.2", + "ergebnis/test-util": "~0.9.1", + "infection/infection": "~0.13.6", + "jangregor/phpstan-prophecy": "~0.6.0", + "phpstan/extension-installer": "^1.0.3", + "phpstan/phpstan": "~0.12.5", + "phpstan/phpstan-deprecation-rules": "~0.12.2", + "phpstan/phpstan-phpunit": "~0.12.6", + "phpstan/phpstan-strict-rules": "~0.12.1", + "phpunit/phpunit": "^7.5.20", + "psalm/plugin-phpunit": "~0.8.1", + "symfony/filesystem": "^4.4.0", + "vimeo/psalm": "^3.8.3" + }, + "type": "library", + "autoload": { + "psr-4": { + "Ergebnis\\License\\": "src/" + } + }, + "notification-url": "https://packagist.org/downloads/", + "license": [ + "MIT" + ], + "authors": [ + { + "name": "Andreas Möller", + "email": "am@localheinz.com" + } + ], + "description": "Provides an abstraction for a license.", + "homepage": "https://github.com/ergebnis/license", + "keywords": [ + "license" + ], + "time": "2020-01-19T13:40:34+00:00" + }, { "name": "ergebnis/php-cs-fixer-config", "version": "1.1.3", diff --git a/src/Classes/FinalRule.php b/src/Classes/FinalRule.php index 08c3885f..e1e248cd 100644 --- a/src/Classes/FinalRule.php +++ b/src/Classes/FinalRule.php @@ -3,10 +3,10 @@ declare(strict_types=1); /** - * Copyright (c) 2018 Andreas Möller + * Copyright (c) 2018-2020 Andreas Möller * * For the full copyright and license information, please view - * the LICENSE file that was distributed with this source code. + * the LICENSE.md file that was distributed with this source code. * * @see https://github.com/ergebnis/phpstan-rules */ diff --git a/src/Classes/NoExtendsRule.php b/src/Classes/NoExtendsRule.php index 29ad9bc9..df760850 100644 --- a/src/Classes/NoExtendsRule.php +++ b/src/Classes/NoExtendsRule.php @@ -3,10 +3,10 @@ declare(strict_types=1); /** - * Copyright (c) 2018 Andreas Möller + * Copyright (c) 2018-2020 Andreas Möller * * For the full copyright and license information, please view - * the LICENSE file that was distributed with this source code. + * the LICENSE.md file that was distributed with this source code. * * @see https://github.com/ergebnis/phpstan-rules */ diff --git a/src/Closures/NoNullableReturnTypeDeclarationRule.php b/src/Closures/NoNullableReturnTypeDeclarationRule.php index 29c635d5..4a7dd5d2 100644 --- a/src/Closures/NoNullableReturnTypeDeclarationRule.php +++ b/src/Closures/NoNullableReturnTypeDeclarationRule.php @@ -3,10 +3,10 @@ declare(strict_types=1); /** - * Copyright (c) 2018 Andreas Möller + * Copyright (c) 2018-2020 Andreas Möller * * For the full copyright and license information, please view - * the LICENSE file that was distributed with this source code. + * the LICENSE.md file that was distributed with this source code. * * @see https://github.com/ergebnis/phpstan-rules */ diff --git a/src/Closures/NoParameterWithNullDefaultValueRule.php b/src/Closures/NoParameterWithNullDefaultValueRule.php index b59e8223..ebef9de3 100644 --- a/src/Closures/NoParameterWithNullDefaultValueRule.php +++ b/src/Closures/NoParameterWithNullDefaultValueRule.php @@ -3,10 +3,10 @@ declare(strict_types=1); /** - * Copyright (c) 2018 Andreas Möller + * Copyright (c) 2018-2020 Andreas Möller * * For the full copyright and license information, please view - * the LICENSE file that was distributed with this source code. + * the LICENSE.md file that was distributed with this source code. * * @see https://github.com/ergebnis/phpstan-rules */ diff --git a/src/Closures/NoParameterWithNullableTypeDeclarationRule.php b/src/Closures/NoParameterWithNullableTypeDeclarationRule.php index 297262f8..ee7450fc 100644 --- a/src/Closures/NoParameterWithNullableTypeDeclarationRule.php +++ b/src/Closures/NoParameterWithNullableTypeDeclarationRule.php @@ -3,10 +3,10 @@ declare(strict_types=1); /** - * Copyright (c) 2018 Andreas Möller + * Copyright (c) 2018-2020 Andreas Möller * * For the full copyright and license information, please view - * the LICENSE file that was distributed with this source code. + * the LICENSE.md file that was distributed with this source code. * * @see https://github.com/ergebnis/phpstan-rules */ diff --git a/src/Expressions/NoCompactRule.php b/src/Expressions/NoCompactRule.php index a0ec7478..949021a5 100644 --- a/src/Expressions/NoCompactRule.php +++ b/src/Expressions/NoCompactRule.php @@ -3,10 +3,10 @@ declare(strict_types=1); /** - * Copyright (c) 2018 Andreas Möller + * Copyright (c) 2018-2020 Andreas Möller * * For the full copyright and license information, please view - * the LICENSE file that was distributed with this source code. + * the LICENSE.md file that was distributed with this source code. * * @see https://github.com/ergebnis/phpstan-rules */ diff --git a/src/Expressions/NoEmptyRule.php b/src/Expressions/NoEmptyRule.php index 617d3c9e..848159b9 100644 --- a/src/Expressions/NoEmptyRule.php +++ b/src/Expressions/NoEmptyRule.php @@ -3,10 +3,10 @@ declare(strict_types=1); /** - * Copyright (c) 2018 Andreas Möller + * Copyright (c) 2018-2020 Andreas Möller * * For the full copyright and license information, please view - * the LICENSE file that was distributed with this source code. + * the LICENSE.md file that was distributed with this source code. * * @see https://github.com/ergebnis/phpstan-rules */ diff --git a/src/Expressions/NoErrorSuppressionRule.php b/src/Expressions/NoErrorSuppressionRule.php index 4398dafe..f0940f34 100644 --- a/src/Expressions/NoErrorSuppressionRule.php +++ b/src/Expressions/NoErrorSuppressionRule.php @@ -3,10 +3,10 @@ declare(strict_types=1); /** - * Copyright (c) 2018 Andreas Möller + * Copyright (c) 2018-2020 Andreas Möller * * For the full copyright and license information, please view - * the LICENSE file that was distributed with this source code. + * the LICENSE.md file that was distributed with this source code. * * @see https://github.com/ergebnis/phpstan-rules */ diff --git a/src/Expressions/NoEvalRule.php b/src/Expressions/NoEvalRule.php index 3a1cfa6f..1a58b22a 100644 --- a/src/Expressions/NoEvalRule.php +++ b/src/Expressions/NoEvalRule.php @@ -3,10 +3,10 @@ declare(strict_types=1); /** - * Copyright (c) 2018 Andreas Möller + * Copyright (c) 2018-2020 Andreas Möller * * For the full copyright and license information, please view - * the LICENSE file that was distributed with this source code. + * the LICENSE.md file that was distributed with this source code. * * @see https://github.com/ergebnis/phpstan-rules */ diff --git a/src/Expressions/NoIssetRule.php b/src/Expressions/NoIssetRule.php index 8afd7d52..6c2d4923 100644 --- a/src/Expressions/NoIssetRule.php +++ b/src/Expressions/NoIssetRule.php @@ -3,10 +3,10 @@ declare(strict_types=1); /** - * Copyright (c) 2018 Andreas Möller + * Copyright (c) 2018-2020 Andreas Möller * * For the full copyright and license information, please view - * the LICENSE file that was distributed with this source code. + * the LICENSE.md file that was distributed with this source code. * * @see https://github.com/ergebnis/phpstan-rules */ diff --git a/src/Files/DeclareStrictTypesRule.php b/src/Files/DeclareStrictTypesRule.php index 833cae51..c5fc6d44 100644 --- a/src/Files/DeclareStrictTypesRule.php +++ b/src/Files/DeclareStrictTypesRule.php @@ -3,10 +3,10 @@ declare(strict_types=1); /** - * Copyright (c) 2018 Andreas Möller + * Copyright (c) 2018-2020 Andreas Möller * * For the full copyright and license information, please view - * the LICENSE file that was distributed with this source code. + * the LICENSE.md file that was distributed with this source code. * * @see https://github.com/ergebnis/phpstan-rules */ diff --git a/src/Functions/NoNullableReturnTypeDeclarationRule.php b/src/Functions/NoNullableReturnTypeDeclarationRule.php index 15e34c74..21a7d1ca 100644 --- a/src/Functions/NoNullableReturnTypeDeclarationRule.php +++ b/src/Functions/NoNullableReturnTypeDeclarationRule.php @@ -3,10 +3,10 @@ declare(strict_types=1); /** - * Copyright (c) 2018 Andreas Möller + * Copyright (c) 2018-2020 Andreas Möller * * For the full copyright and license information, please view - * the LICENSE file that was distributed with this source code. + * the LICENSE.md file that was distributed with this source code. * * @see https://github.com/ergebnis/phpstan-rules */ diff --git a/src/Functions/NoParameterWithNullDefaultValueRule.php b/src/Functions/NoParameterWithNullDefaultValueRule.php index c60ff22d..e1bdae09 100644 --- a/src/Functions/NoParameterWithNullDefaultValueRule.php +++ b/src/Functions/NoParameterWithNullDefaultValueRule.php @@ -3,10 +3,10 @@ declare(strict_types=1); /** - * Copyright (c) 2018 Andreas Möller + * Copyright (c) 2018-2020 Andreas Möller * * For the full copyright and license information, please view - * the LICENSE file that was distributed with this source code. + * the LICENSE.md file that was distributed with this source code. * * @see https://github.com/ergebnis/phpstan-rules */ diff --git a/src/Functions/NoParameterWithNullableTypeDeclarationRule.php b/src/Functions/NoParameterWithNullableTypeDeclarationRule.php index 79fddda2..9f3b4326 100644 --- a/src/Functions/NoParameterWithNullableTypeDeclarationRule.php +++ b/src/Functions/NoParameterWithNullableTypeDeclarationRule.php @@ -3,10 +3,10 @@ declare(strict_types=1); /** - * Copyright (c) 2018 Andreas Möller + * Copyright (c) 2018-2020 Andreas Möller * * For the full copyright and license information, please view - * the LICENSE file that was distributed with this source code. + * the LICENSE.md file that was distributed with this source code. * * @see https://github.com/ergebnis/phpstan-rules */ diff --git a/src/Methods/FinalInAbstractClassRule.php b/src/Methods/FinalInAbstractClassRule.php index 2a2c60b7..6ac0ab05 100644 --- a/src/Methods/FinalInAbstractClassRule.php +++ b/src/Methods/FinalInAbstractClassRule.php @@ -3,10 +3,10 @@ declare(strict_types=1); /** - * Copyright (c) 2018 Andreas Möller + * Copyright (c) 2018-2020 Andreas Möller * * For the full copyright and license information, please view - * the LICENSE file that was distributed with this source code. + * the LICENSE.md file that was distributed with this source code. * * @see https://github.com/ergebnis/phpstan-rules */ diff --git a/src/Methods/NoConstructorParameterWithDefaultValueRule.php b/src/Methods/NoConstructorParameterWithDefaultValueRule.php index 4442dfd0..4abc341f 100644 --- a/src/Methods/NoConstructorParameterWithDefaultValueRule.php +++ b/src/Methods/NoConstructorParameterWithDefaultValueRule.php @@ -3,10 +3,10 @@ declare(strict_types=1); /** - * Copyright (c) 2018 Andreas Möller + * Copyright (c) 2018-2020 Andreas Möller * * For the full copyright and license information, please view - * the LICENSE file that was distributed with this source code. + * the LICENSE.md file that was distributed with this source code. * * @see https://github.com/ergebnis/phpstan-rules */ diff --git a/src/Methods/NoNullableReturnTypeDeclarationRule.php b/src/Methods/NoNullableReturnTypeDeclarationRule.php index b0820dad..8761a3c4 100644 --- a/src/Methods/NoNullableReturnTypeDeclarationRule.php +++ b/src/Methods/NoNullableReturnTypeDeclarationRule.php @@ -3,10 +3,10 @@ declare(strict_types=1); /** - * Copyright (c) 2018 Andreas Möller + * Copyright (c) 2018-2020 Andreas Möller * * For the full copyright and license information, please view - * the LICENSE file that was distributed with this source code. + * the LICENSE.md file that was distributed with this source code. * * @see https://github.com/ergebnis/phpstan-rules */ diff --git a/src/Methods/NoParameterWithContainerTypeDeclarationRule.php b/src/Methods/NoParameterWithContainerTypeDeclarationRule.php index 49c7e0de..461f1476 100644 --- a/src/Methods/NoParameterWithContainerTypeDeclarationRule.php +++ b/src/Methods/NoParameterWithContainerTypeDeclarationRule.php @@ -3,10 +3,10 @@ declare(strict_types=1); /** - * Copyright (c) 2018 Andreas Möller + * Copyright (c) 2018-2020 Andreas Möller * * For the full copyright and license information, please view - * the LICENSE file that was distributed with this source code. + * the LICENSE.md file that was distributed with this source code. * * @see https://github.com/ergebnis/phpstan-rules */ diff --git a/src/Methods/NoParameterWithNullDefaultValueRule.php b/src/Methods/NoParameterWithNullDefaultValueRule.php index 97514785..74d9986e 100644 --- a/src/Methods/NoParameterWithNullDefaultValueRule.php +++ b/src/Methods/NoParameterWithNullDefaultValueRule.php @@ -3,10 +3,10 @@ declare(strict_types=1); /** - * Copyright (c) 2018 Andreas Möller + * Copyright (c) 2018-2020 Andreas Möller * * For the full copyright and license information, please view - * the LICENSE file that was distributed with this source code. + * the LICENSE.md file that was distributed with this source code. * * @see https://github.com/ergebnis/phpstan-rules */ diff --git a/src/Methods/NoParameterWithNullableTypeDeclarationRule.php b/src/Methods/NoParameterWithNullableTypeDeclarationRule.php index d427e93a..49bf33f2 100644 --- a/src/Methods/NoParameterWithNullableTypeDeclarationRule.php +++ b/src/Methods/NoParameterWithNullableTypeDeclarationRule.php @@ -3,10 +3,10 @@ declare(strict_types=1); /** - * Copyright (c) 2018 Andreas Möller + * Copyright (c) 2018-2020 Andreas Möller * * For the full copyright and license information, please view - * the LICENSE file that was distributed with this source code. + * the LICENSE.md file that was distributed with this source code. * * @see https://github.com/ergebnis/phpstan-rules */ diff --git a/src/Methods/PrivateInFinalClassRule.php b/src/Methods/PrivateInFinalClassRule.php index 4d523101..486a80e4 100644 --- a/src/Methods/PrivateInFinalClassRule.php +++ b/src/Methods/PrivateInFinalClassRule.php @@ -3,10 +3,10 @@ declare(strict_types=1); /** - * Copyright (c) 2018 Andreas Möller + * Copyright (c) 2018-2020 Andreas Möller * * For the full copyright and license information, please view - * the LICENSE file that was distributed with this source code. + * the LICENSE.md file that was distributed with this source code. * * @see https://github.com/ergebnis/phpstan-rules */ diff --git a/src/Statements/NoSwitchRule.php b/src/Statements/NoSwitchRule.php index f45ba82a..edb0b511 100644 --- a/src/Statements/NoSwitchRule.php +++ b/src/Statements/NoSwitchRule.php @@ -3,10 +3,10 @@ declare(strict_types=1); /** - * Copyright (c) 2018 Andreas Möller + * Copyright (c) 2018-2020 Andreas Möller * * For the full copyright and license information, please view - * the LICENSE file that was distributed with this source code. + * the LICENSE.md file that was distributed with this source code. * * @see https://github.com/ergebnis/phpstan-rules */ diff --git a/test/AutoReview/SrcCodeTest.php b/test/AutoReview/SrcCodeTest.php index 2ff22347..4283ddd3 100644 --- a/test/AutoReview/SrcCodeTest.php +++ b/test/AutoReview/SrcCodeTest.php @@ -3,10 +3,10 @@ declare(strict_types=1); /** - * Copyright (c) 2018 Andreas Möller + * Copyright (c) 2018-2020 Andreas Möller * * For the full copyright and license information, please view - * the LICENSE file that was distributed with this source code. + * the LICENSE.md file that was distributed with this source code. * * @see https://github.com/ergebnis/phpstan-rules */ diff --git a/test/AutoReview/TestCodeTest.php b/test/AutoReview/TestCodeTest.php index 0a6fe79f..507e78a6 100644 --- a/test/AutoReview/TestCodeTest.php +++ b/test/AutoReview/TestCodeTest.php @@ -3,10 +3,10 @@ declare(strict_types=1); /** - * Copyright (c) 2018 Andreas Möller + * Copyright (c) 2018-2020 Andreas Möller * * For the full copyright and license information, please view - * the LICENSE file that was distributed with this source code. + * the LICENSE.md file that was distributed with this source code. * * @see https://github.com/ergebnis/phpstan-rules */ diff --git a/test/Integration/AbstractTestCase.php b/test/Integration/AbstractTestCase.php index 5063e787..69d073ed 100644 --- a/test/Integration/AbstractTestCase.php +++ b/test/Integration/AbstractTestCase.php @@ -3,10 +3,10 @@ declare(strict_types=1); /** - * Copyright (c) 2018 Andreas Möller + * Copyright (c) 2018-2020 Andreas Möller * * For the full copyright and license information, please view - * the LICENSE file that was distributed with this source code. + * the LICENSE.md file that was distributed with this source code. * * @see https://github.com/ergebnis/phpstan-rules */ diff --git a/test/Integration/Classes/FinalRuleTest.php b/test/Integration/Classes/FinalRuleTest.php index b44b98da..5273c0eb 100644 --- a/test/Integration/Classes/FinalRuleTest.php +++ b/test/Integration/Classes/FinalRuleTest.php @@ -3,10 +3,10 @@ declare(strict_types=1); /** - * Copyright (c) 2018 Andreas Möller + * Copyright (c) 2018-2020 Andreas Möller * * For the full copyright and license information, please view - * the LICENSE file that was distributed with this source code. + * the LICENSE.md file that was distributed with this source code. * * @see https://github.com/ergebnis/phpstan-rules */ diff --git a/test/Integration/Classes/FinalRuleWithAbstractClassesAllowedTest.php b/test/Integration/Classes/FinalRuleWithAbstractClassesAllowedTest.php index c2e9d446..701680dc 100644 --- a/test/Integration/Classes/FinalRuleWithAbstractClassesAllowedTest.php +++ b/test/Integration/Classes/FinalRuleWithAbstractClassesAllowedTest.php @@ -3,10 +3,10 @@ declare(strict_types=1); /** - * Copyright (c) 2018 Andreas Möller + * Copyright (c) 2018-2020 Andreas Möller * * For the full copyright and license information, please view - * the LICENSE file that was distributed with this source code. + * the LICENSE.md file that was distributed with this source code. * * @see https://github.com/ergebnis/phpstan-rules */ diff --git a/test/Integration/Classes/FinalRuleWithExcludedClassNamesTest.php b/test/Integration/Classes/FinalRuleWithExcludedClassNamesTest.php index 38d90a7d..08586d17 100644 --- a/test/Integration/Classes/FinalRuleWithExcludedClassNamesTest.php +++ b/test/Integration/Classes/FinalRuleWithExcludedClassNamesTest.php @@ -3,10 +3,10 @@ declare(strict_types=1); /** - * Copyright (c) 2018 Andreas Möller + * Copyright (c) 2018-2020 Andreas Möller * * For the full copyright and license information, please view - * the LICENSE file that was distributed with this source code. + * the LICENSE.md file that was distributed with this source code. * * @see https://github.com/ergebnis/phpstan-rules */ diff --git a/test/Integration/Classes/NoExtendsRuleTest.php b/test/Integration/Classes/NoExtendsRuleTest.php index b158c713..16c7cfe8 100644 --- a/test/Integration/Classes/NoExtendsRuleTest.php +++ b/test/Integration/Classes/NoExtendsRuleTest.php @@ -3,10 +3,10 @@ declare(strict_types=1); /** - * Copyright (c) 2018 Andreas Möller + * Copyright (c) 2018-2020 Andreas Möller * * For the full copyright and license information, please view - * the LICENSE file that was distributed with this source code. + * the LICENSE.md file that was distributed with this source code. * * @see https://github.com/ergebnis/phpstan-rules */ diff --git a/test/Integration/Classes/NoExtendsRuleWithClassesAllowedToBeExtendedTest.php b/test/Integration/Classes/NoExtendsRuleWithClassesAllowedToBeExtendedTest.php index c427a2d3..95fccfcd 100644 --- a/test/Integration/Classes/NoExtendsRuleWithClassesAllowedToBeExtendedTest.php +++ b/test/Integration/Classes/NoExtendsRuleWithClassesAllowedToBeExtendedTest.php @@ -3,10 +3,10 @@ declare(strict_types=1); /** - * Copyright (c) 2018 Andreas Möller + * Copyright (c) 2018-2020 Andreas Möller * * For the full copyright and license information, please view - * the LICENSE file that was distributed with this source code. + * the LICENSE.md file that was distributed with this source code. * * @see https://github.com/ergebnis/phpstan-rules */ diff --git a/test/Integration/Closures/NoNullableReturnTypeDeclarationRuleTest.php b/test/Integration/Closures/NoNullableReturnTypeDeclarationRuleTest.php index cffc2502..acbc803a 100644 --- a/test/Integration/Closures/NoNullableReturnTypeDeclarationRuleTest.php +++ b/test/Integration/Closures/NoNullableReturnTypeDeclarationRuleTest.php @@ -3,10 +3,10 @@ declare(strict_types=1); /** - * Copyright (c) 2018 Andreas Möller + * Copyright (c) 2018-2020 Andreas Möller * * For the full copyright and license information, please view - * the LICENSE file that was distributed with this source code. + * the LICENSE.md file that was distributed with this source code. * * @see https://github.com/ergebnis/phpstan-rules */ diff --git a/test/Integration/Closures/NoParameterWithNullDefaultValueRuleTest.php b/test/Integration/Closures/NoParameterWithNullDefaultValueRuleTest.php index 3330b45d..71a33a3c 100644 --- a/test/Integration/Closures/NoParameterWithNullDefaultValueRuleTest.php +++ b/test/Integration/Closures/NoParameterWithNullDefaultValueRuleTest.php @@ -3,10 +3,10 @@ declare(strict_types=1); /** - * Copyright (c) 2018 Andreas Möller + * Copyright (c) 2018-2020 Andreas Möller * * For the full copyright and license information, please view - * the LICENSE file that was distributed with this source code. + * the LICENSE.md file that was distributed with this source code. * * @see https://github.com/ergebnis/phpstan-rules */ diff --git a/test/Integration/Closures/NoParameterWithNullableTypeDeclarationRuleTest.php b/test/Integration/Closures/NoParameterWithNullableTypeDeclarationRuleTest.php index 5ad15a0c..c527edcb 100644 --- a/test/Integration/Closures/NoParameterWithNullableTypeDeclarationRuleTest.php +++ b/test/Integration/Closures/NoParameterWithNullableTypeDeclarationRuleTest.php @@ -3,10 +3,10 @@ declare(strict_types=1); /** - * Copyright (c) 2018 Andreas Möller + * Copyright (c) 2018-2020 Andreas Möller * * For the full copyright and license information, please view - * the LICENSE file that was distributed with this source code. + * the LICENSE.md file that was distributed with this source code. * * @see https://github.com/ergebnis/phpstan-rules */ diff --git a/test/Integration/Expressions/NoCompactRuleTest.php b/test/Integration/Expressions/NoCompactRuleTest.php index 9c49b1a8..7361ad9d 100644 --- a/test/Integration/Expressions/NoCompactRuleTest.php +++ b/test/Integration/Expressions/NoCompactRuleTest.php @@ -3,10 +3,10 @@ declare(strict_types=1); /** - * Copyright (c) 2018 Andreas Möller + * Copyright (c) 2018-2020 Andreas Möller * * For the full copyright and license information, please view - * the LICENSE file that was distributed with this source code. + * the LICENSE.md file that was distributed with this source code. * * @see https://github.com/ergebnis/phpstan-rules */ diff --git a/test/Integration/Expressions/NoEmptyRuleTest.php b/test/Integration/Expressions/NoEmptyRuleTest.php index 5a7bb3df..8f8534f6 100644 --- a/test/Integration/Expressions/NoEmptyRuleTest.php +++ b/test/Integration/Expressions/NoEmptyRuleTest.php @@ -3,10 +3,10 @@ declare(strict_types=1); /** - * Copyright (c) 2018 Andreas Möller + * Copyright (c) 2018-2020 Andreas Möller * * For the full copyright and license information, please view - * the LICENSE file that was distributed with this source code. + * the LICENSE.md file that was distributed with this source code. * * @see https://github.com/ergebnis/phpstan-rules */ diff --git a/test/Integration/Expressions/NoErrorSuppressionRuleTest.php b/test/Integration/Expressions/NoErrorSuppressionRuleTest.php index 40ac624b..286f5ba5 100644 --- a/test/Integration/Expressions/NoErrorSuppressionRuleTest.php +++ b/test/Integration/Expressions/NoErrorSuppressionRuleTest.php @@ -3,10 +3,10 @@ declare(strict_types=1); /** - * Copyright (c) 2018 Andreas Möller + * Copyright (c) 2018-2020 Andreas Möller * * For the full copyright and license information, please view - * the LICENSE file that was distributed with this source code. + * the LICENSE.md file that was distributed with this source code. * * @see https://github.com/ergebnis/phpstan-rules */ diff --git a/test/Integration/Expressions/NoEvalRuleTest.php b/test/Integration/Expressions/NoEvalRuleTest.php index 5f430e77..9c1844cc 100644 --- a/test/Integration/Expressions/NoEvalRuleTest.php +++ b/test/Integration/Expressions/NoEvalRuleTest.php @@ -3,10 +3,10 @@ declare(strict_types=1); /** - * Copyright (c) 2018 Andreas Möller + * Copyright (c) 2018-2020 Andreas Möller * * For the full copyright and license information, please view - * the LICENSE file that was distributed with this source code. + * the LICENSE.md file that was distributed with this source code. * * @see https://github.com/ergebnis/phpstan-rules */ diff --git a/test/Integration/Expressions/NoIssetRuleTest.php b/test/Integration/Expressions/NoIssetRuleTest.php index 1eaafd0c..1a755158 100644 --- a/test/Integration/Expressions/NoIssetRuleTest.php +++ b/test/Integration/Expressions/NoIssetRuleTest.php @@ -3,10 +3,10 @@ declare(strict_types=1); /** - * Copyright (c) 2018 Andreas Möller + * Copyright (c) 2018-2020 Andreas Möller * * For the full copyright and license information, please view - * the LICENSE file that was distributed with this source code. + * the LICENSE.md file that was distributed with this source code. * * @see https://github.com/ergebnis/phpstan-rules */ diff --git a/test/Integration/Files/DeclareStrictTypesRuleTest.php b/test/Integration/Files/DeclareStrictTypesRuleTest.php index d57a9b19..41068acd 100644 --- a/test/Integration/Files/DeclareStrictTypesRuleTest.php +++ b/test/Integration/Files/DeclareStrictTypesRuleTest.php @@ -3,10 +3,10 @@ declare(strict_types=1); /** - * Copyright (c) 2018 Andreas Möller + * Copyright (c) 2018-2020 Andreas Möller * * For the full copyright and license information, please view - * the LICENSE file that was distributed with this source code. + * the LICENSE.md file that was distributed with this source code. * * @see https://github.com/ergebnis/phpstan-rules */ diff --git a/test/Integration/Functions/NoNullableReturnTypeDeclarationRuleTest.php b/test/Integration/Functions/NoNullableReturnTypeDeclarationRuleTest.php index cdd6a7c7..16b75d9a 100644 --- a/test/Integration/Functions/NoNullableReturnTypeDeclarationRuleTest.php +++ b/test/Integration/Functions/NoNullableReturnTypeDeclarationRuleTest.php @@ -3,10 +3,10 @@ declare(strict_types=1); /** - * Copyright (c) 2018 Andreas Möller + * Copyright (c) 2018-2020 Andreas Möller * * For the full copyright and license information, please view - * the LICENSE file that was distributed with this source code. + * the LICENSE.md file that was distributed with this source code. * * @see https://github.com/ergebnis/phpstan-rules */ diff --git a/test/Integration/Functions/NoParameterWithNullDefaultValueRuleTest.php b/test/Integration/Functions/NoParameterWithNullDefaultValueRuleTest.php index 51bf6e37..a41fdd46 100644 --- a/test/Integration/Functions/NoParameterWithNullDefaultValueRuleTest.php +++ b/test/Integration/Functions/NoParameterWithNullDefaultValueRuleTest.php @@ -3,10 +3,10 @@ declare(strict_types=1); /** - * Copyright (c) 2018 Andreas Möller + * Copyright (c) 2018-2020 Andreas Möller * * For the full copyright and license information, please view - * the LICENSE file that was distributed with this source code. + * the LICENSE.md file that was distributed with this source code. * * @see https://github.com/ergebnis/phpstan-rules */ diff --git a/test/Integration/Functions/NoParameterWithNullableTypeDeclarationRuleTest.php b/test/Integration/Functions/NoParameterWithNullableTypeDeclarationRuleTest.php index 1905707d..a11b86b4 100644 --- a/test/Integration/Functions/NoParameterWithNullableTypeDeclarationRuleTest.php +++ b/test/Integration/Functions/NoParameterWithNullableTypeDeclarationRuleTest.php @@ -3,10 +3,10 @@ declare(strict_types=1); /** - * Copyright (c) 2018 Andreas Möller + * Copyright (c) 2018-2020 Andreas Möller * * For the full copyright and license information, please view - * the LICENSE file that was distributed with this source code. + * the LICENSE.md file that was distributed with this source code. * * @see https://github.com/ergebnis/phpstan-rules */ diff --git a/test/Integration/Methods/FinalInAbstractClassRuleTest.php b/test/Integration/Methods/FinalInAbstractClassRuleTest.php index bbfd9577..02fa1ff7 100644 --- a/test/Integration/Methods/FinalInAbstractClassRuleTest.php +++ b/test/Integration/Methods/FinalInAbstractClassRuleTest.php @@ -3,10 +3,10 @@ declare(strict_types=1); /** - * Copyright (c) 2018 Andreas Möller + * Copyright (c) 2018-2020 Andreas Möller * * For the full copyright and license information, please view - * the LICENSE file that was distributed with this source code. + * the LICENSE.md file that was distributed with this source code. * * @see https://github.com/ergebnis/phpstan-rules */ diff --git a/test/Integration/Methods/NoConstructorParameterWithDefaultValueRuleTest.php b/test/Integration/Methods/NoConstructorParameterWithDefaultValueRuleTest.php index c5d40f8f..f69427a8 100644 --- a/test/Integration/Methods/NoConstructorParameterWithDefaultValueRuleTest.php +++ b/test/Integration/Methods/NoConstructorParameterWithDefaultValueRuleTest.php @@ -3,10 +3,10 @@ declare(strict_types=1); /** - * Copyright (c) 2018 Andreas Möller + * Copyright (c) 2018-2020 Andreas Möller * * For the full copyright and license information, please view - * the LICENSE file that was distributed with this source code. + * the LICENSE.md file that was distributed with this source code. * * @see https://github.com/ergebnis/phpstan-rules */ diff --git a/test/Integration/Methods/NoNullableReturnTypeDeclarationRuleTest.php b/test/Integration/Methods/NoNullableReturnTypeDeclarationRuleTest.php index 99fcfb7d..e543eefb 100644 --- a/test/Integration/Methods/NoNullableReturnTypeDeclarationRuleTest.php +++ b/test/Integration/Methods/NoNullableReturnTypeDeclarationRuleTest.php @@ -3,10 +3,10 @@ declare(strict_types=1); /** - * Copyright (c) 2018 Andreas Möller + * Copyright (c) 2018-2020 Andreas Möller * * For the full copyright and license information, please view - * the LICENSE file that was distributed with this source code. + * the LICENSE.md file that was distributed with this source code. * * @see https://github.com/ergebnis/phpstan-rules */ diff --git a/test/Integration/Methods/NoParameterWithContainerTypeDeclarationRuleTest.php b/test/Integration/Methods/NoParameterWithContainerTypeDeclarationRuleTest.php index cde8ec89..06c0e746 100644 --- a/test/Integration/Methods/NoParameterWithContainerTypeDeclarationRuleTest.php +++ b/test/Integration/Methods/NoParameterWithContainerTypeDeclarationRuleTest.php @@ -3,10 +3,10 @@ declare(strict_types=1); /** - * Copyright (c) 2018 Andreas Möller + * Copyright (c) 2018-2020 Andreas Möller * * For the full copyright and license information, please view - * the LICENSE file that was distributed with this source code. + * the LICENSE.md file that was distributed with this source code. * * @see https://github.com/ergebnis/phpstan-rules */ diff --git a/test/Integration/Methods/NoParameterWithNullDefaultValueRuleTest.php b/test/Integration/Methods/NoParameterWithNullDefaultValueRuleTest.php index a2ae42a5..b04200f4 100644 --- a/test/Integration/Methods/NoParameterWithNullDefaultValueRuleTest.php +++ b/test/Integration/Methods/NoParameterWithNullDefaultValueRuleTest.php @@ -3,10 +3,10 @@ declare(strict_types=1); /** - * Copyright (c) 2018 Andreas Möller + * Copyright (c) 2018-2020 Andreas Möller * * For the full copyright and license information, please view - * the LICENSE file that was distributed with this source code. + * the LICENSE.md file that was distributed with this source code. * * @see https://github.com/ergebnis/phpstan-rules */ diff --git a/test/Integration/Methods/NoParameterWithNullableTypeDeclarationRuleTest.php b/test/Integration/Methods/NoParameterWithNullableTypeDeclarationRuleTest.php index e7f18891..77488355 100644 --- a/test/Integration/Methods/NoParameterWithNullableTypeDeclarationRuleTest.php +++ b/test/Integration/Methods/NoParameterWithNullableTypeDeclarationRuleTest.php @@ -3,10 +3,10 @@ declare(strict_types=1); /** - * Copyright (c) 2018 Andreas Möller + * Copyright (c) 2018-2020 Andreas Möller * * For the full copyright and license information, please view - * the LICENSE file that was distributed with this source code. + * the LICENSE.md file that was distributed with this source code. * * @see https://github.com/ergebnis/phpstan-rules */ diff --git a/test/Integration/Methods/PrivateInFinalClassRuleTest.php b/test/Integration/Methods/PrivateInFinalClassRuleTest.php index 98280274..2f2b16f1 100644 --- a/test/Integration/Methods/PrivateInFinalClassRuleTest.php +++ b/test/Integration/Methods/PrivateInFinalClassRuleTest.php @@ -3,10 +3,10 @@ declare(strict_types=1); /** - * Copyright (c) 2018 Andreas Möller + * Copyright (c) 2018-2020 Andreas Möller * * For the full copyright and license information, please view - * the LICENSE file that was distributed with this source code. + * the LICENSE.md file that was distributed with this source code. * * @see https://github.com/ergebnis/phpstan-rules */ diff --git a/test/Integration/Statements/NoSwitchRuleTest.php b/test/Integration/Statements/NoSwitchRuleTest.php index 615eda1a..0abee3d1 100644 --- a/test/Integration/Statements/NoSwitchRuleTest.php +++ b/test/Integration/Statements/NoSwitchRuleTest.php @@ -3,10 +3,10 @@ declare(strict_types=1); /** - * Copyright (c) 2018 Andreas Möller + * Copyright (c) 2018-2020 Andreas Möller * * For the full copyright and license information, please view - * the LICENSE file that was distributed with this source code. + * the LICENSE.md file that was distributed with this source code. * * @see https://github.com/ergebnis/phpstan-rules */