File: control

package info (click to toggle)
matomo-component-ini 3.0.1-2
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid, trixie
  • size: 100 kB
  • sloc: php: 327; makefile: 9
file content (36 lines) | stat: -rw-r--r-- 1,514 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
Source: matomo-component-ini
Section: php
Priority: optional
Maintainer: Debian-matomo-maintainers <debian-matomo-maintainers@alioth-lists.debian.net>
Uploaders: Thorsten Alteholz <debian@alteholz.de>
Build-Depends: debhelper-compat (= 13)
		, dh-sequence-phpcomposer
                , phpab
                , pkg-php-tools
Standards-Version: 4.6.2
Homepage: https://github.com/matomo-org/component-ini
Vcs-Browser: https://salsa.debian.org/matomo-team/matomo-component-ini
Vcs-Git: https://salsa.debian.org/matomo-team/matomo-component-ini.git
Rules-Requires-Root: no

Package: matomo-component-ini
Architecture: all
Depends: ${misc:Depends}, ${phpcomposer:Debian-require}
Suggests: ${phpcomposer:Debian-suggest}
# description in composer.json is empty
#Description: ${phpcomposer:description}
Description: read and write INI configurations
 PHP provides a parse_ini_file() function to read INI files.
 .
 This component provides the following benefits over the built-in function:
 .
  - allows one to write INI files
  - classes can be used with dependency injection and mocked in unit tests
  - throws exceptions instead of PHP errors
  - better type supports:
     -  parses boolean values (true/false, on/off, yes/no) to real PHP booleans
        (instead of strings "1" and "")
     -  parses null to PHP null (instead of an empty string)
  - works even if parse_ini_file() or parse_ini_string() is disabled in php.ini
    by falling back on an alternate implementation
    (can happen on some shared hosts)