-
After following the instruction, all has been completed and expect it to run but found out this error in the log:
```
PHP Warning: Unsupported declare 'strict_types' in /home/app/vendor/nette/di/…
-
Record types permit additional fields. For example:
```javascript
const Point = $.RecordType({x: $.Number, y: $.Number});
$.test([], Point, {x: 0, y: 0});
// => true
$.test([], Point, {x: 0…
-
I'm unsure if this is simply a property I'm missing to invoke, but it seems all my generated clients have optional fields?
Generate Command:
```
echo "Generating $service_name TypeScript proto …
-
### Rule
All new PHP files MUST have strict type mode enabled by starting with `declare(strict_types=1)`;. All updated PHP files SHOULD have strict type mode enabled. PHP interfaces SHOULD NOT have t…
-
I'm doing some work with the types of this package (making strict variants to keep a strict version of all the types), but I've hit the roadblock that I can't access the constructors for KeyId, and ot…
-
Similar to https://github.com/dart-lang/lints/issues/125, this is a proposal to enable `strict-raw-types` in the recommended lint set. We'd have to believe this is the way we want to recommend that pe…
-
Strict types hide and mask a lot of errors if not used correctly (`((int) null) === 0 && ((string) null === '')` for example, where a `null` would -- and probably should -- be an error). At the same t…
-
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…
-
Basically I'd like to split up the STRICT_RAW_TYPE code into a few more, to make it an easier pill to swallow. Teams can either make their code compliant incrementally, or opt out of individual checks…