Skip to content
This repository has been archived by the owner on Jan 27, 2024. It is now read-only.
/ grunt-phpstan Public archive

Grunt task to check your PHP files with phpstan

License

Notifications You must be signed in to change notification settings

Rudloff/grunt-phpstan

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

23 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

grunt-phpstan

Grunt task that runs phpstan.

Usage

/*jslint node: true*/
module.exports = function (grunt) {
    "use strict";

    grunt.initConfig({
        phpstan: {
            options: {
                level: "max",
                bin: "vendor/bin/phpstan",
                config: "phpstan.neon"
            },
            php: {
                src: ["*.php"]
            }
        }
    });

    grunt.loadNpmTasks("grunt-phpstan");
};
grunt phpstan

About

Grunt task to check your PHP files with phpstan

Resources

License

Stars

Watchers

Forks

Packages

No packages published