Skip to content
This repository was archived by the owner on Dec 2, 2021. It is now read-only.

Commit 6fbf08b

Browse files
committed
Increase Psalm error level
1 parent 3bcad3d commit 6fbf08b

File tree

3 files changed

+4
-4
lines changed

3 files changed

+4
-4
lines changed

.travis.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -52,7 +52,7 @@ jobs:
5252
- name: Psalm
5353
php: 7.4
5454
script:
55-
- ./bin/psalm --show-info=true
55+
- ./bin/psalm
5656

5757
- name: PHP Code Style Sniffer
5858
php: 7.4

CONTRIBUTING.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -32,5 +32,5 @@ Before you create a pull request, please make sure your changes fulfill the qual
3232
1) Install the dependencies with `composer install`
3333
2) Run the PHPUnit tests with `bin/phpunit`
3434
3) Run PHP CodeSniffer with `bin/phpcs --standard=php_cs.xml --ignore=/vendor/ .`
35-
4) Run Psalm with `bin/psalm`
36-
5) Ideally, run [PHP-CS-Fixer](https://github.com/FriendsOfPHP/PHP-CS-Fixer) (not provided with the library)
35+
4) Run Psalm with `bin/psalm` and address any error-level issues
36+
5) Run [PHP-CS-Fixer](https://github.com/FriendsOfPHP/PHP-CS-Fixer) (not provided with the library)

psalm.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
<?xml version="1.0"?>
22
<psalm
33
resolveFromConfigFile="true"
4-
errorLevel="3"
4+
errorLevel="2"
55
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
66
xmlns="https://getpsalm.org/schema/config"
77
xsi:schemaLocation="https://getpsalm.org/schema/config vendor/vimeo/psalm/config.xsd"

0 commit comments

Comments
 (0)