Skip to content

u/dk01

In this archive from Aug 2011 to Oct 2018

1
posts
93
comments
0
media
249
score

Top posts

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....

3 points5 comments
Open on Reddit

Top comments

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.

53 points

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.

15 points

Subreddits

Keyboard shortcuts

Move and act

jork
Next / previous post or comment
Enteroro
Open the post
f
Open the media viewer
s
Save
h
Hide (the toast has Undo)
Tab
Right after an action: the toast's Undo
x
Collapse the comment
v
Next layout: cards, compact, grid

Go to

/
Search
gthenh
Home
gthena
All
gthens
Subreddits
gthenl
Library
?
This list
Esc
Close a menu or this list

In the viewer

←or→
Previous / next file
↑or↓
Previous / next post
korj
Previous / next post
Space
Play / pause
m
Mute
z
Zoom
s
Save
o
Open the post (on its own page: back to it)
Esc
Close

Keys do nothing while you type in a box.