Skip to content

Commit 3eabfd5

Browse files
committed
Release 4.0.0
1 parent 55cf61e commit 3eabfd5

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

49 files changed

+1026
-1596
lines changed

.gitignore

+2-1
Original file line numberDiff line numberDiff line change
@@ -123,4 +123,5 @@ nb-configuration.xml
123123
.vscode/
124124

125125
/results/
126-
/phpunit*.xml
126+
/phpunit*.xml
127+
/.phpunit.*.cache

app/Config/App.php

-1
Original file line numberDiff line numberDiff line change
@@ -265,5 +265,4 @@ class App extends BaseConfig
265265
| - http://www.w3.org/TR/CSP/
266266
*/
267267
public $CSPEnabled = false;
268-
269268
}

app/Config/Events.php

+9-6
Original file line numberDiff line numberDiff line change
@@ -20,14 +20,17 @@
2020
*/
2121

2222
Events::on('pre_system', function () {
23-
while (\ob_get_level() > 0)
23+
if (ENVIRONMENT !== 'testing')
2424
{
25-
\ob_end_flush();
26-
}
25+
while (\ob_get_level() > 0)
26+
{
27+
\ob_end_flush();
28+
}
2729

28-
\ob_start(function ($buffer) {
29-
return $buffer;
30-
});
30+
\ob_start(function ($buffer) {
31+
return $buffer;
32+
});
33+
}
3134

3235
/*
3336
* --------------------------------------------------------------------

app/Config/Kint.php

+62
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,62 @@
1+
<?php namespace Config;
2+
3+
use Kint\Renderer\Renderer;
4+
use CodeIgniter\Config\BaseConfig;
5+
6+
class Kint extends BaseConfig
7+
{
8+
/*
9+
|--------------------------------------------------------------------------
10+
| Kint
11+
|--------------------------------------------------------------------------
12+
|
13+
| We use Kint's RichRenderer and CLIRenderer. This area contains options
14+
| that you can set to customize how Kint works for you.
15+
|
16+
| For details on these settings, see Kint's docs:
17+
| https://kint-php.github.io/kint/
18+
|
19+
*/
20+
21+
/*
22+
|--------------------------------------------------------------------------
23+
| Global Settings
24+
|--------------------------------------------------------------------------
25+
*/
26+
27+
public $plugins = null;
28+
29+
public $maxDepth = 6;
30+
31+
public $displayCalledFrom = true;
32+
33+
public $expanded = false;
34+
35+
/*
36+
|--------------------------------------------------------------------------
37+
| RichRenderer Settings
38+
|--------------------------------------------------------------------------
39+
*/
40+
public $richTheme = 'aante-light.css';
41+
42+
public $richFolder = false;
43+
44+
public $richSort = Renderer::SORT_FULL;
45+
46+
public $richObjectPlugins = null;
47+
48+
public $richTabPlugins = null;
49+
50+
/*
51+
|--------------------------------------------------------------------------
52+
| CLI Settings
53+
|--------------------------------------------------------------------------
54+
*/
55+
public $cliColors = true;
56+
57+
public $cliForceUTF8 = false;
58+
59+
public $cliDetectWidth = true;
60+
61+
public $cliMinWidth = 40;
62+
}

0 commit comments

Comments
 (0)