Skip to content
Snippets Groups Projects
Commit 93962896 authored by Bekerle, Patrizio's avatar Bekerle, Patrizio :fire:
Browse files

Add phpstan

parent 0022e91a
No related branches found
No related tags found
No related merge requests found
......@@ -11,7 +11,8 @@
"require-dev": {
"phpunit/phpunit": "^9",
"vimeo/psalm": "^4.29",
"friendsofphp/php-cs-fixer": "^3.12"
"friendsofphp/php-cs-fixer": "^3.12",
"phpstan/phpstan": "^1.8"
},
"autoload": {
"psr-4": {
......@@ -19,6 +20,14 @@
}
},
"scripts": {
"phpstan": [
"@php vendor/bin/phpstan analyze --ansi"
],
"lint": [
"@composer run cs",
"@composer run phpstan",
"@composer run psalm"
],
"cs-fix": [
"@php vendor/bin/php-cs-fixer --ansi fix"
],
......
......@@ -4,7 +4,7 @@
"Read more about it at https://getcomposer.org/doc/01-basic-usage.md#installing-dependencies",
"This file is @generated automatically"
],
"content-hash": "a07c10824a049d863d07938d5ea4c02e",
"content-hash": "9270d0bb7a9d8800ee9938944418f783",
"packages": [],
"packages-dev": [
{
......@@ -1415,6 +1415,65 @@
],
"time": "2020-07-08T12:44:21+00:00"
},
{
"name": "phpstan/phpstan",
"version": "1.8.10",
"source": {
"type": "git",
"url": "https://github.com/phpstan/phpstan.git",
"reference": "0c4459dc42c568b818b3f25186589f3acddc1823"
},
"dist": {
"type": "zip",
"url": "https://api.github.com/repos/phpstan/phpstan/zipball/0c4459dc42c568b818b3f25186589f3acddc1823",
"reference": "0c4459dc42c568b818b3f25186589f3acddc1823",
"shasum": ""
},
"require": {
"php": "^7.2|^8.0"
},
"conflict": {
"phpstan/phpstan-shim": "*"
},
"bin": [
"phpstan",
"phpstan.phar"
],
"type": "library",
"autoload": {
"files": [
"bootstrap.php"
]
},
"notification-url": "https://packagist.org/downloads/",
"license": [
"MIT"
],
"description": "PHPStan - PHP Static Analysis Tool",
"keywords": [
"dev",
"static analysis"
],
"support": {
"issues": "https://github.com/phpstan/phpstan/issues",
"source": "https://github.com/phpstan/phpstan/tree/1.8.10"
},
"funding": [
{
"url": "https://github.com/ondrejmirtes",
"type": "github"
},
{
"url": "https://github.com/phpstan",
"type": "github"
},
{
"url": "https://tidelift.com/funding/github/packagist/phpstan/phpstan",
"type": "tidelift"
}
],
"time": "2022-10-17T14:23:35+00:00"
},
{
"name": "phpunit/php-code-coverage",
"version": "8.0.2",
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment