PhpStan: improve your code quality


Manual code review is a hard task and everyone who tired that, probably will agree – it is because this method requires time, involves even several people and do not provide success, because anyone can just complain and do not agree. Fortuantely we can use additional tools like static code analyzers: they can check our codebase and inform us about any issues to avoid bugs before we will push something to production. In this post I would like to briefly describe PhpStan – one of great PHP static analyzers. It open source, completely free tool we can use to improve our codebase quality.

Continue reading “PhpStan: improve your code quality”

Recovering files on Google Cloud Storage

Google Cloud is a complex and very powerful platform. One of its components is Cloud Storage – based on buckets, a place where we can store files. It supports a lot of options like files versioning, saving metadata, generating signed URLs for downloading/pushing files etc. One of the most problematic options is data recovery: if you check Google Console, you will not see any option to do that. Does it mean we cannot recover deleted files? Fortunately, it is possible, but a bit tricky. Trick post is to explain how to do that.

Continue reading “Recovering files on Google Cloud Storage”

WSL – Reclaiming Storage Space

I’ve been a big fan of WSL ever since it came out – that to this solution, I can work daily with Windows, in my opinion the best and the most flexible OS, and still have all Linux advantages and a bit isolated work environment. Of course, WSL is not perfect and have some issues. One of them is taking up disk space. During our work, the size of the WSL file will become larger and larger. It will happen even if we will decide to jump into Linux distribution and remove a lot of unnecessary files. Fortunately, there is a quick solution – we can use diskpart includes in Windows to reclaim some space.

Continue reading “WSL – Reclaiming Storage Space”

New Page: My Books

I’ve just added a new subpage called “My Books“.

So far it has only one position, but it is available for free.

In the future, I plan to extend that. I have many ideas for books, only one limitation is time, but nothing is impossible