@acelaya@mastodon.social
@acelaya@mastodon.social avatar

acelaya

@acelaya@mastodon.social

Full-stack developer.
Senior Frontend Developer at https://hypothes.is
Formerly Senior Software Engineer at adidas.com

Author of https://shlink.io

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

Skoop, to random
@Skoop@phpc.social avatar

Phun with PHAR: I try to get PHPStan up and running with extensions, but it seems impossible to make PHPStan PHAR work with extensions.

I don't really understand why extensions don't work with the PHAR. It should not really be an issue, right?

acelaya,
@acelaya@mastodon.social avatar

@Skoop You can actually install phpstan/phpstan with composer as a regular dev dependency, as it effectively just ships a phar bundling its own dependencies.

It's more convenient, and you still get the benefits of the phar approach. Extensions work out of the box.

acelaya,
@acelaya@mastodon.social avatar

@Skoop I was not aware of that documented limitation, but I think composer is what makes a difference here.

In the docs (https://phpstan.org/user-guide/getting-started#installation) it says:
"You can also download the latest PHAR and just use that. But without Composer, you won’t be able to install and use PHPStan extensions."

I have been using this approach for quite some time with no issues.

acelaya,
@acelaya@mastodon.social avatar

@Skoop I don't have an answer to that 😅
For me being able to use composer is usually a good thing.

acelaya, to random Spanish
@acelaya@mastodon.social avatar

Yesterday I had to block a specially aggressive and entitled user from my GitHub projects.
A second later he had a new account, so I had to block interactions from all new users as well.

He was very rude, demanded to be helped, and literally told me I was less helpful than ChatGPT.
He created the same issue three times, just to be annoying and noisy.

I honestly don't know how someone can think that's the best way to invest their time.

acelaya,
@acelaya@mastodon.social avatar

On the topic https://acel.me/rY9Dd

nzakas, to random
@nzakas@fosstodon.org avatar

I'm looking for example repos using ESLint v8 and a .eslintrc, .eslintrc.json, or .eslintrc.yml file to test a config migration tool I'm working on. Please reply with your repo URL.

(I can't promise I'll get to all of them, but trying to get a representative sample.)

acelaya,
@acelaya@mastodon.social avatar
Crell, to php
@Crell@phpc.social avatar

Please, web app developers, consider how your users will upgrade. If your upgrade process is "remove the old one, unzip the new one", then it's not an upgrade process. It's an encouragement to never upgrade.

acelaya, (edited )
@acelaya@mastodon.social avatar

@Crell Do you have some recommendation on how to address that on a self-hosted #php app?

I maintain one which suffers from this and I would like to eventually address it, but I have never found an approach where there's no risk of breaking things without an easy way to roll back.

I provide a CLI tool which helps, but still requires you to manually "download and unzip".

acelaya,
@acelaya@mastodon.social avatar

@Crell Thanks for the suggestions!

acelaya, (edited ) to DarkSouls Spanish
@acelaya@mastodon.social avatar

Yesterday I started my first "Souls" game, #DarkSouls 3. Wish me luck.

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