-
Notifications
You must be signed in to change notification settings - Fork 668
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
3 changed files
with
29 additions
and
14 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,19 @@ | ||
## Using a Snapshot Build | ||
|
||
To obtain the latest development version of Psalm, a snapshot build can be | ||
downloaded from GitHub at https://github.com/vimeo/psalm/archive/refs/heads/5.x.zip | ||
|
||
Snapshot builds typically include only the source code and exclude the `.git` | ||
directory. As a result, Psalm cannot automatically determine its version or | ||
revision when executing `composer install`, since this information is usually | ||
derived from the `git` repository metadata that Composer relies on. | ||
|
||
To successfully install Psalm from a snapshot build, it is necessary to | ||
manually specify the version using the `COMPOSER_ROOT_VERSION` environment | ||
variable. This allows Composer to proceed with the installation of Psalm. | ||
|
||
The command to do so is as follows: | ||
|
||
```bash | ||
COMPOSER_ROOT_VERSION=5.x-dev composer install | ||
``` |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters