diff --git a/.tool-versions b/.tool-versions index 81f21cb..d057894 100644 --- a/.tool-versions +++ b/.tool-versions @@ -1 +1 @@ -php 8.3.11 +php 8.3.13 diff --git a/composer.json b/composer.json index aa6a6a4..1801093 100644 --- a/composer.json +++ b/composer.json @@ -13,12 +13,11 @@ "require": { "php": "^7.2 || ^8.0", "php-parallel-lint/php-console-highlighter": "^0.3 || ^0.4 || ^0.5 || ^1.0", - "phpstan/phpstan": "^0.12 || ^1.0" + "phpstan/phpstan": "^0.12 || ^1.0 || ^2.0" }, "require-dev": { "friendsofphp/php-cs-fixer": "^3.4.0", - "grifart/phpstan-oneline": "^0.4.2", - "phpstan/phpstan-phpunit": "^0.12.22 || ^1.0", + "phpstan/phpstan-phpunit": "^2.0", "phpunit/phpunit": "^8.5.26 || ^10.0.0" }, "minimum-stability": "dev", @@ -52,7 +51,6 @@ "analyze": "phpstan analyze -c phpstan.neon.dist --error-format friendly", "analyze-raw": "phpstan analyze -c phpstan.neon.dist --error-format raw", "analyze-table": "phpstan analyze -c phpstan.neon.dist --error-format table", - "analyze-oneline": "phpstan analyze -c phpstan.neon.dist --error-format oneline", "cs-fix": "php-cs-fixer fix", "cs-fix-dry": "php-cs-fixer fix --dry-run" } diff --git a/phpstan.neon.dist b/phpstan.neon.dist index d5a3619..10339bd 100644 --- a/phpstan.neon.dist +++ b/phpstan.neon.dist @@ -1,18 +1,16 @@ includes: - extension.neon - - vendor/grifart/phpstan-oneline/config.neon - vendor/phpstan/phpstan-phpunit/extension.neon - vendor/phpstan/phpstan-phpunit/rules.neon parameters: - level: 9 + level: 10 paths: - src - tests excludePaths: - tests/data/ - - tests/Abstracts/ checkUninitializedProperties: true checkMissingCallableSignature: true diff --git a/tests/CodeHighlight/CodeHighlighterTest.php b/tests/CodeHighlight/CodeHighlighterTest.php index cd317d8..b6bacf5 100644 --- a/tests/CodeHighlight/CodeHighlighterTest.php +++ b/tests/CodeHighlight/CodeHighlighterTest.php @@ -9,7 +9,7 @@ /** * @internal * - * @coversDefaultClass \Yamadashy\PhpStanFriendlyFormatter\CodeHighlighter + * @coversDefaultClass \Yamadashy\PhpStanFriendlyFormatter\CodeHighlight\CodeHighlighter */ final class CodeHighlighterTest extends TestCase {