Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Move vimeo/psalm to dev dependency and update installation instructions #38

Merged
merged 1 commit into from
Apr 4, 2024
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
9 changes: 8 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,13 @@ Generate [Psalm] types for [Laminas forms]
Install this package as a development dependency using [Composer]:

```commandline
composer require --dev kynx/laminas-form-shape
composer require --dev kynx/laminas-form-shape vimeo/psalm
```

If you would rather use the [Psalm Phar], require that instead:

```commandline
composer require --dev kynx/laminas-form-shape psalm/phar
```

## Usage
Expand Down Expand Up @@ -297,6 +303,7 @@ To come, once things settle down...
[Psalm]: https://psalm.dev
[Laminas forms]: https://docs.laminas.dev/laminas-form/
[Composer]: https://getcomposer.org
[Psalm Phar]: https://github.com/vimeo/psalm/blob/5.x/docs/running_psalm/installation.md#using-the-phar
[array shape]: https://psalm.dev/docs/annotating_code/type_syntax/array_types/#array-shapes
[3.17.0]: https://github.com/laminas/laminas-form/releases/tag/3.17.0
[Customisation]: #custom-filters-and-validators
Expand Down
6 changes: 3 additions & 3 deletions composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -31,8 +31,7 @@
"composer-runtime-api": "^2.2",
"laminas/laminas-cli": "^1.10",
"laminas/laminas-form": "^3.19",
"nette/php-generator": "^4.1",
"vimeo/psalm": "^5.20"
"nette/php-generator": "^4.1"
},
"require-dev": {
"cuyz/valinor": "^1.8",
Expand All @@ -45,7 +44,8 @@
"psr/http-client": "^1.0",
"psr/http-factory": "^1.0",
"roave/security-advisories": "dev-master",
"squizlabs/php_codesniffer": "^3.8"
"squizlabs/php_codesniffer": "^3.8",
"vimeo/psalm": "^5.20"
},
"autoload": {
"psr-4": {
Expand Down
Loading