Skip to content

Commit

Permalink
Merge pull request #3 from cspray/task/v2-support-psalm-5
Browse files Browse the repository at this point in the history
Support Psalm 5 in v2 of phinal
  • Loading branch information
cspray authored Jan 26, 2023
2 parents 16d2059 + 9a640f6 commit e7d89e1
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 2 deletions.
9 changes: 9 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand Down
4 changes: 2 additions & 2 deletions composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -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",
Expand Down

0 comments on commit e7d89e1

Please sign in to comment.