-
I want to set the default to 1:
```php
$this->initVar('active', \XOBJ_DTYPE_INT, 1, true);
```
But XOOPS Kernel Object requires null:
> phpStan: Parameter #3 $value of method XoopsObject::ini…
-
-
Since strict typing was added, I get this error in my application:
```
TypeError: Argument 1 passed to Metroplex\Edifact\Serializer::escape() must be of the type string, null given, called in /var…
-
### Is the feature request related to a problem? Please describe.
With PHP 7.0, `strict_types` was added as declaration to check the type of given parameters.
This means that a string won't be cas…
-
This issue is part of the Strict Provenance Experiment - https://github.com/rust-lang/rust/issues/95228
Windows defines HANDLE to be void* and rust faithfully reproduces that. But now windows-rs is…
-
Hello,
is it possible for `SlevomatCodingStandard.TypeHints.DeclareStrictTypes` to set the declare() below the file docblock to comply with `PSR12.Files.FileHeader.IncorrectOrder`?
So, instead …
-
I tried to build with the following *FLAGS to optimize the build: `-flto=4 -Werror=odr -Werror=lto-type-mismatch -Werror=strict-aliasing`
The -Werror=* flags are important to detect cases where the…
-
# PHP Strict Types: Entendendo o Uso Prático da Diretiva declare(strict_types=1) no PHP | Dias de Dev
Descubra o verdadeiro impacto da diretiva declare(strict_types=1) no PHP. Este guia prático explo…
-
## Feature request
Following [this comment](https://github.com/PHP-CS-Fixer/PHP-CS-Fixer/issues/5594#issuecomment-1824116639), we need to add support for imported functions to `fully_qualified_stri…
-
In Langium 0.2.0 types are inferred from rules names implicitly. For example, the following 2 examples will infer a type `MyRule` with the attribute `name`.
```
MyRule:
name=ID;
```
```
MyRu…