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

@Girgias this doesn’t work for me, good to know it should! Will investigate 🤔

Schrank,
@Schrank@phpc.social avatar

@Girgias @Crell @robchett @Sdfendor Thank you all for your input!

My code works as expected until I do:

protected const IDENTIFIER = Enum::CASE->value;

And then the error is thrown:
Uncaught Error: Cannot declare self-referencing constant self::IDENTIFIER

Which is totally misleading :D

I think this becomes a blogpost, not sure what about exactly yet 🙈 And I need to check wether I can set a constant with a enum value :D

Schrank,
@Schrank@phpc.social avatar

@heiglandreas Can't remember. I'm happy to do mistakes twice.

Schrank,
@Schrank@phpc.social avatar

@Girgias @Crell @robchett @Sdfendor Case closed.

After refactoring (yesterday) all the constants to an Enum, there is no need for the constans anymore 🤦‍♂️ . So now the method itself is abstract and all is fine :D

anneroth, to random German
@anneroth@systemli.social avatar

Es steht nicht im Grundgesetz, dass es hier Marktwirtschaft geben muss.

Im Gegenteil.

"Grund und Boden, Naturschätze und Produktionsmittel können zum Zwecke der Vergesellschaftung durch ein Gesetz, das Art und Ausmaß der Entschädigung regelt, in Gemeineigentum oder in andere Formen der Gemeinwirtschaft überführt werden."

Art. 15 GG

Wenn sich Liberale hinstellen und so tun, als wäre es anders, sollten sie mal ihr Verhältnis zum Grundgesetz prüfen.

Schrank,
@Schrank@phpc.social avatar

@anneroth Ach wäre das schön. Stattdessen werden damit Gründstücke enteignet um Autobahnen zu bauen 😕

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

From our point of view, there is currently no way to filter by "IS NULL" - please correct me!

https://winkelwagen.de/2024/02/09/shopware-is-null-is-not-possible/

ocramius, to random
@ocramius@mastodon.social avatar

Is it normal to be required to poke home improvement contractors every 2 days for quotes, shipments, invoices, status, etc?

Is it universally accepted that they will always delay everything until it gets to friction?

Schrank,
@Schrank@phpc.social avatar

@radmen not sure @ocramius is talking about Germany, but I feel this

m4sp0, to random German

macht teilweise lustige Fehler.

image/jpeg

Schrank,
@Schrank@phpc.social avatar

@m4sp0 Die Dinger heißen nicht large Language model, weil sie so gut Mathe können 🙈😂

Schrank, to random
@Schrank@phpc.social avatar

@ivory I'm not sure it is intended or a bug, but my keyboard replacements like :evil: for 🙈 don't work in ivory on mac.

Schrank, to random
@Schrank@phpc.social avatar

Can someone explain to me what’s wrong here and how to fix it? Because my Safari is not complaining 🤔

Schrank,
@Schrank@phpc.social avatar

@digitalCalibrator Thank you so much! Do you know why it works in Safari? Does Safari know the intermediated and trusts it?
And I assume that Let’sencrypt does have these issues as well but certbot just takes care of all of that?

No need to answer all that btw :D Although I'm happy to get answers :D

Hmm, chain should be broken for Apple as well and I can't find the intermediate in my store.

Whatever, I'll put it on the todo list to discuss with the hope-to-be customer

Schrank, to random
@Schrank@phpc.social avatar

Hey peoplez, Im thinking about an image account here, which doesn’t make too much work and maybe forces me out from time to time.
Currently I’m thinking about the cats of my wife, fruits, waste (at home or in the street) or flowers. Yes these are all things around me a as nd although I’m not at all a visual guy, I ask myself wether I can make them interesting

Schrank,
@Schrank@phpc.social avatar

It is 6 in the morning and I just came back from the airport dropping some friends into their vacation, so please bear with my crazywith me sleep-deprived ideas. Happy to think about your idea(s)!

