Why `callable|AssertionInterface` is no longer allowed here?

You should allow:
```php
return [
    'assertions' => [
        'post.delete' => function(IdentityInterface $identity, Post $post) {
            return $identity === $post->getAuthor();
        }
    ]
];
```