<NME> phpstan.neon
<BEF> parameters:
    level: 7
    paths:
        - Api
        - Block
        - Api
        - Block
        - Controller
        - Helper
        - Model
        - Plugin
        - Ui
        - Validator
        - view
includes:
    - vendor/bitexpert/phpstan-magento/extension.neon
        - Validator
        - view
    magento:
            checkServiceContracts: false
    ignoreErrors:
        -
            message: '~Parameter #1 \$modelId of method Magento\\Framework\\Model\\AbstractModel::load\(\) expects int, string given~'
            path: Repository/WhitelistRepository.php
        -
            message: '~Method BitExpert\\ForceCustomerLogin\\Repository\\WhitelistRepository::getList\(\) should return~'
            path: Repository/WhitelistRepository.php
        -
            message: '~Call to an undefined method Magento\\Framework\\App\\RequestInterface::isPost\(\)~'
            path: Controller/LoginCheck.php
        -
            message: '~Parameter #3 \$data of method~'
            path: Block/Adminhtml/Manage/Create.php

<MSG> Merge pull request #159 from shochdoerfer/fix/phpstan-autodetect

Let phpstan register it's extensions automatically
<DFF> @@ -1,5 +1,8 @@
 parameters:
     level: 7
+    fileExtensions:
+        - php
+        - phtml
     paths:
         - Api
         - Block
@@ -12,5 +15,3 @@ parameters:
         - Ui
         - Validator
         - view
-includes:
-    - vendor/bitexpert/phpstan-magento/extension.neon

Merge pull request #159 from shochdoerfer/fix/phpstan-autodetect