mirror of
https://github.com/ad-aures/castopod.git
synced 2026-04-12 19:17:45 +02:00
style(ecs): add easy-coding-standard to enforce coding style rules for php
- 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
This commit is contained in:
parent
fb3593f828
commit
aa1612342e
230 changed files with 3420 additions and 5884 deletions
|
|
@ -1,8 +1,7 @@
|
|||
<?php
|
||||
|
||||
/**
|
||||
* This class defines a Paginated OrderedCollection
|
||||
* based on CodeIgniter4 Pager to get the pagination metadata
|
||||
* This class defines a Paginated OrderedCollection based on CodeIgniter4 Pager to get the pagination metadata
|
||||
*
|
||||
* @copyright 2021 Podlibre
|
||||
* @license https://www.gnu.org/licenses/agpl-3.0.en.html AGPL3
|
||||
|
|
@ -11,15 +10,19 @@
|
|||
|
||||
namespace ActivityPub\Objects;
|
||||
|
||||
use CodeIgniter\Pager\Pager;
|
||||
use ActivityPub\Core\ObjectType;
|
||||
use CodeIgniter\Pager\Pager;
|
||||
|
||||
class OrderedCollectionObject extends ObjectType
|
||||
{
|
||||
protected string $type = 'OrderedCollection';
|
||||
|
||||
protected int $totalItems;
|
||||
|
||||
protected ?string $first;
|
||||
|
||||
protected ?string $current;
|
||||
|
||||
protected ?string $last;
|
||||
|
||||
/**
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue