-
Some recently encountered space leaks (#5086, #5155) have led to the suggestion that some types should be made more strict. The goal is perhaps not mainly to improve performance, but to make the code …
-
This one is more of a directional question to ask if you'd want a contribution of this kind.
When using the query system there is a number of invariants checked during runtime, resulting in errors …
-
`composer.json` shows that minimum PHP version is `7.1.x` - so why don't use strict types everywhere? eg. https://github.com/propelorm/Propel3/blob/master/src%2FPropel%2FCommon%2FTypes%2FSQL%2FBoolean…
-
**Is your feature request related to a problem? Please describe.**
Maybe there are technical issues, but I couldn't find any mutator that attempts to _add_ `declare(strict_types = 1);` and check if y…
-
### Bug report
I just noticed that https://github.com/phpstan/phpstan-src/pull/2589 doesn't seem to play well with strict rules.
This example without strict rules works: https://phpstan.org/r/618…
-
Functions like equal, greater, and so on (and the operator equivalents) don't allow comparing non-promotable dtypes. This is particularly annoying because it makes it impossible to actually compare ui…
-
# Steps to Reproduce
```
data Cofree1 : (f : Type -> Type) -> Type -> Type where
Co1 : a -> f (Cofree1 f a) -> Cofree1 f a
data Cofree2 : (f : Type -> Type) -> Type -> Type where
Co2 …
-
https://github.com/Microsoft/TypeScript/pull/7140
> Nullable types are just syntactic sugar for union types that include type of null/undefined.
-
#105
Not a 100% sure this is good. It might be okay for typescript. I might not be okay for JSDoc which is used by the closure compiler.
-
The upcoming dry-types release will default to strict data types. We ought to define all our attributes as `strict` to make upgrading easier.
https://dry-rb.org/news/2019/04/23/dry-types-and-dry-st…
awead updated
5 years ago