-
Notifications
You must be signed in to change notification settings - Fork 30
Open
Labels
Milestone
Description
Proposal
Project file is a yaml(e.g. .padawan.yml) configuration for a project.
Structure
php: 7
plugins:
Mkusher\SymfonyPlugin:
Someone\SomepackagePlugin:
extra_option_for_somepackagePlugin: 1
exclude: ['app/bootstrap.php.cache', 'app/cache/*']
cache_dir: '.padawan'here we have 3 sections:
plugins- plugins you want to be enabled for this projectexclude- files or folders you want to exclude from being indexedcache_dir- folder for padawan.php cache for this projectphp- version of php being used for running padawan. Could be 5 or 7. php5.* will use nikic/PHP-Parser and 7 will use built-in AST builder.
Editors' plugins
Before editors were looking for composer.json file, now they will have to look for .padawan.yml first and only then look for composer.json.
greg0ire and danrot