Skip to content

weemen/GrumPHPPsalm

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

23 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

GrumPHPPsalm

This package is a Psalm extension for GrumPHP. All newly committed files will be analysed by Psalm.

Current build status

Build Status

Installation

Add this package using composer, firstly add the packages repository

Then, require the this repository

	composer require --dev weemen/grumphp-psalm

Usage

First of all, dont forget to create your psaml.xml file

For example:

<?xml version="1.0"?>
<psalm
  stopOnFirstError="false"
  useDocblockTypes="true"
>
    <projectFiles>
        <directory name="src" />
    </projectFiles>
    <issueHandlers>
        <MissingReturnType errorLevel="error" />
        <MissingClosureReturnType errorLevel="error" />
        <MissingPropertyType errorLevel="error" />
    </issueHandlers>
</psalm>

Edit GrumPHP and add the psalm task:

parameters:
  git_dir: .
  bin_dir: bin
  tasks:
    psalm:
       config: psalm.xml
  extensions:
    - Weemen\GrumPHPPsalm\Extension\Loader

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Packages

 
 
 

Contributors

Languages