runs-on: ubuntu-22.04
strategy:
matrix:
- php: ['8.0', '8.1', '8.2']
+ php: ['8.0', '8.1', '8.2', '8.3']
steps:
- uses: actions/checkout@v1
runs-on: ubuntu-22.04
strategy:
matrix:
- php: ['8.0', '8.1', '8.2']
+ php: ['8.0', '8.1', '8.2', '8.3']
steps:
- uses: actions/checkout@v1
$activities = [
ActivityType::PAGE_CREATE => $entities['page'],
ActivityType::PAGE_UPDATE => $entities['page'],
- ActivityType::COMMENT_CREATE => (new Comment([]))->forceFill(['entity_id' => $entities['page']->id, 'entity_type' => $entities['page']->getMorphClass()]),
+ ActivityType::COMMENT_CREATE => Comment::factory()->make([
+ 'entity_id' => $entities['page']->id,
+ 'entity_type' => $entities['page']->getMorphClass(),
+ ]),
];
$notifications = Notification::fake();