RedisGraph is now in maintenance mode As of July 5th, 2023 RedisGraph is no longer under active development. You can read more about the end of life of RedisGraph. There is an actively maintained fork of RedisGraph, in the form of FalkorDB. from https://github.com/RedisGraph/RedisGraph Thus far, I've not done anything …
Read MoreSlow running tests are a bug - they stop you from doing as much as you can with your code, & its quality. Spend a little time working on making your tests better, clearer, and faster - and you'll reap rewards from your work. I've had a couple of useful improvements in the time spent running my PHPunit tests …
Read MoreVersion 0.9 of scheb/tombstone autoloads a file with a tombstone() function. See the bottom of the post for a fix to override that in your own code. In a large project - particularly one in a dynamic language like PHP, as a project gets bigger maintaining full control of the code can be difficult. New features are …
Read MoreOne of the advantages of a side-project is that you can be a little extra passionate about getting things just right. If you want to increase code coverage because you think that it's good, you can - after all, it's just some time now doing things that you like. So, earlier in the year, when I saw Sebastian Bergmann's …
Read MoreHaving just watched Sebastian Bergmann's "The State of PHPUnit" presentation from Fosdem 2015, I was inspired to install and test a project of mine with the latest stable PHPUnit - v4.7. It was easily installed on the command line. composer global require "phpunit/phpunit" I installed it as a new, …
Read MoreIt's been one of those quiet spots around here for a while, so here's the catch-up on what has been happening while I was not posting. I've recently finished a short contract working with an agency, Transform (part of the Engine group) working with a couple of government departments. The Office Of The Public Guardian …
Read MoreCapistrano, makes deployment of code easy. If you need to do a number of additional steps as well, then the fact that they can be scripted and run automatically is a huge win. If you've only got a single machine (or maybe two), then you could certainly write your own quite simple, and entirely workable system - I …
Read MoreI've previously shown you why you may want to put some tasks through a queuing system, what sort of jobs you could define, plus how to keep a worker process running for as long as you would like (but still be mindful of problems that happen). In this post, I'll show you how to put the messages into the queue, and we'll …
Read Moresee my previous post on the topic, #1. My last post ended up more as a how-to than what-to. This time, I'll say why you should have local copies of the documentation for most of the tools you use. I'll also tell you the sort of things I always have handy as well. Getting a local copy of php.net - and getting installed …
Read MoreAs I mentioned in my second post, ZCE prep – and dumb tests - about open book tests (like Brainbench), having a copy of all the relevant documentation can be incredibly useful, if only from a speed issue. Knowing you can just open a new tab and type a few words to get the information on a function, or concept from the …
Read More