Interales engineeringbyAlexander Terehov·Aug 22, 2019How collapsed code helped me to merge broken code into masterToday I’ve spent a couple of hours on learning a lesson about best practice when working with pull requests in GitHub.
Interales engineeringbyAlexander Terehov·Nov 9, 2018Validate URL with UTF-8 symbols in PHPWhen filter_var() with FILTER_VALIDATE_URL is not working for you I can suggest better alternative without regex.A response icon1A response icon1
Interales engineeringbyAlexander Terehov·Oct 31, 2017Starting Apache and MySQL on project startup in PHPStorm [Windows]Do you want to automatically start some special services in a project when you open PHPStorm? You can!
Interales engineeringbyAlexander Terehov·Oct 28, 2017XDebug on a shared development serverHow to debug inside PHPStorm if: • you have a shared development server, • pages are served via Apache with PHP as module, • XDebug…
Interales engineeringbyAlexander Terehov·Jul 9, 2017How to deprecate properties of the God Object (refactoring the Blob pattern)First actionable step to clean up a Blob is to remove deprecated properties. Consider object like this:
Interales engineeringbyAlexander Terehov·Jul 3, 2017Be careful with PhpStorm autosuggesting and automated checksI’ve shipped a bug to the code base which heavily relies on include_once statements. I thought I’ve tested it, but it ended up to be a case…
Interales engineeringbyAlexander Terehov·Jul 2, 2017Solving composer’s `Invalid argument` on Windows 10I see this error while jumping into code base which use Zend Framework 1 and running composer install (php 5.6, composer 1.2.2):
Interales engineeringbyAlexander Terehov·Jun 19, 2017MySQL `on duplicate key update` with unique index and PDO supportI’ve implemented saving user data from OAuth2 provider and want to update name and image from source every time user logs in. I was…A response icon1A response icon1