Gert de Pagter
Gert de Pagter
> Can you share what are you actually trying to achieve? What i want is to validate the 'input' of my instance container. So i give it the key to...
> Hi, currently the types are marked in error descriptions (just for tests) for example as mixed~null so I'd like to keep to that syntax. Because they're not exactly intersections......
My problem is that any string key may now contain an array, instead of just the one key. Causing errors dor the function call
This also fixes #197
👍 I think this makes the language of the project a bit simpler, as well as the code
The only downside to throwing the exception is that if there is a single test case where there is only one item, then the mutation gets killed.
I think the bypass final also hijacks the file streamwrapper. I think the least we can do is error out if the streanwrapper is never used during the process
I'd like to have just about all the options that you use through the cli in a config file. For example, just about every time i run infection i add...
This doesn't solve the issue for infection, but you may look into https://github.com/thecodingmachine/safe It will throw on errors, instead of returning null an populating a global error handler
The prefixing performance benefit comes from not having to 'guess' the namespace to be used. If you declare this through a `use function` then you gain the same benefit