-
Notifications
You must be signed in to change notification settings - Fork 30
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Project file #20
Comments
👍 |
Maybe this should be stored inside the .padawan folder? |
@sekjun9878 this file is not autogenerated by padawan.php, you should create it manually. So for a new project your variant will need extra step - make dir .padawan :) |
updated proposal: added |
@mkusher php7 has a built-in ast node builder? |
@mkusher That however introduces an additional dependency on the php-ast extension (and therefore a need for a custom PHP build)? I guess it depends on the result of https://wiki.php.net/rfc/parser-extension-api but for the forseeable future it looks like just using PHP-Parser seems a better choice. |
+1 would also be good to cascade back to a global configuration so I can f.e. ignore nested vendor files |
Given that this had not progress for so long, perhaps it makes more sense to add features incrementally? Something among the lines of searching for |
Proposal
Project file is a yaml(e.g.
.padawan.yml
) configuration for a project.Structure
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 forcomposer.json
.The text was updated successfully, but these errors were encountered: