What are the Slack Archives?

Itโ€™s a history of our time together in the Slack Community! Thereโ€™s a ton of knowledge in here, so feel free to search through the archives for a possible answer to your question.

Because this space is not active, you wonโ€™t be able to create a new post or comment here. If you have a question or want to start a discussion about something, head over to our categories and pick one to post in! You can always refer back to a post from Slack Archives if needed; just copy the link to use it as a reference..

Hey! In earlier versions it was possible to run code:sniff:style for a specific file by adding the

UPPB2H525
UPPB2H525 Posts: 51 ๐Ÿง‘๐Ÿปโ€๐Ÿš€ - Cadet

Hey!
In earlier versions it was possible to run code:sniff:style for a specific file by adding the path to the file. Now it seems only to work for folders.
In the code i cant see a flag or something else to only check specific file.
Is there a trick?

https://documentation.spryker.com/docs/code-style-guide

Comments

  • donโ€™t see anything in the code that would sugegst this is still possible, you can only go down to directory level

  • UPPB2H525
    UPPB2H525 Posts: 51 ๐Ÿง‘๐Ÿปโ€๐Ÿš€ - Cadet

    too bad. at least for me not an unusual use case.

  • UKGT7RC7P
    UKGT7RC7P Posts: 538 ๐Ÿง‘๐Ÿปโ€๐Ÿš€ - Cadet

    alternatively just run phpcs / phpcbf manually?

  • UKGT7RC7P
    UKGT7RC7P Posts: 538 ๐Ÿง‘๐Ÿปโ€๐Ÿš€ - Cadet

    don't really understand the need for a CLI wrapper :)

  • UKTSRTD5M
    UKTSRTD5M Posts: 77 ๐Ÿง‘๐Ÿปโ€๐Ÿš€ - Cadet

    Or include it into your IDE (either automatic or on request)?