PHPnews.io

Statamic SEO Pro with Laravel Controllers

Written by Eric L. Barnes / Original link on Mar. 9, 2021

Statamic has a great first party plugin called SEO Pro that includes a lot of settings every site probably needs for search engine optimization including things like og tags, dynamic titles, descriptions, and even canonical urls. It has been working perfectly for me but today I hit a small snag wit…




Do tests need static analysis level max?

Written by Matthias Noback / Original link on Mar. 8, 2021

I recently heard this interesting question: if your project uses a static analysis tool like PHPStan or Psalm (as it should), should the tests by analysed too? The first thing to consider: what are potential reasons for not analysing your test code? Why not? 1. Tests are messy in terms of types Tes…