forked from Dukecity/CommandSchedulerBundle
-
Notifications
You must be signed in to change notification settings - Fork 0
/
phpstan.neon
executable file
·34 lines (32 loc) · 2.27 KB
/
phpstan.neon
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
parameters:
#phpVersion: 80000
#https://phpstan.org/config-reference
excludes_analyse:
- %currentWorkingDirectory%/.github/*
- %currentWorkingDirectory%/build/*.php
- %currentWorkingDirectory%/vendor/*.php
- %currentWorkingDirectory%/Resources
- %currentWorkingDirectory%/Tests/app_test.php
- %currentWorkingDirectory%/Tests/App/AppKernel.php
ignoreErrors:
- '#Call to an undefined method Doctrine\\Persistence\\ObjectManager::getConnection\(\).#'
- '#Call to an undefined method Symfony\\Component\\Config\\Definition\\Builder\\NodeDefinition::children\(\).#'
- message: '#Call to an undefined method Doctrine\\Persistence\\ObjectRepository<Dukecity\\CommandSchedulerBundle\\Entity\\ScheduledCommand>::findFailedAndTimeoutCommands\(\).$#'
path: Controller/ListController.php
- message: '#Call to an undefined method Doctrine\\Persistence\\ObjectRepository<Dukecity\\CommandSchedulerBundle\\Entity\\ScheduledCommand>::findLockedCommand\(\).$#'
path: Command/UnlockCommand.php
- message: '#Call to an undefined method Doctrine\\Persistence\\ObjectRepository<Dukecity\\CommandSchedulerBundle\\Entity\\ScheduledCommand>::findFailedAndTimeoutCommands\(\).$#'
path: Command/MonitorCommand.php
- message: '#Call to an undefined method Doctrine\\Persistence\\ObjectRepository<Dukecity\\CommandSchedulerBundle\\Entity\\ScheduledCommand>::findEnabledCommand\(\).$#'
path: Command/ExecuteCommand.php
- message: '#Call to an undefined method Doctrine\\Persistence\\ObjectRepository<Dukecity\\CommandSchedulerBundle\\Entity\\ScheduledCommand>::getNotLockedCommand\(\).$#'
path: Command/ExecuteCommand.php
- message: '#Call to an undefined method Doctrine\\Persistence\\ObjectManager::isOpen\(\).$#'
path: Command/ExecuteCommand.php
- message: '#Call to an undefined method Doctrine\\Persistence\\ObjectManager::create\(\).$#'
path: Command/ExecuteCommand.php
- message: '#Call to an undefined method Doctrine\\Persistence\\ObjectManager::getConfiguration\(\).$#'
path: Command/ExecuteCommand.php
#includes:
#- vendor/phpstan/phpstan-phpunit/extension.neon
#- vendor/phpstan/phpstan-phpunit/rules.neon