Support json streamer component #1476
Annotations
10 errors and 5 warnings
|
phpstan
Process completed with exit code 1.
|
|
phpstan:
src/LazyMapper.php#L80
Method AutoMapper\LazyMapper::mapToJsonStream() should return iterable<string> but returns mixed.
|
|
phpstan:
src/JsonStreamer/JsonStreamWriter.php#L125
Generator expects key type int, mixed given.
|
|
phpstan:
src/JsonStreamer/JsonStreamWriter.php#L110
Method AutoMapper\JsonStreamer\JsonStreamWriter::wrap() return type has no value type specified in iterable type Stringable&Traversable.
|
|
phpstan:
src/JsonStreamer/JsonStreamWriter.php#L98
Unable to resolve the template type Source in call to method AutoMapper\AutoMapperRegistryInterface::getMapper()
|
|
phpstan:
src/JsonStreamer/JsonStreamWriter.php#L98
Parameter #1 $source of method AutoMapper\AutoMapperRegistryInterface::getMapper() expects 'array'|class-string<object>, string given.
|
|
phpstan:
src/JsonStreamer/JsonStreamWriter.php#L79
Call to an undefined method object::mapToJsonStream().
|
|
phpstan:
src/JsonStreamer/JsonStreamWriter.php#L56
Parameter #1 $factory of method AutoMapper\JsonStreamer\JsonStreamWriter::wrap() expects Closure(): iterable<string>, Closure(): iterable given.
|
|
phpstan:
src/JsonStreamer/JsonStreamWriter.php#L56
Call to an undefined method object::mapToJsonStream().
|
|
phpstan:
src/JsonStreamer/JsonStreamWriter.php#L56
Anonymous function should return iterable but returns mixed.
|
|
cs-check
Node.js 20 is deprecated. The following actions target Node.js 20 but are being forced to run on Node.js 24: castor-php/setup-castor@v0.1.0. For more information see: https://github.blog/changelog/2025-09-19-deprecation-of-node-20-on-github-actions-runners/
|
|
tests (8.4)
Node.js 20 is deprecated. The following actions target Node.js 20 but are being forced to run on Node.js 24: actions/cache@v4, shivammathur/setup-php@2.32.0. For more information see: https://github.blog/changelog/2025-09-19-deprecation-of-node-20-on-github-actions-runners/
|
|
tests (8.5)
Node.js 20 is deprecated. The following actions target Node.js 20 but are being forced to run on Node.js 24: actions/cache@v4, shivammathur/setup-php@2.32.0. For more information see: https://github.blog/changelog/2025-09-19-deprecation-of-node-20-on-github-actions-runners/
|
|
tests-lowest
Node.js 20 is deprecated. The following actions target Node.js 20 but are being forced to run on Node.js 24: actions/cache@v4, shivammathur/setup-php@2.32.0. For more information see: https://github.blog/changelog/2025-09-19-deprecation-of-node-20-on-github-actions-runners/
|
|
phpstan
Node.js 20 is deprecated. The following actions target Node.js 20 but are being forced to run on Node.js 24: actions/cache@v4, castor-php/setup-castor@v0.1.0, shivammathur/setup-php@2.32.0. For more information see: https://github.blog/changelog/2025-09-19-deprecation-of-node-20-on-github-actions-runners/
|