diff --git a/README.md b/README.md index 41c7c37..71a7770 100644 --- a/README.md +++ b/README.md @@ -4,11 +4,20 @@ Do you like final? _Really_ like it? Then enforce it on all your classes! When y ## Installation +### Running Psalm 5 + ``` composer require --dev cspray/phinal vendor/bin/psalm-plugin enable cspray/phinal ``` +### Running Psalm 4 + +``` +composer require --dev cspray/phinal:1.0.0 +vendor/bin/psalm-plugin enable cspray/phinal +``` + ## Code Examples Good! :+1: diff --git a/composer.json b/composer.json index 670abf7..e2634b0 100644 --- a/composer.json +++ b/composer.json @@ -6,12 +6,12 @@ "require": { "php": "^8.0", "ext-simplexml": "*", - "vimeo/psalm": "4.*" + "vimeo/psalm": "5.*" }, "require-dev": { "phpunit/phpunit": "^9.5.5", "squizlabs/php_codesniffer": "^3.3", - "psalm/plugin-phpunit": "^0.16.0", + "psalm/plugin-phpunit": "^0.18", "weirdan/prophecy-shim": "^2.0", "weirdan/codeception-psalm-module": "^0.13.1", "codeception/codeception": "^4.1",