phpro / grumphp

A PHP code-quality tool
MIT License
4.14k stars 430 forks source link

Remove unknown options from phpcpd task documentation #826

Closed ghost closed 3 years ago

ghost commented 3 years ago
Q A
Branch master
Bug fix? no
New feature? no
BC breaks? no
Deprecations? no
Documented? yes
Fixed tickets

When executing phpcpd through grumphp with the default settings copied from the documentation page to my grumphp.yml file it throws the following error:

In OptionsResolver.php line 871:

  The options "names_exclude", "regexps_exclude" do not exist. Defined option  
  s are: "directory", "exclude", "fuzzy", "min_lines", "min_tokens", "trigger  
  ed_by".  

This pull requests removes the unknown options from the documentation page.

veewee commented 3 years ago

Thanks! Really appreciate those small improvements! It's easy to overlook those ...

ghost commented 3 years ago

No problem @veewee , I'm currently trying to setup a stack library that requires all the suggested packages for global grumphp usage. This is why I'm testing each and every command separately. So I can automate the releases for this package.

https://github.com/verbruggenalex/grumphp-stack/blob/master/composer.json