Tray21 year agoLevel 74ReplyReport SpamI'm guessing this is what you are looking for. https://pestphp.com/docs/type-coverage Like Reply 2 likes
amitsolanki24_ OP 1 year agoLevel 8ReplyReport Spam@Tray2 is it possible to do same without any package. Like Reply
Tray21 year agoLevel 74ReplyReport Spam@amitsolanki24_ Pest is a testing framework/wrapper for phpunit, and you require it as dev, it will not reach your production. and like @martinbean says you can use a linter for this as well. Like Reply 1 like
martinbean1 year agoLevel 80ReplyReport Spam@amitsolanki24_ This is what linters are for. Use something like PHP_CS, Pest, or Larastan. Like Reply 1 like