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

- add james-heinrich/getid3 library as a dependency to composer.json - update DEPENDENCIES.md file - fix episodes table migration script - add js devDependencies: prettier, @prettier/plugin-php and lint-staged to automatically format staged files before commit - reformat all files to the prettier format - refactor code by separating some logic as helper functions - overwrite existing files when uploading new files with the same name fixes #1
63 lines
1.5 KiB
PHP
63 lines
1.5 KiB
PHP
<?php namespace Config;
|
|
|
|
use CodeIgniter\Config\BaseConfig;
|
|
use Kint\Renderer\Renderer;
|
|
|
|
class Kint extends BaseConfig
|
|
{
|
|
/*
|
|
|--------------------------------------------------------------------------
|
|
| Kint
|
|
|--------------------------------------------------------------------------
|
|
|
|
|
| We use Kint's RichRenderer and CLIRenderer. This area contains options
|
|
| that you can set to customize how Kint works for you.
|
|
|
|
|
| For details on these settings, see Kint's docs:
|
|
| https://kint-php.github.io/kint/
|
|
|
|
|
*/
|
|
|
|
/*
|
|
|--------------------------------------------------------------------------
|
|
| Global Settings
|
|
|--------------------------------------------------------------------------
|
|
*/
|
|
|
|
public $plugins = null;
|
|
|
|
public $maxDepth = 6;
|
|
|
|
public $displayCalledFrom = true;
|
|
|
|
public $expanded = false;
|
|
|
|
/*
|
|
|--------------------------------------------------------------------------
|
|
| RichRenderer Settings
|
|
|--------------------------------------------------------------------------
|
|
*/
|
|
public $richTheme = 'aante-light.css';
|
|
|
|
public $richFolder = false;
|
|
|
|
public $richSort = Renderer::SORT_FULL;
|
|
|
|
public $richObjectPlugins = null;
|
|
|
|
public $richTabPlugins = null;
|
|
|
|
/*
|
|
|--------------------------------------------------------------------------
|
|
| CLI Settings
|
|
|--------------------------------------------------------------------------
|
|
*/
|
|
public $cliColors = true;
|
|
|
|
public $cliForceUTF8 = false;
|
|
|
|
public $cliDetectWidth = true;
|
|
|
|
public $cliMinWidth = 40;
|
|
}
|