{
    "alias": "console.phar",
    "chmod": "0755",
    "directories": [
        "config",
        "src"
    ],
    "files": [
        "config.yml",
        "bin/console.php",
        "vendor/autoload.php"
    ],
    "finder": [
        {
            "name": "/(\\.php|\\.json|\\.yml|\\.dist)$/",
            "exclude": ["Tests","tests", "docs"],
            "in": "vendor"
        }
    ],
    "main": "bin/console",
    "output": "console.phar",
    "stub": true
}

{
    "alias": "console.phar",
    "chmod": "0755",
    "directories": [
        "config",
        "src"
    ],
    "files": [
        "config.yml",
        "bin/console.php",
        "vendor/autoload.php"
    ],
    "finder": [
        {
            "name": "/(\\.php|\\.json|\\.yml|\\.twig)$/",
            "exclude": ["Tests","tests", "docs"],
            "in": "vendor"
        }
    ],
    "main": "bin/console",
    "output": "console.phar",
    "stub": true
}

Add twig extension to file name filter
Add twig extension to file name filter
