Skip to content

Commit

Permalink
Merge pull request #38 from kynx/remove-psalm-dependency
Browse files Browse the repository at this point in the history
Move vimeo/psalm to dev dependency and update installation instructions
  • Loading branch information
kynx authored Apr 4, 2024
2 parents 00dc079 + 1c2b4b1 commit 17550ff
Show file tree
Hide file tree
Showing 3 changed files with 2,396 additions and 2,373 deletions.
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

0 comments on commit 17550ff

Please sign in to comment.