@Schrank@phpc.social avatar

Schrank

@Schrank@phpc.social

#shopware #magento #weuc #mageuc #scuc #mageone #winkelwagen #php #safefive he/him tfr
He|him, try to be vegan, still learning about LGBTQI+, racial, etc. inequality,

This profile is from a federated server and may be incomplete. Browse more on the original instance.

Schrank, to php German
@Schrank@phpc.social avatar

Hey people! Is there a way to implement an abstract constant? I have an abstract class which implements some stuff for my value objects and a constant IDENTIFIER I would like to enforce to be overwritten by the child classes.

It looks like there was a way in the past by using circular references: https://itecnote.com/tecnote/php-abstract-constants-in-php-force-a-child-class-to-define-a-constant/ but this doesn't work anymore.

Schrank, to random German
@Schrank@phpc.social avatar

Do you know any comic artists on mastodon? English/german! After seeing @ralphruthe I feel I don’t follow enough artists with fun and serious comic (strips) and/or single panel.

(Trying to find words in English for multi image cokics snd dingle image comics…)

Schrank, to random
@Schrank@phpc.social avatar

Can I tell which type a call has?

$country->getIso() is string|null, but I'm sure it is string - or at least I'm fine ignoring the unexpected case 🙈
Or do I neet to put it in a var to add a /**@var to it?

Schrank, to random German
@Schrank@phpc.social avatar

People answering support emails. Do you like it, if a customer replies to the last email with a "thank you" or are you annoyed, the damn ticket got open again? 😅

Schrank, to random German
@Schrank@phpc.social avatar

Wow, waking up at 6:25 german time looks like @lisamelton is still awake, NOW I understand what all the people talk about boost spamming 😂😂

Schrank, to boulder German
@Schrank@phpc.social avatar

First time I was alone in a hall. Very different, more breaks as with two … maybe the same as with four people.
Hands hurt, but soul is happy.
And lovely people who gave me tips, third time I got the top 🥰
But not like this: 😂😂

GIF by Boulder Hall

Schrank, to random German
@Schrank@phpc.social avatar

How to reproduce "Unsupported operand types: string * int" ... because this doesn't work 🤔

((string)$rate) * ((int)$price)

Schrank, to random German
@Schrank@phpc.social avatar

Anyone has experience with Elastic/Opensearch? Is there an "easy thing" I can do, so I can search for SKUs in our index which contain a dot (.)? Like "123.456"

Schrank, to php German
@Schrank@phpc.social avatar

You are used to and want to in ?
Do this:

puts object.inspect
raise "Stop the program here"

https://winkelwagen.de/2024/04/23/ruby-as-a-php-developer/

Schrank, to php
@Schrank@phpc.social avatar

Preparing a talk „from url in browser to first byte“ in context of .
What little, not obvious things, do you think are a good addition?

Like: a correct time is important for proper encryption

Schrank, to random German
@Schrank@phpc.social avatar

Ich habe bisher keine guten Argumente/Statistiken zu "Fahrprüfung ab 70" gelesen. Das Statis sagt, sie nehmen häufiger die Vorfahrt, fahren dabei aber langsamer - verletzen sie mehr Radfahrer? Das steht da leider nicht.
Sie werden häufiger selbst schwerer verletzt oder getötet - ja mei, das ist eigenes Risiko und sollte man den Menschen überlassen.
Sie fahren langsamer, mit mehr Abstand.
Gemessen an der Bevölkerung bauen sie weniger Unfälle - ist das die richtige Größe zum Vergleichen?

Uff.

Schrank, to ELI5
@Schrank@phpc.social avatar

@1password sent a newsletter about "You can disable passkeys in your organisation" - can someone explain like I'm 5 to me, why I (don't) want this?

Schrank, to random
@Schrank@phpc.social avatar

Dear non-devs, if you think about it security in context of ecommerce, what are topics you want to hear about?
I’m going to give a talk for a mixed audience and want to have something interesting for everyone.

Schrank, to random German
@Schrank@phpc.social avatar

How does japanese fire protection looks like for houses made from wood and paper? 🤔 especially in the past?

Schrank, to random German
@Schrank@phpc.social avatar

Band gesucht. Ich habe vor 15 Jahren elektronische Musik gehört. Das Outro von @lnp erinnert mich daran. Kann mir jemand sagen, wonach ich suchen muss um da was zu finden?

Schrank, to random German
@Schrank@phpc.social avatar

lese meiner Frau einen Reisebericht über Island vor
Sie haben Scheine zu 500, … und maximal 10.000 ISK… das sind rechne 82€ (Stand 2016)… deren größter Schein sind 82€?!

Antwort der Frau: „die kaufen auch keine Häuser mit Bargeld“

… immer die richtige Antwort parat.

Schrank, to random
@Schrank@phpc.social avatar

If you wonder why your F*CKING EVENT LISTENER IN THIS UNHOLY LANGUAGE (javascript) DOESN’T WORK: Don’t listen on submit on a button, but the form…

Schrank, to random German
@Schrank@phpc.social avatar

Tried to send a private toot yesterday, just realized: I didn’t mention amyone 😳🙄🤯😂😂

Schrank, to random
@Schrank@phpc.social avatar

@sebastian Did anyone already talked with you about mock return maps (and alike) and the problem with default params on a method and the configured return do not match? Because I can't find any github issue or something in the docs. And don't want to bother if that is already discussed.
Example: shopware config service has a get($key, $saleschannel = null) and ->willReturnMap([['config.path', '1']]) doesn't match, because of the missing null.

Schrank, to random German
@Schrank@phpc.social avatar

Hi! I'm currently using #[ArrayShape([...])] in my project which is a public library. This is a phpstorm annotation to tell the IDE which array keys exist. How does PHP handle this? If the class does not exist? I assume it is just ignored? Is this default behaviour? Can't find it in the docs.

Schrank, to random
@Schrank@phpc.social avatar

@heiglandreas Hey! Are you into https://www.php.net/manual/de/function.hrtime.php? I thought maybe you have an idea - but please be careful, the rabbit hole is deep.
We tried to understand https://github.com/sebastianbergmann/phpunit/issues/5652 but didn't come up with a way to reproduce or understand. Our current working hypothesis is, that hardware is switching CPUs or something like that and therefore the hrtime call isn't monotonic and might end up in negative durations :D

Schrank, to random
@Schrank@phpc.social avatar

Stupid question, how do I switch organisations on , except knowing the URL? Is there a click path? Because I didn't find any 🤔

Schrank, to Symfony
@Schrank@phpc.social avatar

6 more days to get your , please have a look, because it is a "all or nothing" kickstarter, so if we don't find a few more adopter, the single sylius elephpant will stay alone!

https://www.kickstarter.com/projects/734475887/sylius-elephpant

Schrank, to random German
@Schrank@phpc.social avatar

Was ist die Strafe, wenn jemand Wahlplakate runter reißt?

Schrank, to random
@Schrank@phpc.social avatar

Do you know one (wo)man open source projects maintainer? Currently in my list: @jrf_nl and @bagder

  • All
  • Subscribed
  • Moderated
  • Favorites
  • provamag3
  • rosin
  • thenastyranch
  • Durango
  • DreamBathrooms
  • ngwrru68w68
  • magazineikmin
  • cubers
  • Youngstown
  • mdbf
  • slotface
  • osvaldo12
  • GTA5RPClips
  • kavyap
  • megavids
  • InstantRegret
  • everett
  • tacticalgear
  • vwfavf
  • tester
  • normalnudes
  • modclub
  • ethstaker
  • khanakhh
  • cisconetworking
  • anitta
  • Leos
  • JUstTest
  • All magazines