Skip to content

Commit 2711edd

Browse files
committed
add(QA) phpstan dist config
1 parent e6e9f94 commit 2711edd

File tree

4 files changed

+23
-1
lines changed

4 files changed

+23
-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

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

0 commit comments

Comments
 (0)