Skip to content

Conversation

@paragonie-scott
Copy link
Collaborator

This pull request uses psalm to perform static analysis on every pull request and commit to master (as part of our Travis CI suite).

It also contains some idiomatic changes (e.g. $var === false -> !\is_string($var)).

Copy link
Owner

@defuse defuse left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This is a neat improvement. All of the changes LGTM. How do I run it manually? Maybe add it to the list of development dependencies in https://github.com/defuse/php-encryption/blob/master/docs/InternalDeveloperDocs.md and add it to the release build instructions?

@paragonie-scott
Copy link
Collaborator Author

paragonie-scott commented Apr 26, 2017

Oh, that's very easy.

  1. composer require --dev "vimeo/psalm:dev-master" if you don't have it installed, then
  2. vendor/bin/psalm

I'll update the documentation.

@paragonie-scott
Copy link
Collaborator Author

I added the instructions to the documentation. I'm going to merge this now.

@paragonie-scott paragonie-scott merged commit aa72b8b into master May 15, 2017
@paragonie-scott paragonie-scott deleted the psalm branch March 15, 2019 14:15
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants