├── tests
├── files
│ ├── html
│ │ ├── getbody-2.html
│ │ ├── getbody-2-expected.html
│ │ ├── totext-6-expected.txt
│ │ ├── totext-6.html
│ │ ├── totext-3-expected.txt
│ │ ├── totext-3.html
│ │ ├── getbody-1-expected.html
│ │ ├── totext-5-expected.txt
│ │ ├── getbody-1.html
│ │ ├── removejavascriptevents-expected.html
│ │ ├── removedangerous-expected.html
│ │ ├── removeattributes-1-expected.html
│ │ ├── fromtext-1.txt
│ │ ├── removeattributes-2-expected.html
│ │ ├── removejavascriptevents.html
│ │ ├── removeattributes-1.html
│ │ ├── removeattributes-2.html
│ │ ├── totext-2-expected.txt
│ │ ├── removetags-1-expected.html
│ │ ├── removedangerous.html
│ │ ├── fromtext-1-expected.html
│ │ ├── totext-1-expected.txt
│ │ ├── totext-7-expected.txt
│ │ ├── totext-5.html
│ │ ├── totext-2.html
│ │ ├── removetags-2-expected.html
│ │ ├── repair-expected.html
│ │ ├── removetags-1.html
│ │ ├── removetags-2.html
│ │ ├── totext-1.html
│ │ └── repair.html
│ ├── rpc
│ │ ├── abs-expected.json
│ │ ├── diff-expected.json
│ │ ├── pow2-expected.json
│ │ ├── sum-expected.json
│ │ ├── max-expected.json
│ │ ├── pow2.json
│ │ ├── parse-error.json
│ │ ├── abs.json
│ │ ├── sum.json
│ │ ├── max.json
│ │ ├── min.json
│ │ ├── diff.json
│ │ ├── parse-error-expected.json
│ │ ├── sum-short-expected.json
│ │ ├── sum-short.json
│ │ ├── min-expected.json
│ │ ├── expected.log
│ │ ├── abs-expected.xml
│ │ ├── sum-expected.xml
│ │ ├── diff-expected.xml
│ │ ├── max-expected.xml
│ │ ├── pow2-expected.xml
│ │ ├── sum-short-expected.xml
│ │ ├── pow2.xml
│ │ ├── abs.xml
│ │ ├── testPow2.php
│ │ ├── sum-short.xml
│ │ ├── sum.xml
│ │ ├── diff.xml
│ │ ├── max.xml
│ │ ├── min.xml
│ │ ├── parse-error.xml
│ │ ├── min-expected.xml
│ │ ├── parse-error-expected.xml
│ │ ├── TestMathWithCall.php
│ │ ├── TestMathWithCallStatic.php
│ │ └── TestMath.php
│ ├── mail
│ │ ├── logo.gif
│ │ ├── star.gif
│ │ └── sender-undisclosed-recipients.eml
│ ├── charset
│ │ ├── cp1250.txt
│ │ └── iso-8859-2.txt
│ ├── css
│ │ ├── convertstyle-6.html
│ │ ├── convertstyle-6-expected.html
│ │ ├── convertstyle-8.html
│ │ ├── convertstyle-9.html
│ │ ├── convertstyle-7.html
│ │ ├── convertstyle-7-expected.html
│ │ ├── convertstyle-2.html
│ │ ├── convertstyle-8-expected.html
│ │ ├── convertstyle-2-expected.html
│ │ ├── convertstyle-10.html
│ │ ├── convertstyle-9-expected.html
│ │ ├── convertstyle-3.html
│ │ ├── convertstyle-3-expected.html
│ │ └── convertstyle-10-expected.html
│ ├── time
│ │ └── cs_CZ
│ │ │ └── LC_MESSAGES
│ │ │ └── messages.mo
│ ├── input
│ │ ├── Filter.php
│ │ └── Validator.php
│ ├── xmlreader
│ │ ├── text.xml
│ │ └── content.xml
│ └── spl
│ │ ├── Foo2.php
│ │ ├── Foo.php
│ │ └── Foo3.php
├── bootstrap.php
└── Jyxo
│ ├── Gettext
│ └── ParserTest.php
│ ├── Mail
│ └── Email
│ │ ├── HeaderTest.php
│ │ ├── BodyTest.php
│ │ ├── Attachment
│ │ ├── FileAttachmentTest.php
│ │ ├── InlineFileAttachmentTest.php
│ │ ├── StringAttachmentTest.php
│ │ └── InlineStringAttachmentTest.php
│ │ └── AddressTest.php
│ ├── Rpc
│ ├── Xml
│ │ └── ServerTest.php
│ └── Json
│ │ └── ServerTest.php
│ ├── Time
│ ├── ComposerExceptionTest.php
│ └── UtilTest.php
│ ├── Spl
│ ├── FilterIteratorTest.php
│ └── BaseObjectTest.php
│ ├── Beholder
│ ├── TestCase
│ │ ├── DefaultTest.php
│ │ ├── PhpExtensionTest.php
│ │ ├── ImapTest.php
│ │ ├── MemcachedTest.php
│ │ └── SmtpTest.php
│ └── TestCaseTest.php
│ ├── Input
│ └── Chain
│ │ └── ConditionalTest.php
│ └── TimerTest.php
├── .gitignore
├── Jyxo
├── Beholder
│ ├── Output
│ │ ├── NoOutput.php
│ │ ├── Output.php
│ │ └── JsonOutput.php
│ ├── TestCase.php
│ ├── TestCase
│ │ ├── PhpExtension.php
│ │ └── FileSystem.php
│ └── Result
│ │ └── TestSuiteResult.php
├── Input
│ ├── Exception.php
│ ├── Filter
│ │ ├── Exception.php
│ │ ├── LowerCase.php
│ │ ├── SanitizeUrl.php
│ │ ├── ToInt.php
│ │ ├── ExplodeName.php
│ │ ├── Phone.php
│ │ ├── AbstractFilter.php
│ │ └── Trim.php
│ ├── Validator
│ │ ├── Exception.php
│ │ ├── NotEmpty.php
│ │ ├── ErrorMessage.php
│ │ ├── IsArray.php
│ │ ├── IsZipCode.php
│ │ ├── IsEmail.php
│ │ ├── IsNumeric.php
│ │ ├── IsInt.php
│ │ ├── IsIpV4.php
│ │ ├── AbstractValidator.php
│ │ ├── IsDate.php
│ │ ├── InArray.php
│ │ ├── IsPhone.php
│ │ ├── IsDateTime.php
│ │ ├── IsCompanyId.php
│ │ ├── Equals.php
│ │ ├── LessThan.php
│ │ ├── IsUrl.php
│ │ ├── Regex.php
│ │ ├── IsIpV6.php
│ │ ├── StringLengthLessThan.php
│ │ ├── StringLengthGreaterThan.php
│ │ ├── IsTaxId.php
│ │ └── IsBirthNumber.php
│ ├── FilterInterface.php
│ ├── ValidatorInterface.php
│ ├── Filter.php
│ ├── Validator.php
│ └── Chain
│ │ └── Conditional.php
├── Rpc
│ ├── Exception.php
│ ├── Json
│ │ └── Exception.php
│ └── Xml
│ │ ├── Exception.php
│ │ ├── Server.php
│ │ └── Client.php
├── Svn
│ └── Exception.php
├── Webdav
│ ├── Exception.php
│ ├── FileNotExistException.php
│ ├── FileNotCopiedException.php
│ ├── FileNotCreatedException.php
│ ├── FileNotDeletedException.php
│ ├── FileNotRenamedException.php
│ ├── DirectoryNotCreatedException.php
│ ├── DirectoryNotDeletedException.php
│ ├── LoggerInterface.php
│ ├── FileLogger.php
│ └── MonologLogger.php
├── Shell
│ └── Exception.php
├── Mail
│ ├── Parser
│ │ ├── Exception.php
│ │ ├── EmailNotExistException.php
│ │ ├── BodyNotDecodedException.php
│ │ ├── PartNotExistException.php
│ │ └── DefaultPartIdNotExistException.php
│ ├── Sender
│ │ ├── Exception.php
│ │ ├── SmtpException.php
│ │ ├── CreateException.php
│ │ ├── RecipientUnknownException.php
│ │ └── Result.php
│ └── Email
│ │ ├── Attachment
│ │ ├── FileAttachment.php
│ │ ├── InlineFileAttachment.php
│ │ ├── StringAttachment.php
│ │ └── InlineStringAttachment.php
│ │ ├── Header.php
│ │ ├── Address.php
│ │ └── Body.php
├── Gettext
│ └── Parser
│ │ ├── Exception.php
│ │ └── Header.php
├── Spl
│ ├── ArrayCopy.php
│ └── FilterIterator.php
├── Exception.php
├── Timer.php
└── Time
│ └── ComposerException.php
├── composer.json
├── phpunit.xml.dist
└── license.txt
/tests/files/html/getbody-2.html:
--------------------------------------------------------------------------------
1 |
Text
--------------------------------------------------------------------------------
/tests/files/html/getbody-2-expected.html:
--------------------------------------------------------------------------------
1 | Text
--------------------------------------------------------------------------------
/tests/files/rpc/abs-expected.json:
--------------------------------------------------------------------------------
1 | {"result":10,"id":42}
--------------------------------------------------------------------------------
/.gitignore:
--------------------------------------------------------------------------------
1 | /bin
2 | /composer.lock
3 | /temp
4 | /vendor
5 |
--------------------------------------------------------------------------------
/tests/files/rpc/diff-expected.json:
--------------------------------------------------------------------------------
1 | {"result":10,"id":"jyxoid"}
--------------------------------------------------------------------------------
/tests/files/rpc/pow2-expected.json:
--------------------------------------------------------------------------------
1 | {"result":100,"id":"cet21"}
--------------------------------------------------------------------------------
/tests/files/rpc/sum-expected.json:
--------------------------------------------------------------------------------
1 | {"result":3,"id":"123456"}
--------------------------------------------------------------------------------
/tests/files/html/totext-6-expected.txt:
--------------------------------------------------------------------------------
1 |
2 |
3 | TOM & JERRY
--------------------------------------------------------------------------------
/tests/files/rpc/max-expected.json:
--------------------------------------------------------------------------------
1 | {"result":100,"id":"typewriter"}
--------------------------------------------------------------------------------
/tests/files/rpc/pow2.json:
--------------------------------------------------------------------------------
1 | {"method":"testPow2","params":[10],"id":"cet21"}
--------------------------------------------------------------------------------
/tests/files/rpc/parse-error.json:
--------------------------------------------------------------------------------
1 | {"method":"TestMath::min","params":[1,100,10]}
--------------------------------------------------------------------------------
/tests/files/html/totext-6.html:
--------------------------------------------------------------------------------
1 | <Nadpis>
2 | Tom & Jerry
--------------------------------------------------------------------------------
/tests/files/rpc/abs.json:
--------------------------------------------------------------------------------
1 | {"method":"TestMathWithCall::abs","params":[-10],"id":42}
--------------------------------------------------------------------------------
/tests/files/rpc/sum.json:
--------------------------------------------------------------------------------
1 | {"method":"TestMath::sum","params":[1,2],"id":"123456"}
--------------------------------------------------------------------------------
/tests/files/rpc/max.json:
--------------------------------------------------------------------------------
1 | {"method":"TestMath::max","params":[1,100,10],"id":"typewriter"}
--------------------------------------------------------------------------------
/tests/files/rpc/min.json:
--------------------------------------------------------------------------------
1 | {"method":"TestMath::min","params":[1,100,10],"id":"jyxolibs"}
--------------------------------------------------------------------------------
/tests/files/mail/logo.gif:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/jyxo/php/HEAD/tests/files/mail/logo.gif
--------------------------------------------------------------------------------
/tests/files/mail/star.gif:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/jyxo/php/HEAD/tests/files/mail/star.gif
--------------------------------------------------------------------------------
/tests/files/rpc/diff.json:
--------------------------------------------------------------------------------
1 | {"method":"TestMathWithCallStatic::diff","params":[20,10],"id":"jyxoid"}
--------------------------------------------------------------------------------
/tests/files/rpc/parse-error-expected.json:
--------------------------------------------------------------------------------
1 | {"error":{"message":"Parse error.","code":10},"id":""}
--------------------------------------------------------------------------------
/tests/files/rpc/sum-short-expected.json:
--------------------------------------------------------------------------------
1 | {"result":3,"id":"a2a13eed69d3bdf21b9bfbbe7ee0ff8271d2788c"}
--------------------------------------------------------------------------------
/tests/files/charset/cp1250.txt:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/jyxo/php/HEAD/tests/files/charset/cp1250.txt
--------------------------------------------------------------------------------
/tests/files/charset/iso-8859-2.txt:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/jyxo/php/HEAD/tests/files/charset/iso-8859-2.txt
--------------------------------------------------------------------------------
/tests/files/rpc/sum-short.json:
--------------------------------------------------------------------------------
1 | {"method":"sum","params":[1,2],"id":"a2a13eed69d3bdf21b9bfbbe7ee0ff8271d2788c"}
--------------------------------------------------------------------------------
/tests/files/css/convertstyle-6.html:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/jyxo/php/HEAD/tests/files/css/convertstyle-6.html
--------------------------------------------------------------------------------
/tests/files/rpc/min-expected.json:
--------------------------------------------------------------------------------
1 | {"error":{"message":"Server error. Method not found.","code":-32601},"id":"jyxolibs"}
--------------------------------------------------------------------------------
/tests/files/css/convertstyle-6-expected.html:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/jyxo/php/HEAD/tests/files/css/convertstyle-6-expected.html
--------------------------------------------------------------------------------
/tests/files/rpc/expected.log:
--------------------------------------------------------------------------------
1 | [2009-11-15 19:09:24]
2 | Method: TestMath::sum
3 | Param 0: 1
4 | Param 1: 2
5 | Result: 5
6 |
--------------------------------------------------------------------------------
/tests/files/time/cs_CZ/LC_MESSAGES/messages.mo:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/jyxo/php/HEAD/tests/files/time/cs_CZ/LC_MESSAGES/messages.mo
--------------------------------------------------------------------------------
/tests/files/html/totext-3-expected.txt:
--------------------------------------------------------------------------------
1 | > one one one
2 | >
3 | >> second
4 | >>
5 | >>> third
6 | >>>
7 | >> second
8 | >>
9 | > one
10 | >
--------------------------------------------------------------------------------
/tests/files/html/totext-3.html:
--------------------------------------------------------------------------------
1 |
2 | one
3 | one
4 | one
5 | second
6 | third
7 | second
8 |
9 | one
10 |
11 |
--------------------------------------------------------------------------------
/tests/files/rpc/abs-expected.xml:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
6 | 10
7 |
8 |
9 |
10 |
11 |
--------------------------------------------------------------------------------
/tests/files/rpc/sum-expected.xml:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
6 | 3
7 |
8 |
9 |
10 |
11 |
--------------------------------------------------------------------------------
/tests/files/html/getbody-1-expected.html:
--------------------------------------------------------------------------------
1 |
2 | Pre
3 | Pre
4 |
5 |
6 |
7 |
8 | First
9 |
--------------------------------------------------------------------------------
/tests/files/rpc/diff-expected.xml:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
6 | 10
7 |
8 |
9 |
10 |
11 |
--------------------------------------------------------------------------------
/tests/files/rpc/max-expected.xml:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
6 | 100
7 |
8 |
9 |
10 |
11 |
--------------------------------------------------------------------------------
/tests/files/rpc/pow2-expected.xml:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
6 | 100
7 |
8 |
9 |
10 |
11 |
--------------------------------------------------------------------------------
/tests/files/rpc/sum-short-expected.xml:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
6 | 3
7 |
8 |
9 |
10 |
11 |
--------------------------------------------------------------------------------
/tests/files/rpc/pow2.xml:
--------------------------------------------------------------------------------
1 |
2 |
3 | testPow2
4 |
5 |
6 |
7 | 10
8 |
9 |
10 |
11 |
12 |
--------------------------------------------------------------------------------
/tests/files/rpc/abs.xml:
--------------------------------------------------------------------------------
1 |
2 |
3 | TestMathWithCall::abs
4 |
5 |
6 |
7 | -10
8 |
9 |
10 |
11 |
12 |
--------------------------------------------------------------------------------
/tests/files/rpc/testPow2.php:
--------------------------------------------------------------------------------
1 |
2 |
3 | Test
4 |
5 |
6 |
7 | Pre
8 | Pre
9 |
10 |
11 |
12 |
13 | First
14 |
15 |
16 |