-
PHPStorm/IDEA, composer updates and 100% CPU
In one of our projects PHPStorm ran a while on 100% CPU, an investigation showed, that the process “checking for available composer updates” ran and used all the resources. Most likely it got stuck somewhere. To get rid of the problem, one can turn off this feature. In IDEA Ultimate here: [Settings] -> Languages &Continue…
-
Custom Fields, dots and MySQL’s JSON_EXTRACT
We all know custom fields – hopefully – at least this is not about the basics. You can add custom fields to nearly all entites: orders, products, categories, … You can name them whatever you like, e.g. pluginname.property – but using dots . in your custom field name is a bad idea, because then youContinue…
-
gpg failed to sign the data
I was doing some work, when suddenly my git failed to commit changed. I dig a little around, asked StackOverflow but it didn’t help. Finally when running the commit manually and not through PHPStorm I got a proper error: Ah! The key is expired! Got it. Did you know you can extend a GPG key?Continue…
-
JIRA: Change filter permissions
I’m repeating myself: It is always the small things. I just had a very nice Zoom call with an employee of Atlassian. He showed me, that I’m a little dumb and Atlassian JIRA has an annoying UX issue. TL;DR: You need to click Add before saving a new permission! We have a filter we wantContinue…
-
Magento 2, PHPUnit and magic methods
One can’t mock magic methods in PHPUnit, because of this error. Trying to configure method “getTrackingSent” which cannot be configured because it does not exist, has not been specified, is final, or is static So my workaround until now was to mock __call, like so: This is okay, if one needs only one or maybeContinue…