Skip to content

chore: update readme for container package #12

chore: update readme for container package

chore: update readme for container package #12

Triggered via push May 10, 2024 04:57
Status Failure
Total duration 1m 6s
Artifacts

analyse.yml

on: push
Matrix: phpstan / phpstan
Fit to window
Zoom out
Zoom in

Annotations

10 errors and 1 warning
phpstan / PHP 8.2-ubuntu-latest: packages/command-bus/src/CommandBusConfig.php#L18
Method A50\CommandBus\CommandBusConfig::__construct() has parameter $handlersMap with no value type specified in iterable type array.
phpstan / PHP 8.2-ubuntu-latest: packages/command-bus/src/CommandBusConfig.php#L18
Method A50\CommandBus\CommandBusConfig::__construct() has parameter $middlewares with no value type specified in iterable type array.
phpstan / PHP 8.2-ubuntu-latest: packages/container-php-di/tests/Datasets/DefinitionsIsNotCallableServiceProvider.php#L14
Method A50\Container\Tests\Datasets\DefinitionsIsNotCallableServiceProvider::getDefinitions() should return array<string, (callable(): mixed)|string> but returns array{stdClass: stdClass}.
phpstan / PHP 8.2-ubuntu-latest: packages/container-php-di/tests/Datasets/ExtensionsIsNotCallableServiceProvider.php#L14
Method A50\Container\Tests\Datasets\ExtensionsIsNotCallableServiceProvider::getDefinitions() should return array<string, (callable(): mixed)|string> but returns array{stdClass: stdClass}.
phpstan / PHP 8.2-ubuntu-latest: packages/container-php-di/tests/Unit/Container/ContainerFactoryTest.php#L134
Call to static method PHPUnit\Framework\Assert::assertInstanceOf() with 'A50\\Container\\Tests\\Datasets\\Factory\\SimpleFoo' and A50\Container\Tests\Datasets\AutowireInterfaces\Foo will always evaluate to false.
phpstan / PHP 8.2-ubuntu-latest: packages/database/src/Yii/TransactionUsingYii.php#L47
Cannot call method rollBack() on Yiisoft\Db\Transaction\TransactionInterface|null.
phpstan / PHP 8.2-ubuntu-latest: packages/database/src/Yii/TransactionUsingYii.php#L55
Parameter #1 $closure of method Yiisoft\Db\Connection\ConnectionInterface::transaction() expects Closure(Yiisoft\Db\Connection\ConnectionInterface): mixed, callable(): mixed given.
phpstan / PHP 8.2-ubuntu-latest: packages/event-dispatcher/src/EventDispatcher.php#L11
Method A50\EventDispatcher\EventDispatcher::dispatchAll() has parameter $events with no value type specified in iterable type array.
phpstan / PHP 8.2-ubuntu-latest: packages/event-dispatcher/src/EventDispatcher.php#L11
Method A50\EventDispatcher\EventDispatcher::dispatchAll() return type has no value type specified in iterable type array.
phpstan / PHP 8.2-ubuntu-latest: packages/event-dispatcher/src/EventDispatcherSpy.php#L14
Return type (void) of method A50\EventDispatcher\EventDispatcherSpy::dispatch() should be compatible with return type (object) of method Psr\EventDispatcher\EventDispatcherInterface::dispatch()
phpstan / PHP 8.2-ubuntu-latest
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: actions/checkout@v3, actions/cache@v3. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.