PHP

Get Json output for PHPUnit 10 (tomasvotruba.com)

Early this year, I created a few custom Rector rules for our client. It modified the code based on the PHPUnit error result report. The only problem is that PHPUnit outputs a string. So, I had to parse it manually with regexes. Having a JSON output would make my life easier. I'm used to PHP tools that provide the JSON out of the...

Community Corner: Interview With Eric Mann | php[architect] (www.phparch.com)

Interview With Eric Mann Release Manager PHP 8.3 In this episode, Scott talks with Eric Mann about his experience as one of the PHP 8.3 Release Managers and writing his book PHP Cookbook. Note: this transcript was transcribed by AI and then edited for clarity. Scott Keck-Warren: Hello developers, and welcome to the...

FrankenPHP and Laravel Octane with Docker (chriswhite.is)

FrankenPHP is a project I've been keeping an eye on for a while. It's an alternative way to run PHP applications on the web without using php-fpm, which makes it easier to deploy with Docker as you don't need to deploy multiple containers for both nginx and php-fpm, or deploy one container that runs both processes.

3 Signs Your Project is Becoming Legacy - Arrays Creep (tomasvotruba.com)

In the first post, we looked at the long-term effects of our decisions. Turning a legacy project into a fresh one is a matter of the "just do it" approach. But there are 3 things we should take with care even if our project seems outside the legacy project category. First of those are arrays.

Code quality tool PHP_CodeSniffer has a new maintainer but needs corporate support (cu.be)

In a recent shift of maintainership, Juliette Reinders Folmer has taken the helm of the PHP_CodeSniffer project, injecting fresh energy and vision into its development. This transition marks a pivotal moment, emphasizing the importance of community support, particularly from corporate entities. As a vital tool for maintaining...

Well-Structured Switch Command in PHP (www.exakat.io)

In PHP, the switch statement is a powerful tool for controlling program flow, especially when dealing with multiple conditional branches. However, achieving a clean and efficient switch has its own snags. This post explores essential tips and practices for checking the quality of a ‘switch’ command to ensure code quality and...

  • All
  • Subscribed
  • Moderated
  • Favorites
  • php
  • DreamBathrooms
  • magazineikmin
  • thenastyranch
  • Youngstown
  • Durango
  • rosin
  • slotface
  • vwfavf
  • InstantRegret
  • PowerRangers
  • kavyap
  • tsrsr
  • everett
  • mdbf
  • normalnudes
  • hgfsjryuu7
  • GTA5RPClips
  • ethstaker
  • tacticalgear
  • ngwrru68w68
  • cubers
  • khanakhh
  • osvaldo12
  • tester
  • modclub
  • cisconetworking
  • Leos
  • anitta
  • All magazines