Various Articles covering Magento 1, Magento 2, PHP and Web Development

Latest article tagged with “Regexp”

Regular Expressions for Quickly Mocking Stuff

He who controls the Regexp, controls the Universe

This is a small collection of regular expressions to find pieces of code and replace them with PHPUnit mocks. It's useful for copy/pasting existing pieces of code (a constructor signature for ex...

Read More