Skip to content
Browse files

document psalter --allow-backwards-incompatible-changes=false option (#…

  • Loading branch information...
staabm authored and muglug committed Aug 26, 2019
1 parent e6a93b6 commit 51bf0b4001e18fb3720c0a5d809e41a767ba6eb9
Showing with 1 addition and 0 deletions.
  1. +1 −0 docs/manipulating_code/
@@ -23,6 +23,7 @@ Updating code is inherently risky, doing so automatically is even more so. I've
- To see what changes Psalter will make ahead of time, you can run it with `--dry-run`.
- You can target particular versions of PHP via `--php-version`, so that (for example) you don't add nullable typehints to PHP 7.0 code, or any typehints at all to PHP 5.6 code. `--php-version` defaults to your current version.
- it has a `--safe-types` mode that will only update PHP 7 return typehints with information Psalm has gathered from non-docblock sources of type information (e.g. typehinted params, `instanceof` checks, other return typehints etc.)
- using `--allow-backwards-incompatible-changes=false` you can make sure to not create backwards incompatible changes

## Plugins

0 comments on commit 51bf0b4

Please sign in to comment.
You can’t perform that action at this time.