Automated Refactoring With Rector

by · August 18, 2023

0
 

In our previous article, we discussed how to get started using code coverage to determine if our code has enough tests and one of the things I mentioned is how we should integrate this into our CI/CD pipeline but I didn’t say how. This articles exists to rectify that problem by providing you with two […]

Fixing Bugs With PHPStan

by · August 16, 2023

0
 
PHPStan

I don’t need to tell you, but as developers, bugs are a constant challenge. We can do everything in our power to test the code that we’re writing as we’re writing it. But that’s just not good enough. That’s because our changes affect other people’s code in ways we can’t expect, and their changes affect […]

php[podcast] Episode 23.6.1

by · June 6, 2023

0
 
php[podcast] Episode 23.6.1

John and Eric share more of the day to day behind the scenes work that goes on at php[architect]. This episode is sponsored by JetBrains PhpStorm Join the Discord at https://phpa.me/discord Subscribe to the Magazine Today https://phpa.me/signup Twitter @phparch @johncongdon @shocm Mastodon @editor@phparch.social @john@phparch.social @eric@phparch.social

Code Coverage Validation With Codecov

by ·

0
 

Every year we’re getting new versions of PHP, which is great but it means we’re going to have to constantly put time into upgrading our code as features are added, deprecated, and removed from the core language. Because our code base is only going to have more lines of code over time, it can be […]

Automating Our Tests With GitHub Actions

by · May 30, 2023

0
 

As developers, we need to automate as much as possible. This saves us time and money as well as keeps us from skipping steps. I used to have a project where I would run my tests manually before I push them into production. It started out taking 1 to 5 minutes and that was fine […]

Database Normalization For Developers

by · April 27, 2023

0
 

Not every team has a dedicated database administrator. I’ve **never** worked on a team that has had someone solely focused on making sure our tables are structured perfectly with all the forms of normalization being applied. I, like a lot of developers, have had to learn difficult lessons about database design the hard way by […]

Determining Code Coverage With PHPUnit

by · March 27, 2023

0
 

There are lots of ways that we can judge other developers’ code. A lot of them are subjective like spacing, function names, and class names. When we do code reviews these are not helpful methods to judge the code and we instead need to use a better method. We need to use non-subjective metrics like […]

php[podcast] Episode 23.3.1

by · March 26, 2023

0
 
php[podcast] Episode 23.3.1

John and Eric share more of the day to day behind the scenes work that goes on at php[architect]. This includes a lot of talk on php[tek]. They also talk about the latest edition of the magazine “Box of PHP”. Join the Discord at https://phpa.me/discord Get your early bird php[tek] tickets before the price goes […]

Automated Testing Using PHPUnit

by · March 20, 2023

0
 

As developers, we spend a lot of time testing the code that we’ve written. Generally, this is a manual process where we write a little code and then manually enter some inputs to verify we get what we expect. What if instead of doing the same manual testing over and over again, we used a […]

Serializing Data In PHP

by · February 27, 2023

0
 
php[architect] YouTube

One of the more annoying problems when working with data is creating a system to save data from RAM into long-term storage so it can be loaded back into RAM and processed at a later time. There are thousands of different file formats that allow us to take structured data, write it to storage, and […]

« Previous Page Next Page »