Bearsampp 2026.9.23
Loading...
Searching...
No Matches
v1.php File Reference

Go to the source code of this file.

Data Structures

class  PEAR_PackageFile_v1

Namespaces

namespace  PEAR

Variables

const PEAR_PACKAGEFILE_ERROR_CANT_MAKE_PARSER 4
const PEAR_PACKAGEFILE_ERROR_CHANNELVAL 45
const PEAR_PACKAGEFILE_ERROR_DEPNAME_IGNORED 35
const PEAR_PACKAGEFILE_ERROR_DEPVERSION_IGNORED 34
const PEAR_PACKAGEFILE_ERROR_FILE_NOTFOUND 47
const PEAR_PACKAGEFILE_ERROR_INVALID_DATE 17
const PEAR_PACKAGEFILE_ERROR_INVALID_DEPNAME 32
const PEAR_PACKAGEFILE_ERROR_INVALID_DEPOPTIONAL 31
const PEAR_PACKAGEFILE_ERROR_INVALID_DEPREL 29
const PEAR_PACKAGEFILE_ERROR_INVALID_DEPTYPE 30
const PEAR_PACKAGEFILE_ERROR_INVALID_FILE 44
const PEAR_PACKAGEFILE_ERROR_INVALID_FILENAME 52
const PEAR_PACKAGEFILE_ERROR_INVALID_FILEROLE 38
const PEAR_PACKAGEFILE_ERROR_INVALID_MAINTROLE 24
const PEAR_PACKAGEFILE_ERROR_INVALID_NAME 7
const PEAR_PACKAGEFILE_ERROR_INVALID_PHPFILE 40
const PEAR_PACKAGEFILE_ERROR_INVALID_STATE 15
const PEAR_PACKAGEFILE_ERROR_INVALID_VERSION 13
const PEAR_PACKAGEFILE_ERROR_MULTILINE_SUMMARY 9
const PEAR_PACKAGEFILE_ERROR_NO_CONFNAME 36
const PEAR_PACKAGEFILE_ERROR_NO_CONFPROMPT 37
const PEAR_PACKAGEFILE_ERROR_NO_DATE 16
const PEAR_PACKAGEFILE_ERROR_NO_DEPNAME 25
const PEAR_PACKAGEFILE_ERROR_NO_DEPPHPVERSION 50
const PEAR_PACKAGEFILE_ERROR_NO_DEPREL 27
const PEAR_PACKAGEFILE_ERROR_NO_DEPTYPE 26
const PEAR_PACKAGEFILE_ERROR_NO_DEPVERSION 28
const PEAR_PACKAGEFILE_ERROR_NO_DESCRIPTION 10
const PEAR_PACKAGEFILE_ERROR_NO_FILEROLE 39
const PEAR_PACKAGEFILE_ERROR_NO_FILES 43
const PEAR_PACKAGEFILE_ERROR_NO_LEAD 51
const PEAR_PACKAGEFILE_ERROR_NO_LICENSE 11
const PEAR_PACKAGEFILE_ERROR_NO_MAINTAINERS 19
const PEAR_PACKAGEFILE_ERROR_NO_MAINTEMAIL 23
const PEAR_PACKAGEFILE_ERROR_NO_MAINTHANDLE 20
const PEAR_PACKAGEFILE_ERROR_NO_MAINTNAME 22
const PEAR_PACKAGEFILE_ERROR_NO_MAINTROLE 21
const PEAR_PACKAGEFILE_ERROR_NO_NAME 6
const PEAR_PACKAGEFILE_ERROR_NO_NOTES 18
const PEAR_PACKAGEFILE_ERROR_NO_PNAME_PREFIX 41
const PEAR_PACKAGEFILE_ERROR_NO_STATE 14
const PEAR_PACKAGEFILE_ERROR_NO_SUMMARY 8
const PEAR_PACKAGEFILE_ERROR_NO_VERSION 12
const PEAR_PACKAGEFILE_ERROR_NO_XML_EXT 3
const PEAR_PACKAGEFILE_ERROR_NON_ISO_CHARS 49
const PEAR_PACKAGEFILE_ERROR_PARSER_ERROR 5
const PEAR_PACKAGEFILE_ERROR_PHP5 46
const PEAR_PACKAGEFILE_ERROR_UNKNOWN_CHANNEL 42
const PEAR_PACKAGEFILE_ERROR_UNKNOWN_DEPCHANNEL 33
const PEAR_PACKAGEFILE_PHP_NO_NOT 48

Variable Documentation

◆ PEAR_PACKAGEFILE_ERROR_CANT_MAKE_PARSER

const PEAR_PACKAGEFILE_ERROR_CANT_MAKE_PARSER 4

Error code if creating the xml parser resource fails

Definition at line 28 of file v1.php.

◆ PEAR_PACKAGEFILE_ERROR_CHANNELVAL

const PEAR_PACKAGEFILE_ERROR_CHANNELVAL 45

Error code when the channel validator returns an error or warning

Definition at line 234 of file v1.php.

Referenced by PEAR_PackageFile_v1\_getErrorMessage(), and PEAR_PackageFile_v1\validate().

◆ PEAR_PACKAGEFILE_ERROR_DEPNAME_IGNORED

const PEAR_PACKAGEFILE_ERROR_DEPNAME_IGNORED 35

Error code when type="php" and dependency name is present

Definition at line 183 of file v1.php.

Referenced by PEAR_PackageFile_v1\_getErrorMessage(), and PEAR_PackageFile_v1\validate().

◆ PEAR_PACKAGEFILE_ERROR_DEPVERSION_IGNORED

const PEAR_PACKAGEFILE_ERROR_DEPVERSION_IGNORED 34

Error code when rel="has" and version attribute is present.

Definition at line 178 of file v1.php.

Referenced by PEAR_PackageFile_v1\_getErrorMessage(), and PEAR_PackageFile_v1\validate().

◆ PEAR_PACKAGEFILE_ERROR_FILE_NOTFOUND

const PEAR_PACKAGEFILE_ERROR_FILE_NOTFOUND 47

Error code when a file is listed in package.xml but does not exist

Definition at line 244 of file v1.php.

Referenced by PEAR_PackageFile_v1\_analyzePhpFiles(), and PEAR_PackageFile_v1\_getErrorMessage().

◆ PEAR_PACKAGEFILE_ERROR_INVALID_DATE

const PEAR_PACKAGEFILE_ERROR_INVALID_DATE 17

Error code when release state is invalid

Definition at line 93 of file v1.php.

◆ PEAR_PACKAGEFILE_ERROR_INVALID_DEPNAME

const PEAR_PACKAGEFILE_ERROR_INVALID_DEPNAME 32

Error code when a dependency is a pkg dependency, and has an invalid package name

Definition at line 168 of file v1.php.

◆ PEAR_PACKAGEFILE_ERROR_INVALID_DEPOPTIONAL

const PEAR_PACKAGEFILE_ERROR_INVALID_DEPOPTIONAL 31

Error code when a dependency has an invalid optional option

Definition at line 163 of file v1.php.

Referenced by PEAR_PackageFile_v1\_getErrorMessage(), and PEAR_PackageFile_v1\validate().

◆ PEAR_PACKAGEFILE_ERROR_INVALID_DEPREL

const PEAR_PACKAGEFILE_ERROR_INVALID_DEPREL 29

Error code when a dependency has an invalid relation

Definition at line 153 of file v1.php.

◆ PEAR_PACKAGEFILE_ERROR_INVALID_DEPTYPE

const PEAR_PACKAGEFILE_ERROR_INVALID_DEPTYPE 30

Error code when a dependency has an invalid type

Definition at line 158 of file v1.php.

◆ PEAR_PACKAGEFILE_ERROR_INVALID_FILE

const PEAR_PACKAGEFILE_ERROR_INVALID_FILE 44

Error code when a file is not valid php according to _analyzeSourceCode()

Definition at line 229 of file v1.php.

Referenced by PEAR_PackageFile_v1\_getErrorMessage().

◆ PEAR_PACKAGEFILE_ERROR_INVALID_FILENAME

const PEAR_PACKAGEFILE_ERROR_INVALID_FILENAME 52

Error code when a filename begins with "."

Definition at line 269 of file v1.php.

Referenced by PEAR_PackageFile_v1\_getErrorMessage(), and PEAR_PackageFile_v1\validate().

◆ PEAR_PACKAGEFILE_ERROR_INVALID_FILEROLE

const PEAR_PACKAGEFILE_ERROR_INVALID_FILEROLE 38

