Gert de Pagter

Results 42 issues of Gert de Pagter

Some assertions call functions that may generate a warning if called with incorrect parameters, e.g. preg_match, strlen. It would be better if they do not generate a warning when called,...

bug

When i use elastica, and configure my host to be `elastic.dev` everything is fine, but if i use `elastic.dev/` i'm unable to connect. Maybe this normal for elastic, but it...

This is related to #1777. When the host is inproperly configured on the client, calling `$client->getVersion()` will throw a type error as it returns null.

We recently discovered part of our configuration wasn't being used by elastica. because we created it like so: ```php new Client([ 'transport' => $transportation, 'connections' => [$connectionParams], ]); ``` Here...

Composer already has a 'replaces' key, which tells you that a package replaces another. One thing that would be nice to have is a 'replaced-by' key, which is basically the...

Feature

This simplifies the code in the `VecType`, and slighly reduces overhead for the unhappy path.

Priority: Medium
Status: Accepted
Status: Revision Needed
Type: Enhancement

**Is your feature request related to a problem? Please describe.** In some cases i just want to check that a value i get is a dict. Now i write something...

Type: Enhancement

I created this rule for our own code base because we forgot to properly hint to arrays when refactoring code to use doctrine. I figured it could be useful to...