@mglaman@phpc.social
@mglaman@phpc.social avatar

mglaman

@mglaman@phpc.social

#php && #drupal dev

mglaman.eth | nmdmatt@twitter.com

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

DaleTrexel, to drupal
@DaleTrexel@drupal.community avatar

With Drupal 9 EoL and Drupal 10+ no longer supporting IE, what are the chances we can get Olivero to drop PostCSS and return to SASS for CSS compiling?

https://www.drupal.org/docs/contributed-themes/olivero/authoring-css-for-olivero

mglaman,
@mglaman@phpc.social avatar

@DaleTrexel the idea is to move to pure CSS over anything else. PostCSS tooling makes it easier to adopt upcoming CSS things.

Like nested CSS is becoming a real thing

mglaman,
@mglaman@phpc.social avatar

@DaleTrexel I see what you mean, now. Yeah, it's kind of customizable with the CSS variables. But otherwise it is foreign if used to our CSS tooling

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

As of 0.1.16 learnt to expire comments based on issue ticket references. This means when a ticket is 'resolved' leftover todos will error.

ATM only JIRA is supported - thanks to @EMasiakowski

details in the projects readme:
https://github.com/staabm/phpstan-todo-by

mglaman,
@mglaman@phpc.social avatar

@markusstaab !! I need to look at this. Drupal has a standard todo comment structure when something needs to be revisited after an issue is closed!

However, doesn't this break HEAD since it's reactive?

🤔 Our issue forks and MR flow for GitLab automatically has branch names reflect issue numbers. I wonder if something similar could read from that pattern (via config?) and flag ahead of time.

mglaman, to drupal
@mglaman@phpc.social avatar
mglaman,
@mglaman@phpc.social avatar
mglaman, to drupal
@mglaman@phpc.social avatar
mglaman,
@mglaman@phpc.social avatar

@absoludo the best part is... I had no part in this! The community has truly embraced PHPStan and the value of static analysis for code quality.

mglaman, to random
@mglaman@phpc.social avatar

ChatGPT is wild. I haven't set up a virtual machine with Ansible in a while, since I usually work with containers. But a good ole virtual machine is a lot cheaper than deploying a containerized application.

It's wild how well it knows @geerlingguy's Ansible roles and how to configure them. At a quick glance it all looks fairly correct. Enough for me to try out tomorrow

mglaman,
@mglaman@phpc.social avatar

@geerlingguy I feel like the web server + php-fpm isn't entirely right but pretty good https://gist.github.com/mglaman/cda1ea8f8408edf99fa13b4a18ae699d

mglaman, to Podcast
@mglaman@phpc.social avatar

Just tried Castbox for podcasts on Android and it feels clunky. Any recommendations?

Had to leave Stitcher and now migrate from Google Podcasts. I loved Stitcher's show grouping (tags in Castbox kind of close) and Google Podcasts queue experience.

Reviews for Pocket Casts seem 🚩 with recent changes.

Any player recommendations?

mglaman,
@mglaman@phpc.social avatar

@larowlan so much cleaner. Thanks!

mherchel, to drupal
@mherchel@mastodon.social avatar

Updated the @fldrupalcamp site to have Mastodon fields for your user account!

Session submission is open now, be sure to fill out that field when creating your account!

https://www.fldrupal.camp/

mglaman,
@mglaman@phpc.social avatar
mglaman, to random
@mglaman@phpc.social avatar

I had the day off today and spent a few hours replicating the @phpstan playground for phpstan-drupal.

Most of the issue was getting phpstan-drupal to discover Drupal within the vendor directory in the Lambda function.

Next is recreating the UI. I'll have a blog post on Tuesday

mglaman, to drupal
@mglaman@phpc.social avatar

I've just nominated someone for the 2024 Aaron Winborn Award! I highly recommend you do, too!

https://www.drupal.org/community/cwg/blog/nominations-are-now-open-for-the-2024-aaron-winborn-award

mglaman, to random
@mglaman@phpc.social avatar

... for some reason, the phpstan-drupal playground runner was crashing with "Class \Drupal not found."

So I added a debugging line to throw an except if !class_exists before running...

and now it works... 🤷‍♂️

mglaman, to random
@mglaman@phpc.social avatar

My wife Amanda is competing in the Greatest Baker contest. The winner gets $10,000, which we will use towards a permanent kitchen for her baking business

It is a daily click-to-vote contest. I'd appreciate any help and support we can get! https://greatestbaker.com/2023/amanda-glaman

mglaman, to drupal
@mglaman@phpc.social avatar
mglaman, to drupal
@mglaman@phpc.social avatar

The PHPStan Extension Playground is up and available https://phpstan-drupal.mglaman.dev/

mglaman, to random
@mglaman@phpc.social avatar
mglaman, to random
@mglaman@phpc.social avatar

I am beyond excited for @fldrupalcamp this year! It has been TEN YEARS since I could attend in 2014 and spoke at my first conference. My, oh, my, how things have changed since then!

I hope to see you there!

mglaman, to drupal
@mglaman@phpc.social avatar
mglaman, to coffee
@mglaman@phpc.social avatar

I've been getting coffee from Esperanza Coffee Collective since Sergio first started pouring cups from his family's beans.

If you're on Kiva, he's currently sourcing a loan to import more of his family's coffee beans and focus on expanding the business.

https://www.kiva.org/lend/2688747

mglaman, to random
@mglaman@phpc.social avatar
mglaman, to random
@mglaman@phpc.social avatar

🫠our four year old set the temperature to 90°F before we left the house a few hours ago. We came home and it was 82°F in the house. Gotta remember to lock this stupid thing.

mglaman, to drupal
@mglaman@phpc.social avatar
mglaman, to random
@mglaman@phpc.social avatar
mglaman, to drupal
@mglaman@phpc.social avatar
mglaman, to random
@mglaman@phpc.social avatar

LETS GO! Against all Authority, Kill Lincoln, and The Suicide Machines.

mglaman, to drupal
@mglaman@phpc.social avatar
  • All
  • Subscribed
  • Moderated
  • Favorites
  • megavids
  • thenastyranch
  • rosin
  • GTA5RPClips
  • osvaldo12
  • love
  • Youngstown
  • slotface
  • khanakhh
  • everett
  • kavyap
  • mdbf
  • DreamBathrooms
  • ngwrru68w68
  • provamag3
  • magazineikmin
  • InstantRegret
  • normalnudes
  • tacticalgear
  • cubers
  • ethstaker
  • modclub
  • cisconetworking
  • Durango
  • anitta
  • Leos
  • tester
  • JUstTest
  • All magazines