mirror of
https://code.castopod.org/adaures/castopod
synced 2025-04-23 01:01:20 +00:00

- update .devcontainer settings: remove auto-formatting for php + set intelephense as default formatter - remove prettier php plugin as it lacks php 8 support - add captain hook action for checking style pre-commit - fix style with ecs on all files except views
33 lines
1001 B
PHP
33 lines
1001 B
PHP
<?php
|
|
|
|
namespace Config;
|
|
|
|
use ActivityPub\Config\ActivityPub as ActivityPubBase;
|
|
use App\Libraries\NoteObject;
|
|
use App\Libraries\PodcastActor;
|
|
|
|
class ActivityPub extends ActivityPubBase
|
|
{
|
|
/**
|
|
* --------------------------------------------------------------------
|
|
* ActivityPub Objects
|
|
* --------------------------------------------------------------------
|
|
*/
|
|
public string $actorObject = PodcastActor::class;
|
|
|
|
public string $noteObject = NoteObject::class;
|
|
|
|
/**
|
|
* --------------------------------------------------------------------
|
|
* Default avatar and cover images
|
|
* --------------------------------------------------------------------
|
|
*/
|
|
public string $defaultAvatarImagePath = 'assets/images/castopod-avatar-default.jpg';
|
|
|
|
public string $defaultAvatarImageMimetype = 'image/jpeg';
|
|
|
|
public string $defaultCoverImagePath = 'assets/images/castopod-cover-default.jpg';
|
|
|
|
public string $defaultCoverImageMimetype = 'image/jpeg';
|
|
}
|