Regex to find malformed PHP docblocks Jun 21st 2019 · #php #tweet I threw together a regex to find any PHP docblocks that don't have a proper type or fully qualified class name so I can clean them up 🙃\@[var|param|return]+ (?!\\)(?![string|integer|int|boolean|bool|float|double|object|mixed|array|resource|void|null|callback|false|true|self]+) pic.twitter.com/I25VJfyPSa— Liam Hammett (@LiamHammett) June 21, 2019