Best way to Mock Sentry without hitting the DB?
I posted on the forums but wanted to xpost here as well. Basically I am trying to Mock up Sentry so that I don't have to hit the db with my tests but still be able to use the methods. I'm new to testing in Laravel so perhaps I am thinking about this the wrong way. I've posted code in my forums post....
Here's a secret: no one knows 100% of a framework except probably it's developer. Frameworks are a shotgun approach in that they attempt to solve a majority of common use cases. As such, most people only know the parts of the framework that they happen to need.
You're not dead if you choose to devote some of your own time, outside of work, to learning a framework. Take a weekend, and do some tutorials, view some videos, throw an example app up on Github and post it on /r/phphelp for feedback. You'll get there, but it isn't going to fall in your lap.
IMO it is probably the inability to have multiple projects open in the same window. In the project pane I feel like they could easily add a reference to all the other open projects so that at least you can switch between them quickly.
Also the magical hidden checkbox under tools>deployment>auto upload is pretty terrible from a UI perspective.
We use Bamboo + BitBucket + Jira. Works well.
There is something to be said for reducing the variations between Dev and Prod. It can help to find issues earlier. This means that if you've moved to Nginx on prod, it may makes sense to move on dev as well.
Promises in PHP. What is this magic?