Error code when a file in the filelist has an invalid role

Definition at line 198 of file v1.php.

Referenced by PEAR_PackageFile_v1\_getErrorMessage(), and PEAR_PackageFile_v1\validate().

◆ PEAR_PACKAGEFILE_ERROR_INVALID_MAINTROLE

const PEAR_PACKAGEFILE_ERROR_INVALID_MAINTROLE 24

Error code when a maintainer has no handle

Definition at line 128 of file v1.php.

◆ PEAR_PACKAGEFILE_ERROR_INVALID_NAME

const PEAR_PACKAGEFILE_ERROR_INVALID_NAME 7

Error code when a package name is not valid

Definition at line 43 of file v1.php.

◆ PEAR_PACKAGEFILE_ERROR_INVALID_PHPFILE

const PEAR_PACKAGEFILE_ERROR_INVALID_PHPFILE 40

Error code when analyzing a php source file that has parse errors

Definition at line 208 of file v1.php.

Referenced by PEAR_PackageFile_v1\_analyzeSourceCode(), and PEAR_PackageFile_v1\_getErrorMessage().

◆ PEAR_PACKAGEFILE_ERROR_INVALID_STATE

const PEAR_PACKAGEFILE_ERROR_INVALID_STATE 15

Error code when release state is invalid

Definition at line 83 of file v1.php.

◆ PEAR_PACKAGEFILE_ERROR_INVALID_VERSION

const PEAR_PACKAGEFILE_ERROR_INVALID_VERSION 13

Error code used when a <version> version number is invalid

Definition at line 73 of file v1.php.

◆ PEAR_PACKAGEFILE_ERROR_MULTILINE_SUMMARY

const PEAR_PACKAGEFILE_ERROR_MULTILINE_SUMMARY 9

Error code for summaries that are more than 1 line

Definition at line 53 of file v1.php.

Referenced by PEAR_PackageFile_v1\_getErrorMessage(), and PEAR_PackageFile_v1\validate().

◆ PEAR_PACKAGEFILE_ERROR_NO_CONFNAME

const PEAR_PACKAGEFILE_ERROR_NO_CONFNAME 36

Error code when a configure option has no name

Definition at line 188 of file v1.php.

Referenced by PEAR_PackageFile_v1\_getErrorMessage(), and PEAR_PackageFile_v1\validate().

◆ PEAR_PACKAGEFILE_ERROR_NO_CONFPROMPT

const PEAR_PACKAGEFILE_ERROR_NO_CONFPROMPT 37

Error code when a configure option has no name

Definition at line 193 of file v1.php.

Referenced by PEAR_PackageFile_v1\_getErrorMessage(), and PEAR_PackageFile_v1\validate().

◆ PEAR_PACKAGEFILE_ERROR_NO_DATE

const PEAR_PACKAGEFILE_ERROR_NO_DATE 16

Error code when release state is missing

Definition at line 88 of file v1.php.

Referenced by PEAR_PackageFile_v1\_getErrorMessage(), and PEAR_PackageFile_v1\validate().

◆ PEAR_PACKAGEFILE_ERROR_NO_DEPNAME

const PEAR_PACKAGEFILE_ERROR_NO_DEPNAME 25

Error code when a dependency is not a PHP dependency, but has no name

Definition at line 133 of file v1.php.

Referenced by PEAR_PackageFile_v1\_getErrorMessage(), and PEAR_PackageFile_v1\validate().

◆ PEAR_PACKAGEFILE_ERROR_NO_DEPPHPVERSION

const PEAR_PACKAGEFILE_ERROR_NO_DEPPHPVERSION 50

Error code when a dependency is not a 'has' relation, but has no version

Definition at line 259 of file v1.php.

Referenced by PEAR_PackageFile_v1\_getErrorMessage(), and PEAR_PackageFile_v1\validate().

◆ PEAR_PACKAGEFILE_ERROR_NO_DEPREL

const PEAR_PACKAGEFILE_ERROR_NO_DEPREL 27

Error code when a dependency has no relation (lt, ge, has, etc.)

Definition at line 143 of file v1.php.

Referenced by PEAR_PackageFile_v1\_getErrorMessage(), and PEAR_PackageFile_v1\validate().

◆ PEAR_PACKAGEFILE_ERROR_NO_DEPTYPE

