Tag: web development
-
Convert PHP arrays to short array syntax in seconds
Having just had to look this up, I thought I’d share how I did it. It’s really really easy. 1. Require code sniffer in your project (you are using composer, right?) 2. Run CBF using the DisallowLongArraySyntax sniff That will apply to everything in the current directory, so simply change the . to whichever specific…
-
Learning by doing, and more…
Last night my brain interrupted my enjoyment of Time Trap to make me ponder why I’m not particular motivated to learn new things. When there’s so much New to learn in web development all the time, it’s pretty important to keep up, but I haven’t been feeling up to it. Thankfully I remembered that I…