Skip to content

Commit e338424

Browse files
authored
Merge pull request #4 from libaro-io/feature/larastan
Replaces phpstan with larastan
2 parents b67de83 + 9853156 commit e338424

3 files changed

Lines changed: 4 additions & 6 deletions

File tree

composer.json

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -20,9 +20,7 @@
2020
},
2121
"require-dev": {
2222
"orchestra/testbench": "^v7.5.0",
23-
"phpstan/extension-installer": "^1.1",
24-
"phpstan/phpstan-deprecation-rules": "^1.0",
25-
"phpstan/phpstan-phpunit": "^1.0"
23+
"nunomaduro/larastan": "^2.0"
2624
},
2725
"autoload": {
2826
"psr-4": {

configure.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -153,7 +153,7 @@ function replaceForAllOtherOSes(): array {
153153
$variableName = lcfirst($className);
154154
$description = ask('Package description', "This is my package {$packageSlug}");
155155

156-
$usePhpStan = confirm('Enable PhpStan?', true);
156+
$usePhpStan = confirm('Enable LaraStan?', true);
157157
$usePhpCsFixer = confirm('Enable PhpCsFixer?', true);
158158
$useUpdateChangelogWorkflow = confirm('Use automatic changelog updater workflow?', true);
159159

phpstan.neon.dist

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
11
includes:
2-
- phpstan-baseline.neon
2+
- ./vendor/nunomaduro/larastan/extension.neon
33

44
parameters:
5-
level: 4
5+
level: 9
66
paths:
77
- src
88
tmpDir: build/phpstan

0 commit comments

Comments
 (0)