PHP

Rethinking Mocking: DIY Approach vs. Frameworks on examples in PHP and Typescript - SarvenDev (sarvendev.com)

In the landscape of software testing, the choice between a do-it-yourself (DIY) approach to mocking and utilizing mocking frameworks is a pivotal decision for programmers. While mocking is indispensable for code reliability, its overuse or incorrect implementation can introduce complexities and fragilities within test suites....

Properly restart Opcache after deployment (tideways.com)

When you are deploying code to a server and not with containers then it is critical to know how to properly restart Opcache. Why? Opcache never throws old files out of the cache. Therefore, if a new version is deployed in a completely new directory, all files from the old version will remain in the [...]

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...

Unit testing tips by examples in PHP (github.com)

In these times, the benefits of writing unit tests are huge. I think that most of the recently started projects contain any unit tests. In enterprise applications with a lot of business logic, unit tests are the most important tests, because they are fast and can us instantly assure that our implementation is correct.

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