Type Coverage

PHP has evolved and improved so much in recent years and continues to do so ♻️

Type declarations and the ability to enable strict typing have been welcome additions which PHP devs now just use naturally without even thinking about a past where the language was exclusively a loosely-typed one.

Pest has a nice plugin which enables you to check how much type coverage you have in your code. Let's install it and see if we've missed any type declarations.

Branch: https://github.com/GaryClarke/pest-tdd/tree/68-type-coverage



Complete and Continue  
Discussion

0 comments