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

@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

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 German
@Schrank@phpc.social avatar

Tried to send a private toot yesterday, just realized: I didnโ€™t mention amyone ๐Ÿ˜ณ๐Ÿ™„๐Ÿคฏ๐Ÿ˜‚๐Ÿ˜‚

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

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

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
@Schrank@phpc.social avatar

The official german TV station wants my passport number for a age verification.
Instead I entered the example interior ministry and it worked ๐Ÿ˜ณ

https://www.bmi.bund.de/SharedDocs/downloads/DE/veroeffentlichungen/themen/moderne-verwaltung/ausweise/personalausweis-seriennummer.pdf?__blob=publicationFile&v=18

Cool โœ…

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
  • โ€ข
  • anitta
  • everett
  • magazineikmin
  • Youngstown
  • thenastyranch
  • rosin
  • slotface
  • ngwrru68w68
  • Durango
  • PowerRangers
  • kavyap
  • cisconetworking
  • tsrsr
  • DreamBathrooms
  • modclub
  • mdbf
  • tacticalgear
  • khanakhh
  • ethstaker
  • vwfavf
  • InstantRegret
  • tester
  • osvaldo12
  • cubers
  • GTA5RPClips
  • Leos
  • normalnudes
  • provamag3
  • All magazines