const PEAR_PACKAGEFILE_ERROR_NO_DEPTYPE 26

Error code when a dependency has no type (pkg, php, etc.)

Definition at line 138 of file v1.php.

Referenced by PEAR_PackageFile_v1\_getErrorMessage(), and PEAR_PackageFile_v1\validate().

◆ PEAR_PACKAGEFILE_ERROR_NO_DEPVERSION

const PEAR_PACKAGEFILE_ERROR_NO_DEPVERSION 28

Error code when a dependency is not a 'has' relation, but has no version

Definition at line 148 of file v1.php.

Referenced by PEAR_PackageFile_v1\_getErrorMessage(), and PEAR_PackageFile_v1\validate().

◆ PEAR_PACKAGEFILE_ERROR_NO_DESCRIPTION

const PEAR_PACKAGEFILE_ERROR_NO_DESCRIPTION 10

Error code used when no description is present

Definition at line 58 of file v1.php.

Referenced by PEAR_PackageFile_v1\_getErrorMessage(), and PEAR_PackageFile_v1\validate().

◆ PEAR_PACKAGEFILE_ERROR_NO_FILEROLE

const PEAR_PACKAGEFILE_ERROR_NO_FILEROLE 39

Error code when a file in the filelist has no role

Definition at line 203 of file v1.php.

Referenced by PEAR_PackageFile_v1\_getErrorMessage(), and PEAR_PackageFile_v1\validate().

◆ PEAR_PACKAGEFILE_ERROR_NO_FILES

const PEAR_PACKAGEFILE_ERROR_NO_FILES 43

Error code when no files are found in the filelist

Definition at line 224 of file v1.php.

Referenced by PEAR_PackageFile_v1\_getErrorMessage(), and PEAR_PackageFile_v1\validate().

◆ PEAR_PACKAGEFILE_ERROR_NO_LEAD

const PEAR_PACKAGEFILE_ERROR_NO_LEAD 51

Error code when a package has no lead developer

Definition at line 264 of file v1.php.

Referenced by PEAR_PackageFile_v1\_getErrorMessage(), and PEAR_PackageFile_v1\validate().

◆ PEAR_PACKAGEFILE_ERROR_NO_LICENSE

const PEAR_PACKAGEFILE_ERROR_NO_LICENSE 11

Error code used when no license is present

Definition at line 63 of file v1.php.

Referenced by PEAR_PackageFile_v1\_getErrorMessage(), and PEAR_PackageFile_v1\validate().

◆ PEAR_PACKAGEFILE_ERROR_NO_MAINTAINERS

const PEAR_PACKAGEFILE_ERROR_NO_MAINTAINERS 19

Error code when no maintainers are found

Definition at line 103 of file v1.php.

Referenced by PEAR_PackageFile_v1\_getErrorMessage(), and PEAR_PackageFile_v1\validate().

◆ PEAR_PACKAGEFILE_ERROR_NO_MAINTEMAIL

const PEAR_PACKAGEFILE_ERROR_NO_MAINTEMAIL 23

Error code when a maintainer has no email

Definition at line 123 of file v1.php.

Referenced by PEAR_PackageFile_v1\_getErrorMessage(), and PEAR_PackageFile_v1\validate().

◆ PEAR_PACKAGEFILE_ERROR_NO_MAINTHANDLE

const PEAR_PACKAGEFILE_ERROR_NO_MAINTHANDLE 20

Error code when a maintainer has no handle

Definition at line 108 of file v1.php.

Referenced by PEAR_PackageFile_v1\_getErrorMessage(), and PEAR_PackageFile_v1\validate().

◆ PEAR_PACKAGEFILE_ERROR_NO_MAINTNAME

const PEAR_PACKAGEFILE_ERROR_NO_MAINTNAME 22

Error code when a maintainer has no name

Definition at line 118 of file v1.php.

Referenced by PEAR_PackageFile_v1\_getErrorMessage(), and PEAR_PackageFile_v1\validate().

◆ PEAR_PACKAGEFILE_ERROR_NO_MAINTROLE

const PEAR_PACKAGEFILE_ERROR_NO_MAINTROLE 21

Error code when a maintainer has no handle

Definition at line 113 of file v1.php.

Referenced by PEAR_PackageFile_v1\_getErrorMessage(), and PEAR_PackageFile_v1\validate().

