1
0
mirror of https://github.com/danog/psalm.git synced 2025-01-21 21:31:13 +01:00
2016-11-22 11:02:38 -05:00
2016-11-14 14:49:49 -05:00
2016-11-21 23:39:47 -05:00
2016-11-21 16:48:35 -05:00
2016-11-21 14:48:17 -05:00
2016-11-02 17:50:54 -04:00
2016-11-04 22:13:50 -04:00
2016-10-29 12:46:34 -04:00
2016-11-22 11:02:38 -05:00

logo

Psalm is a static analysis tool for finding errors in PHP applications, and runs in PHP 5.4+ and PHP 7.0.

Check out the wiki!

Quickstart Guide

Install via Composer:

composer config repositories.psalm vcs https://github.com/vimeo/psalm
composer require --dev "vimeo/psalm:dev-master"
composer install

Add a psalm.xml config:

cat > psalm.xml << EOF
<?xml version="1.0"?>
<psalm
  stopOnFirstError="false"
  useDocblockTypes="true"
>
    <inspectFiles>
        <directory name="src" />
    </inspectFiles>
</psalm>
EOF

Then run Psalm with:

./vendor/bin/psalm

The above config is spartan, and will show you all possible errors, including many that are likely irrelevant to you. A more lenient config is provided here.

Description
No description provided
Readme MIT 108 MiB
Languages
PHP 100%