├── .gitignore ├── .styleci.yml ├── .travis.yml ├── README.md ├── composer.json ├── docs ├── Makefile ├── _static ├── conf.py ├── definition.rst ├── extending.rst ├── formatters.rst ├── getting-started.rst ├── index.rst ├── introduction.rst └── xpath_functions.rst ├── lib ├── Definition.php ├── Definition │ ├── Expander.php │ └── Loader.php ├── Dom │ ├── TableDom.php │ ├── XPathResolver.php │ └── functions.php ├── Formatter.php ├── Formatter │ ├── Format │ │ ├── BalanceFormat.php │ │ ├── JSONFormat.php │ │ ├── NumberFormat.php │ │ ├── PrintfFormat.php │ │ └── TruncateFormat.php │ ├── FormatInterface.php │ ├── Registry │ │ └── ArrayRegistry.php │ └── RegistryInterface.php ├── PathUtil.php ├── Sort.php ├── TableBuilder.php ├── Tabular.php ├── TokenReplacer.php └── schema │ └── table.json ├── phpunit.xml.dist └── tests └── Unit ├── Definition ├── ExpanderTest.php ├── LoaderTest.php └── files │ └── articles.xml ├── DefinitionTest.php ├── Dom ├── TableDomTest.php ├── XPathResolverTest.php └── functionsTest.php ├── Formatter ├── ArrayRegistryTest.php └── Format │ ├── BalanceFormatTest.php │ ├── JSONFormatTest.php │ ├── NumberFormatTest.php │ ├── PrintfFormatTest.php │ └── TruncateFormatTest.php ├── FormatterTest.php ├── PathUtilTest.php ├── RowDefinitionExpander.php ├── SortTest.php ├── TableBuilderTest.php ├── TabularTest.php ├── TokenReplacerTest.php └── fixtures ├── _include1.json ├── _include2.json ├── definition.json ├── definition_invalid.json ├── include.json ├── report.xml └── table.xml /.gitignore: -------------------------------------------------------------------------------- 1 | composer.lock 2 | vendor 3 | docs/_build 4 | 5 | -------------------------------------------------------------------------------- /.styleci.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/phpbench/tabular/HEAD/.styleci.yml -------------------------------------------------------------------------------- /.travis.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/phpbench/tabular/HEAD/.travis.yml -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/phpbench/tabular/HEAD/README.md -------------------------------------------------------------------------------- /composer.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/phpbench/tabular/HEAD/composer.json -------------------------------------------------------------------------------- /docs/Makefile: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/phpbench/tabular/HEAD/docs/Makefile -------------------------------------------------------------------------------- /docs/_static: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /docs/conf.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/phpbench/tabular/HEAD/docs/conf.py -------------------------------------------------------------------------------- /docs/definition.rst: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/phpbench/tabular/HEAD/docs/definition.rst -------------------------------------------------------------------------------- /docs/extending.rst: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/phpbench/tabular/HEAD/docs/extending.rst -------------------------------------------------------------------------------- /docs/formatters.rst: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/phpbench/tabular/HEAD/docs/formatters.rst -------------------------------------------------------------------------------- /docs/getting-started.rst: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/phpbench/tabular/HEAD/docs/getting-started.rst -------------------------------------------------------------------------------- /docs/index.rst: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/phpbench/tabular/HEAD/docs/index.rst -------------------------------------------------------------------------------- /docs/introduction.rst: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/phpbench/tabular/HEAD/docs/introduction.rst -------------------------------------------------------------------------------- /docs/xpath_functions.rst: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/phpbench/tabular/HEAD/docs/xpath_functions.rst -------------------------------------------------------------------------------- /lib/Definition.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/phpbench/tabular/HEAD/lib/Definition.php -------------------------------------------------------------------------------- /lib/Definition/Expander.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/phpbench/tabular/HEAD/lib/Definition/Expander.php -------------------------------------------------------------------------------- /lib/Definition/Loader.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/phpbench/tabular/HEAD/lib/Definition/Loader.php -------------------------------------------------------------------------------- /lib/Dom/TableDom.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/phpbench/tabular/HEAD/lib/Dom/TableDom.php -------------------------------------------------------------------------------- /lib/Dom/XPathResolver.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/phpbench/tabular/HEAD/lib/Dom/XPathResolver.php -------------------------------------------------------------------------------- /lib/Dom/functions.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/phpbench/tabular/HEAD/lib/Dom/functions.php -------------------------------------------------------------------------------- /lib/Formatter.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/phpbench/tabular/HEAD/lib/Formatter.php -------------------------------------------------------------------------------- /lib/Formatter/Format/BalanceFormat.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/phpbench/tabular/HEAD/lib/Formatter/Format/BalanceFormat.php -------------------------------------------------------------------------------- /lib/Formatter/Format/JSONFormat.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/phpbench/tabular/HEAD/lib/Formatter/Format/JSONFormat.php -------------------------------------------------------------------------------- /lib/Formatter/Format/NumberFormat.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/phpbench/tabular/HEAD/lib/Formatter/Format/NumberFormat.php -------------------------------------------------------------------------------- /lib/Formatter/Format/PrintfFormat.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/phpbench/tabular/HEAD/lib/Formatter/Format/PrintfFormat.php -------------------------------------------------------------------------------- /lib/Formatter/Format/TruncateFormat.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/phpbench/tabular/HEAD/lib/Formatter/Format/TruncateFormat.php -------------------------------------------------------------------------------- /lib/Formatter/FormatInterface.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/phpbench/tabular/HEAD/lib/Formatter/FormatInterface.php -------------------------------------------------------------------------------- /lib/Formatter/Registry/ArrayRegistry.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/phpbench/tabular/HEAD/lib/Formatter/Registry/ArrayRegistry.php -------------------------------------------------------------------------------- /lib/Formatter/RegistryInterface.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/phpbench/tabular/HEAD/lib/Formatter/RegistryInterface.php -------------------------------------------------------------------------------- /lib/PathUtil.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/phpbench/tabular/HEAD/lib/PathUtil.php -------------------------------------------------------------------------------- /lib/Sort.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/phpbench/tabular/HEAD/lib/Sort.php -------------------------------------------------------------------------------- /lib/TableBuilder.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/phpbench/tabular/HEAD/lib/TableBuilder.php -------------------------------------------------------------------------------- /lib/Tabular.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/phpbench/tabular/HEAD/lib/Tabular.php -------------------------------------------------------------------------------- /lib/TokenReplacer.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/phpbench/tabular/HEAD/lib/TokenReplacer.php -------------------------------------------------------------------------------- /lib/schema/table.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/phpbench/tabular/HEAD/lib/schema/table.json -------------------------------------------------------------------------------- /phpunit.xml.dist: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/phpbench/tabular/HEAD/phpunit.xml.dist -------------------------------------------------------------------------------- /tests/Unit/Definition/ExpanderTest.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/phpbench/tabular/HEAD/tests/Unit/Definition/ExpanderTest.php -------------------------------------------------------------------------------- /tests/Unit/Definition/LoaderTest.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/phpbench/tabular/HEAD/tests/Unit/Definition/LoaderTest.php -------------------------------------------------------------------------------- /tests/Unit/Definition/files/articles.xml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/phpbench/tabular/HEAD/tests/Unit/Definition/files/articles.xml -------------------------------------------------------------------------------- /tests/Unit/DefinitionTest.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/phpbench/tabular/HEAD/tests/Unit/DefinitionTest.php -------------------------------------------------------------------------------- /tests/Unit/Dom/TableDomTest.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/phpbench/tabular/HEAD/tests/Unit/Dom/TableDomTest.php -------------------------------------------------------------------------------- /tests/Unit/Dom/XPathResolverTest.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/phpbench/tabular/HEAD/tests/Unit/Dom/XPathResolverTest.php -------------------------------------------------------------------------------- /tests/Unit/Dom/functionsTest.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/phpbench/tabular/HEAD/tests/Unit/Dom/functionsTest.php -------------------------------------------------------------------------------- /tests/Unit/Formatter/ArrayRegistryTest.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/phpbench/tabular/HEAD/tests/Unit/Formatter/ArrayRegistryTest.php -------------------------------------------------------------------------------- /tests/Unit/Formatter/Format/BalanceFormatTest.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/phpbench/tabular/HEAD/tests/Unit/Formatter/Format/BalanceFormatTest.php -------------------------------------------------------------------------------- /tests/Unit/Formatter/Format/JSONFormatTest.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/phpbench/tabular/HEAD/tests/Unit/Formatter/Format/JSONFormatTest.php -------------------------------------------------------------------------------- /tests/Unit/Formatter/Format/NumberFormatTest.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/phpbench/tabular/HEAD/tests/Unit/Formatter/Format/NumberFormatTest.php -------------------------------------------------------------------------------- /tests/Unit/Formatter/Format/PrintfFormatTest.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/phpbench/tabular/HEAD/tests/Unit/Formatter/Format/PrintfFormatTest.php -------------------------------------------------------------------------------- /tests/Unit/Formatter/Format/TruncateFormatTest.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/phpbench/tabular/HEAD/tests/Unit/Formatter/Format/TruncateFormatTest.php -------------------------------------------------------------------------------- /tests/Unit/FormatterTest.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/phpbench/tabular/HEAD/tests/Unit/FormatterTest.php -------------------------------------------------------------------------------- /tests/Unit/PathUtilTest.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/phpbench/tabular/HEAD/tests/Unit/PathUtilTest.php -------------------------------------------------------------------------------- /tests/Unit/RowDefinitionExpander.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/phpbench/tabular/HEAD/tests/Unit/RowDefinitionExpander.php -------------------------------------------------------------------------------- /tests/Unit/SortTest.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/phpbench/tabular/HEAD/tests/Unit/SortTest.php -------------------------------------------------------------------------------- /tests/Unit/TableBuilderTest.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/phpbench/tabular/HEAD/tests/Unit/TableBuilderTest.php -------------------------------------------------------------------------------- /tests/Unit/TabularTest.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/phpbench/tabular/HEAD/tests/Unit/TabularTest.php -------------------------------------------------------------------------------- /tests/Unit/TokenReplacerTest.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/phpbench/tabular/HEAD/tests/Unit/TokenReplacerTest.php -------------------------------------------------------------------------------- /tests/Unit/fixtures/_include1.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/phpbench/tabular/HEAD/tests/Unit/fixtures/_include1.json -------------------------------------------------------------------------------- /tests/Unit/fixtures/_include2.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/phpbench/tabular/HEAD/tests/Unit/fixtures/_include2.json -------------------------------------------------------------------------------- /tests/Unit/fixtures/definition.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/phpbench/tabular/HEAD/tests/Unit/fixtures/definition.json -------------------------------------------------------------------------------- /tests/Unit/fixtures/definition_invalid.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/phpbench/tabular/HEAD/tests/Unit/fixtures/definition_invalid.json -------------------------------------------------------------------------------- /tests/Unit/fixtures/include.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/phpbench/tabular/HEAD/tests/Unit/fixtures/include.json -------------------------------------------------------------------------------- /tests/Unit/fixtures/report.xml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/phpbench/tabular/HEAD/tests/Unit/fixtures/report.xml -------------------------------------------------------------------------------- /tests/Unit/fixtures/table.xml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/phpbench/tabular/HEAD/tests/Unit/fixtures/table.xml --------------------------------------------------------------------------------