Skip to content

Commit 46c3964

Browse files
committed
add(QA) phpstan dist config
1 parent e6e9f94 commit 46c3964

File tree

4 files changed

+24
-1
lines changed

4 files changed

+24
-1
lines changed

.gitattributes

+2-1
Original file line numberDiff line numberDiff line change
@@ -3,9 +3,10 @@
33
.env.dist export-ignore
44
.gitattributes export-ignore
55
.github/ export-ignore
6+
.phpstan/ export-ignore
67
.gitignore export-ignore
78
.php-cs-fixer.dist.php export-ignore
89
docker-compose.yml export-ignore
9-
phpstan.neon export-ignore
10+
phpstan.neon.dist export-ignore
1011
phpunit.xml export-ignore
1112
tests/ export-ignore

.gitignore

+1
Original file line numberDiff line numberDiff line change
@@ -7,3 +7,4 @@ lib/plugins/sfDoctrinePlugin/test/functional/fixtures/log/
77
/vendor
88
/composer.lock
99
.php-cs-fixer.cache
10+
phpstan.neon

.phpstan/bootstrap.php

+9
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,9 @@
1+
<?php
2+
3+
class ProjectConfiguration extends sfProjectConfiguration
4+
{
5+
}
6+
7+
class BaseForm extends sfForm
8+
{
9+
}

phpstan.neon.dist

+12
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,12 @@
1+
parameters:
2+
level: 9
3+
errorFormat: table
4+
bootstrapFiles:
5+
- .phpstan/bootstrap.php
6+
paths:
7+
- lib
8+
- test
9+
excludePaths:
10+
analyse:
11+
- lib/task/symfony/lime_symfony.php
12+
- lib/task/symfony/sfSymfonyTestTask.class.php

0 commit comments

Comments
 (0)