Code Coverage |
||||||||||
Lines |
Functions and Methods |
Classes and Traits |
||||||||
| Total | n/a |
0 / 0 |
n/a |
0 / 0 |
CRAP | n/a |
0 / 0 |
|||
| Feature | n/a |
0 / 0 |
n/a |
0 / 0 |
0 | n/a |
0 / 0 |
|||
| 1 | <?php |
| 2 | |
| 3 | namespace Config; |
| 4 | |
| 5 | use CodeIgniter\Config\BaseConfig; |
| 6 | |
| 7 | /** |
| 8 | * Enable/disable backward compatibility breaking features. |
| 9 | */ |
| 10 | class Feature extends BaseConfig |
| 11 | { |
| 12 | /** |
| 13 | * Use improved new auto routing instead of the legacy version. |
| 14 | */ |
| 15 | public bool $autoRoutesImproved = true; |
| 16 | |
| 17 | /** |
| 18 | * Use filter execution order in 4.4 or before. |
| 19 | */ |
| 20 | public bool $oldFilterOrder = false; |
| 21 | |
| 22 | /** |
| 23 | * The behavior of `limit(0)` in Query Builder. |
| 24 | * |
| 25 | * If true, `limit(0)` returns all records. (the behavior of 4.4.x or before in version 4.x.) |
| 26 | * If false, `limit(0)` returns no records. (the behavior of 3.1.9 or later in version 3.x.) |
| 27 | */ |
| 28 | public bool $limitZeroAsAll = true; |
| 29 | |
| 30 | /** |
| 31 | * Use strict location negotiation. |
| 32 | * |
| 33 | * By default, the locale is selected based on a loose comparison of the language code (ISO 639-1) |
| 34 | * Enabling strict comparison will also consider the region code (ISO 3166-1 alpha-2). |
| 35 | */ |
| 36 | public bool $strictLocaleNegotiation = false; |
| 37 | } |