wyri, to php
@wyri@haxim.us avatar

Wrote a fancy one-liner because I didn't want to toss in the mix and go all in on . Actions response to it: 🖕 🖕 🖕

The first image is the full one liner, but it already 💩 out on the right image

Image of the following code: echo "${$(cat ${{ inputs.dockerfile }} | grep FROM | tail -n 1)}"

wyri,
@wyri@haxim.us avatar

I ended up with this adding some to the one liner:

doefom, to Laravel
@doefom@mastodon.social avatar

TIL that ships with the 'isCpRoute()' function, which allowed me to make my code a little more compact. The function will check if the current route is a control panel route or not. Here's the old and new code. Feels refreshing 😁

Girgias, to php
@Girgias@phpc.social avatar

Welcome, my name is Gina, my profession #PHP Engine Janitor, finding obscure bugs while cleaning up code and creating new and better engine APIs.

nielsdos,
@nielsdos@phpc.social avatar
Girgias,
@Girgias@phpc.social avatar

@nielsdos the classic :D

mobileatom, to php
@mobileatom@flipboard.com avatar

Of Tools and Dependencies. #PHP

https://andreas.heigl.org/?utm_source=flipboard&utm_medium=activitypub

Posted into SYMFONY FOR THE DEVIL @symfony

scoonch, to photoshop French
@scoonch@mamot.fr avatar

Dev Web fullstack, après un enchaînement de CDD, je suis libre à partir d'aujourd'hui.

CDI distanciel de préférence sinon je m'adapte, je suis à Paris.

Compétences en +:
Maquettiste #Photoshop #Illustrator,
Monteur vidéo #Premiere #Avid,
Habillage/Animation #AfterEffect
Régie/Vidging/Mapping: #Obs #Resolume #Millumin

CV en mp.

#HTML
#CSS
#PHP
#JS
#jQuery
#Scss
#Symfony
#React
#NextJs
#ViteJs
#Bootstrap
#Tailwind
#Stripe
#dataTables
#Wordpress
#Prestashop
#Sylius
#MongoDb
#Mariadb

ultimike, to php
@ultimike@drupal.community avatar

Deep technical dive into creating a new, custom Rector rule by @joachim:

http://www.noreiko.com/blog/refactoring-rector

I really like this blog post, as it really explained Joachim’s thought process as he worked towards a solution.

cspray, to php
@cspray@phpc.social avatar

Today I was able to implement a feature in Annotated Contain that will resolve my longest outstanding issue; injecting a collection of services. The feature will release in 2.4 but I'm so excited about getting this done I wrote an article about how to use this new functionality.

https://www.cspray.io/blog/injecting-service-collections-with-annotated-container/

#php

wyri, to php
@wyri@haxim.us avatar

The things I write in my (#PHP) package documentation: And, well, not ship a package without being fully functional 😅.

ramsey, (edited ) to random
@ramsey@phpc.social avatar

Since 11 no longer has any of the CodeCoverageIgnore attributes, and the docs say “Do not use annotations in comments in new tests that you write. Use attributes instead,” does this mean PHPUnit will no longer allow you to exclude classes, functions, or blocks of code from coverage reports?

phphil,
@phphil@phpc.social avatar
ramsey,
@ramsey@phpc.social avatar

@phphil You apply that to a test class to tell PHPUnit that the test does not cover any code.

sarah, to php
@sarah@phpc.social avatar

What is your favorite composer package in #php?

mwop,
@mwop@phpc.social avatar

@sarah psr/http-server-middleware!

paulshryock,
@paulshryock@phpc.social avatar

@sarah pest

sarah, to php
@sarah@phpc.social avatar

One of the things I've learned over the last twenty years is there's plenty of work in #php.

But something else I've learned is that you need a network to find the work.

Building that network should happen in the good times. You never know when you'll need it in the lean times. Plus, having a network means having a community to support you and to be a part of - and that's never a bad thing!

orchidpink, to php

Would you be surprised if I told you the array key gets converted to an integer?

Well, it does. In PHP array keys that are numeric strings are converted to integers.

#php #webdev #programming

simonhamp, to Laravel
@simonhamp@phpc.social avatar

Here's a little #Laravel #PHP tool I built as my New Tab page

It lists all my projects based on the filesystem, giving me an overview of their state at a glance and quick access to various tools

It also lets me add custom details, search and more

It's built on Laravel Volt, which was really fun to use!

Will open source at some point

video/mp4

j3j5,
@j3j5@hachyderm.io avatar

@simonhamp looks really cool!! 👌

mobileatom, to php
@mobileatom@flipboard.com avatar
mobileatom, to php
@mobileatom@flipboard.com avatar

How to add visibility to 338 Class Constants in 25 seconds. #PHP

https://tomasvotruba.com/blog/how-to-add-visbility-to-338-class-constants-in-25-seconds?utm_source=flipboard&utm_medium=activitypub

Posted into SYMFONY FOR THE DEVIL @symfony

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