Skip to content

Commit 7f71394

Browse files
authored
Merge pull request #43 from fadrian06/chore/add-phpstan-for-static-analysis
Chore: add phpstan for static analysis
2 parents 78a0374 + 711445a commit 7f71394

File tree

11 files changed

+651
-71
lines changed

11 files changed

+651
-71
lines changed

README.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,7 @@
66
<br><br>
77
</p>
88

9+
![PHPStan: Level 8](https://img.shields.io/badge/PHPStan-level%208-brightgreen.svg?style=flat)
910
[![Latest Stable Version](https://poser.pugx.org/leafs/auth/v/stable)](https://packagist.org/packages/leafs/auth)
1011
[![Total Downloads](https://poser.pugx.org/leafs/auth/downloads)](https://packagist.org/packages/leafs/auth)
1112
[![License](https://poser.pugx.org/leafs/auth/license)](https://packagist.org/packages/leafs/auth)

composer.json

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -41,13 +41,19 @@
4141
},
4242
"config": {
4343
"allow-plugins": {
44-
"pestphp/pest-plugin": true
44+
"pestphp/pest-plugin": true,
45+
"phpstan/extension-installer": true
4546
}
4647
},
4748
"require-dev": {
4849
"pestphp/pest": "^1.0 | ^2.0",
4950
"friendsofphp/php-cs-fixer": "^3.64",
5051
"leafs/alchemy": "*",
52+
"phpstan/phpstan": "^2.1",
53+
"phpstan/extension-installer": "^1.4",
54+
"leafs/leaf": "^4.4",
55+
"league/oauth2-google": "^4.0",
56+
"leafs/billing": "^0.2.0"
5157
"rector/rector": "^2.2"
5258
},
5359
"scripts": {

0 commit comments

Comments
 (0)