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..
true, but if you want to run it as a pre-commit hook you want to run it on all
true, but if you want to run it as a pre-commit hook you want to run it on all
Comments
-
personally I am not a great fan of precommit hooks
0 -
me neither but I still run this manually before pushing π
0 -
better than the build failing 20 minutes later
0 -
well if pipeline takes 20 minutes to fails on code sniffers then I agree ...
0 -
you can't always help your build env π
0 -
but maybe I made a simple change and you do not want to run it
0 -
agree, but then it's even more annoying when you realise there should have been some extra whitespace in the simple change π
0 -
well, with little discipline it is not a big deal - it is a simple as clicking the right click and running it on a file you are editing
0 -
all I'm saying is that instead of that you just
composer phpcs
before pushing0 -
maybe you can do that in vim, a plugin that will run it for that file that you are editing
0 -
yeah, I already have this
0 -
...
0 -
that is by far the fastest option
0 -
ok, but in anycase:
Time: 1.07 secs; Memory: 65.44MB
with 2,788 files
0 -
the Spryker wrapper will take 100x longer because it has no
--cache
flag (and why wrap it anyway?)0 -
cool, but that is for the second run. First run is faster because of parallel
0 -
nice input and discussion, thanks. For us it's 60min + for travis to fail πΆ
0
Categories
- All Categories
- 42 Getting Started & Guidelines
- 7 Getting Started in the Community
- 8 Additional Resources
- 7 Community Ideas and Feedback
- 76 Spryker News
- 929 Developer Corner
- 787 Spryker Development
- 89 Spryker Dev Environment
- 362 Spryker Releases
- 3 Oryx frontend framework
- 35 Propel ORM
- 68 Community Projects
- 3 Community Ideation Board
- 30 Hackathon
- 3 PHP Bridge
- 6 Gacela Project
- 26 Job Opportunities
- 3.2K π Slack Archives
- 116 Academy
- 5 Business Users
- 370 Docker
- 551 Slack General
- 2K Help
- 75 Knowledge Sharing
- 6 Random Stuff
- 4 Code Testing
- 32 Product & Business Questions
- 70 Spryker Safari Questions
- 50 Random