Skip to content
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

Add possibility to provide a list of excluded files or variables #112

Open
bogdannbv opened this issue Mar 12, 2024 · 0 comments
Open

Add possibility to provide a list of excluded files or variables #112

bogdannbv opened this issue Mar 12, 2024 · 0 comments
Labels
enhancement New feature or request
Milestone

Comments

@bogdannbv
Copy link
Member

bogdannbv commented Mar 12, 2024

Depends on #113

This can (should?) be done similar to what phpunit or phpcs do with their configuration files (phpcs.xml and phpunit.xml).

We can have a desniff.yml file that can look something like this:

excluded_files:
    - ./config/view.php
    - ./config/queue.php

excluded_vars:
    # config/app.php
    - ASSET_URL

   # config/view.php
    - VIEW_COMPILED_PATH

   # config/broadcasting.php
    - PUSHER_APP_KEY
    - PUSHER_APP_SECRET
    - PUSHER_APP_ID
    - PUSHER_APP_CLUSTER
@bogdannbv bogdannbv added the enhancement New feature or request label Mar 12, 2024
@bogdannbv bogdannbv added this to the V2 milestone Mar 12, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant