Skip to content

Commit

Permalink
add(QA) phpstan dist config
Browse files Browse the repository at this point in the history
  • Loading branch information
connorhu committed Jan 18, 2024
1 parent e6e9f94 commit 2711edd
Show file tree
Hide file tree
Showing 4 changed files with 23 additions and 1 deletion.
3 changes: 2 additions & 1 deletion .gitattributes
Original file line number Diff line number Diff line change
Expand Up @@ -3,9 +3,10 @@
.env.dist export-ignore
.gitattributes export-ignore
.github/ export-ignore
.phpstan/ export-ignore
.gitignore export-ignore
.php-cs-fixer.dist.php export-ignore
docker-compose.yml export-ignore
phpstan.neon export-ignore
phpstan.neon.dist export-ignore
phpunit.xml export-ignore
tests/ export-ignore
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -7,3 +7,4 @@ lib/plugins/sfDoctrinePlugin/test/functional/fixtures/log/
/vendor
/composer.lock
.php-cs-fixer.cache
phpstan.neon
9 changes: 9 additions & 0 deletions .phpstan/bootstrap.php
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
<?php

class ProjectConfiguration extends sfProjectConfiguration
{
}

class BaseForm extends sfForm
{
}
11 changes: 11 additions & 0 deletions phpstan.neon.dist
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
parameters:
level: 9
bootstrapFiles:
- .phpstan/bootstrap.php
paths:
- lib
- test
excludePaths:
analyse:
- lib/task/symfony/lime_symfony.php
- lib/task/symfony/sfSymfonyTestTask.class.php

0 comments on commit 2711edd

Please sign in to comment.