PHPnews.io

Overview for 'stitcher-io'

Uncertainty, doubt, and static analysis

Written by Stitcher.io / Original link on Jul. 16, 2022

PHP is a strange language when it comes to type systems and static analysis. Back when it was created, it was a very dynamic and weakly typed language, but it has been slowly evolving towards a language with a stricter type system — albeit opt-in. Developers can still write dynamic and untyped PHP…



PHP version stats: July, 2022

Written by Stitcher.io / Original link on Jun. 27, 2022

It's that time again: my biyearly summary of which PHP versions are used across the community. I know I'm a little early, that's because I had some spare time today and wanted to make sure I got it ready in time. You can read the January edition here. As always, it's important to note that I'm work…


Stitcher turns 5 🎉

Written by Stitcher.io / Original link on Jun. 16, 2022

Some exciting news today: Stitcher — this blog — turned 5! In a way, that feels like a long time, although I was also thinking this week: "it feels longer than that". Anyway, it's a reason to celebrate! So first things first: I'm giving away 5 Stitcher-themed elephpants, keep on reading if you want…


Clean and minimalistic PhpStorm

Written by Stitcher.io / Original link on Jun. 8, 2022

This is a list of things I do when setting up PhpStorm from scratch. I prefer a clean and minimalistic look, which takes less than 5 minutes to set up. You can watch the full video, or scroll through the sections on this page! # Hide all toolbars I only use keyboard shortcuts and the actions menu,…


My PHP enum style guide

Written by Stitcher.io / Original link on May. 30, 2022

This is my personal style guide for using enums in PHP. Each section describes the rule, but also the personal, opinionated reasoning behind the rule. # 1. Uppercase You must use uppercase notation for enum cases: enum PostState { case PENDING; case PUBLISHED; case STARRED; case DENIED; } # Why? En…