◆ PEAR_PACKAGEFILE_ERROR_NO_NAME

const PEAR_PACKAGEFILE_ERROR_NO_NAME 6

Error code used when there is no name

Definition at line 38 of file v1.php.

Referenced by PEAR_PackageFile_v1\_getErrorMessage(), and PEAR_PackageFile_v1\validate().

◆ PEAR_PACKAGEFILE_ERROR_NO_NOTES

const PEAR_PACKAGEFILE_ERROR_NO_NOTES 18

Error code when no release notes are found

Definition at line 98 of file v1.php.

Referenced by PEAR_PackageFile_v1\_getErrorMessage(), and PEAR_PackageFile_v1\validate().

◆ PEAR_PACKAGEFILE_ERROR_NO_PNAME_PREFIX

const PEAR_PACKAGEFILE_ERROR_NO_PNAME_PREFIX 41

Error code when analyzing a php source file reveals a source element without a package name prefix

Definition at line 214 of file v1.php.

Referenced by PEAR_PackageFile_v1\_analyzePhpFiles(), and PEAR_PackageFile_v1\_getErrorMessage().

◆ PEAR_PACKAGEFILE_ERROR_NO_STATE

const PEAR_PACKAGEFILE_ERROR_NO_STATE 14

Error code when release state is missing

Definition at line 78 of file v1.php.

Referenced by PEAR_PackageFile_v1\_getErrorMessage(), and PEAR_PackageFile_v1\validate().

◆ PEAR_PACKAGEFILE_ERROR_NO_SUMMARY

const PEAR_PACKAGEFILE_ERROR_NO_SUMMARY 8

Error code used when no summary is parsed

Definition at line 48 of file v1.php.

Referenced by PEAR_PackageFile_v1\_getErrorMessage(), and PEAR_PackageFile_v1\validate().

◆ PEAR_PACKAGEFILE_ERROR_NO_VERSION

const PEAR_PACKAGEFILE_ERROR_NO_VERSION 12

Error code used when a <version> version number is not present

Definition at line 68 of file v1.php.

Referenced by PEAR_PackageFile_v1\_getErrorMessage(), and PEAR_PackageFile_v1\validate().

◆ PEAR_PACKAGEFILE_ERROR_NO_XML_EXT

const PEAR_PACKAGEFILE_ERROR_NO_XML_EXT 3

For error handling Error code if parsing is attempted with no xml extension

Definition at line 23 of file v1.php.

◆ PEAR_PACKAGEFILE_ERROR_NON_ISO_CHARS

const PEAR_PACKAGEFILE_ERROR_NON_ISO_CHARS 49

Error code when a package.xml contains non-ISO-8859-1 characters

Definition at line 254 of file v1.php.

Referenced by PEAR_PackageFile_v1\_getErrorMessage().

◆ PEAR_PACKAGEFILE_ERROR_PARSER_ERROR

const PEAR_PACKAGEFILE_ERROR_PARSER_ERROR 5

Error code used for all sax xml parsing errors

Definition at line 33 of file v1.php.

◆ PEAR_PACKAGEFILE_ERROR_PHP5

const PEAR_PACKAGEFILE_ERROR_PHP5 46

Error code when a php5 package is packaged in php4 (analysis doesn't work)

Definition at line 239 of file v1.php.

Referenced by PEAR_PackageFile_v1\_getErrorMessage().

◆ PEAR_PACKAGEFILE_ERROR_UNKNOWN_CHANNEL

const PEAR_PACKAGEFILE_ERROR_UNKNOWN_CHANNEL 42

Error code when an unknown channel is specified

Definition at line 219 of file v1.php.

◆ PEAR_PACKAGEFILE_ERROR_UNKNOWN_DEPCHANNEL

const PEAR_PACKAGEFILE_ERROR_UNKNOWN_DEPCHANNEL 33

Error code when a dependency has a channel="foo" attribute, and foo is not a registered channel

Definition at line 173 of file v1.php.

◆ PEAR_PACKAGEFILE_PHP_NO_NOT

const PEAR_PACKAGEFILE_PHP_NO_NOT 48

Error code when a <dep type="php" rel="not"... is encountered (use rel="ne")

Definition at line 249 of file v1.php.

Referenced by PEAR_PackageFile_v1\_getErrorMessage(), and PEAR_PackageFile_v1\validate().