Klotzkie, to random German
@Klotzkie@mastodon.social avatar

Hallo Laborratten, heute vor zwei Jahren wurden bei einer Untersuchung Metastasen in der Lunge bei mir festgestellt, zwei Tage später wurde der Tumor gefunden und Metastasen in der Leber.
Am 22.02. erfolgte eine NotOP. Da ich sonst wahrscheinlich den Löffel abgeben hätte. Meine Lebenserwartung lag zwischen 3-12 Monaten.
Im April begann die Chemo, heute 35 Chemos später lebe ich immer noch.
Wenn mich die Nebenwirkungen nicht umbringen dann habe ich vielleicht noch ein paar Jahre.

Schrank,
@Schrank@phpc.social avatar

@Klotzkie angesichts der Umstände (😢) klingt das super! Schön das du hier bist 😊

b0rk, (edited ) to random
@b0rk@jvns.ca avatar
Schrank,
@Schrank@phpc.social avatar

@b0rk Good morning! I would love to send especially page 2 to my team but I can't find it on the store - am I blind or is it not there yet?

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

You are not sure wether you are on your test or production system with your Shopware? This small code snippet by Melvin Achterhuis can tell you!

https://winkelwagen.de/2024/02/07/shopware-show-test-environment/

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

In Shopware do two twig functions exist to create urls: seoUrl and rawUrl. From my point of view you always want to use seoURL - except when you don't like in emails :-)

https://winkelwagen.de/2024/02/05/shopware-6-how-to-url-in-emails/

2ndStar, to random German
@2ndStar@astronomy.social avatar

deleted_by_author

  • Loading...
  • Schrank,
    @Schrank@phpc.social avatar

    @2ndStar aber… aber neutrali…

    Danke dafür! 💕💕

    ramsey, to random
    @ramsey@phpc.social avatar

    “configure: error: Please reinstall the iconv library.”

    WAT?!

    Schrank,
    @Schrank@phpc.social avatar

    @ramsey did you try turning it off and on again?

    nobody, to random

    "imagine a political landscape where decisions are made not by the weight of one's wallet, but by the depth of one's compassion."

    Schrank,
    @Schrank@phpc.social avatar

    @nobody @kleines_z funny, I’m an egoist. (Sorry for German)

    monoxyd, to random
    @monoxyd@mastodon.social avatar

    Irgendjemand hat schon wieder dem Personal freigegeben und jetzt bringt mir schon wieder niemand Kaffee ans Bett. Was ist das für ein Leben!?

    Schrank,
    @Schrank@phpc.social avatar

    @monoxyd wenn du dein Personal nicht unter Kontrolle hast empfehle ich zu heiraten (m/w/d), das löst das Problem auch… Sagte man mir.

    Hinweis in eigener Sache: bei mir klappt das nur, wenn ich krank bin 😢

    Schrank,
    @Schrank@phpc.social avatar

    @monoxyd jetzt wo du das sagst, musste ich da nochmal kurz drüber reflektieren und zum Glück war das nicht der Witz den ich machen wollte, sondern einfach einen tollen Partner haben und binden.

    Aber du hast recht, sowohl war das vermutlich der „Witz“ der mir erzählt wurde, als auch kann man das sehr einfach so interpretieren.

    Danke!

    Schrank, to random
    @Schrank@phpc.social avatar

    @ramsey @ian You know about CVE-2024-23832? Critical vulnerability in mastodon :-/ 9.4 / 10

    https://github.com/mastodon/mastodon/security/advisories/GHSA-3fjr-858r-92rw

    CakePHP, to random
    @CakePHP@phpc.social avatar

    You may have noticed something on CakeFest.org …

    See you in Luxembourg for CakeFest 2024!

    Schrank,
    @Schrank@phpc.social avatar

    @CakePHP Thanks! And sorry for being petty. Didn't formulate well, tried to be nice and helpful :)

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