diff --git a/composer.json b/composer.json index 9b317c4..36e63f2 100644 --- a/composer.json +++ b/composer.json @@ -19,7 +19,8 @@ "kriswallsmith/assetic": "1.1.*@alpha", "symfony-cmf/routing": "1.1.*@alpha", "easyrdf/easyrdf": "0.8.*@beta", - "phpunit/phpunit": "3.7.*" + "phpunit/phpunit": "3.7.*", + "psr/log": "1.0.*" }, "autoload": { "psr-0": { diff --git a/composer.lock b/composer.lock index e8a696a..f1e5350 100644 --- a/composer.lock +++ b/composer.lock @@ -3,7 +3,7 @@ "This file locks the dependencies of your project to a known state", "Read more about it at http://getcomposer.org/doc/01-basic-usage.md#composer-lock-the-lock-file" ], - "hash": "8969a2b9cb8e5b12a6649cadfa010bab", + "hash": "e7accd7eb2f93c6c4d7ef9671fe4721f", "packages": [ { "name": "doctrine/common", @@ -325,21 +325,21 @@ }, { "name": "kriswallsmith/assetic", - "version": "v1.1.0-alpha4", + "version": "v1.1.0-beta1", "source": { "type": "git", "url": "https://github.com/kriswallsmith/assetic.git", - "reference": "v1.1.0-alpha4" + "reference": "v1.1.0-beta1" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/kriswallsmith/assetic/zipball/v1.1.0-alpha4", - "reference": "v1.1.0-alpha4", + "url": "https://api.github.com/repos/kriswallsmith/assetic/zipball/v1.1.0-beta1", + "reference": "v1.1.0-beta1", "shasum": "" }, "require": { "php": ">=5.3.1", - "symfony/process": ">=2.1.0,<2.3-dev" + "symfony/process": ">=2.1,<3.0" }, "require-dev": { "cssmin/cssmin": "*", @@ -349,9 +349,9 @@ "leafo/scssphp": "*", "leafo/scssphp-compass": "*", "mrclay/minify": "*", - "phpunit/phpunit": "3.7.*", + "phpunit/phpunit": ">=3.7,<4.0", "ptachoire/cssembed": "*", - "twig/twig": ">=1.6.0,<2.0" + "twig/twig": ">=1.6,<2.0" }, "suggest": { "leafo/lessphp": "Assetic provides the integration with the lessphp LESS compiler", @@ -392,7 +392,7 @@ "compression", "minification" ], - "time": "2013-02-24 17:22:20" + "time": "2013-05-13 06:03:18" }, { "name": "phpunit/php-code-coverage", @@ -627,16 +627,16 @@ }, { "name": "phpunit/phpunit", - "version": "3.7.19", + "version": "3.7.20", "source": { "type": "git", "url": "https://github.com/sebastianbergmann/phpunit.git", - "reference": "3.7.19" + "reference": "3.7.20" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/sebastianbergmann/phpunit/zipball/3.7.19", - "reference": "3.7.19", + "url": "https://api.github.com/repos/sebastianbergmann/phpunit/zipball/3.7.20", + "reference": "3.7.20", "shasum": "" }, "require": { @@ -650,7 +650,7 @@ "phpunit/php-text-template": ">=1.1.1", "phpunit/php-timer": ">=1.0.2,<1.1.0", "phpunit/phpunit-mock-objects": ">=1.2.0,<1.3.0", - "symfony/yaml": ">=2.0.0,<2.3.0" + "symfony/yaml": ">=2.0,<3.0" }, "require-dev": { "pear-pear/pear": "1.9.4" @@ -697,7 +697,7 @@ "testing", "xunit" ], - "time": "2013-03-25 11:45:06" + "time": "2013-05-13 06:06:41" }, { "name": "phpunit/phpunit-mock-objects", diff --git a/core/core.services.yml b/core/core.services.yml index 9dca742..63de7f7 100644 --- a/core/core.services.yml +++ b/core/core.services.yml @@ -96,6 +96,8 @@ services: factory_class: Drupal\Core\Database\Database factory_method: getConnection arguments: [default] + logger.watchdog: + class: Drupal\Core\WatchdogLogger keyvalue: class: Drupal\Core\KeyValueStore\KeyValueFactory arguments: ['@service_container'] @@ -161,7 +163,7 @@ services: arguments: ['@service_container'] controller_resolver: class: Drupal\Core\ControllerResolver - arguments: ['@service_container'] + arguments: ['@service_container', '@logger.watchdog'] http_kernel: class: Drupal\Core\HttpKernel arguments: ['@event_dispatcher', '@service_container', '@controller_resolver'] @@ -200,7 +202,7 @@ services: - [setFinalMatcher, ['@router.matcher.final_matcher']] router.generator: class: Drupal\Core\Routing\UrlGenerator - arguments: ['@router.route_provider', '@path.alias_manager.cached'] + arguments: ['@router.route_provider', '@path.alias_manager.cached', '@logger.watchdog'] router.dynamic: class: Symfony\Cmf\Component\Routing\DynamicRouter arguments: ['@router.request_context', '@router.matcher', '@router.generator'] diff --git a/core/lib/Drupal/Core/ControllerResolver.php b/core/lib/Drupal/Core/ControllerResolver.php index e442427..e9fc849 100644 --- a/core/lib/Drupal/Core/ControllerResolver.php +++ b/core/lib/Drupal/Core/ControllerResolver.php @@ -7,8 +7,8 @@ namespace Drupal\Core; +use Psr\Log\LoggerInterface; use Symfony\Component\HttpKernel\Controller\ControllerResolver as BaseControllerResolver; -use Symfony\Component\HttpKernel\Log\LoggerInterface; use Symfony\Component\DependencyInjection\ContainerAwareInterface; use Symfony\Component\DependencyInjection\ContainerInterface; @@ -41,7 +41,7 @@ class ControllerResolver extends BaseControllerResolver { * * @param Symfony\Component\DependencyInjection\ContainerInterface $container * A ContainerInterface instance. - * @param Symfony\Component\HttpKernel\Log\LoggerInterface $logger + * @param Psr\Log\LoggerInterface $logger * (optional) A LoggerInterface instance. */ public function __construct(ContainerInterface $container, LoggerInterface $logger = NULL) { diff --git a/core/lib/Drupal/Core/Routing/UrlGenerator.php b/core/lib/Drupal/Core/Routing/UrlGenerator.php index 75779a2..f82c1ac 100644 --- a/core/lib/Drupal/Core/Routing/UrlGenerator.php +++ b/core/lib/Drupal/Core/Routing/UrlGenerator.php @@ -7,8 +7,7 @@ namespace Drupal\Core\Routing; -use Symfony\Component\HttpKernel\Log\LoggerInterface; - +use Psr\Log\LoggerInterface; use Symfony\Cmf\Component\Routing\ProviderBasedGenerator; use Symfony\Cmf\Component\Routing\RouteProviderInterface; @@ -33,7 +32,7 @@ class UrlGenerator extends ProviderBasedGenerator { * The route provider to be searched for routes. * @param \Drupal\Core\Path\AliasManagerInterface $alias_manager * The alias manager responsible for path aliasing. - * @param \Symfony\Component\HttpKernel\Log\LoggerInterface $logger + * @param \Psr\Log\LoggerInterface $logger * An optional logger for recording errors. */ public function __construct(RouteProviderInterface $provider, AliasManagerInterface $alias_manager, LoggerInterface $logger = NULL) { diff --git a/core/lib/Drupal/Core/WatchdogLogger.php b/core/lib/Drupal/Core/WatchdogLogger.php new file mode 100644 index 0000000..7b24e19 --- /dev/null +++ b/core/lib/Drupal/Core/WatchdogLogger.php @@ -0,0 +1,85 @@ + $element) { + if ($key != 'exception') { + $variables['@' . $key] = $element; + } + } + + watchdog($type, $message, $variables, $this->mapLevel($level), $link); + } + + /** + * Converts a PSR Log level to a Watchdog log level. + * + * @param string $level + * A PSR-3 logging level string. + * + * @return int + * The corresponding Watchdog constant. + */ + protected function mapLevel($level) { + if (empty($this->levelTranslation)) { + $this->levelTranslation = array( + LogLevel::ALERT => WATCHDOG_ALERT, + LogLevel::CRITICAL => WATCHDOG_CRITICAL, + LogLevel::DEBUG => WATCHDOG_DEBUG, + LogLevel::EMERGENCY => WATCHDOG_EMERGENCY, + LogLevel::ERROR => WATCHDOG_ERROR, + LogLevel::INFO => WATCHDOG_INFO, + LogLevel::NOTICE => WATCHDOG_NOTICE, + LogLevel::WARNING => WATCHDOG_WARNING, + ); + } + + return $this->levelTranslation[$level]; + } + +} diff --git a/core/vendor/autoload.php b/core/vendor/autoload.php index 9c5340f..3006ddc 100644 --- a/core/vendor/autoload.php +++ b/core/vendor/autoload.php @@ -4,4 +4,4 @@ require_once __DIR__ . '/composer' . '/autoload_real.php'; -return ComposerAutoloaderInitc244582ae2d491644d70197d64a9670b::getLoader(); +return ComposerAutoloaderInit164a6d5f06554e3527442d3c64b19182::getLoader(); diff --git a/core/vendor/composer/ClassLoader.php b/core/vendor/composer/ClassLoader.php index 3679d46..bcf9809 100644 --- a/core/vendor/composer/ClassLoader.php +++ b/core/vendor/composer/ClassLoader.php @@ -49,7 +49,7 @@ class ClassLoader public function getPrefixes() { - return call_user_func_array('array_merge', $this->prefixes); + return $this->prefixes; } public function getFallbackDirs() @@ -98,21 +98,19 @@ public function add($prefix, $paths, $prepend = false) return; } - - $first = $prefix[0]; - if (!isset($this->prefixes[$first][$prefix])) { - $this->prefixes[$first][$prefix] = (array) $paths; + if (!isset($this->prefixes[$prefix])) { + $this->prefixes[$prefix] = (array) $paths; return; } if ($prepend) { - $this->prefixes[$first][$prefix] = array_merge( + $this->prefixes[$prefix] = array_merge( (array) $paths, - $this->prefixes[$first][$prefix] + $this->prefixes[$prefix] ); } else { - $this->prefixes[$first][$prefix] = array_merge( - $this->prefixes[$first][$prefix], + $this->prefixes[$prefix] = array_merge( + $this->prefixes[$prefix], (array) $paths ); } @@ -131,7 +129,7 @@ public function set($prefix, $paths) return; } - $this->prefixes[substr($prefix, 0, 1)][$prefix] = (array) $paths; + $this->prefixes[$prefix] = (array) $paths; } /** @@ -207,7 +205,7 @@ public function findFile($class) if (false !== $pos = strrpos($class, '\\')) { // namespaced class name - $classPath = strtr(substr($class, 0, $pos), '\\', DIRECTORY_SEPARATOR) . DIRECTORY_SEPARATOR; + $classPath = str_replace('\\', DIRECTORY_SEPARATOR, substr($class, 0, $pos)) . DIRECTORY_SEPARATOR; $className = substr($class, $pos + 1); } else { // PEAR-like class name @@ -215,16 +213,13 @@ public function findFile($class) $className = $class; } - $classPath .= strtr($className, '_', DIRECTORY_SEPARATOR) . '.php'; + $classPath .= str_replace('_', DIRECTORY_SEPARATOR, $className) . '.php'; - $first = $class[0]; - if (isset($this->prefixes[$first])) { - foreach ($this->prefixes[$first] as $prefix => $dirs) { - if (0 === strpos($class, $prefix)) { - foreach ($dirs as $dir) { - if (file_exists($dir . DIRECTORY_SEPARATOR . $classPath)) { - return $dir . DIRECTORY_SEPARATOR . $classPath; - } + foreach ($this->prefixes as $prefix => $dirs) { + if (0 === strpos($class, $prefix)) { + foreach ($dirs as $dir) { + if (file_exists($dir . DIRECTORY_SEPARATOR . $classPath)) { + return $dir . DIRECTORY_SEPARATOR . $classPath; } } } diff --git a/core/vendor/composer/autoload_classmap.php b/core/vendor/composer/autoload_classmap.php index 002677e..fe65ade 100644 --- a/core/vendor/composer/autoload_classmap.php +++ b/core/vendor/composer/autoload_classmap.php @@ -52,6 +52,7 @@ 'PHPUnit_Framework_Constraint_IsFalse' => $vendorDir . '/phpunit/phpunit/PHPUnit/Framework/Constraint/IsFalse.php', 'PHPUnit_Framework_Constraint_IsIdentical' => $vendorDir . '/phpunit/phpunit/PHPUnit/Framework/Constraint/IsIdentical.php', 'PHPUnit_Framework_Constraint_IsInstanceOf' => $vendorDir . '/phpunit/phpunit/PHPUnit/Framework/Constraint/IsInstanceOf.php', + 'PHPUnit_Framework_Constraint_IsJson' => $vendorDir . '/phpunit/phpunit/PHPUnit/Framework/Constraint/IsJson.php', 'PHPUnit_Framework_Constraint_IsNull' => $vendorDir . '/phpunit/phpunit/PHPUnit/Framework/Constraint/IsNull.php', 'PHPUnit_Framework_Constraint_IsTrue' => $vendorDir . '/phpunit/phpunit/PHPUnit/Framework/Constraint/IsTrue.php', 'PHPUnit_Framework_Constraint_IsType' => $vendorDir . '/phpunit/phpunit/PHPUnit/Framework/Constraint/IsType.php', diff --git a/core/vendor/composer/autoload_namespaces.php b/core/vendor/composer/autoload_namespaces.php index c2c383a..a8cfc4f 100644 --- a/core/vendor/composer/autoload_namespaces.php +++ b/core/vendor/composer/autoload_namespaces.php @@ -6,28 +6,28 @@ $baseDir = dirname(dirname($vendorDir)); return array( - 'Twig_' => array($vendorDir . '/twig/twig/lib'), - 'Symfony\\Component\\Yaml\\' => array($vendorDir . '/symfony/yaml'), - 'Symfony\\Component\\Validator\\' => array($vendorDir . '/symfony/validator'), - 'Symfony\\Component\\Translation\\' => array($vendorDir . '/symfony/translation'), - 'Symfony\\Component\\Serializer\\' => array($vendorDir . '/symfony/serializer'), - 'Symfony\\Component\\Routing\\' => array($vendorDir . '/symfony/routing'), - 'Symfony\\Component\\Process\\' => array($vendorDir . '/symfony/process'), - 'Symfony\\Component\\HttpKernel\\' => array($vendorDir . '/symfony/http-kernel'), - 'Symfony\\Component\\HttpFoundation\\' => array($vendorDir . '/symfony/http-foundation'), - 'Symfony\\Component\\EventDispatcher\\' => array($vendorDir . '/symfony/event-dispatcher'), - 'Symfony\\Component\\DependencyInjection\\' => array($vendorDir . '/symfony/dependency-injection'), - 'Symfony\\Component\\ClassLoader\\' => array($vendorDir . '/symfony/class-loader'), - 'Symfony\\Cmf\\Component\\Routing' => array($vendorDir . '/symfony-cmf/routing'), - 'Psr\\Log\\' => array($vendorDir . '/psr/log'), - 'Guzzle\\Stream' => array($vendorDir . '/guzzle/stream'), - 'Guzzle\\Parser' => array($vendorDir . '/guzzle/parser'), - 'Guzzle\\Http' => array($vendorDir . '/guzzle/http'), - 'Guzzle\\Common' => array($vendorDir . '/guzzle/common'), - 'EasyRdf_' => array($vendorDir . '/easyrdf/easyrdf/lib'), - 'Drupal\\Driver' => array($baseDir . '/drivers/lib'), - 'Drupal\\Core' => array($baseDir . '/core/lib'), - 'Drupal\\Component' => array($baseDir . '/core/lib'), - 'Doctrine\\Common' => array($vendorDir . '/doctrine/common/lib'), - 'Assetic' => array($vendorDir . '/kriswallsmith/assetic/src'), + 'Twig_' => $vendorDir . '/twig/twig/lib', + 'Symfony\\Component\\Yaml\\' => $vendorDir . '/symfony/yaml', + 'Symfony\\Component\\Validator\\' => $vendorDir . '/symfony/validator', + 'Symfony\\Component\\Translation\\' => $vendorDir . '/symfony/translation', + 'Symfony\\Component\\Serializer\\' => $vendorDir . '/symfony/serializer', + 'Symfony\\Component\\Routing\\' => $vendorDir . '/symfony/routing', + 'Symfony\\Component\\Process\\' => $vendorDir . '/symfony/process', + 'Symfony\\Component\\HttpKernel\\' => $vendorDir . '/symfony/http-kernel', + 'Symfony\\Component\\HttpFoundation\\' => $vendorDir . '/symfony/http-foundation', + 'Symfony\\Component\\EventDispatcher\\' => $vendorDir . '/symfony/event-dispatcher', + 'Symfony\\Component\\DependencyInjection\\' => $vendorDir . '/symfony/dependency-injection', + 'Symfony\\Component\\ClassLoader\\' => $vendorDir . '/symfony/class-loader', + 'Symfony\\Cmf\\Component\\Routing' => $vendorDir . '/symfony-cmf/routing', + 'Psr\\Log\\' => $vendorDir . '/psr/log', + 'Guzzle\\Stream' => $vendorDir . '/guzzle/stream', + 'Guzzle\\Parser' => $vendorDir . '/guzzle/parser', + 'Guzzle\\Http' => $vendorDir . '/guzzle/http', + 'Guzzle\\Common' => $vendorDir . '/guzzle/common', + 'EasyRdf_' => $vendorDir . '/easyrdf/easyrdf/lib', + 'Drupal\\Driver' => $baseDir . '/drivers/lib', + 'Drupal\\Core' => $baseDir . '/core/lib', + 'Drupal\\Component' => $baseDir . '/core/lib', + 'Doctrine\\Common' => $vendorDir . '/doctrine/common/lib', + 'Assetic' => $vendorDir . '/kriswallsmith/assetic/src', ); diff --git a/core/vendor/composer/autoload_real.php b/core/vendor/composer/autoload_real.php index 5271995..764f788 100644 --- a/core/vendor/composer/autoload_real.php +++ b/core/vendor/composer/autoload_real.php @@ -2,7 +2,7 @@ // autoload_real.php generated by Composer -class ComposerAutoloaderInitc244582ae2d491644d70197d64a9670b +class ComposerAutoloaderInit164a6d5f06554e3527442d3c64b19182 { private static $loader; @@ -19,9 +19,9 @@ public static function getLoader() return self::$loader; } - spl_autoload_register(array('ComposerAutoloaderInitc244582ae2d491644d70197d64a9670b', 'loadClassLoader'), true, true); + spl_autoload_register(array('ComposerAutoloaderInit164a6d5f06554e3527442d3c64b19182', 'loadClassLoader'), true, true); self::$loader = $loader = new \Composer\Autoload\ClassLoader(); - spl_autoload_unregister(array('ComposerAutoloaderInitc244582ae2d491644d70197d64a9670b', 'loadClassLoader')); + spl_autoload_unregister(array('ComposerAutoloaderInit164a6d5f06554e3527442d3c64b19182', 'loadClassLoader')); $vendorDir = dirname(__DIR__); $baseDir = dirname(dirname($vendorDir)); @@ -32,7 +32,7 @@ public static function getLoader() $map = require __DIR__ . '/autoload_namespaces.php'; foreach ($map as $namespace => $path) { - $loader->set($namespace, $path); + $loader->add($namespace, $path); } $classMap = require __DIR__ . '/autoload_classmap.php'; diff --git a/core/vendor/composer/include_paths.php b/core/vendor/composer/include_paths.php index 66f7098..989402a 100644 --- a/core/vendor/composer/include_paths.php +++ b/core/vendor/composer/include_paths.php @@ -6,10 +6,10 @@ $baseDir = dirname(dirname($vendorDir)); return array( + $vendorDir . '/phpunit/php-token-stream', $vendorDir . '/phpunit/php-text-template', $vendorDir . '/phpunit/phpunit-mock-objects', $vendorDir . '/phpunit/php-timer', - $vendorDir . '/phpunit/php-token-stream', $vendorDir . '/phpunit/php-file-iterator', $vendorDir . '/phpunit/php-code-coverage', $vendorDir . '/phpunit/phpunit', diff --git a/core/vendor/composer/installed.json b/core/vendor/composer/installed.json index fe8a287..fdc7ebe 100644 --- a/core/vendor/composer/installed.json +++ b/core/vendor/composer/installed.json @@ -71,149 +71,62 @@ ] }, { - "name": "psr/log", - "version": "1.0.0", - "version_normalized": "1.0.0.0", + "name": "easyrdf/easyrdf", + "version": "0.8.0-beta.1", + "version_normalized": "0.8.0.0-beta1", "source": { "type": "git", - "url": "https://github.com/php-fig/log", - "reference": "1.0.0" + "url": "git://github.com/njh/easyrdf.git", + "reference": "0.8.0-beta.1" }, "dist": { "type": "zip", - "url": "https://github.com/php-fig/log/archive/1.0.0.zip", - "reference": "1.0.0", + "url": "https://github.com/njh/easyrdf/archive/0.8.0-beta.1.zip", + "reference": "0.8.0-beta.1", "shasum": "" }, - "time": "2012-12-21 11:40:51", - "type": "library", - "installation-source": "dist", - "autoload": { - "psr-0": { - "Psr\\Log\\": "" - } - }, - "notification-url": "https://packagist.org/downloads/", - "license": [ - "MIT" - ], - "authors": [ - { - "name": "PHP-FIG", - "homepage": "http://www.php-fig.org/" - } - ], - "description": "Common interface for logging libraries", - "keywords": [ - "log", - "psr", - "psr-3" - ] - }, - { - "name": "twig/twig", - "version": "v1.12.3", - "version_normalized": "1.12.3.0", - "source": { - "type": "git", - "url": "https://github.com/fabpot/Twig.git", - "reference": "v1.12.3" + "require": { + "php": ">=5.2.8" }, - "dist": { - "type": "zip", - "url": "https://api.github.com/repos/fabpot/Twig/zipball/v1.12.3", - "reference": "v1.12.3", - "shasum": "" + "replace": { + "njh/easyrdf": "self.version" }, - "require": { - "php": ">=5.2.4" + "require-dev": { + "phpunit/phpunit": ">=3.5.15", + "sami/sami": "dev-master", + "squizlabs/php_codesniffer": ">=1.4.3" }, - "time": "2013-04-08 12:40:11", + "time": "2013-01-18 15:54:28", "type": "library", - "extra": { - "branch-alias": { - "dev-master": "1.12-dev" - } - }, "installation-source": "dist", "autoload": { "psr-0": { - "Twig_": "lib/" + "EasyRdf_": "lib/" } }, "notification-url": "https://packagist.org/downloads/", "license": [ - "BSD-3" + "BSD-3-Clause" ], "authors": [ { - "name": "Fabien Potencier", - "email": "fabien@symfony.com" - }, - { - "name": "Armin Ronacher", - "email": "armin.ronacher@active-4.com" + "name": "Nicholas Humfrey", + "email": "njh@aelius.com", + "homepage": "http://www.aelius.com/njh/", + "role": "Developer" } ], - "description": "Twig, the flexible, fast, and secure template language for PHP", - "homepage": "http://twig.sensiolabs.org", + "description": "EasyRdf is a PHP library designed to make it easy to consume and produce RDF.", + "homepage": "http://www.easyrdf.org/", "keywords": [ - "templating" + "Linked Data", + "RDF", + "Semantic Web", + "Turtle", + "rdfa" ] }, { - "name": "symfony/http-foundation", - "version": "v2.2.1", - "version_normalized": "2.2.1.0", - "target-dir": "Symfony/Component/HttpFoundation", - "source": { - "type": "git", - "url": "https://github.com/symfony/HttpFoundation.git", - "reference": "v2.2.1" - }, - "dist": { - "type": "zip", - "url": "https://api.github.com/repos/symfony/HttpFoundation/zipball/v2.2.1", - "reference": "v2.2.1", - "shasum": "" - }, - "require": { - "php": ">=5.3.3" - }, - "time": "2013-04-06 10:15:43", - "type": "library", - "extra": { - "branch-alias": { - "dev-master": "2.2-dev" - } - }, - "installation-source": "dist", - "autoload": { - "psr-0": { - "Symfony\\Component\\HttpFoundation\\": "" - }, - "classmap": [ - "Symfony/Component/HttpFoundation/Resources/stubs" - ] - }, - "notification-url": "https://packagist.org/downloads/", - "license": [ - "MIT" - ], - "authors": [ - { - "name": "Fabien Potencier", - "email": "fabien@symfony.com" - }, - { - "name": "Symfony Community", - "homepage": "http://symfony.com/contributors" - } - ], - "description": "Symfony HttpFoundation Component", - "homepage": "http://symfony.com" - }, - { "name": "symfony/event-dispatcher", "version": "v2.2.1", "version_normalized": "2.2.1.0", @@ -270,117 +183,82 @@ "homepage": "http://symfony.com" }, { - "name": "symfony/http-kernel", - "version": "v2.2.1", - "version_normalized": "2.2.1.0", - "target-dir": "Symfony/Component/HttpKernel", + "name": "guzzle/common", + "version": "v3.1.2", + "version_normalized": "3.1.2.0", + "target-dir": "Guzzle/Common", "source": { "type": "git", - "url": "https://github.com/symfony/HttpKernel.git", - "reference": "v2.2.1" + "url": "git://github.com/guzzle/common.git", + "reference": "v3.1.2" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/symfony/HttpKernel/zipball/v2.2.1", - "reference": "v2.2.1", + "url": "https://github.com/guzzle/common/archive/v3.1.2.zip", + "reference": "v3.1.2", "shasum": "" }, "require": { - "php": ">=5.3.3", - "psr/log": ">=1.0,<2.0", - "symfony/event-dispatcher": ">=2.1,<3.0", - "symfony/http-foundation": ">=2.2,<2.3-dev" - }, - "require-dev": { - "symfony/browser-kit": "2.2.*", - "symfony/class-loader": ">=2.1,<3.0", - "symfony/config": ">=2.0,<3.0", - "symfony/console": "2.2.*", - "symfony/dependency-injection": ">=2.0,<3.0", - "symfony/finder": ">=2.0,<3.0", - "symfony/process": ">=2.0,<3.0", - "symfony/routing": ">=2.2,<2.3-dev", - "symfony/stopwatch": ">=2.2,<2.3-dev" - }, - "suggest": { - "symfony/browser-kit": "2.2.*", - "symfony/class-loader": "2.2.*", - "symfony/config": "2.2.*", - "symfony/console": "2.2.*", - "symfony/dependency-injection": "2.2.*", - "symfony/finder": "2.2.*" + "php": ">=5.3.2", + "symfony/event-dispatcher": ">=2.1" }, - "time": "2013-04-06 10:16:33", + "time": "2013-01-28 00:07:40", "type": "library", "extra": { "branch-alias": { - "dev-master": "2.2-dev" + "dev-master": "3.0-dev" } }, "installation-source": "dist", "autoload": { "psr-0": { - "Symfony\\Component\\HttpKernel\\": "" + "Guzzle\\Common": "" } }, "notification-url": "https://packagist.org/downloads/", "license": [ "MIT" ], - "authors": [ - { - "name": "Fabien Potencier", - "email": "fabien@symfony.com" - }, - { - "name": "Symfony Community", - "homepage": "http://symfony.com/contributors" - } - ], - "description": "Symfony HttpKernel Component", - "homepage": "http://symfony.com" + "description": "Common libraries used by Guzzle", + "homepage": "http://guzzlephp.org/", + "keywords": [ + "collection", + "common", + "event", + "exception" + ] }, { - "name": "symfony/routing", - "version": "v2.2.1", - "version_normalized": "2.2.1.0", - "target-dir": "Symfony/Component/Routing", + "name": "guzzle/stream", + "version": "v3.1.2", + "version_normalized": "3.1.2.0", + "target-dir": "Guzzle/Stream", "source": { "type": "git", - "url": "https://github.com/symfony/Routing.git", - "reference": "v2.2.1" + "url": "https://github.com/guzzle/stream", + "reference": "v3.0.7" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/symfony/Routing/zipball/v2.2.1", - "reference": "v2.2.1", + "url": "https://github.com/guzzle/stream/archive/v3.0.7.zip", + "reference": "v3.0.7", "shasum": "" }, "require": { - "php": ">=5.3.3" - }, - "require-dev": { - "doctrine/common": ">=2.2,<3.0", - "psr/log": ">=1.0,<2.0", - "symfony/config": ">=2.2,<2.3-dev", - "symfony/yaml": ">=2.0,<3.0" - }, - "suggest": { - "doctrine/common": "~2.2", - "symfony/config": "2.2.*", - "symfony/yaml": "2.2.*" + "guzzle/common": "self.version", + "php": ">=5.3.2" }, - "time": "2013-03-23 12:03:22", + "time": "2012-12-07 16:45:11", "type": "library", "extra": { "branch-alias": { - "dev-master": "2.2-dev" + "dev-master": "3.0-dev" } }, "installation-source": "dist", "autoload": { "psr-0": { - "Symfony\\Component\\Routing\\": "" + "Guzzle\\Stream": "" } }, "notification-url": "https://packagist.org/downloads/", @@ -389,106 +267,101 @@ ], "authors": [ { - "name": "Fabien Potencier", - "email": "fabien@symfony.com" - }, - { - "name": "Symfony Community", - "homepage": "http://symfony.com/contributors" - } - ], - "description": "Symfony Routing Component", - "homepage": "http://symfony.com" + "name": "Michael Dowling", + "email": "mtdowling@gmail.com", + "homepage": "https://github.com/mtdowling" + } + ], + "description": "Guzzle stream wrapper component", + "homepage": "http://guzzlephp.org/", + "keywords": [ + "Guzzle", + "component", + "stream" + ] }, { - "name": "easyrdf/easyrdf", - "version": "0.8.0-beta.1", - "version_normalized": "0.8.0.0-beta1", + "name": "guzzle/parser", + "version": "v3.1.2", + "version_normalized": "3.1.2.0", + "target-dir": "Guzzle/Parser", "source": { "type": "git", - "url": "git://github.com/njh/easyrdf.git", - "reference": "0.8.0-beta.1" + "url": "git://github.com/guzzle/parser.git", + "reference": "v3.1.2" }, "dist": { "type": "zip", - "url": "https://github.com/njh/easyrdf/archive/0.8.0-beta.1.zip", - "reference": "0.8.0-beta.1", + "url": "https://github.com/guzzle/parser/archive/v3.1.2.zip", + "reference": "v3.1.2", "shasum": "" }, "require": { - "php": ">=5.2.8" - }, - "replace": { - "njh/easyrdf": "self.version" - }, - "require-dev": { - "phpunit/phpunit": ">=3.5.15", - "sami/sami": "dev-master", - "squizlabs/php_codesniffer": ">=1.4.3" + "php": ">=5.3.2" }, - "time": "2013-01-18 15:54:28", + "time": "2013-01-12 21:43:21", "type": "library", + "extra": { + "branch-alias": { + "dev-master": "3.0-dev" + } + }, "installation-source": "dist", "autoload": { "psr-0": { - "EasyRdf_": "lib/" + "Guzzle\\Parser": "" } }, "notification-url": "https://packagist.org/downloads/", "license": [ - "BSD-3-Clause" - ], - "authors": [ - { - "name": "Nicholas Humfrey", - "email": "njh@aelius.com", - "homepage": "http://www.aelius.com/njh/", - "role": "Developer" - } + "MIT" ], - "description": "EasyRdf is a PHP library designed to make it easy to consume and produce RDF.", - "homepage": "http://www.easyrdf.org/", + "description": "Interchangeable parsers used by Guzzle", + "homepage": "http://guzzlephp.org/", "keywords": [ - "Linked Data", - "RDF", - "Semantic Web", - "Turtle", - "rdfa" + "URI Template", + "cookie", + "http", + "message", + "url" ] }, { - "name": "symfony/class-loader", - "version": "v2.2.1", - "version_normalized": "2.2.1.0", - "target-dir": "Symfony/Component/ClassLoader", + "name": "guzzle/http", + "version": "v3.1.2", + "version_normalized": "3.1.2.0", + "target-dir": "Guzzle/Http", "source": { "type": "git", - "url": "https://github.com/symfony/ClassLoader.git", - "reference": "v2.2.1" + "url": "git://github.com/guzzle/http.git", + "reference": "v3.1.2" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/symfony/ClassLoader/zipball/v2.2.1", - "reference": "v2.2.1", + "url": "https://github.com/guzzle/http/archive/v3.1.2.zip", + "reference": "v3.1.2", "shasum": "" }, "require": { - "php": ">=5.3.3" + "guzzle/common": "self.version", + "guzzle/parser": "self.version", + "guzzle/stream": "self.version", + "php": ">=5.3.2" }, - "require-dev": { - "symfony/finder": ">=2.0,<3.0" + "suggest": { + "ext-curl": "*" }, - "time": "2013-03-19 08:32:26", + "time": "2013-01-26 08:20:43", "type": "library", "extra": { "branch-alias": { - "dev-master": "2.2-dev" + "dev-master": "3.0-dev" } }, "installation-source": "dist", "autoload": { "psr-0": { - "Symfony\\Component\\ClassLoader\\": "" + "Guzzle\\Http": "" } }, "notification-url": "https://packagist.org/downloads/", @@ -497,44 +370,40 @@ ], "authors": [ { - "name": "Fabien Potencier", - "email": "fabien@symfony.com" - }, - { - "name": "Symfony Community", - "homepage": "http://symfony.com/contributors" + "name": "Michael Dowling", + "email": "mtdowling@gmail.com", + "homepage": "https://github.com/mtdowling" } ], - "description": "Symfony ClassLoader Component", - "homepage": "http://symfony.com" + "description": "HTTP libraries used by Guzzle", + "homepage": "http://guzzlephp.org/", + "keywords": [ + "Guzzle", + "client", + "curl", + "http", + "http client" + ] }, { - "name": "symfony/dependency-injection", + "name": "symfony/process", "version": "v2.2.1", "version_normalized": "2.2.1.0", - "target-dir": "Symfony/Component/DependencyInjection", + "target-dir": "Symfony/Component/Process", "source": { "type": "git", - "url": "https://github.com/symfony/DependencyInjection.git", + "url": "https://github.com/symfony/Process.git", "reference": "v2.2.1" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/symfony/DependencyInjection/zipball/v2.2.1", + "url": "https://api.github.com/repos/symfony/Process/zipball/v2.2.1", "reference": "v2.2.1", "shasum": "" }, "require": { "php": ">=5.3.3" }, - "require-dev": { - "symfony/config": ">=2.2,<2.3-dev", - "symfony/yaml": ">=2.0,<3.0" - }, - "suggest": { - "symfony/config": "2.2.*", - "symfony/yaml": "2.2.*" - }, "time": "2013-03-23 07:49:54", "type": "library", "extra": { @@ -545,7 +414,7 @@ "installation-source": "dist", "autoload": { "psr-0": { - "Symfony\\Component\\DependencyInjection\\": "" + "Symfony\\Component\\Process\\": "" } }, "notification-url": "https://packagist.org/downloads/", @@ -562,86 +431,76 @@ "homepage": "http://symfony.com/contributors" } ], - "description": "Symfony DependencyInjection Component", + "description": "Symfony Process Component", "homepage": "http://symfony.com" }, { - "name": "symfony/serializer", - "version": "v2.2.1", - "version_normalized": "2.2.1.0", - "target-dir": "Symfony/Component/Serializer", + "name": "phpunit/php-token-stream", + "version": "1.1.5", + "version_normalized": "1.1.5.0", "source": { "type": "git", - "url": "https://github.com/symfony/Serializer.git", - "reference": "v2.2.1" + "url": "git://github.com/sebastianbergmann/php-token-stream.git", + "reference": "1.1.5" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/symfony/Serializer/zipball/v2.2.1", - "reference": "v2.2.1", + "url": "https://github.com/sebastianbergmann/php-token-stream/zipball/1.1.5", + "reference": "1.1.5", "shasum": "" }, "require": { + "ext-tokenizer": "*", "php": ">=5.3.3" }, - "time": "2013-03-06 21:43:23", + "time": "2012-10-11 04:47:14", "type": "library", - "extra": { - "branch-alias": { - "dev-master": "2.2-dev" - } - }, "installation-source": "dist", "autoload": { - "psr-0": { - "Symfony\\Component\\Serializer\\": "" - } + "classmap": [ + "PHP/" + ] }, "notification-url": "https://packagist.org/downloads/", + "include-path": [ + "" + ], "license": [ - "MIT" + "BSD-3-Clause" ], "authors": [ { - "name": "Fabien Potencier", - "email": "fabien@symfony.com" - }, - { - "name": "Symfony Community", - "homepage": "http://symfony.com/contributors" + "name": "Sebastian Bergmann", + "email": "sb@sebastian-bergmann.de", + "role": "lead" } ], - "description": "Symfony Serializer Component", - "homepage": "http://symfony.com" + "description": "Wrapper around PHP's tokenizer extension.", + "homepage": "http://www.phpunit.de/", + "keywords": [ + "tokenizer" + ] }, { - "name": "symfony/translation", + "name": "symfony/yaml", "version": "v2.2.1", "version_normalized": "2.2.1.0", - "target-dir": "Symfony/Component/Translation", + "target-dir": "Symfony/Component/Yaml", "source": { "type": "git", - "url": "https://github.com/symfony/Translation.git", + "url": "https://github.com/symfony/Yaml.git", "reference": "v2.2.1" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/symfony/Translation/zipball/v2.2.1", + "url": "https://api.github.com/repos/symfony/Yaml/zipball/v2.2.1", "reference": "v2.2.1", "shasum": "" }, "require": { "php": ">=5.3.3" }, - "require-dev": { - "symfony/config": ">=2.0,<2.3-dev", - "symfony/yaml": ">=2.2,<3.0" - }, - "suggest": { - "symfony/config": "2.2.*", - "symfony/yaml": "2.2.*" - }, - "time": "2013-04-01 08:06:05", + "time": "2013-03-23 07:49:54", "type": "library", "extra": { "branch-alias": { @@ -651,7 +510,7 @@ "installation-source": "dist", "autoload": { "psr-0": { - "Symfony\\Component\\Translation\\": "" + "Symfony\\Component\\Yaml\\": "" } }, "notification-url": "https://packagist.org/downloads/", @@ -668,252 +527,387 @@ "homepage": "http://symfony.com/contributors" } ], - "description": "Symfony Translation Component", + "description": "Symfony Yaml Component", "homepage": "http://symfony.com" }, { - "name": "symfony/validator", - "version": "v2.2.1", - "version_normalized": "2.2.1.0", - "target-dir": "Symfony/Component/Validator", + "name": "phpunit/php-text-template", + "version": "1.1.4", + "version_normalized": "1.1.4.0", "source": { "type": "git", - "url": "https://github.com/symfony/Validator.git", - "reference": "v2.2.1" + "url": "git://github.com/sebastianbergmann/php-text-template.git", + "reference": "1.1.4" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/symfony/Validator/zipball/v2.2.1", - "reference": "v2.2.1", + "url": "https://github.com/sebastianbergmann/php-text-template/zipball/1.1.4", + "reference": "1.1.4", "shasum": "" }, "require": { - "php": ">=5.3.3", - "symfony/translation": ">=2.0,<3.0" - }, - "require-dev": { - "symfony/config": ">=2.2,<2.3-dev", - "symfony/http-foundation": ">=2.1,<3.0", - "symfony/locale": ">=2.0,<3.0", - "symfony/yaml": ">=2.0,<3.0" - }, - "suggest": { - "doctrine/common": "~2.2", - "symfony/config": "2.2.*", - "symfony/http-foundation": "2.2.*", - "symfony/locale": "2.2.*", - "symfony/yaml": "2.2.*" + "php": ">=5.3.3" }, - "time": "2013-04-01 08:06:05", + "time": "2012-10-31 11:15:28", "type": "library", - "extra": { - "branch-alias": { - "dev-master": "2.2-dev" - } - }, "installation-source": "dist", "autoload": { - "psr-0": { - "Symfony\\Component\\Validator\\": "" - } + "classmap": [ + "Text/" + ] }, "notification-url": "https://packagist.org/downloads/", + "include-path": [ + "" + ], "license": [ - "MIT" + "BSD-3-Clause" ], "authors": [ { - "name": "Fabien Potencier", - "email": "fabien@symfony.com" - }, - { - "name": "Symfony Community", - "homepage": "http://symfony.com/contributors" + "name": "Sebastian Bergmann", + "email": "sb@sebastian-bergmann.de", + "role": "lead" } ], - "description": "Symfony Validator Component", - "homepage": "http://symfony.com" + "description": "Simple template engine.", + "homepage": "https://github.com/sebastianbergmann/php-text-template/", + "keywords": [ + "template" + ] }, { - "name": "guzzle/common", - "version": "v3.1.2", - "version_normalized": "3.1.2.0", - "target-dir": "Guzzle/Common", + "name": "phpunit/phpunit-mock-objects", + "version": "1.2.3", + "version_normalized": "1.2.3.0", "source": { "type": "git", - "url": "git://github.com/guzzle/common.git", - "reference": "v3.1.2" + "url": "git://github.com/sebastianbergmann/phpunit-mock-objects.git", + "reference": "1.2.3" }, "dist": { "type": "zip", - "url": "https://github.com/guzzle/common/archive/v3.1.2.zip", - "reference": "v3.1.2", + "url": "https://github.com/sebastianbergmann/phpunit-mock-objects/archive/1.2.3.zip", + "reference": "1.2.3", "shasum": "" }, "require": { - "php": ">=5.3.2", - "symfony/event-dispatcher": ">=2.1" + "php": ">=5.3.3", + "phpunit/php-text-template": ">=1.1.1@stable" }, - "time": "2013-01-28 00:07:40", + "suggest": { + "ext-soap": "*" + }, + "time": "2013-01-13 10:24:48", "type": "library", - "extra": { - "branch-alias": { - "dev-master": "3.0-dev" + "installation-source": "dist", + "autoload": { + "classmap": [ + "PHPUnit/" + ] + }, + "notification-url": "https://packagist.org/downloads/", + "include-path": [ + "" + ], + "license": [ + "BSD-3-Clause" + ], + "authors": [ + { + "name": "Sebastian Bergmann", + "email": "sb@sebastian-bergmann.de", + "role": "lead" } + ], + "description": "Mock Object library for PHPUnit", + "homepage": "https://github.com/sebastianbergmann/phpunit-mock-objects/", + "keywords": [ + "mock", + "xunit" + ] + }, + { + "name": "phpunit/php-timer", + "version": "1.0.4", + "version_normalized": "1.0.4.0", + "source": { + "type": "git", + "url": "git://github.com/sebastianbergmann/php-timer.git", + "reference": "1.0.4" + }, + "dist": { + "type": "zip", + "url": "https://github.com/sebastianbergmann/php-timer/zipball/1.0.4", + "reference": "1.0.4", + "shasum": "" + }, + "require": { + "php": ">=5.3.3" }, + "time": "2012-10-11 04:45:58", + "type": "library", "installation-source": "dist", "autoload": { - "psr-0": { - "Guzzle\\Common": "" - } + "classmap": [ + "PHP/" + ] }, "notification-url": "https://packagist.org/downloads/", + "include-path": [ + "" + ], "license": [ - "MIT" + "BSD-3-Clause" ], - "description": "Common libraries used by Guzzle", - "homepage": "http://guzzlephp.org/", + "authors": [ + { + "name": "Sebastian Bergmann", + "email": "sb@sebastian-bergmann.de", + "role": "lead" + } + ], + "description": "Utility class for timing", + "homepage": "http://www.phpunit.de/", "keywords": [ - "collection", - "common", - "event", - "exception" + "timer" ] }, { - "name": "guzzle/stream", - "version": "v3.1.2", - "version_normalized": "3.1.2.0", - "target-dir": "Guzzle/Stream", + "name": "phpunit/php-file-iterator", + "version": "1.3.3", + "version_normalized": "1.3.3.0", "source": { "type": "git", - "url": "https://github.com/guzzle/stream", - "reference": "v3.0.7" + "url": "git://github.com/sebastianbergmann/php-file-iterator.git", + "reference": "1.3.3" }, "dist": { "type": "zip", - "url": "https://github.com/guzzle/stream/archive/v3.0.7.zip", - "reference": "v3.0.7", + "url": "https://github.com/sebastianbergmann/php-file-iterator/zipball/1.3.3", + "reference": "1.3.3", "shasum": "" }, "require": { - "guzzle/common": "self.version", - "php": ">=5.3.2" + "php": ">=5.3.3" }, - "time": "2012-12-07 16:45:11", + "time": "2012-10-11 04:44:38", "type": "library", - "extra": { - "branch-alias": { - "dev-master": "3.0-dev" + "installation-source": "dist", + "autoload": { + "classmap": [ + "File/" + ] + }, + "notification-url": "https://packagist.org/downloads/", + "include-path": [ + "" + ], + "license": [ + "BSD-3-Clause" + ], + "authors": [ + { + "name": "Sebastian Bergmann", + "email": "sb@sebastian-bergmann.de", + "role": "lead" } + ], + "description": "FilterIterator implementation that filters files based on a list of suffixes.", + "homepage": "http://www.phpunit.de/", + "keywords": [ + "filesystem", + "iterator" + ] + }, + { + "name": "phpunit/php-code-coverage", + "version": "1.2.9", + "version_normalized": "1.2.9.0", + "source": { + "type": "git", + "url": "https://github.com/sebastianbergmann/php-code-coverage.git", + "reference": "1.2.9" }, + "dist": { + "type": "zip", + "url": "https://api.github.com/repos/sebastianbergmann/php-code-coverage/zipball/1.2.9", + "reference": "1.2.9", + "shasum": "" + }, + "require": { + "php": ">=5.3.3", + "phpunit/php-file-iterator": ">=1.3.0@stable", + "phpunit/php-text-template": ">=1.1.1@stable", + "phpunit/php-token-stream": ">=1.1.3@stable" + }, + "suggest": { + "ext-dom": "*", + "ext-xdebug": ">=2.0.5" + }, + "time": "2013-02-26 18:55:56", + "type": "library", "installation-source": "dist", "autoload": { - "psr-0": { - "Guzzle\\Stream": "" - } + "classmap": [ + "PHP/" + ] }, "notification-url": "https://packagist.org/downloads/", + "include-path": [ + "" + ], "license": [ - "MIT" + "BSD-3-Clause" ], "authors": [ { - "name": "Michael Dowling", - "email": "mtdowling@gmail.com", - "homepage": "https://github.com/mtdowling" + "name": "Sebastian Bergmann", + "email": "sb@sebastian-bergmann.de", + "role": "lead" } ], - "description": "Guzzle stream wrapper component", - "homepage": "http://guzzlephp.org/", + "description": "Library that provides collection, processing, and rendering functionality for PHP code coverage information.", + "homepage": "https://github.com/sebastianbergmann/php-code-coverage", "keywords": [ - "Guzzle", - "component", - "stream" + "coverage", + "testing", + "xunit" ] }, { - "name": "guzzle/parser", - "version": "v3.1.2", - "version_normalized": "3.1.2.0", - "target-dir": "Guzzle/Parser", + "name": "symfony/routing", + "version": "v2.2.1", + "version_normalized": "2.2.1.0", + "target-dir": "Symfony/Component/Routing", "source": { "type": "git", - "url": "git://github.com/guzzle/parser.git", - "reference": "v3.1.2" + "url": "https://github.com/symfony/Routing.git", + "reference": "v2.2.1" }, "dist": { "type": "zip", - "url": "https://github.com/guzzle/parser/archive/v3.1.2.zip", - "reference": "v3.1.2", + "url": "https://api.github.com/repos/symfony/Routing/zipball/v2.2.1", + "reference": "v2.2.1", "shasum": "" }, "require": { - "php": ">=5.3.2" + "php": ">=5.3.3" }, - "time": "2013-01-12 21:43:21", + "require-dev": { + "doctrine/common": ">=2.2,<3.0", + "psr/log": ">=1.0,<2.0", + "symfony/config": ">=2.2,<2.3-dev", + "symfony/yaml": ">=2.0,<3.0" + }, + "suggest": { + "doctrine/common": "~2.2", + "symfony/config": "2.2.*", + "symfony/yaml": "2.2.*" + }, + "time": "2013-03-23 12:03:22", "type": "library", "extra": { "branch-alias": { - "dev-master": "3.0-dev" + "dev-master": "2.2-dev" } }, "installation-source": "dist", "autoload": { "psr-0": { - "Guzzle\\Parser": "" + "Symfony\\Component\\Routing\\": "" } }, "notification-url": "https://packagist.org/downloads/", "license": [ "MIT" ], - "description": "Interchangeable parsers used by Guzzle", - "homepage": "http://guzzlephp.org/", - "keywords": [ - "URI Template", - "cookie", - "http", - "message", - "url" - ] + "authors": [ + { + "name": "Fabien Potencier", + "email": "fabien@symfony.com" + }, + { + "name": "Symfony Community", + "homepage": "http://symfony.com/contributors" + } + ], + "description": "Symfony Routing Component", + "homepage": "http://symfony.com" }, { - "name": "guzzle/http", - "version": "v3.1.2", - "version_normalized": "3.1.2.0", - "target-dir": "Guzzle/Http", + "name": "symfony/http-foundation", + "version": "v2.2.1", + "version_normalized": "2.2.1.0", + "target-dir": "Symfony/Component/HttpFoundation", "source": { "type": "git", - "url": "git://github.com/guzzle/http.git", - "reference": "v3.1.2" + "url": "https://github.com/symfony/HttpFoundation.git", + "reference": "v2.2.1" }, "dist": { "type": "zip", - "url": "https://github.com/guzzle/http/archive/v3.1.2.zip", - "reference": "v3.1.2", + "url": "https://api.github.com/repos/symfony/HttpFoundation/zipball/v2.2.1", + "reference": "v2.2.1", "shasum": "" }, "require": { - "guzzle/common": "self.version", - "guzzle/parser": "self.version", - "guzzle/stream": "self.version", - "php": ">=5.3.2" - }, - "suggest": { - "ext-curl": "*" + "php": ">=5.3.3" }, - "time": "2013-01-26 08:20:43", + "time": "2013-04-06 10:15:43", "type": "library", "extra": { "branch-alias": { - "dev-master": "3.0-dev" + "dev-master": "2.2-dev" } }, "installation-source": "dist", "autoload": { "psr-0": { - "Guzzle\\Http": "" + "Symfony\\Component\\HttpFoundation\\": "" + }, + "classmap": [ + "Symfony/Component/HttpFoundation/Resources/stubs" + ] + }, + "notification-url": "https://packagist.org/downloads/", + "license": [ + "MIT" + ], + "authors": [ + { + "name": "Fabien Potencier", + "email": "fabien@symfony.com" + }, + { + "name": "Symfony Community", + "homepage": "http://symfony.com/contributors" + } + ], + "description": "Symfony HttpFoundation Component", + "homepage": "http://symfony.com" + }, + { + "name": "psr/log", + "version": "1.0.0", + "version_normalized": "1.0.0.0", + "source": { + "type": "git", + "url": "https://github.com/php-fig/log", + "reference": "1.0.0" + }, + "dist": { + "type": "zip", + "url": "https://github.com/php-fig/log/archive/1.0.0.zip", + "reference": "1.0.0", + "shasum": "" + }, + "time": "2012-12-21 11:40:51", + "type": "library", + "installation-source": "dist", + "autoload": { + "psr-0": { + "Psr\\Log\\": "" } }, "notification-url": "https://packagist.org/downloads/", @@ -922,41 +916,59 @@ ], "authors": [ { - "name": "Michael Dowling", - "email": "mtdowling@gmail.com", - "homepage": "https://github.com/mtdowling" + "name": "PHP-FIG", + "homepage": "http://www.php-fig.org/" } ], - "description": "HTTP libraries used by Guzzle", - "homepage": "http://guzzlephp.org/", + "description": "Common interface for logging libraries", "keywords": [ - "Guzzle", - "client", - "curl", - "http", - "http client" + "log", + "psr", + "psr-3" ] }, { - "name": "symfony/process", + "name": "symfony/http-kernel", "version": "v2.2.1", "version_normalized": "2.2.1.0", - "target-dir": "Symfony/Component/Process", + "target-dir": "Symfony/Component/HttpKernel", "source": { "type": "git", - "url": "https://github.com/symfony/Process.git", + "url": "https://github.com/symfony/HttpKernel.git", "reference": "v2.2.1" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/symfony/Process/zipball/v2.2.1", + "url": "https://api.github.com/repos/symfony/HttpKernel/zipball/v2.2.1", "reference": "v2.2.1", "shasum": "" }, "require": { - "php": ">=5.3.3" + "php": ">=5.3.3", + "psr/log": ">=1.0,<2.0", + "symfony/event-dispatcher": ">=2.1,<3.0", + "symfony/http-foundation": ">=2.2,<2.3-dev" }, - "time": "2013-03-23 07:49:54", + "require-dev": { + "symfony/browser-kit": "2.2.*", + "symfony/class-loader": ">=2.1,<3.0", + "symfony/config": ">=2.0,<3.0", + "symfony/console": "2.2.*", + "symfony/dependency-injection": ">=2.0,<3.0", + "symfony/finder": ">=2.0,<3.0", + "symfony/process": ">=2.0,<3.0", + "symfony/routing": ">=2.2,<2.3-dev", + "symfony/stopwatch": ">=2.2,<2.3-dev" + }, + "suggest": { + "symfony/browser-kit": "2.2.*", + "symfony/class-loader": "2.2.*", + "symfony/config": "2.2.*", + "symfony/console": "2.2.*", + "symfony/dependency-injection": "2.2.*", + "symfony/finder": "2.2.*" + }, + "time": "2013-04-06 10:16:33", "type": "library", "extra": { "branch-alias": { @@ -966,7 +978,7 @@ "installation-source": "dist", "autoload": { "psr-0": { - "Symfony\\Component\\Process\\": "" + "Symfony\\Component\\HttpKernel\\": "" } }, "notification-url": "https://packagist.org/downloads/", @@ -983,48 +995,35 @@ "homepage": "http://symfony.com/contributors" } ], - "description": "Symfony Process Component", + "description": "Symfony HttpKernel Component", "homepage": "http://symfony.com" }, { - "name": "kriswallsmith/assetic", - "version": "v1.1.0-alpha4", - "version_normalized": "1.1.0.0-alpha4", + "name": "symfony-cmf/routing", + "version": "1.1.0-alpha1", + "version_normalized": "1.1.0.0-alpha1", + "target-dir": "Symfony/Cmf/Component/Routing", "source": { "type": "git", - "url": "https://github.com/kriswallsmith/assetic.git", - "reference": "v1.1.0-alpha4" + "url": "https://github.com/symfony-cmf/Routing.git", + "reference": "1.1.0-alpha1" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/kriswallsmith/assetic/zipball/v1.1.0-alpha4", - "reference": "v1.1.0-alpha4", + "url": "https://api.github.com/repos/symfony-cmf/Routing/zipball/1.1.0-alpha1", + "reference": "1.1.0-alpha1", "shasum": "" }, "require": { - "php": ">=5.3.1", - "symfony/process": ">=2.1.0,<2.3-dev" - }, - "require-dev": { - "cssmin/cssmin": "*", - "joliclic/javascript-packer": "*", - "kamicane/packager": "*", - "leafo/lessphp": "*", - "leafo/scssphp": "*", - "leafo/scssphp-compass": "*", - "mrclay/minify": "*", - "phpunit/phpunit": "3.7.*", - "ptachoire/cssembed": "*", - "twig/twig": ">=1.6.0,<2.0" + "php": ">=5.3.2", + "psr/log": ">=1.0,<2.0", + "symfony/http-kernel": ">=2.2,<2.3-dev", + "symfony/routing": ">=2.2,<2.3-dev" }, "suggest": { - "leafo/lessphp": "Assetic provides the integration with the lessphp LESS compiler", - "leafo/scssphp": "Assetic provides the integration with the scssphp SCSS compiler", - "leafo/scssphp-compass": "Assetic provides the integration with the SCSS compass plugin", - "ptachoire/cssembed": "Assetic provides the integration with phpcssembed to embed data uris", - "twig/twig": "Assetic provides the integration with the Twig templating engine" + "symfony/http-foundation": "ChainRouter/DynamicRouter have optional support for Request instances, several enhancers require a Request instances, >=2.2,<2.3-dev" }, - "time": "2013-02-24 17:22:20", + "time": "2013-05-07 06:30:59", "type": "library", "extra": { "branch-alias": { @@ -1034,11 +1033,8 @@ "installation-source": "dist", "autoload": { "psr-0": { - "Assetic": "src/" - }, - "files": [ - "src/functions.php" - ] + "Symfony\\Cmf\\Component\\Routing": "" + } }, "notification-url": "https://packagist.org/downloads/", "license": [ @@ -1046,39 +1042,40 @@ ], "authors": [ { - "name": "Kris Wallsmith", - "email": "kris.wallsmith@gmail.com", - "homepage": "http://kriswallsmith.net/" + "name": "Symfony CMF Community", + "homepage": "https://github.com/symfony-cmf/Routing/contributors" } ], - "description": "Asset Management for PHP", - "homepage": "https://github.com/kriswallsmith/assetic", + "description": "Extends the Symfony2 routing component for dynamic routes and chaining several routers", + "homepage": "http://cmf.symfony.com", "keywords": [ - "assets", - "compression", - "minification" + "database", + "routing" ] }, { - "name": "symfony/yaml", + "name": "symfony/class-loader", "version": "v2.2.1", "version_normalized": "2.2.1.0", - "target-dir": "Symfony/Component/Yaml", + "target-dir": "Symfony/Component/ClassLoader", "source": { "type": "git", - "url": "https://github.com/symfony/Yaml.git", + "url": "https://github.com/symfony/ClassLoader.git", "reference": "v2.2.1" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/symfony/Yaml/zipball/v2.2.1", + "url": "https://api.github.com/repos/symfony/ClassLoader/zipball/v2.2.1", "reference": "v2.2.1", "shasum": "" }, "require": { "php": ">=5.3.3" }, - "time": "2013-03-23 07:49:54", + "require-dev": { + "symfony/finder": ">=2.0,<3.0" + }, + "time": "2013-03-19 08:32:26", "type": "library", "extra": { "branch-alias": { @@ -1088,7 +1085,7 @@ "installation-source": "dist", "autoload": { "psr-0": { - "Symfony\\Component\\Yaml\\": "" + "Symfony\\Component\\ClassLoader\\": "" } }, "notification-url": "https://packagist.org/downloads/", @@ -1105,314 +1102,372 @@ "homepage": "http://symfony.com/contributors" } ], - "description": "Symfony Yaml Component", + "description": "Symfony ClassLoader Component", "homepage": "http://symfony.com" }, { - "name": "phpunit/php-text-template", - "version": "1.1.4", - "version_normalized": "1.1.4.0", + "name": "symfony/dependency-injection", + "version": "v2.2.1", + "version_normalized": "2.2.1.0", + "target-dir": "Symfony/Component/DependencyInjection", "source": { "type": "git", - "url": "git://github.com/sebastianbergmann/php-text-template.git", - "reference": "1.1.4" + "url": "https://github.com/symfony/DependencyInjection.git", + "reference": "v2.2.1" }, "dist": { "type": "zip", - "url": "https://github.com/sebastianbergmann/php-text-template/zipball/1.1.4", - "reference": "1.1.4", + "url": "https://api.github.com/repos/symfony/DependencyInjection/zipball/v2.2.1", + "reference": "v2.2.1", "shasum": "" }, "require": { "php": ">=5.3.3" }, - "time": "2012-10-31 11:15:28", + "require-dev": { + "symfony/config": ">=2.2,<2.3-dev", + "symfony/yaml": ">=2.0,<3.0" + }, + "suggest": { + "symfony/config": "2.2.*", + "symfony/yaml": "2.2.*" + }, + "time": "2013-03-23 07:49:54", "type": "library", + "extra": { + "branch-alias": { + "dev-master": "2.2-dev" + } + }, "installation-source": "dist", "autoload": { - "classmap": [ - "Text/" - ] + "psr-0": { + "Symfony\\Component\\DependencyInjection\\": "" + } }, "notification-url": "https://packagist.org/downloads/", - "include-path": [ - "" - ], "license": [ - "BSD-3-Clause" + "MIT" ], "authors": [ { - "name": "Sebastian Bergmann", - "email": "sb@sebastian-bergmann.de", - "role": "lead" + "name": "Fabien Potencier", + "email": "fabien@symfony.com" + }, + { + "name": "Symfony Community", + "homepage": "http://symfony.com/contributors" } ], - "description": "Simple template engine.", - "homepage": "https://github.com/sebastianbergmann/php-text-template/", - "keywords": [ - "template" - ] + "description": "Symfony DependencyInjection Component", + "homepage": "http://symfony.com" }, { - "name": "phpunit/phpunit-mock-objects", - "version": "1.2.3", - "version_normalized": "1.2.3.0", + "name": "symfony/serializer", + "version": "v2.2.1", + "version_normalized": "2.2.1.0", + "target-dir": "Symfony/Component/Serializer", "source": { "type": "git", - "url": "git://github.com/sebastianbergmann/phpunit-mock-objects.git", - "reference": "1.2.3" + "url": "https://github.com/symfony/Serializer.git", + "reference": "v2.2.1" }, "dist": { "type": "zip", - "url": "https://github.com/sebastianbergmann/phpunit-mock-objects/archive/1.2.3.zip", - "reference": "1.2.3", + "url": "https://api.github.com/repos/symfony/Serializer/zipball/v2.2.1", + "reference": "v2.2.1", "shasum": "" }, "require": { - "php": ">=5.3.3", - "phpunit/php-text-template": ">=1.1.1@stable" - }, - "suggest": { - "ext-soap": "*" + "php": ">=5.3.3" }, - "time": "2013-01-13 10:24:48", + "time": "2013-03-06 21:43:23", "type": "library", + "extra": { + "branch-alias": { + "dev-master": "2.2-dev" + } + }, "installation-source": "dist", "autoload": { - "classmap": [ - "PHPUnit/" - ] + "psr-0": { + "Symfony\\Component\\Serializer\\": "" + } }, "notification-url": "https://packagist.org/downloads/", - "include-path": [ - "" - ], "license": [ - "BSD-3-Clause" + "MIT" ], "authors": [ { - "name": "Sebastian Bergmann", - "email": "sb@sebastian-bergmann.de", - "role": "lead" + "name": "Fabien Potencier", + "email": "fabien@symfony.com" + }, + { + "name": "Symfony Community", + "homepage": "http://symfony.com/contributors" } ], - "description": "Mock Object library for PHPUnit", - "homepage": "https://github.com/sebastianbergmann/phpunit-mock-objects/", - "keywords": [ - "mock", - "xunit" - ] + "description": "Symfony Serializer Component", + "homepage": "http://symfony.com" }, { - "name": "phpunit/php-timer", - "version": "1.0.4", - "version_normalized": "1.0.4.0", + "name": "symfony/translation", + "version": "v2.2.1", + "version_normalized": "2.2.1.0", + "target-dir": "Symfony/Component/Translation", "source": { "type": "git", - "url": "git://github.com/sebastianbergmann/php-timer.git", - "reference": "1.0.4" + "url": "https://github.com/symfony/Translation.git", + "reference": "v2.2.1" }, "dist": { "type": "zip", - "url": "https://github.com/sebastianbergmann/php-timer/zipball/1.0.4", - "reference": "1.0.4", + "url": "https://api.github.com/repos/symfony/Translation/zipball/v2.2.1", + "reference": "v2.2.1", "shasum": "" }, "require": { "php": ">=5.3.3" }, - "time": "2012-10-11 04:45:58", + "require-dev": { + "symfony/config": ">=2.0,<2.3-dev", + "symfony/yaml": ">=2.2,<3.0" + }, + "suggest": { + "symfony/config": "2.2.*", + "symfony/yaml": "2.2.*" + }, + "time": "2013-04-01 08:06:05", "type": "library", + "extra": { + "branch-alias": { + "dev-master": "2.2-dev" + } + }, "installation-source": "dist", "autoload": { - "classmap": [ - "PHP/" - ] + "psr-0": { + "Symfony\\Component\\Translation\\": "" + } }, - "notification-url": "https://packagist.org/downloads/", - "include-path": [ - "" - ], + "notification-url": "https://packagist.org/downloads/", "license": [ - "BSD-3-Clause" + "MIT" ], "authors": [ { - "name": "Sebastian Bergmann", - "email": "sb@sebastian-bergmann.de", - "role": "lead" + "name": "Fabien Potencier", + "email": "fabien@symfony.com" + }, + { + "name": "Symfony Community", + "homepage": "http://symfony.com/contributors" } ], - "description": "Utility class for timing", - "homepage": "http://www.phpunit.de/", - "keywords": [ - "timer" - ] + "description": "Symfony Translation Component", + "homepage": "http://symfony.com" }, { - "name": "phpunit/php-token-stream", - "version": "1.1.5", - "version_normalized": "1.1.5.0", + "name": "symfony/validator", + "version": "v2.2.1", + "version_normalized": "2.2.1.0", + "target-dir": "Symfony/Component/Validator", "source": { "type": "git", - "url": "git://github.com/sebastianbergmann/php-token-stream.git", - "reference": "1.1.5" + "url": "https://github.com/symfony/Validator.git", + "reference": "v2.2.1" }, "dist": { "type": "zip", - "url": "https://github.com/sebastianbergmann/php-token-stream/zipball/1.1.5", - "reference": "1.1.5", + "url": "https://api.github.com/repos/symfony/Validator/zipball/v2.2.1", + "reference": "v2.2.1", "shasum": "" }, "require": { - "ext-tokenizer": "*", - "php": ">=5.3.3" + "php": ">=5.3.3", + "symfony/translation": ">=2.0,<3.0" }, - "time": "2012-10-11 04:47:14", + "require-dev": { + "symfony/config": ">=2.2,<2.3-dev", + "symfony/http-foundation": ">=2.1,<3.0", + "symfony/locale": ">=2.0,<3.0", + "symfony/yaml": ">=2.0,<3.0" + }, + "suggest": { + "doctrine/common": "~2.2", + "symfony/config": "2.2.*", + "symfony/http-foundation": "2.2.*", + "symfony/locale": "2.2.*", + "symfony/yaml": "2.2.*" + }, + "time": "2013-04-01 08:06:05", "type": "library", + "extra": { + "branch-alias": { + "dev-master": "2.2-dev" + } + }, "installation-source": "dist", "autoload": { - "classmap": [ - "PHP/" - ] + "psr-0": { + "Symfony\\Component\\Validator\\": "" + } }, "notification-url": "https://packagist.org/downloads/", - "include-path": [ - "" - ], "license": [ - "BSD-3-Clause" + "MIT" ], "authors": [ { - "name": "Sebastian Bergmann", - "email": "sb@sebastian-bergmann.de", - "role": "lead" + "name": "Fabien Potencier", + "email": "fabien@symfony.com" + }, + { + "name": "Symfony Community", + "homepage": "http://symfony.com/contributors" } ], - "description": "Wrapper around PHP's tokenizer extension.", - "homepage": "http://www.phpunit.de/", - "keywords": [ - "tokenizer" - ] + "description": "Symfony Validator Component", + "homepage": "http://symfony.com" }, { - "name": "phpunit/php-file-iterator", - "version": "1.3.3", - "version_normalized": "1.3.3.0", + "name": "twig/twig", + "version": "v1.12.3", + "version_normalized": "1.12.3.0", "source": { "type": "git", - "url": "git://github.com/sebastianbergmann/php-file-iterator.git", - "reference": "1.3.3" + "url": "https://github.com/fabpot/Twig.git", + "reference": "v1.12.3" }, "dist": { "type": "zip", - "url": "https://github.com/sebastianbergmann/php-file-iterator/zipball/1.3.3", - "reference": "1.3.3", + "url": "https://api.github.com/repos/fabpot/Twig/zipball/v1.12.3", + "reference": "v1.12.3", "shasum": "" }, "require": { - "php": ">=5.3.3" + "php": ">=5.2.4" }, - "time": "2012-10-11 04:44:38", + "time": "2013-04-08 12:40:11", "type": "library", + "extra": { + "branch-alias": { + "dev-master": "1.12-dev" + } + }, "installation-source": "dist", "autoload": { - "classmap": [ - "File/" - ] + "psr-0": { + "Twig_": "lib/" + } }, "notification-url": "https://packagist.org/downloads/", - "include-path": [ - "" - ], "license": [ - "BSD-3-Clause" + "BSD-3" ], "authors": [ { - "name": "Sebastian Bergmann", - "email": "sb@sebastian-bergmann.de", - "role": "lead" + "name": "Fabien Potencier", + "email": "fabien@symfony.com" + }, + { + "name": "Armin Ronacher", + "email": "armin.ronacher@active-4.com" } ], - "description": "FilterIterator implementation that filters files based on a list of suffixes.", - "homepage": "http://www.phpunit.de/", + "description": "Twig, the flexible, fast, and secure template language for PHP", + "homepage": "http://twig.sensiolabs.org", "keywords": [ - "filesystem", - "iterator" + "templating" ] }, { - "name": "phpunit/php-code-coverage", - "version": "1.2.9", - "version_normalized": "1.2.9.0", + "name": "kriswallsmith/assetic", + "version": "v1.1.0-beta1", + "version_normalized": "1.1.0.0-beta1", "source": { "type": "git", - "url": "https://github.com/sebastianbergmann/php-code-coverage.git", - "reference": "1.2.9" + "url": "https://github.com/kriswallsmith/assetic.git", + "reference": "v1.1.0-beta1" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/sebastianbergmann/php-code-coverage/zipball/1.2.9", - "reference": "1.2.9", + "url": "https://api.github.com/repos/kriswallsmith/assetic/zipball/v1.1.0-beta1", + "reference": "v1.1.0-beta1", "shasum": "" }, "require": { - "php": ">=5.3.3", - "phpunit/php-file-iterator": ">=1.3.0@stable", - "phpunit/php-text-template": ">=1.1.1@stable", - "phpunit/php-token-stream": ">=1.1.3@stable" + "php": ">=5.3.1", + "symfony/process": ">=2.1,<3.0" + }, + "require-dev": { + "cssmin/cssmin": "*", + "joliclic/javascript-packer": "*", + "kamicane/packager": "*", + "leafo/lessphp": "*", + "leafo/scssphp": "*", + "leafo/scssphp-compass": "*", + "mrclay/minify": "*", + "phpunit/phpunit": ">=3.7,<4.0", + "ptachoire/cssembed": "*", + "twig/twig": ">=1.6,<2.0" }, "suggest": { - "ext-dom": "*", - "ext-xdebug": ">=2.0.5" + "leafo/lessphp": "Assetic provides the integration with the lessphp LESS compiler", + "leafo/scssphp": "Assetic provides the integration with the scssphp SCSS compiler", + "leafo/scssphp-compass": "Assetic provides the integration with the SCSS compass plugin", + "ptachoire/cssembed": "Assetic provides the integration with phpcssembed to embed data uris", + "twig/twig": "Assetic provides the integration with the Twig templating engine" }, - "time": "2013-02-26 18:55:56", + "time": "2013-05-13 06:03:18", "type": "library", + "extra": { + "branch-alias": { + "dev-master": "1.1-dev" + } + }, "installation-source": "dist", "autoload": { - "classmap": [ - "PHP/" + "psr-0": { + "Assetic": "src/" + }, + "files": [ + "src/functions.php" ] }, "notification-url": "https://packagist.org/downloads/", - "include-path": [ - "" - ], "license": [ - "BSD-3-Clause" + "MIT" ], "authors": [ { - "name": "Sebastian Bergmann", - "email": "sb@sebastian-bergmann.de", - "role": "lead" + "name": "Kris Wallsmith", + "email": "kris.wallsmith@gmail.com", + "homepage": "http://kriswallsmith.net/" } ], - "description": "Library that provides collection, processing, and rendering functionality for PHP code coverage information.", - "homepage": "https://github.com/sebastianbergmann/php-code-coverage", + "description": "Asset Management for PHP", + "homepage": "https://github.com/kriswallsmith/assetic", "keywords": [ - "coverage", - "testing", - "xunit" + "assets", + "compression", + "minification" ] }, { "name": "phpunit/phpunit", - "version": "3.7.19", - "version_normalized": "3.7.19.0", + "version": "3.7.20", + "version_normalized": "3.7.20.0", "source": { "type": "git", "url": "https://github.com/sebastianbergmann/phpunit.git", - "reference": "3.7.19" + "reference": "3.7.20" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/sebastianbergmann/phpunit/zipball/3.7.19", - "reference": "3.7.19", + "url": "https://api.github.com/repos/sebastianbergmann/phpunit/zipball/3.7.20", + "reference": "3.7.20", "shasum": "" }, "require": { @@ -1426,7 +1481,7 @@ "phpunit/php-text-template": ">=1.1.1", "phpunit/php-timer": ">=1.0.2,<1.1.0", "phpunit/phpunit-mock-objects": ">=1.2.0,<1.3.0", - "symfony/yaml": ">=2.0.0,<2.3.0" + "symfony/yaml": ">=2.0,<3.0" }, "require-dev": { "pear-pear/pear": "1.9.4" @@ -1437,7 +1492,7 @@ "ext-tokenizer": "*", "phpunit/php-invoker": ">=1.1.0,<1.2.0" }, - "time": "2013-03-25 11:45:06", + "time": "2013-05-13 06:06:41", "bin": [ "composer/bin/phpunit" ], @@ -1475,60 +1530,5 @@ "testing", "xunit" ] - }, - { - "name": "symfony-cmf/routing", - "version": "1.1.0-alpha1", - "version_normalized": "1.1.0.0-alpha1", - "target-dir": "Symfony/Cmf/Component/Routing", - "source": { - "type": "git", - "url": "https://github.com/symfony-cmf/Routing.git", - "reference": "1.1.0-alpha1" - }, - "dist": { - "type": "zip", - "url": "https://api.github.com/repos/symfony-cmf/Routing/zipball/1.1.0-alpha1", - "reference": "1.1.0-alpha1", - "shasum": "" - }, - "require": { - "php": ">=5.3.2", - "psr/log": ">=1.0,<2.0", - "symfony/http-kernel": ">=2.2,<2.3-dev", - "symfony/routing": ">=2.2,<2.3-dev" - }, - "suggest": { - "symfony/http-foundation": "ChainRouter/DynamicRouter have optional support for Request instances, several enhancers require a Request instances, >=2.2,<2.3-dev" - }, - "time": "2013-05-07 06:30:59", - "type": "library", - "extra": { - "branch-alias": { - "dev-master": "1.1-dev" - } - }, - "installation-source": "dist", - "autoload": { - "psr-0": { - "Symfony\\Cmf\\Component\\Routing": "" - } - }, - "notification-url": "https://packagist.org/downloads/", - "license": [ - "MIT" - ], - "authors": [ - { - "name": "Symfony CMF Community", - "homepage": "https://github.com/symfony-cmf/Routing/contributors" - } - ], - "description": "Extends the Symfony2 routing component for dynamic routes and chaining several routers", - "homepage": "http://cmf.symfony.com", - "keywords": [ - "database", - "routing" - ] } ] diff --git a/core/vendor/easyrdf/easyrdf/config/phpcs_ruleset.xml b/core/vendor/easyrdf/easyrdf/config/phpcs_ruleset.xml new file mode 100644 index 0000000..3a7935c --- /dev/null +++ b/core/vendor/easyrdf/easyrdf/config/phpcs_ruleset.xml @@ -0,0 +1,18 @@ + + + Extensions to the PSR-2 coding standard. + + + + + + + + + + + + diff --git a/core/vendor/easyrdf/easyrdf/config/phpunit.xml b/core/vendor/easyrdf/easyrdf/config/phpunit.xml new file mode 100644 index 0000000..c61f853 --- /dev/null +++ b/core/vendor/easyrdf/easyrdf/config/phpunit.xml @@ -0,0 +1,43 @@ + + + + + + + + + + + ../test/EasyRdf/ + + + ../test/examples/ + + + + + + + ../lib/EasyRdf/ + + + + + + + + diff --git a/core/vendor/easyrdf/easyrdf/config/sami.php b/core/vendor/easyrdf/easyrdf/config/sami.php new file mode 100644 index 0000000..2ec03f3 --- /dev/null +++ b/core/vendor/easyrdf/easyrdf/config/sami.php @@ -0,0 +1,22 @@ +files() + ->name('*.php') + ->exclude('arc') + ->in($root.'/lib') +; + +return new Sami($iterator, array( + 'title' => 'EasyRdf API Documentation', + 'theme' => 'enhanced', + 'build_dir' => "$root/docs/api", + 'cache_dir' => "$root/samicache", + 'include_parent_data' => true, + 'simulate_namespaces' => true, + 'default_opened_level' => 1, +)); diff --git a/core/vendor/easyrdf/easyrdf/docs/01-getting-started.md b/core/vendor/easyrdf/easyrdf/docs/01-getting-started.md new file mode 100644 index 0000000..a0b75df --- /dev/null +++ b/core/vendor/easyrdf/easyrdf/docs/01-getting-started.md @@ -0,0 +1,47 @@ +Getting Started +=============== + +The preferred method of downloading and installing EasyRdf, is to use +[Composer], a dependency manager that tracks all dependencies of your project. + + +First, install composer in your project: + + curl -s https://getcomposer.org/installer | php + + +Create a composer.json file in your project root: + + { + "require": { + "easyrdf/easyrdf": "*" + } + } + + +Install EasyRdf (and any other dependencies) using: + + php composer.phar install + + +Then to start using EasyRdf in your project, add this to the top of your file: + + load(); + $me = $foaf->primaryTopic(); + echo "My name is: ".$me->get('foaf:name')."\n"; + + +[Composer]:http://getcomposer.org/ diff --git a/core/vendor/easyrdf/easyrdf/docs/02-property-paths.md b/core/vendor/easyrdf/easyrdf/docs/02-property-paths.md new file mode 100644 index 0000000..a273147 --- /dev/null +++ b/core/vendor/easyrdf/easyrdf/docs/02-property-paths.md @@ -0,0 +1,24 @@ +Property Paths +============== + +EasyRdf supports querying the data in a graph using basic property paths. +This is a small subset of the property paths described in [SPARQL 1.1 query language]. + + +You may use the caret character (^) to get an inverse property, for example: + + $person = $homepage->get('^foaf:homepage'); + +You can use the pipe character (|) to get alternate properties, for example: + + $title = $document->get('dc:title|dc11:title'); + +You can use a forward slash (/) to follow a property sequence, for example to get +the names of all my friends: + + $names = $me->all('foaf:knows/foaf:name'); + +Finally, in order to use a full property URI, enclose it in angle brackets: + + $name = $me->get(''); + diff --git a/core/vendor/easyrdf/easyrdf/examples/artistinfo.php b/core/vendor/easyrdf/easyrdf/examples/artistinfo.php new file mode 100644 index 0000000..01dc09d --- /dev/null +++ b/core/vendor/easyrdf/easyrdf/examples/artistinfo.php @@ -0,0 +1,91 @@ +all('bio:event') as $event) { + if (in_array('bio:Birth', $event->types())) { + return $event; + } + } + return null; + } + + function age() + { + $birth = $this->birthEvent(); + if ($birth) { + $year = substr($birth->get('bio:date'), 0, 4); + if ($year) { + return date('Y') - $year; + } + } + return 'unknown'; + } + } + + ## Add namespaces + EasyRdf_Namespace::set('mo', 'http://purl.org/ontology/mo/'); + EasyRdf_Namespace::set('bio', 'http://purl.org/vocab/bio/0.1/'); + EasyRdf_TypeMapper::set('mo:MusicArtist', 'Model_MusicArtist'); +?> + +EasyRdf Artist Info Example + +

EasyRdf Artist Info Example

+ + +50)) ?> + + + +primaryTopic(); + } + + if (isset($artist)) { +?> + +
+
Artist Name:
get('foaf:name') ?>
+
Type:
types()) ?>
+
Homepage:
get('foaf:homepage')) ?>
+
Wikipedia page:
get('mo:wikipedia')) ?>
+ isA('mo:SoloMusicArtist')) { + echo "
Age:
"; + echo "
".$artist->age()."
\n"; + } + ?> +
+dump(); + } +?> + + diff --git a/core/vendor/easyrdf/easyrdf/examples/basic.php b/core/vendor/easyrdf/easyrdf/examples/basic.php new file mode 100644 index 0000000..92759ac --- /dev/null +++ b/core/vendor/easyrdf/easyrdf/examples/basic.php @@ -0,0 +1,34 @@ + + + + Basic FOAF example + + + +primaryTopic(); +?> + +

+ My name is: get('foaf:name') ?> +

+ + + diff --git a/core/vendor/easyrdf/easyrdf/examples/basic_sparql.php b/core/vendor/easyrdf/easyrdf/examples/basic_sparql.php new file mode 100644 index 0000000..122d4d3 --- /dev/null +++ b/core/vendor/easyrdf/easyrdf/examples/basic_sparql.php @@ -0,0 +1,57 @@ + + + + EasyRdf Basic Sparql Example + + + +

EasyRdf Basic Sparql Example

+ +

List of countries

+ +

Total number of countries: numRows() ?>

+ + + diff --git a/core/vendor/easyrdf/easyrdf/examples/converter.php b/core/vendor/easyrdf/easyrdf/examples/converter.php new file mode 100644 index 0000000..1ca552b --- /dev/null +++ b/core/vendor/easyrdf/easyrdf/examples/converter.php @@ -0,0 +1,97 @@ + 'guess'); + $output_format_options = array(); + foreach (EasyRdf_Format::getFormats() as $format) { + if ($format->getSerialiserClass()) { + $output_format_options[$format->getLabel()] = $format->getName(); + } + if ($format->getParserClass()) { + $input_format_options[$format->getLabel()] = $format->getName(); + } + } + + // Stupid PHP :( + if (get_magic_quotes_gpc() and isset($_REQUEST['data'])) { + $_REQUEST['data'] = stripslashes($_REQUEST['data']); + } + + // Default to Guess input and Turtle output + if (!isset($_REQUEST['output_format'])) { + $_REQUEST['output_format'] = 'turtle'; + } + if (!isset($_REQUEST['input_format'])) { + $_REQUEST['input_format'] = 'guess'; + } + + // Display the form, if raw option isn't set + if (!isset($_REQUEST['raw'])) { + print "\n"; + print "EasyRdf Converter\n"; + print "\n"; + print "

EasyRdf Converter

\n"; + + print "
\n"; + print form_tag(); + print label_tag('data', 'Input Data: ').'
'.text_area_tag('data', '', array('cols'=>80, 'rows'=>10)) . "
\n"; + print label_tag('uri', 'or Uri: ').text_field_tag('uri', 'http://www.dajobe.org/foaf.rdf', array('size'=>80)) . "
\n"; + print label_tag('input_format', 'Input Format: ').select_tag('input_format', $input_format_options) . "
\n"; + print label_tag('output_format', 'Output Format: ').select_tag('output_format', $output_format_options) . "
\n"; + print label_tag('raw', 'Raw Output: ').check_box_tag('raw') . "
\n"; + print reset_tag() . submit_tag(); + print form_end_tag(); + print "
\n"; + } + + if (isset($_REQUEST['uri']) or isset($_REQUEST['data'])) { + // Parse the input + $graph = new EasyRdf_Graph($_REQUEST['uri']); + if (empty($_REQUEST['data'])) { + $graph->load($_REQUEST['uri'], $_REQUEST['input_format']); + } else { + $graph->parse($_REQUEST['data'], $_REQUEST['input_format'], $_REQUEST['uri']); + } + + // Lookup the output format + $format = EasyRdf_Format::getFormat($_REQUEST['output_format']); + + // Serialise to the new output format + $output = $graph->serialise($format); + if (!is_scalar($output)) { + $output = var_export($output, true); + } + + // Send the output back to the client + if (isset($_REQUEST['raw'])) { + header('Content-Type: '.$format->getDefaultMimeType()); + print $output; + } else { + print '
'.htmlspecialchars($output).'
'; + } + } + + if (!isset($_REQUEST['raw'])) { + print "\n"; + print "\n"; + } diff --git a/core/vendor/easyrdf/easyrdf/examples/dump.php b/core/vendor/easyrdf/easyrdf/examples/dump.php new file mode 100644 index 0000000..080fd62 --- /dev/null +++ b/core/vendor/easyrdf/easyrdf/examples/dump.php @@ -0,0 +1,53 @@ +dump() method. + * + * The call to preg_replace() replaces links in the page with + * links back to this dump script. + * + * @package EasyRdf + * @copyright Copyright (c) 2009-2011 Nicholas J Humfrey + * @license http://unlicense.org/ + */ + + set_include_path(get_include_path() . PATH_SEPARATOR . '../lib/'); + require_once "EasyRdf.php"; + require_once "html_tag_helpers.php"; + +?> + +EasyRdf Graph Dumper + +

EasyRdf Graph Dumper

+ +
+ + URI: 80)) ?>
+ Format: +
+ + + +
+ +".$graph->dump(false).""; + } else { + $dump = $graph->dump(true); + print preg_replace("/ href='([^#][^']*)'/e",'" href=\'?uri=".urlencode("$1")."#$1\'"', $dump); + } + } else { + print "

Failed to create graph.

"; + } + } +?> + + diff --git a/core/vendor/easyrdf/easyrdf/examples/foafinfo.php b/core/vendor/easyrdf/easyrdf/examples/foafinfo.php new file mode 100644 index 0000000..8827a1d --- /dev/null +++ b/core/vendor/easyrdf/easyrdf/examples/foafinfo.php @@ -0,0 +1,88 @@ + + +EasyRdf FOAF Info Example + +

EasyRdf FOAF Info Example

+ + +50)) ?> + + + +type() == 'foaf:PersonalProfileDocument') { + $person = $graph->primaryTopic(); + } elseif ($graph->type() == 'foaf:Person') { + $person = $graph->resource(); + } + } + + if (isset($person)) { +?> + +
+
Name:
get('foaf:name') ?>
+
Homepage:
get('foaf:homepage')) ?>
+
+ +Known Persons\n"; + echo "\n"; + + echo "

Interests

\n"; + echo "\n"; + } + + if (isset($graph)) { + echo "
"; + echo $graph->dump(); + } +?> + + diff --git a/core/vendor/easyrdf/easyrdf/examples/foafmaker.php b/core/vendor/easyrdf/easyrdf/examples/foafmaker.php new file mode 100644 index 0000000..b534978 --- /dev/null +++ b/core/vendor/easyrdf/easyrdf/examples/foafmaker.php @@ -0,0 +1,115 @@ +getSerialiserClass()) { + $format_options[$format->getLabel()] = $format->getName(); + } + } +?> + +EasyRdf FOAF Maker Example + +

EasyRdf FOAF Maker Example

+ + 'POST')) ?> + +

Your Identifier

+40)) ?>
+ +

Your details

+8)) ?>
+
+
+
+
+40)) ?>
+ +

People you know

+40)) ?>
+40)) ?>
+40)) ?>
+40)) ?>
+ +

Output

+Enable Arc 2?
+Enable Rapper?
+
+ + + + + +resource($_REQUEST['uri'], 'foaf:Person'); + $me->set('foaf:name', $_REQUEST['title'].' '.$_REQUEST['given_name'].' '.$_REQUEST['family_name']); + if ($_REQUEST['email']) { + $email = $graph->resource("mailto:".$_REQUEST['email']); + $me->add('foaf:mbox', $email); + } + if ($_REQUEST['homepage']) { + $homepage = $graph->resource($_REQUEST['homepage']); + $me->add('foaf:homepage', $homepage); + } + + # 2nd Technique + $graph->addLiteral($_REQUEST['uri'], 'foaf:title', $_REQUEST['title']); + $graph->addLiteral($_REQUEST['uri'], 'foaf:givenname', $_REQUEST['given_name']); + $graph->addLiteral($_REQUEST['uri'], 'foaf:family_name', $_REQUEST['family_name']); + $graph->addLiteral($_REQUEST['uri'], 'foaf:nick', $_REQUEST['nickname']); + + # Add friends + for($i=1; $i<=4; $i++) { + if ($_REQUEST["person_$i"]) { + $person = $graph->resource($_REQUEST["person_$i"]); + $graph->add($me, 'foaf:knows', $person); + } + } + + # Finally output the graph + $data = $graph->serialise($_REQUEST['format']); + if (!is_scalar($data)) { + $data = var_export($data, true); + } + print "
".htmlspecialchars($data)."
"; + } + +?> + + + diff --git a/core/vendor/easyrdf/easyrdf/examples/graph_direct.php b/core/vendor/easyrdf/easyrdf/examples/graph_direct.php new file mode 100644 index 0000000..139388f --- /dev/null +++ b/core/vendor/easyrdf/easyrdf/examples/graph_direct.php @@ -0,0 +1,51 @@ + + + + Example of using EasyRdf_Graph directly + + + +addResource("http://example.com/joe", "rdf:type", "foaf:Person"); + $graph->addLiteral("http://example.com/joe", "foaf:name", "Joe Bloggs"); + $graph->addLiteral("http://example.com/joe", "foaf:name", "Joseph Bloggs"); + $graph->add("http://example.com/joe", "rdfs:label", "Joe"); + + $graph->setType("http://aelius.com/njh#me", "foaf:Person"); + $graph->add("http://aelius.com/njh#me", "rdfs:label", "Nick"); + $graph->addLiteral("http://aelius.com/njh#me", "foaf:name", "Nicholas Humfrey"); + $graph->addResource("http://aelius.com/njh#me", "foaf:homepage", "http://aelius.com/njh"); +?> + +

+ Name: get("http://example.com/joe", "foaf:name") ?>
+ Names: join("http://example.com/joe", "foaf:name") ?>
+ + Label: label("http://aelius.com/njh#me") ?>
+ Properties: properties("http://example.com/joe")) ?>
+ PropertyUris: propertyUris("http://example.com/joe")) ?>
+ People: allOfType('foaf:Person')) ?>
+ Unknown: get("http://example.com/joe", "unknown:property") ?>
+

+ +
+  toArray()) ?>
+
+ + + diff --git a/core/vendor/easyrdf/easyrdf/examples/graphstore.php b/core/vendor/easyrdf/easyrdf/examples/graphstore.php new file mode 100644 index 0000000..b391c6a --- /dev/null +++ b/core/vendor/easyrdf/easyrdf/examples/graphstore.php @@ -0,0 +1,42 @@ + + + + GraphStore example + + + +add('http://example.com/test', 'rdfs:label', 'Test'); + $graph1->add('http://example.com/test', 'dc:date', time()); + $gs->insert($graph1, 'time.rdf'); + + // Get the graph back out of the graph store and display it + $graph2 = $gs->get('time.rdf'); + print $graph2->dump(); +?> + + + diff --git a/core/vendor/easyrdf/easyrdf/examples/graphviz.php b/core/vendor/easyrdf/easyrdf/examples/graphviz.php new file mode 100644 index 0000000..8245ef4 --- /dev/null +++ b/core/vendor/easyrdf/easyrdf/examples/graphviz.php @@ -0,0 +1,86 @@ + 'png', + 'GIF' => 'gif', + 'SVG' => 'svg' + ); + + $format = EasyRdf_Format::getFormat( + isset($_REQUEST['format']) ? $_REQUEST['format'] : 'png' + ); + + // Construct a graph of three people + $graph = new EasyRdf_Graph(); + $graph->set('foaf:knows', 'rdfs:label', 'knows'); + $bob = $graph->resource('http://www.example.com/bob', 'foaf:Person'); + $alice = $graph->resource('http://www.example.com/alice', 'foaf:Person'); + $carol = $graph->resource('http://www.example.com/carol', 'foaf:Person'); + $bob->set('foaf:name', 'Bob'); + $alice->set('foaf:name', 'Alice'); + $carol->set('foaf:name', 'Carol'); + $bob->add('foaf:knows', $alice); + $bob->add('foaf:knows', $carol); + $alice->add('foaf:knows', $bob); + $alice->add('foaf:knows', $carol); + + // Create a GraphViz serialiser + $gv = new EasyRdf_Serialiser_GraphViz(); + $gv->setUseLabels(isset($_REQUEST['ul'])); + $gv->setOnlyLabelled(isset($_REQUEST['ol'])); + + // If this is a request for the image, just render it and exit + if (isset($_REQUEST['image'])) { + header("Content-Type: ".$format->getDefaultMimeType()); + echo $gv->renderImage($graph, $format); + exit; + } +?> + +EasyRdf GraphViz Example + +

EasyRdf GraphViz Example

+ +
+ +
+ +
+ +
+ +
+serialise($graph, 'dot')
+    );
+?>
+
+ + + diff --git a/core/vendor/easyrdf/easyrdf/examples/html_tag_helpers.php b/core/vendor/easyrdf/easyrdf/examples/html_tag_helpers.php new file mode 100644 index 0000000..4c4072a --- /dev/null +++ b/core/vendor/easyrdf/easyrdf/examples/html_tag_helpers.php @@ -0,0 +1,218 @@ +'foo')); + +echo tag('br'); +echo link_to('Hyperlink', 'http://www.example.com/?a=1&b=2'); +echo tag('br'); + +echo form_tag(); + + echo label_tag('first_name').text_field_tag('first_name', 'Joe').tag('br'); + echo label_tag('password').password_field_tag().tag('br'); + + echo label_tag('radio1_value1', 'Radio 1').radio_button_tag('radio1', 'value1').tag('br'); + echo label_tag('radio1_value2', 'Radio 2').radio_button_tag('radio1', 'value2', true).tag('br'); + echo label_tag('radio1_value3', 'Radio 3').radio_button_tag('radio1', 'value3').tag('br'); + + echo label_tag('check1', 'Check 1').check_box_tag('check1', 'value1').tag('br'); + echo label_tag('check2', 'Check 2').check_box_tag('check2', 'value2', true).tag('br'); + echo label_tag('check3', 'Check 3').check_box_tag('check3', 'value3').tag('br'); + + $options = array('Label 1' => 'value1', 'Label 2' => 'value2', 'Label 3' => 'value3'); + echo label_tag('select1', 'Select Something:'); + echo select_tag('select1', $options, 'value2').tag('br'); + + echo label_tag('textarea1', 'Type Something:'); + echo text_area_tag('textarea1', "Hello World!").tag('br'); + + echo submit_tag(); + +echo form_end_tag(); + +*/ + + +function tag_options($options) +{ + $html = ""; + foreach ($options as $key => $value) { + if ($key and $value) { + $html .= " ".htmlspecialchars($key)."=\"". + htmlspecialchars($value)."\""; + } + } + return $html; +} + +function tag($name, $options = array(), $open = false) +{ + return "<$name".tag_options($options).($open ? ">" : " />"); +} + +function content_tag($name, $content = null, $options = array()) +{ + return "<$name".tag_options($options).">". + htmlspecialchars($content).""; +} + +function link_to($text, $uri = null, $options = array()) +{ + if ($uri == null) $uri = $text; + $options = array_merge(array('href' => $uri), $options); + return content_tag('a', $text, $options); +} + +function link_to_self($text, $query_string, $options = array()) +{ + return link_to($text, $_SERVER['PHP_SELF'].'?'.$query_string, $options); +} + +function image_tag($src, $options = array()) +{ + $options = array_merge(array('src' => $src), $options); + return tag('img', $options); +} + +function input_tag($type, $name, $value = null, $options = array()) +{ + $options = array_merge( + array( + 'type' => $type, + 'name' => $name, + 'id' => $name, + 'value' => $value + ), + $options + ); + return tag('input', $options); +} + +function text_field_tag($name, $default = null, $options = array()) +{ + $value = isset($_REQUEST[$name]) ? $_REQUEST[$name] : $default; + return input_tag('text', $name, $value, $options); +} + +function text_area_tag($name, $default = null, $options = array()) +{ + $content = isset($_REQUEST[$name]) ? $_REQUEST[$name] : $default; + $options = array_merge( + array( + 'name' => $name, + 'id' => $name, + 'cols' => 60, + 'rows' => 5 + ), + $options + ); + return content_tag('textarea', $content, $options); +} + +function hidden_field_tag($name, $default = null, $options = array()) +{ + $value = isset($_REQUEST[$name]) ? $_REQUEST[$name] : $default; + return input_tag('hidden', $name, $value, $options); +} + +function password_field_tag($name = 'password', $default = null, $options = array()) +{ + $value = isset($_REQUEST[$name]) ? $_REQUEST[$name] : $default; + return input_tag('password', $name, $value, $options); +} + +function radio_button_tag($name, $value, $default = false, $options = array()) +{ + if ((isset($_REQUEST[$name]) and $_REQUEST[$name] == $value) or + (!isset($_REQUEST[$name]) and $default)) + { + $options = array_merge(array('checked' => 'checked'), $options); + } + $options = array_merge(array('id' => $name.'_'.$value), $options); + return input_tag('radio', $name, $value, $options); +} + +function check_box_tag($name, $value = '1', $default = false, $options = array()) +{ + if ((isset($_REQUEST[$name]) and $_REQUEST[$name] == $value) or + (!isset($_REQUEST['submit']) and $default)) + { + $options = array_merge(array('checked' => 'checked'),$options); + } + return input_tag('checkbox', $name, $value, $options); +} + +function submit_tag($name = '', $value = 'Submit', $options = array()) +{ + return input_tag('submit', $name, $value, $options); +} + +function reset_tag($name = '', $value = 'Reset', $options = array()) +{ + return input_tag('reset', $name, $value, $options); +} + +function label_tag($name, $text = null, $options = array()) +{ + if ($text == null) { + $text = ucwords(str_replace('_', ' ', $name)).': '; + } + $options = array_merge( + array('for' => $name, 'id' => "label_for_$name"), + $options + ); + return content_tag('label', $text, $options); +} + +function labeled_text_field_tag($name, $default = null, $options = array()) +{ + return label_tag($name).text_field_tag($name, $default, $options); +} + +function select_tag($name, $options, $default = null, $html_options = array()) +{ + $opts = ''; + foreach ($options as $key => $value) { + $arr = array('value' => $value); + if ((isset($_REQUEST[$name]) and $_REQUEST[$name] == $value) or + (!isset($_REQUEST[$name]) and $default == $value)) + { + $arr = array_merge(array('selected' => 'selected'),$arr); + } + $opts .= content_tag('option', $key, $arr); + } + $html_options = array_merge( + array('name' => $name, 'id' => $name), + $html_options + ); + return "$opts"; +} + +function form_tag($uri = null, $options = array()) +{ + if ($uri == null) { + $uri = $_SERVER['PHP_SELF']; + } + $options = array_merge( + array('method' => 'get', 'action' => $uri), + $options + ); + return tag('form', $options, true); +} + +function form_end_tag() +{ + return ""; +} diff --git a/core/vendor/easyrdf/easyrdf/examples/httpget.php b/core/vendor/easyrdf/easyrdf/examples/httpget.php new file mode 100644 index 0000000..e86bb54 --- /dev/null +++ b/core/vendor/easyrdf/easyrdf/examples/httpget.php @@ -0,0 +1,84 @@ + 'text/html', + 'application/rdf+xml' => 'application/rdf+xml', + 'application/xhtml+xml' => 'application/xhtml+xml', + 'application/json' => 'application/json', + 'text/turtle' => 'text/turtle', + ); +?> + + + Test EasyRdf_HTTP_Client Get + + + +

Test EasyRdf_HTTP_Client Get

+ +50)) ?>
+ + + + +setHeaders('Accept',$_REQUEST['accept']); + $response = $client->request(); + +?> + +

+ Status: getStatus() ?>
+ Message: getMessage() ?>
+ Version: HTTP/getVersion() ?>
+

+ +

+ getHeaders() as $name => $value) { + echo "$name: $value
\n"; + } + ?> +

+ +

+ getBody(), ENT_SUBSTITUTE | ENT_QUOTES)); + } else { + print nl2br(htmlentities($response->getBody())); + } + ?> +

+ + + + + diff --git a/core/vendor/easyrdf/easyrdf/examples/serialise.php b/core/vendor/easyrdf/easyrdf/examples/serialise.php new file mode 100644 index 0000000..c0c0f88 --- /dev/null +++ b/core/vendor/easyrdf/easyrdf/examples/serialise.php @@ -0,0 +1,68 @@ +resource('http://www.example.com/joe#me', 'foaf:Person'); + $me->set('foaf:name', 'Joseph Bloggs'); + $me->set('foaf:title', 'Mr'); + $me->set('foaf:nick', 'Joe'); + $me->add('foaf:homepage', $graph->resource('http://example.com/joe/')); + + // I made these up; they are not officially part of FOAF + $me->set('foaf:dateOfBirth', new EasyRdf_Literal_Date('1980-09-08')); + $me->set('foaf:height', 1.82); + + $project = $graph->newBnode('foaf:Project'); + $project->set('foaf:name', "Joe's current project"); + $me->set('foaf:currentProject', $project); + + if (isset($_REQUEST['format'])) { + $format = preg_replace("/[^\w\-]+/", '', strtolower($_REQUEST['format'])); + } else { + $format = 'ntriples'; + } +?> + +EasyRdf Serialiser Example + +

EasyRdf Serialiser Example

+ + + +
+serialise($format);
+    if (!is_scalar($data)) {
+        $data = var_export($data, true);
+    }
+    print htmlspecialchars($data);
+?>
+
+ + + diff --git a/core/vendor/easyrdf/easyrdf/examples/sparql_queryform.php b/core/vendor/easyrdf/easyrdf/examples/sparql_queryform.php new file mode 100644 index 0000000..8a66c00 --- /dev/null +++ b/core/vendor/easyrdf/easyrdf/examples/sparql_queryform.php @@ -0,0 +1,79 @@ + + + + EasyRdf SPARQL Query Form + + + +

EasyRdf SPARQL Query Form

+ +
+ 80)).'
'; + print ""; + foreach(EasyRdf_Namespace::namespaces() as $prefix => $uri) { + print "PREFIX $prefix: <".htmlspecialchars($uri).">
\n"; + } + print "
"; + print text_area_tag('query', "SELECT * WHERE {\n ?s ?p ?o\n}\nLIMIT 10", array('rows' => 10, 'cols' => 80)).'
'; + print check_box_tag('text') . label_tag('text', 'Plain text results').'
'; + print reset_tag() . submit_tag(); + print form_end_tag(); + ?> +
+ +query($_REQUEST['query']); + if (isset($_REQUEST['text'])) { + print "
".htmlspecialchars($results->dump(false))."
"; + } else { + print $results->dump(true); + } + } catch (Exception $e) { + print "
".$e->getMessage()."
\n"; + } + } +?> + + + diff --git a/core/vendor/easyrdf/easyrdf/examples/uk_postcode.php b/core/vendor/easyrdf/easyrdf/examples/uk_postcode.php new file mode 100644 index 0000000..64161df --- /dev/null +++ b/core/vendor/easyrdf/easyrdf/examples/uk_postcode.php @@ -0,0 +1,69 @@ + + + + EasyRdf UK Postcode Resolver + + + +

EasyRdf UK Postcode Resolver

+ + + 10)) ?> + + + +resource("postcode:$postcode"); + $ll = $res->get('geo:lat').','.$res->get('geo:long'); + print ""; + print "\n"; + print "\n"; + print "\n"; + print "\n"; + print "\n"; + print "\n"; + print "\n"; + print "
Easting:" . $res->get('sr:easting') . "
Northing:" . $res->get('sr:northing') . "
Longitude:" . $res->get('geo:long') . "
Latitude:" . $res->get('geo:lat') . "
Local Authority:" . $res->get('ag:localAuthority')->label() . "
Electoral Ward:" . $res->get('eg:ward')->label() . "
\n"; + + print "
\n"; + + print $graph->dump(); + } +?> + + diff --git a/core/vendor/easyrdf/easyrdf/examples/villages.php b/core/vendor/easyrdf/easyrdf/examples/villages.php new file mode 100644 index 0000000..9bf4188 --- /dev/null +++ b/core/vendor/easyrdf/easyrdf/examples/villages.php @@ -0,0 +1,67 @@ + + +EasyRdf Village Info Example + +

EasyRdf Village Info Example

+ +primaryTopic(); + print content_tag('h2',$village->label()); + + if ($village->get('foaf:depiction')) { + print image_tag( + $village->get('foaf:depiction'), + array('style'=>'max-width:400px;max-height:250px;') + ); + } + + print content_tag('p',$village->get('rdfs:comment')); + + if ($village->get('geo:long')) { + $ll = $village->get('geo:lat').','.$village->get('geo:long'); + print ""; + } + + echo "

"; + echo $graph->dump(); + } else { + $graph = EasyRdf_Graph::newAndLoad("http://dbpedialite.org/categories/".$CATEGORY_ID); + $category = $graph->primaryTopic(); + + print "\n"; + } +?> + + diff --git a/core/vendor/easyrdf/easyrdf/examples/zend_framework.php b/core/vendor/easyrdf/easyrdf/examples/zend_framework.php new file mode 100644 index 0000000..512d5f7 --- /dev/null +++ b/core/vendor/easyrdf/easyrdf/examples/zend_framework.php @@ -0,0 +1,61 @@ +setFallbackAutoloader(true); + + // use the CURL based HTTP client adaptor + $client = new Zend_Http_Client( + null, + array( + 'adapter' => 'Zend_Http_Client_Adapter_Curl', + 'keepalive' => true, + 'useragent' => "EasyRdf/zendtest" + ) + ); + EasyRdf_Http::setDefaultHttpClient($client); +?> + + + + Zend Framework Example + + +

Zend Framework Example

+ +resource('http://example.com/joe#me', 'foaf:Person'); + $joe->add('foaf:name', 'Joe Bloggs'); + $joe->addResource('foaf:homepage', 'http://example.com/joe/'); + + # Store it in a local graphstore + $store = new EasyRdf_GraphStore('http://localhost:8080/data/'); + $store->replace($graph); + + # Now make a query to the graphstore + $sparql = new EasyRdf_Sparql_Client('http://localhost:8080/sparql/'); + $result = $sparql->query('SELECT * WHERE { ?p ?o}'); + echo $result->dump(); +?> + + + diff --git a/core/vendor/easyrdf/easyrdf/test/EasyRdf/ExceptionTest.php b/core/vendor/easyrdf/easyrdf/test/EasyRdf/ExceptionTest.php new file mode 100644 index 0000000..8be8603 --- /dev/null +++ b/core/vendor/easyrdf/easyrdf/test/EasyRdf/ExceptionTest.php @@ -0,0 +1,51 @@ +setExpectedException( + 'EasyRdf_Exception', + 'Test' + ); + throw new EasyRdf_Exception('Test'); + } +} diff --git a/core/vendor/easyrdf/easyrdf/test/EasyRdf/FormatTest.php b/core/vendor/easyrdf/easyrdf/test/EasyRdf/FormatTest.php new file mode 100644 index 0000000..1bf6907 --- /dev/null +++ b/core/vendor/easyrdf/easyrdf/test/EasyRdf/FormatTest.php @@ -0,0 +1,635 @@ +format = EasyRdf_Format::register( + 'my', + 'My Format', + 'http://example.com/myformat', + array('my/mime' => 1.0, 'my/x-mime' => 0.9), + array('mext') + ); + } + + public function tearDown() + { + EasyRdf_Format::unregister('my'); + } + + public function testRegisterNameNull() + { + $this->setExpectedException( + 'InvalidArgumentException', + '$name should be a string and cannot be null or empty' + ); + EasyRdf_Format::register(null); + } + + public function testRegisterNameEmpty() + { + $this->setExpectedException( + 'InvalidArgumentException', + '$name should be a string and cannot be null or empty' + ); + EasyRdf_Format::register(''); + } + + public function testRegisterNameNonString() + { + $this->setExpectedException( + 'InvalidArgumentException', + '$name should be a string and cannot be null or empty' + ); + EasyRdf_Format::register(array()); + } + + public function testGetFormats() + { + $formats = EasyRdf_Format::getFormats(); + $this->assertInternalType('array', $formats); + $this->assertGreaterThan(0, count($formats)); + foreach ($formats as $format) { + $this->assertClass('EasyRdf_Format', $format); + } + } + + public function testGetHttpAcceptHeader() + { + $accept = EasyRdf_Format::getHttpAcceptHeader(); + $this->assertContains('application/json', $accept); + $this->assertContains('application/rdf+xml;q=0.8', $accept); + } + + public function testGetHttpAcceptHeaderWithExtra() + { + $accept = EasyRdf_Format::getHttpAcceptHeader(array('extra/header' => 0.5)); + $this->assertContains('application/json', $accept); + $this->assertContains('extra/header;q=0.5', $accept); + } + + public function testFormatExistsTrue() + { + $this->assertTrue(EasyRdf_Format::formatExists('my')); + } + + public function testFormatExistsFalse() + { + $this->assertFalse(EasyRdf_Format::formatExists('testFormatExistsFalse')); + } + + public function testUnRegister() + { + EasyRdf_Format::unregister('my'); + $this->assertFalse(EasyRdf_Format::formatExists('my')); + } + + public function testGetFormatByName() + { + $format = EasyRdf_Format::getFormat('my'); + $this->assertNotNull($format); + $this->assertClass('EasyRdf_Format', $format); + $this->assertSame('my', $format->getName()); + $this->assertSame('My Format', $format->getLabel()); + $this->assertSame('http://example.com/myformat', $format->getUri()); + } + + public function testGetFormatByUri() + { + $format = EasyRdf_Format::getFormat('http://example.com/myformat'); + $this->assertNotNull($format); + $this->assertClass('EasyRdf_Format', $format); + $this->assertSame('my', $format->getName()); + $this->assertSame('My Format', $format->getLabel()); + $this->assertSame('http://example.com/myformat', $format->getUri()); + } + + public function testGetFormatByMime() + { + $format = EasyRdf_Format::getFormat('my/mime'); + $this->assertNotNull($format); + $this->assertClass('EasyRdf_Format', $format); + $this->assertSame('my', $format->getName()); + $this->assertSame('My Format', $format->getLabel()); + $this->assertSame('http://example.com/myformat', $format->getUri()); + } + + public function testGetFormatByMime2() + { + $format = EasyRdf_Format::getFormat('my/x-mime'); + $this->assertNotNull($format); + $this->assertClass('EasyRdf_Format', $format); + $this->assertSame('my', $format->getName()); + $this->assertSame('My Format', $format->getLabel()); + $this->assertSame('http://example.com/myformat', $format->getUri()); + } + + public function testGetFormatByExtension() + { + $format = EasyRdf_Format::getFormat('mext'); + $this->assertNotNull($format); + $this->assertClass('EasyRdf_Format', $format); + $this->assertSame('my', $format->getName()); + $this->assertSame('My Format', $format->getLabel()); + $this->assertSame('http://example.com/myformat', $format->getUri()); + } + + public function testGetFormatNull() + { + $this->setExpectedException( + 'InvalidArgumentException', + '$query should be a string and cannot be null or empty' + ); + EasyRdf_Format::getFormat(null); + } + + public function testGetFormatEmpty() + { + $this->setExpectedException( + 'InvalidArgumentException', + '$query should be a string and cannot be null or empty' + ); + EasyRdf_Format::getFormat(''); + } + + public function testGetFormatNonString() + { + $this->setExpectedException( + 'InvalidArgumentException', + '$query should be a string and cannot be null or empty' + ); + EasyRdf_Format::getFormat(array()); + } + + public function testGetFormatUnknown() + { + $this->setExpectedException( + 'EasyRdf_Exception', + 'Format is not recognised: unknown' + ); + $this->assertSame(null, EasyRdf_Format::getFormat('unknown')); + } + + public function testGetNames() + { + $names = EasyRdf_Format::getNames(); + $this->assertTrue(is_array($names)); + $this->assertTrue(in_array('ntriples', $names)); + } + + public function testGetName() + { + $this->assertSame('my', $this->format->getName()); + } + + public function testGetLabel() + { + $this->assertSame('My Format', $this->format->getLabel()); + } + + public function testSetLabel() + { + $this->format->setLabel('testSetLabel'); + $this->assertSame('testSetLabel', $this->format->getLabel()); + } + + public function testSetLabelNull() + { + $this->format->setLabel(null); + $this->assertSame(null, $this->format->getLabel()); + } + + public function testSetLabelEmpty() + { + $this->format->setLabel(''); + $this->assertSame(null, $this->format->getLabel()); + } + + public function testSetLabelNonString() + { + $this->setExpectedException( + 'InvalidArgumentException', + '$label should be a string' + ); + $this->format->setLabel($this); + } + + public function testSetUri() + { + $this->format->setUri('testSetUri'); + $this->assertSame('testSetUri', $this->format->getUri()); + } + + public function testSetUriNull() + { + $this->format->setUri(null); + $this->assertSame(null, $this->format->getUri()); + } + + public function testSetUriEmpty() + { + $this->format->setUri(''); + $this->assertSame(null, $this->format->getUri()); + } + + public function testSetUriNonString() + { + $this->setExpectedException( + 'InvalidArgumentException', + '$uri should be a string' + ); + $this->format->setUri($this); + } + + public function testGetUri() + { + $this->assertSame( + 'http://example.com/myformat', + $this->format->getUri() + ); + } + + public function testGetDefaultMimeType() + { + $this->assertSame( + 'my/mime', + $this->format->getDefaultMimeType() + ); + } + + public function testGetMimeTypes() + { + $this->assertSame( + array('my/mime' => 1.0, 'my/x-mime' => 0.9), + $this->format->getMimeTypes() + ); + } + + public function testSetMimeType() + { + $this->format->setMimeTypes('testSetMimeType'); + $this->assertSame( + array('testSetMimeType'), + $this->format->getMimeTypes() + ); + } + + public function testSetMimeTypes() + { + $this->format->setMimeTypes( + array('testSetMimeTypes1', 'testSetMimeTypes2') + ); + $this->assertSame( + array('testSetMimeTypes1', 'testSetMimeTypes2'), + $this->format->getMimeTypes() + ); + } + + public function testSetMimeTypeNull() + { + $this->format->setMimeTypes(null); + $this->assertSame(array(), $this->format->getMimeTypes()); + } + + public function testGetDefaultExtension() + { + $this->assertSame( + 'mext', + $this->format->getDefaultExtension() + ); + } + + public function testGetExtensions() + { + $this->assertSame( + array('mext'), + $this->format->getExtensions() + ); + } + + public function testSetExtension() + { + $this->format->setExtensions('testSetExtension'); + $this->assertSame( + array('testSetExtension'), + $this->format->getExtensions() + ); + } + + public function testSetExtensions() + { + $this->format->setExtensions( + array('ext1', 'ext2') + ); + $this->assertSame( + array('ext1', 'ext2'), + $this->format->getExtensions() + ); + } + + public function testSetExtensionsNull() + { + $this->format->setExtensions(null); + $this->assertSame(array(), $this->format->getExtensions()); + } + + public function testToString() + { + $this->assertStringEquals('my', $this->format); + } + + public function testSetParserClass() + { + $this->format->setParserClass('MockParserClass'); + $this->assertSame( + 'MockParserClass', + $this->format->getParserClass() + ); + } + + public function testSetParserClassNull() + { + $this->format->setParserClass(null); + $this->assertSame(null, $this->format->getParserClass()); + } + + public function testSetParserClassEmpty() + { + $this->format->setParserClass(''); + $this->assertSame(null, $this->format->getParserClass()); + } + + public function testSetParserClassNonString() + { + $this->setExpectedException( + 'InvalidArgumentException', + '$class should be a string' + ); + $this->format->setParserClass($this); + } + + public function testRegisterParser() + { + EasyRdf_Format::registerParser('my', 'MockParserClass'); + $this->assertSame( + 'MockParserClass', + $this->format->getParserClass() + ); + } + + public function testRegisterParserForUnknownFormat() + { + EasyRdf_Format::registerParser('testRegisterParser', 'MockParserClass'); + $format = EasyRdf_Format::getFormat('testRegisterParser'); + $this->assertNotNull($format); + $this->assertSame('MockParserClass', $format->getParserClass()); + } + + public function testNewParser() + { + $this->format->setParserClass('MockParserClass'); + $parser = $this->format->newParser(); + $this->assertInternalType('object', $parser); + $this->assertClass('MockParserClass', $parser); + } + + public function testNewParserNull() + { + $this->setExpectedException( + 'EasyRdf_Exception', + 'No parser class available for format: my' + ); + $this->format->setParserClass(null); + $parser = $this->format->newParser(); + } + + public function testSetSerialiserClass() + { + $this->format->setSerialiserClass('MockSerialiserClass'); + $this->assertSame( + 'MockSerialiserClass', + $this->format->getSerialiserClass() + ); + } + + public function testSetSerialiserClassNull() + { + $this->format->setSerialiserClass(null); + $this->assertSame(null, $this->format->getSerialiserClass()); + } + + public function testSetSerialiserClassEmpty() + { + $this->format->setSerialiserClass(''); + $this->assertSame(null, $this->format->getSerialiserClass()); + } + + public function testSetSerialiserClassNonString() + { + $this->setExpectedException( + 'InvalidArgumentException', + '$class should be a string' + ); + $this->format->setSerialiserClass($this); + } + + public function testNewSerialiser() + { + $this->format->setSerialiserClass('MockSerialiserClass'); + $serialiser = $this->format->newSerialiser(); + $this->assertInternalType('object', $serialiser); + $this->assertClass('MockSerialiserClass', $serialiser); + } + + public function testNewSerialiserNull() + { + $this->setExpectedException( + 'EasyRdf_Exception', + 'No serialiser class available for format: my' + ); + $this->format->setSerialiserClass(null); + $serialiser = $this->format->newSerialiser(); + } + + public function testRegisterSerialiser() + { + EasyRdf_Format::registerSerialiser('my', 'MockSerialiserClass'); + $this->assertSame( + 'MockSerialiserClass', + $this->format->getSerialiserClass() + ); + } + + public function testRegisterSerialiserForUnknownFormat() + { + EasyRdf_Format::registerSerialiser( + 'testRegisterSerialiser', + 'MockSerialiserClass' + ); + $format = EasyRdf_Format::getFormat('testRegisterSerialiser'); + $this->assertNotNull($format); + $this->assertSame( + 'MockSerialiserClass', + $format->getSerialiserClass() + ); + } + + public function testGuessFormatPhp() + { + $data = array('http://www.example.com' => array()); + $this->assertStringEquals('php', EasyRdf_Format::guessFormat($data)); + } + + public function testGuessFormatRdfXml() + { + $data = readFixture('foaf.rdf'); + $this->assertStringEquals('rdfxml', EasyRdf_Format::guessFormat($data)); + } + + public function testGuessFormatJson() + { + $data = readFixture('foaf.json'); + $this->assertStringEquals('json', EasyRdf_Format::guessFormat($data)); + } + + public function testGuessFormatTurtle() + { + $data = readFixture('foaf.ttl'); + $this->assertStringEquals('turtle', EasyRdf_Format::guessFormat($data)); + } + + public function testGuessFormatTurtleWithComments() + { + $data = readFixture('webid.ttl'); + $this->assertStringEquals('turtle', EasyRdf_Format::guessFormat($data)); + } + + public function testGuessFormatNtriples() + { + $data = readFixture('foaf.nt'); + $this->assertStringEquals('ntriples', EasyRdf_Format::guessFormat($data)); + } + + public function testGuessFormatNtriplesWithComments() + { + $format = EasyRdf_Format::guessFormat( + "# This is a comment before the first triple\n". + " .\n" + ); + $this->assertStringEquals('ntriples', $format); + } + + public function testGuessFormatSparqlXml() + { + $data = readFixture('sparql_select_all.xml'); + $this->assertStringEquals('sparql-xml', EasyRdf_Format::guessFormat($data)); + } + + public function testGuessFormatRdfa() + { + $data = readFixture('foaf.html'); + $this->assertStringEquals('rdfa', EasyRdf_Format::guessFormat($data)); + } + + public function testGuessFormatHtml() + { + # We don't support any other microformats embedded in HTML + $format = EasyRdf_Format::guessFormat( + 'Hello

Hello World

' + ); + $this->assertStringEquals('rdfa', $format); + } + + public function testGuessFormatXml() + { + # We support several different XML formats, don't know which one this is... + $format = EasyRdf_Format::guessFormat( + '' + ); + $this->assertSame(null, $format); + } + + public function testGuessFormatByFilenameTtl() + { + $format = EasyRdf_Format::guessFormat( + '# This is a comment', + 'http://example.com/filename.ttl' + ); + $this->assertStringEquals('turtle', $format); + } + + public function testGuessFormatByFilenameRdf() + { + $format = EasyRdf_Format::guessFormat( + ' +
+

Ivan Herman

+
+ + \ No newline at end of file diff --git a/core/vendor/easyrdf/easyrdf/test/fixtures/rdfa/0180.nt b/core/vendor/easyrdf/easyrdf/test/fixtures/rdfa/0180.nt new file mode 100644 index 0000000..5fc9cba --- /dev/null +++ b/core/vendor/easyrdf/easyrdf/test/fixtures/rdfa/0180.nt @@ -0,0 +1 @@ + "Ivan Herman" . diff --git a/core/vendor/easyrdf/easyrdf/test/fixtures/rdfa/0180.xhtml b/core/vendor/easyrdf/easyrdf/test/fixtures/rdfa/0180.xhtml new file mode 100644 index 0000000..0c05943 --- /dev/null +++ b/core/vendor/easyrdf/easyrdf/test/fixtures/rdfa/0180.xhtml @@ -0,0 +1,13 @@ + + + + + Test 0180 + + + +
+

Ivan Herman

+
+ + \ No newline at end of file diff --git a/core/vendor/easyrdf/easyrdf/test/fixtures/rdfa/0181.nt b/core/vendor/easyrdf/easyrdf/test/fixtures/rdfa/0181.nt new file mode 100644 index 0000000..aa88a78 --- /dev/null +++ b/core/vendor/easyrdf/easyrdf/test/fixtures/rdfa/0181.nt @@ -0,0 +1 @@ + . diff --git a/core/vendor/easyrdf/easyrdf/test/fixtures/rdfa/0181.xhtml b/core/vendor/easyrdf/easyrdf/test/fixtures/rdfa/0181.xhtml new file mode 100644 index 0000000..900fa90 --- /dev/null +++ b/core/vendor/easyrdf/easyrdf/test/fixtures/rdfa/0181.xhtml @@ -0,0 +1,12 @@ + + + + + Test 0181 + + +
+

Ivan Herman

+
+ + \ No newline at end of file diff --git a/core/vendor/easyrdf/easyrdf/test/fixtures/rdfa/0182.nt b/core/vendor/easyrdf/easyrdf/test/fixtures/rdfa/0182.nt new file mode 100644 index 0000000..4fdad56 --- /dev/null +++ b/core/vendor/easyrdf/easyrdf/test/fixtures/rdfa/0182.nt @@ -0,0 +1,2 @@ + "A particular agent" . + . diff --git a/core/vendor/easyrdf/easyrdf/test/fixtures/rdfa/0182.xhtml b/core/vendor/easyrdf/easyrdf/test/fixtures/rdfa/0182.xhtml new file mode 100644 index 0000000..c525423 --- /dev/null +++ b/core/vendor/easyrdf/easyrdf/test/fixtures/rdfa/0182.xhtml @@ -0,0 +1,15 @@ + + + + + Test 0182 + + + +
+
+

A particular agent

+
+
+ + \ No newline at end of file diff --git a/core/vendor/easyrdf/easyrdf/test/fixtures/rdfa/0183.nt b/core/vendor/easyrdf/easyrdf/test/fixtures/rdfa/0183.nt new file mode 100644 index 0000000..4fdad56 --- /dev/null +++ b/core/vendor/easyrdf/easyrdf/test/fixtures/rdfa/0183.nt @@ -0,0 +1,2 @@ + "A particular agent" . + . diff --git a/core/vendor/easyrdf/easyrdf/test/fixtures/rdfa/0183.xhtml b/core/vendor/easyrdf/easyrdf/test/fixtures/rdfa/0183.xhtml new file mode 100644 index 0000000..408b29d --- /dev/null +++ b/core/vendor/easyrdf/easyrdf/test/fixtures/rdfa/0183.xhtml @@ -0,0 +1,15 @@ + + + + + Test 0183 + + + +
+
+

A particular agent

+
+
+ + \ No newline at end of file diff --git a/core/vendor/easyrdf/easyrdf/test/fixtures/rdfa/0186.nt b/core/vendor/easyrdf/easyrdf/test/fixtures/rdfa/0186.nt new file mode 100644 index 0000000..3a164f2 --- /dev/null +++ b/core/vendor/easyrdf/easyrdf/test/fixtures/rdfa/0186.nt @@ -0,0 +1,2 @@ + . + "Ivan Herman" . diff --git a/core/vendor/easyrdf/easyrdf/test/fixtures/rdfa/0186.xhtml b/core/vendor/easyrdf/easyrdf/test/fixtures/rdfa/0186.xhtml new file mode 100644 index 0000000..ae9116d --- /dev/null +++ b/core/vendor/easyrdf/easyrdf/test/fixtures/rdfa/0186.xhtml @@ -0,0 +1,13 @@ + + + + + Test 0186 + + + +
+

Ivan Herman

+
+ + \ No newline at end of file diff --git a/core/vendor/easyrdf/easyrdf/test/fixtures/rdfa/0187.nt b/core/vendor/easyrdf/easyrdf/test/fixtures/rdfa/0187.nt new file mode 100644 index 0000000..146542c --- /dev/null +++ b/core/vendor/easyrdf/easyrdf/test/fixtures/rdfa/0187.nt @@ -0,0 +1,3 @@ + . + . + "Ivan Herman" . diff --git a/core/vendor/easyrdf/easyrdf/test/fixtures/rdfa/0187.xhtml b/core/vendor/easyrdf/easyrdf/test/fixtures/rdfa/0187.xhtml new file mode 100644 index 0000000..da916fc --- /dev/null +++ b/core/vendor/easyrdf/easyrdf/test/fixtures/rdfa/0187.xhtml @@ -0,0 +1,15 @@ + + + + + Test 0187 + + + +
+
+

Ivan Herman

+
+
+ + \ No newline at end of file diff --git a/core/vendor/easyrdf/easyrdf/test/fixtures/rdfa/0188.nt b/core/vendor/easyrdf/easyrdf/test/fixtures/rdfa/0188.nt new file mode 100644 index 0000000..3a164f2 --- /dev/null +++ b/core/vendor/easyrdf/easyrdf/test/fixtures/rdfa/0188.nt @@ -0,0 +1,2 @@ + . + "Ivan Herman" . diff --git a/core/vendor/easyrdf/easyrdf/test/fixtures/rdfa/0188.xhtml b/core/vendor/easyrdf/easyrdf/test/fixtures/rdfa/0188.xhtml new file mode 100644 index 0000000..b3f656f --- /dev/null +++ b/core/vendor/easyrdf/easyrdf/test/fixtures/rdfa/0188.xhtml @@ -0,0 +1,15 @@ + + + + + Test 0188 + + + +
+
+

Ivan Herman

+
+
+ + \ No newline at end of file diff --git a/core/vendor/easyrdf/easyrdf/test/fixtures/rdfa/0189.nt b/core/vendor/easyrdf/easyrdf/test/fixtures/rdfa/0189.nt new file mode 100644 index 0000000..b917e0f --- /dev/null +++ b/core/vendor/easyrdf/easyrdf/test/fixtures/rdfa/0189.nt @@ -0,0 +1,2 @@ + . + . diff --git a/core/vendor/easyrdf/easyrdf/test/fixtures/rdfa/0189.xhtml b/core/vendor/easyrdf/easyrdf/test/fixtures/rdfa/0189.xhtml new file mode 100644 index 0000000..ea43b0c --- /dev/null +++ b/core/vendor/easyrdf/easyrdf/test/fixtures/rdfa/0189.xhtml @@ -0,0 +1,12 @@ + + + + + Test 0189 + + +
+

Ivan Herman

+
+ + \ No newline at end of file diff --git a/core/vendor/easyrdf/easyrdf/test/fixtures/rdfa/0190.nt b/core/vendor/easyrdf/easyrdf/test/fixtures/rdfa/0190.nt new file mode 100644 index 0000000..aa88a78 --- /dev/null +++ b/core/vendor/easyrdf/easyrdf/test/fixtures/rdfa/0190.nt @@ -0,0 +1 @@ + . diff --git a/core/vendor/easyrdf/easyrdf/test/fixtures/rdfa/0190.xhtml b/core/vendor/easyrdf/easyrdf/test/fixtures/rdfa/0190.xhtml new file mode 100644 index 0000000..9f0770a --- /dev/null +++ b/core/vendor/easyrdf/easyrdf/test/fixtures/rdfa/0190.xhtml @@ -0,0 +1,12 @@ + + + + + Test 0190 + + +
+

Ivan Herman

+
+ + \ No newline at end of file diff --git a/core/vendor/easyrdf/easyrdf/test/fixtures/rdfa/0196.nt b/core/vendor/easyrdf/easyrdf/test/fixtures/rdfa/0196.nt new file mode 100644 index 0000000..eb65bf8 --- /dev/null +++ b/core/vendor/easyrdf/easyrdf/test/fixtures/rdfa/0196.nt @@ -0,0 +1,2 @@ + "This is a plain literal" . + "This is an XMLLiteral"^^ . diff --git a/core/vendor/easyrdf/easyrdf/test/fixtures/rdfa/0196.xhtml b/core/vendor/easyrdf/easyrdf/test/fixtures/rdfa/0196.xhtml new file mode 100644 index 0000000..90124e9 --- /dev/null +++ b/core/vendor/easyrdf/easyrdf/test/fixtures/rdfa/0196.xhtml @@ -0,0 +1,14 @@ + + + + + Test 0196 + + +
+

This is an XMLLiteral

+

This is a plain literal

+
+ + \ No newline at end of file diff --git a/core/vendor/easyrdf/easyrdf/test/fixtures/rdfa/0197.nt b/core/vendor/easyrdf/easyrdf/test/fixtures/rdfa/0197.nt new file mode 100644 index 0000000..c083c58 --- /dev/null +++ b/core/vendor/easyrdf/easyrdf/test/fixtures/rdfa/0197.nt @@ -0,0 +1 @@ + "Ruby" . diff --git a/core/vendor/easyrdf/easyrdf/test/fixtures/rdfa/0197.xhtml b/core/vendor/easyrdf/easyrdf/test/fixtures/rdfa/0197.xhtml new file mode 100644 index 0000000..0d16e53 --- /dev/null +++ b/core/vendor/easyrdf/easyrdf/test/fixtures/rdfa/0197.xhtml @@ -0,0 +1,14 @@ + + + + + Test 0197 + + + +

Gregg Kellogg

+

Ruby

+

Kellogg Associates

+

Ruby Gem

+ + \ No newline at end of file diff --git a/core/vendor/easyrdf/easyrdf/test/fixtures/rdfa/0198.nt b/core/vendor/easyrdf/easyrdf/test/fixtures/rdfa/0198.nt new file mode 100644 index 0000000..48a5c6a --- /dev/null +++ b/core/vendor/easyrdf/easyrdf/test/fixtures/rdfa/0198.nt @@ -0,0 +1,4 @@ + "Mark Birbeck"^^ . + "Mark" . + "Birbeck" . + . diff --git a/core/vendor/easyrdf/easyrdf/test/fixtures/rdfa/0198.xhtml b/core/vendor/easyrdf/easyrdf/test/fixtures/rdfa/0198.xhtml new file mode 100644 index 0000000..6567671 --- /dev/null +++ b/core/vendor/easyrdf/easyrdf/test/fixtures/rdfa/0198.xhtml @@ -0,0 +1,16 @@ + + + + + Test 0198 + + + +
+

Mark Birbeck

+
+ + \ No newline at end of file diff --git a/core/vendor/easyrdf/easyrdf/test/fixtures/rdfa/0206.nt b/core/vendor/easyrdf/easyrdf/test/fixtures/rdfa/0206.nt new file mode 100644 index 0000000..55ea9e5 --- /dev/null +++ b/core/vendor/easyrdf/easyrdf/test/fixtures/rdfa/0206.nt @@ -0,0 +1 @@ + . diff --git a/core/vendor/easyrdf/easyrdf/test/fixtures/rdfa/0206.xhtml b/core/vendor/easyrdf/easyrdf/test/fixtures/rdfa/0206.xhtml new file mode 100644 index 0000000..1f01f37 --- /dev/null +++ b/core/vendor/easyrdf/easyrdf/test/fixtures/rdfa/0206.xhtml @@ -0,0 +1,13 @@ + + + + + Default context test 0206 + + +

+ An OWL Axiom: "xsd:maxExclusive" is a Datatype Property in OWL. +

+ + + \ No newline at end of file diff --git a/core/vendor/easyrdf/easyrdf/test/fixtures/rdfa/0207.nt b/core/vendor/easyrdf/easyrdf/test/fixtures/rdfa/0207.nt new file mode 100644 index 0000000..817510f --- /dev/null +++ b/core/vendor/easyrdf/easyrdf/test/fixtures/rdfa/0207.nt @@ -0,0 +1,6 @@ + "Weekend off in Iona" . + "2006-10-21"^^ . + . + "2006-10-23"^^ . + . + "Iona, UK" . diff --git a/core/vendor/easyrdf/easyrdf/test/fixtures/rdfa/0207.xhtml b/core/vendor/easyrdf/easyrdf/test/fixtures/rdfa/0207.xhtml new file mode 100644 index 0000000..d6c3ffd --- /dev/null +++ b/core/vendor/easyrdf/easyrdf/test/fixtures/rdfa/0207.xhtml @@ -0,0 +1,17 @@ + + + + + Test 0207 + + +

+ Weekend off in Iona: + Oct 21st + to Oct 23rd. + See FreeTime.Example.org for + info on Iona, UK. +

+ + \ No newline at end of file diff --git a/core/vendor/easyrdf/easyrdf/test/fixtures/rdfa/0213.nt b/core/vendor/easyrdf/easyrdf/test/fixtures/rdfa/0213.nt new file mode 100644 index 0000000..bc9c2e6 --- /dev/null +++ b/core/vendor/easyrdf/easyrdf/test/fixtures/rdfa/0213.nt @@ -0,0 +1 @@ + "E = mc2: The Most Urgent Problem of Our Time" . diff --git a/core/vendor/easyrdf/easyrdf/test/fixtures/rdfa/0213.xhtml b/core/vendor/easyrdf/easyrdf/test/fixtures/rdfa/0213.xhtml new file mode 100644 index 0000000..090a74f --- /dev/null +++ b/core/vendor/easyrdf/easyrdf/test/fixtures/rdfa/0213.xhtml @@ -0,0 +1,14 @@ + + + + + Test 0213 + + + +
+

E = mc2: The Most Urgent Problem of Our Time

+
+ + + \ No newline at end of file diff --git a/core/vendor/easyrdf/easyrdf/test/fixtures/rdfa/0214.nt b/core/vendor/easyrdf/easyrdf/test/fixtures/rdfa/0214.nt new file mode 100644 index 0000000..2155ecf --- /dev/null +++ b/core/vendor/easyrdf/easyrdf/test/fixtures/rdfa/0214.nt @@ -0,0 +1,2 @@ + "Test 0214" . + . diff --git a/core/vendor/easyrdf/easyrdf/test/fixtures/rdfa/0214.xhtml b/core/vendor/easyrdf/easyrdf/test/fixtures/rdfa/0214.xhtml new file mode 100644 index 0000000..73a7014 --- /dev/null +++ b/core/vendor/easyrdf/easyrdf/test/fixtures/rdfa/0214.xhtml @@ -0,0 +1,10 @@ + + + + + Test 0214 + + +

This document has a title.

+ + \ No newline at end of file diff --git a/core/vendor/easyrdf/easyrdf/test/fixtures/rdfa/0216.nt b/core/vendor/easyrdf/easyrdf/test/fixtures/rdfa/0216.nt new file mode 100644 index 0000000..6d5b231 --- /dev/null +++ b/core/vendor/easyrdf/easyrdf/test/fixtures/rdfa/0216.nt @@ -0,0 +1 @@ + "Iv\u00E1n" . diff --git a/core/vendor/easyrdf/easyrdf/test/fixtures/rdfa/0216.xhtml b/core/vendor/easyrdf/easyrdf/test/fixtures/rdfa/0216.xhtml new file mode 100644 index 0000000..eed700c --- /dev/null +++ b/core/vendor/easyrdf/easyrdf/test/fixtures/rdfa/0216.xhtml @@ -0,0 +1,31 @@ + + + + + + + + +

Iván

+ + \ No newline at end of file diff --git a/core/vendor/easyrdf/easyrdf/test/fixtures/rdfa/0217.nt b/core/vendor/easyrdf/easyrdf/test/fixtures/rdfa/0217.nt new file mode 100644 index 0000000..858774a --- /dev/null +++ b/core/vendor/easyrdf/easyrdf/test/fixtures/rdfa/0217.nt @@ -0,0 +1,2 @@ + . + "Gregg Kellogg" . diff --git a/core/vendor/easyrdf/easyrdf/test/fixtures/rdfa/0217.xhtml b/core/vendor/easyrdf/easyrdf/test/fixtures/rdfa/0217.xhtml new file mode 100644 index 0000000..0dfbeae --- /dev/null +++ b/core/vendor/easyrdf/easyrdf/test/fixtures/rdfa/0217.xhtml @@ -0,0 +1,13 @@ + + + + + Test 0217 + + + +
+

Gregg Kellogg

+
+ + \ No newline at end of file diff --git a/core/vendor/easyrdf/easyrdf/test/fixtures/rdfa/0218.nt b/core/vendor/easyrdf/easyrdf/test/fixtures/rdfa/0218.nt new file mode 100644 index 0000000..da3391b --- /dev/null +++ b/core/vendor/easyrdf/easyrdf/test/fixtures/rdfa/0218.nt @@ -0,0 +1 @@ + . diff --git a/core/vendor/easyrdf/easyrdf/test/fixtures/rdfa/0218.xhtml b/core/vendor/easyrdf/easyrdf/test/fixtures/rdfa/0218.xhtml new file mode 100644 index 0000000..830f6b1 --- /dev/null +++ b/core/vendor/easyrdf/easyrdf/test/fixtures/rdfa/0218.xhtml @@ -0,0 +1,12 @@ + + + + + Test 0218 + + +
+

+

+ + \ No newline at end of file diff --git a/core/vendor/easyrdf/easyrdf/test/fixtures/rdfa/0219.nt b/core/vendor/easyrdf/easyrdf/test/fixtures/rdfa/0219.nt new file mode 100644 index 0000000..bfdbc83 --- /dev/null +++ b/core/vendor/easyrdf/easyrdf/test/fixtures/rdfa/0219.nt @@ -0,0 +1,3 @@ + _:g77749300 . +_:g77749300 . +_:g77749300 "Foo" . diff --git a/core/vendor/easyrdf/easyrdf/test/fixtures/rdfa/0219.xhtml b/core/vendor/easyrdf/easyrdf/test/fixtures/rdfa/0219.xhtml new file mode 100644 index 0000000..1f72945 --- /dev/null +++ b/core/vendor/easyrdf/easyrdf/test/fixtures/rdfa/0219.xhtml @@ -0,0 +1,12 @@ + + + + + Test 0219 + + +
+

Foo

+
+ + \ No newline at end of file diff --git a/core/vendor/easyrdf/easyrdf/test/fixtures/rdfa/0220.nt b/core/vendor/easyrdf/easyrdf/test/fixtures/rdfa/0220.nt new file mode 100644 index 0000000..d1dc431 --- /dev/null +++ b/core/vendor/easyrdf/easyrdf/test/fixtures/rdfa/0220.nt @@ -0,0 +1,3 @@ +_:g78842450 . +_:g78842450 . + _:g78842450 . diff --git a/core/vendor/easyrdf/easyrdf/test/fixtures/rdfa/0220.xhtml b/core/vendor/easyrdf/easyrdf/test/fixtures/rdfa/0220.xhtml new file mode 100644 index 0000000..6767896 --- /dev/null +++ b/core/vendor/easyrdf/easyrdf/test/fixtures/rdfa/0220.xhtml @@ -0,0 +1,12 @@ + + + + + Test 0220 + + +
+ Foo +
+ + \ No newline at end of file diff --git a/core/vendor/easyrdf/easyrdf/test/fixtures/rdfa/0221.nt b/core/vendor/easyrdf/easyrdf/test/fixtures/rdfa/0221.nt new file mode 100644 index 0000000..675346c --- /dev/null +++ b/core/vendor/easyrdf/easyrdf/test/fixtures/rdfa/0221.nt @@ -0,0 +1,5 @@ + _:g78451470 . +_:g78379550 . +_:g78379550 . +_:g78451470 _:g78379550 . +_:g78451470 "Foo" . diff --git a/core/vendor/easyrdf/easyrdf/test/fixtures/rdfa/0221.xhtml b/core/vendor/easyrdf/easyrdf/test/fixtures/rdfa/0221.xhtml new file mode 100644 index 0000000..3b0143c --- /dev/null +++ b/core/vendor/easyrdf/easyrdf/test/fixtures/rdfa/0221.xhtml @@ -0,0 +1,13 @@ + + + + + Test 0221 + + +
+

Foo

+ Foo +
+ + \ No newline at end of file diff --git a/core/vendor/easyrdf/easyrdf/test/fixtures/rdfa/0222.nt b/core/vendor/easyrdf/easyrdf/test/fixtures/rdfa/0222.nt new file mode 100644 index 0000000..88371f1 --- /dev/null +++ b/core/vendor/easyrdf/easyrdf/test/fixtures/rdfa/0222.nt @@ -0,0 +1,5 @@ +_:g78035150 . +_:g78035150 "Bar" . +_:g78057660 _:g78035150 . +_:g78057660 "Foo" . + _:g78057660 . diff --git a/core/vendor/easyrdf/easyrdf/test/fixtures/rdfa/0222.xhtml b/core/vendor/easyrdf/easyrdf/test/fixtures/rdfa/0222.xhtml new file mode 100644 index 0000000..6cf18e5 --- /dev/null +++ b/core/vendor/easyrdf/easyrdf/test/fixtures/rdfa/0222.xhtml @@ -0,0 +1,13 @@ + + + + + Test 0222 + + +
+

Foo

+

Bar

+
+ + \ No newline at end of file diff --git a/core/vendor/easyrdf/easyrdf/test/fixtures/rdfa/0223.nt b/core/vendor/easyrdf/easyrdf/test/fixtures/rdfa/0223.nt new file mode 100644 index 0000000..bb8add4 --- /dev/null +++ b/core/vendor/easyrdf/easyrdf/test/fixtures/rdfa/0223.nt @@ -0,0 +1,6 @@ +_:g77844170 _:g77759660 . +_:g77844170 "Foo" . + "Baz" . + _:g77844170 . +_:g77759660 . +_:g77759660 "Bar" . diff --git a/core/vendor/easyrdf/easyrdf/test/fixtures/rdfa/0223.xhtml b/core/vendor/easyrdf/easyrdf/test/fixtures/rdfa/0223.xhtml new file mode 100644 index 0000000..7282f9e --- /dev/null +++ b/core/vendor/easyrdf/easyrdf/test/fixtures/rdfa/0223.xhtml @@ -0,0 +1,14 @@ + + + + + Test 0223 + + +
+

Foo

+

Bar

+

Baz

+
+ + \ No newline at end of file diff --git a/core/vendor/easyrdf/easyrdf/test/fixtures/rdfa/0224.nt b/core/vendor/easyrdf/easyrdf/test/fixtures/rdfa/0224.nt new file mode 100644 index 0000000..2f2744d --- /dev/null +++ b/core/vendor/easyrdf/easyrdf/test/fixtures/rdfa/0224.nt @@ -0,0 +1,5 @@ +_:g79290600 . +_:g79290600 . + _:g79463470 . +_:g79463470 _:g79290600 . +_:g79463470 . diff --git a/core/vendor/easyrdf/easyrdf/test/fixtures/rdfa/0224.xhtml b/core/vendor/easyrdf/easyrdf/test/fixtures/rdfa/0224.xhtml new file mode 100644 index 0000000..bf37b41 --- /dev/null +++ b/core/vendor/easyrdf/easyrdf/test/fixtures/rdfa/0224.xhtml @@ -0,0 +1,15 @@ + + + + + Test 0224 + + +
+
    +
  1. Foo
  2. +
  3. Bar
  4. +
+
+ + \ No newline at end of file diff --git a/core/vendor/easyrdf/easyrdf/test/fixtures/rdfa/0225.nt b/core/vendor/easyrdf/easyrdf/test/fixtures/rdfa/0225.nt new file mode 100644 index 0000000..4e0c30c --- /dev/null +++ b/core/vendor/easyrdf/easyrdf/test/fixtures/rdfa/0225.nt @@ -0,0 +1,6 @@ + _:g78613430 . + _:g78521650 . +_:g78613430 . +_:g78613430 "Foo" . +_:g78521650 . +_:g78521650 "Bar" . diff --git a/core/vendor/easyrdf/easyrdf/test/fixtures/rdfa/0225.xhtml b/core/vendor/easyrdf/easyrdf/test/fixtures/rdfa/0225.xhtml new file mode 100644 index 0000000..9e69694 --- /dev/null +++ b/core/vendor/easyrdf/easyrdf/test/fixtures/rdfa/0225.xhtml @@ -0,0 +1,15 @@ + + + + + Test 0225 + + +
+

Foo

+
+
+

Bar

+
+ + \ No newline at end of file diff --git a/core/vendor/easyrdf/easyrdf/test/fixtures/rdfa/0226.nt b/core/vendor/easyrdf/easyrdf/test/fixtures/rdfa/0226.nt new file mode 100644 index 0000000..fc4cda6 --- /dev/null +++ b/core/vendor/easyrdf/easyrdf/test/fixtures/rdfa/0226.nt @@ -0,0 +1,7 @@ + . + _:g78111740 . + _:g78062780 . +_:g78062780 . +_:g78062780 "Bar" . +_:g78111740 . +_:g78111740 "Foo" . diff --git a/core/vendor/easyrdf/easyrdf/test/fixtures/rdfa/0226.xhtml b/core/vendor/easyrdf/easyrdf/test/fixtures/rdfa/0226.xhtml new file mode 100644 index 0000000..895f1cd --- /dev/null +++ b/core/vendor/easyrdf/easyrdf/test/fixtures/rdfa/0226.xhtml @@ -0,0 +1,15 @@ + + + + + Test 0226 + + +
+

Foo

+ +

Bar

+
+
+ + \ No newline at end of file diff --git a/core/vendor/easyrdf/easyrdf/test/fixtures/rdfa/0227.nt b/core/vendor/easyrdf/easyrdf/test/fixtures/rdfa/0227.nt new file mode 100644 index 0000000..de73468 --- /dev/null +++ b/core/vendor/easyrdf/easyrdf/test/fixtures/rdfa/0227.nt @@ -0,0 +1,7 @@ +_:g77829450 . +_:g77829450 "Bar" . + . + _:g77869430 . + _:g77829450 . +_:g77869430 . +_:g77869430 "Foo" . diff --git a/core/vendor/easyrdf/easyrdf/test/fixtures/rdfa/0227.xhtml b/core/vendor/easyrdf/easyrdf/test/fixtures/rdfa/0227.xhtml new file mode 100644 index 0000000..4e4c48d --- /dev/null +++ b/core/vendor/easyrdf/easyrdf/test/fixtures/rdfa/0227.xhtml @@ -0,0 +1,15 @@ + + + + + Test 0227 + + +
+

Foo

+ +

Bar

+
+
+ + \ No newline at end of file diff --git a/core/vendor/easyrdf/easyrdf/test/fixtures/rdfa/0228.nt b/core/vendor/easyrdf/easyrdf/test/fixtures/rdfa/0228.nt new file mode 100644 index 0000000..13d0731 --- /dev/null +++ b/core/vendor/easyrdf/easyrdf/test/fixtures/rdfa/0228.nt @@ -0,0 +1 @@ + . diff --git a/core/vendor/easyrdf/easyrdf/test/fixtures/rdfa/0228.xhtml b/core/vendor/easyrdf/easyrdf/test/fixtures/rdfa/0228.xhtml new file mode 100644 index 0000000..22c734e --- /dev/null +++ b/core/vendor/easyrdf/easyrdf/test/fixtures/rdfa/0228.xhtml @@ -0,0 +1,16 @@ + + + + + Test 0228 + + + +
+ A photo depicting Michael +
+ + \ No newline at end of file diff --git a/core/vendor/easyrdf/easyrdf/test/fixtures/rdfa/0229.nt b/core/vendor/easyrdf/easyrdf/test/fixtures/rdfa/0229.nt new file mode 100644 index 0000000..3f3b8f9 --- /dev/null +++ b/core/vendor/easyrdf/easyrdf/test/fixtures/rdfa/0229.nt @@ -0,0 +1 @@ + . diff --git a/core/vendor/easyrdf/easyrdf/test/fixtures/rdfa/0229.xhtml b/core/vendor/easyrdf/easyrdf/test/fixtures/rdfa/0229.xhtml new file mode 100644 index 0000000..043ba2d --- /dev/null +++ b/core/vendor/easyrdf/easyrdf/test/fixtures/rdfa/0229.xhtml @@ -0,0 +1,14 @@ + + + + + Test 0042 + + +
+ A photo depicting Michael +
+ + \ No newline at end of file diff --git a/core/vendor/easyrdf/easyrdf/test/fixtures/rdfa/0230.nt b/core/vendor/easyrdf/easyrdf/test/fixtures/rdfa/0230.nt new file mode 100644 index 0000000..56c2561 --- /dev/null +++ b/core/vendor/easyrdf/easyrdf/test/fixtures/rdfa/0230.nt @@ -0,0 +1 @@ + . diff --git a/core/vendor/easyrdf/easyrdf/test/fixtures/rdfa/0230.xhtml b/core/vendor/easyrdf/easyrdf/test/fixtures/rdfa/0230.xhtml new file mode 100644 index 0000000..eec1c70 --- /dev/null +++ b/core/vendor/easyrdf/easyrdf/test/fixtures/rdfa/0230.xhtml @@ -0,0 +1,16 @@ + + + + + Test 0230 + + +
+ example image +
+ + \ No newline at end of file diff --git a/core/vendor/easyrdf/easyrdf/test/fixtures/rdfa/0231.nt b/core/vendor/easyrdf/easyrdf/test/fixtures/rdfa/0231.nt new file mode 100644 index 0000000..d902862 --- /dev/null +++ b/core/vendor/easyrdf/easyrdf/test/fixtures/rdfa/0231.nt @@ -0,0 +1 @@ + . diff --git a/core/vendor/easyrdf/easyrdf/test/fixtures/rdfa/0231.xhtml b/core/vendor/easyrdf/easyrdf/test/fixtures/rdfa/0231.xhtml new file mode 100644 index 0000000..16765eb --- /dev/null +++ b/core/vendor/easyrdf/easyrdf/test/fixtures/rdfa/0231.xhtml @@ -0,0 +1,12 @@ + + + + + Test 0231 + + +
+ example image +
+ + \ No newline at end of file diff --git a/core/vendor/easyrdf/easyrdf/test/fixtures/rdfa/0232.nt b/core/vendor/easyrdf/easyrdf/test/fixtures/rdfa/0232.nt new file mode 100644 index 0000000..49b8b36 --- /dev/null +++ b/core/vendor/easyrdf/easyrdf/test/fixtures/rdfa/0232.nt @@ -0,0 +1,3 @@ +_:g77900230 "John Doe" . +_:g77900230 . + _:g77900230 . diff --git a/core/vendor/easyrdf/easyrdf/test/fixtures/rdfa/0232.xhtml b/core/vendor/easyrdf/easyrdf/test/fixtures/rdfa/0232.xhtml new file mode 100644 index 0000000..85b893b --- /dev/null +++ b/core/vendor/easyrdf/easyrdf/test/fixtures/rdfa/0232.xhtml @@ -0,0 +1,12 @@ + + + + + Test 0232 + + +
+

John Doe

+
+ + \ No newline at end of file diff --git a/core/vendor/easyrdf/easyrdf/test/fixtures/rdfa/0233.nt b/core/vendor/easyrdf/easyrdf/test/fixtures/rdfa/0233.nt new file mode 100644 index 0000000..a7d530b --- /dev/null +++ b/core/vendor/easyrdf/easyrdf/test/fixtures/rdfa/0233.nt @@ -0,0 +1,3 @@ + . + "John Doe" . + . diff --git a/core/vendor/easyrdf/easyrdf/test/fixtures/rdfa/0233.xhtml b/core/vendor/easyrdf/easyrdf/test/fixtures/rdfa/0233.xhtml new file mode 100644 index 0000000..4b351fc --- /dev/null +++ b/core/vendor/easyrdf/easyrdf/test/fixtures/rdfa/0233.xhtml @@ -0,0 +1,12 @@ + + + + + Test 0233 + + +
+

John Doe

+
+ + \ No newline at end of file diff --git a/core/vendor/easyrdf/easyrdf/test/fixtures/rdfa/0234.nt b/core/vendor/easyrdf/easyrdf/test/fixtures/rdfa/0234.nt new file mode 100644 index 0000000..61a6e74 --- /dev/null +++ b/core/vendor/easyrdf/easyrdf/test/fixtures/rdfa/0234.nt @@ -0,0 +1,3 @@ + . + . + . diff --git a/core/vendor/easyrdf/easyrdf/test/fixtures/rdfa/0234.xhtml b/core/vendor/easyrdf/easyrdf/test/fixtures/rdfa/0234.xhtml new file mode 100644 index 0000000..3f9879e --- /dev/null +++ b/core/vendor/easyrdf/easyrdf/test/fixtures/rdfa/0234.xhtml @@ -0,0 +1,14 @@ + + + + + Test 0234 + + +

+ describedby + license + role +

+ + \ No newline at end of file diff --git a/core/vendor/easyrdf/easyrdf/test/fixtures/rdfa/0246.nt b/core/vendor/easyrdf/easyrdf/test/fixtures/rdfa/0246.nt new file mode 100644 index 0000000..5d3a6c8 --- /dev/null +++ b/core/vendor/easyrdf/easyrdf/test/fixtures/rdfa/0246.nt @@ -0,0 +1,6 @@ + _:g78602720 . + _:g78539140 . +_:g78539140 "Ivan Herman" . +_:g78539140 . +_:g78602720 "Mark Birbeck" . +_:g78602720 . diff --git a/core/vendor/easyrdf/easyrdf/test/fixtures/rdfa/0246.xhtml b/core/vendor/easyrdf/easyrdf/test/fixtures/rdfa/0246.xhtml new file mode 100644 index 0000000..5d44f28 --- /dev/null +++ b/core/vendor/easyrdf/easyrdf/test/fixtures/rdfa/0246.xhtml @@ -0,0 +1,13 @@ + + + + + Test 0246 + + +
+

Mark Birbeck

+

Ivan Herman

+
+ + \ No newline at end of file diff --git a/core/vendor/easyrdf/easyrdf/test/fixtures/rdfa/0247.nt b/core/vendor/easyrdf/easyrdf/test/fixtures/rdfa/0247.nt new file mode 100644 index 0000000..904a225 --- /dev/null +++ b/core/vendor/easyrdf/easyrdf/test/fixtures/rdfa/0247.nt @@ -0,0 +1,6 @@ +_:g78075450 "Mark Birbeck" . +_:g78075450 . + _:g78112540 . + _:g78075450 . +_:g78112540 "Ivan Herman" . +_:g78112540 . diff --git a/core/vendor/easyrdf/easyrdf/test/fixtures/rdfa/0247.xhtml b/core/vendor/easyrdf/easyrdf/test/fixtures/rdfa/0247.xhtml new file mode 100644 index 0000000..069c0cb --- /dev/null +++ b/core/vendor/easyrdf/easyrdf/test/fixtures/rdfa/0247.xhtml @@ -0,0 +1,14 @@ + + + + + Test 0247 + + +
+

Ivan Herman

+

mailto:ivan@w3.org

+

Mark Birbeck

+
+ + \ No newline at end of file diff --git a/core/vendor/easyrdf/easyrdf/test/fixtures/rdfa/0248.nt b/core/vendor/easyrdf/easyrdf/test/fixtures/rdfa/0248.nt new file mode 100644 index 0000000..418bbbb --- /dev/null +++ b/core/vendor/easyrdf/easyrdf/test/fixtures/rdfa/0248.nt @@ -0,0 +1,6 @@ +_:g77897430 "Ivan Herman" . +_:g77897430 . +_:g77897430 . +_:g77869710 "Mark Birbeck" . +_:g77869710 . +_:g77869710 . diff --git a/core/vendor/easyrdf/easyrdf/test/fixtures/rdfa/0248.xhtml b/core/vendor/easyrdf/easyrdf/test/fixtures/rdfa/0248.xhtml new file mode 100644 index 0000000..0b6100f --- /dev/null +++ b/core/vendor/easyrdf/easyrdf/test/fixtures/rdfa/0248.xhtml @@ -0,0 +1,14 @@ + + + + + Test 0248 + + +
+

Ivan Herman

+

mailto:ivan@w3.org

+

Mark Birbeck

+
+ + \ No newline at end of file diff --git a/core/vendor/easyrdf/easyrdf/test/fixtures/rdfa/0249.nt b/core/vendor/easyrdf/easyrdf/test/fixtures/rdfa/0249.nt new file mode 100644 index 0000000..338440f --- /dev/null +++ b/core/vendor/easyrdf/easyrdf/test/fixtures/rdfa/0249.nt @@ -0,0 +1,8 @@ + _:g77612730 . + _:g77559090 . +_:g77612730 "Ivan Herman" . +_:g77612730 . +_:g77612730 . +_:g77559090 "Mark Birbeck" . +_:g77559090 . +_:g77559090 . diff --git a/core/vendor/easyrdf/easyrdf/test/fixtures/rdfa/0249.xhtml b/core/vendor/easyrdf/easyrdf/test/fixtures/rdfa/0249.xhtml new file mode 100644 index 0000000..dcae239 --- /dev/null +++ b/core/vendor/easyrdf/easyrdf/test/fixtures/rdfa/0249.xhtml @@ -0,0 +1,14 @@ + + + + + Test 0249 + + +
+

Ivan Herman

+

mailto:ivan@w3.org

+

Mark Birbeck

+
+ + \ No newline at end of file diff --git a/core/vendor/easyrdf/easyrdf/test/fixtures/rdfa/0250.nt b/core/vendor/easyrdf/easyrdf/test/fixtures/rdfa/0250.nt new file mode 100644 index 0000000..a30ac96 --- /dev/null +++ b/core/vendor/easyrdf/easyrdf/test/fixtures/rdfa/0250.nt @@ -0,0 +1,2 @@ + "Ivan Herman" . + . diff --git a/core/vendor/easyrdf/easyrdf/test/fixtures/rdfa/0250.xhtml b/core/vendor/easyrdf/easyrdf/test/fixtures/rdfa/0250.xhtml new file mode 100644 index 0000000..87fbaa4 --- /dev/null +++ b/core/vendor/easyrdf/easyrdf/test/fixtures/rdfa/0250.xhtml @@ -0,0 +1,10 @@ + + + + + Test 0250 + + +

Ivan Herman

+ + \ No newline at end of file diff --git a/core/vendor/easyrdf/easyrdf/test/fixtures/rdfa/0251.nt b/core/vendor/easyrdf/easyrdf/test/fixtures/rdfa/0251.nt new file mode 100644 index 0000000..28e5e42 --- /dev/null +++ b/core/vendor/easyrdf/easyrdf/test/fixtures/rdfa/0251.nt @@ -0,0 +1 @@ + "chat"@fr . diff --git a/core/vendor/easyrdf/easyrdf/test/fixtures/rdfa/0251.xhtml b/core/vendor/easyrdf/easyrdf/test/fixtures/rdfa/0251.xhtml new file mode 100644 index 0000000..92b40a7 --- /dev/null +++ b/core/vendor/easyrdf/easyrdf/test/fixtures/rdfa/0251.xhtml @@ -0,0 +1,11 @@ + + + + + Test 251 + + + +

+ + \ No newline at end of file diff --git a/core/vendor/easyrdf/easyrdf/test/fixtures/rdfa/0252.nt b/core/vendor/easyrdf/easyrdf/test/fixtures/rdfa/0252.nt new file mode 100644 index 0000000..28e5e42 --- /dev/null +++ b/core/vendor/easyrdf/easyrdf/test/fixtures/rdfa/0252.nt @@ -0,0 +1 @@ + "chat"@fr . diff --git a/core/vendor/easyrdf/easyrdf/test/fixtures/rdfa/0252.xhtml b/core/vendor/easyrdf/easyrdf/test/fixtures/rdfa/0252.xhtml new file mode 100644 index 0000000..1ba1d97 --- /dev/null +++ b/core/vendor/easyrdf/easyrdf/test/fixtures/rdfa/0252.xhtml @@ -0,0 +1,11 @@ + + + + + Test 0252 + + + +

+ + \ No newline at end of file diff --git a/core/vendor/easyrdf/easyrdf/test/fixtures/rdfa/0253.nt b/core/vendor/easyrdf/easyrdf/test/fixtures/rdfa/0253.nt new file mode 100644 index 0000000..1a5c32d --- /dev/null +++ b/core/vendor/easyrdf/easyrdf/test/fixtures/rdfa/0253.nt @@ -0,0 +1 @@ + "\u03B5\u03BB\u03BB\u03B7\u03BD\u03B9\u03BA\u03CC\n\u03AC\u03C3\u03C0\u03C1\u03BF \u03B4\u03B9\u03AC\u03C3\u03C4\u03B7\u03BC\u03B1\n"@el . diff --git a/core/vendor/easyrdf/easyrdf/test/fixtures/rdfa/0253.xhtml b/core/vendor/easyrdf/easyrdf/test/fixtures/rdfa/0253.xhtml new file mode 100644 index 0000000..1c1023f --- /dev/null +++ b/core/vendor/easyrdf/easyrdf/test/fixtures/rdfa/0253.xhtml @@ -0,0 +1,13 @@ + + + + + Test 0108 + + +

ελληνικό +άσπρο διάστημα +

+ + \ No newline at end of file diff --git a/core/vendor/easyrdf/easyrdf/test/fixtures/rdfa/0254.nt b/core/vendor/easyrdf/easyrdf/test/fixtures/rdfa/0254.nt new file mode 100644 index 0000000..989f53a --- /dev/null +++ b/core/vendor/easyrdf/easyrdf/test/fixtures/rdfa/0254.nt @@ -0,0 +1 @@ + "A plain literal with a lang tag."@en . diff --git a/core/vendor/easyrdf/easyrdf/test/fixtures/rdfa/0254.xhtml b/core/vendor/easyrdf/easyrdf/test/fixtures/rdfa/0254.xhtml new file mode 100644 index 0000000..78be11f --- /dev/null +++ b/core/vendor/easyrdf/easyrdf/test/fixtures/rdfa/0254.xhtml @@ -0,0 +1,11 @@ + + + + + Test 0254 + + + +

A plain literal with a lang tag.

+ + \ No newline at end of file diff --git a/core/vendor/easyrdf/easyrdf/test/fixtures/rdfa/0255.nt b/core/vendor/easyrdf/easyrdf/test/fixtures/rdfa/0255.nt new file mode 100644 index 0000000..fcecb33 --- /dev/null +++ b/core/vendor/easyrdf/easyrdf/test/fixtures/rdfa/0255.nt @@ -0,0 +1 @@ + "Just a plain literal." . diff --git a/core/vendor/easyrdf/easyrdf/test/fixtures/rdfa/0255.xhtml b/core/vendor/easyrdf/easyrdf/test/fixtures/rdfa/0255.xhtml new file mode 100644 index 0000000..e3e6d78 --- /dev/null +++ b/core/vendor/easyrdf/easyrdf/test/fixtures/rdfa/0255.xhtml @@ -0,0 +1,11 @@ + + + + + Test 0255 + + + +

Just a plain literal.

+ + \ No newline at end of file diff --git a/core/vendor/easyrdf/easyrdf/test/fixtures/rdfa/0256.nt b/core/vendor/easyrdf/easyrdf/test/fixtures/rdfa/0256.nt new file mode 100644 index 0000000..28e5e42 --- /dev/null +++ b/core/vendor/easyrdf/easyrdf/test/fixtures/rdfa/0256.nt @@ -0,0 +1 @@ + "chat"@fr . diff --git a/core/vendor/easyrdf/easyrdf/test/fixtures/rdfa/0256.xhtml b/core/vendor/easyrdf/easyrdf/test/fixtures/rdfa/0256.xhtml new file mode 100644 index 0000000..157880f --- /dev/null +++ b/core/vendor/easyrdf/easyrdf/test/fixtures/rdfa/0256.xhtml @@ -0,0 +1,11 @@ + + + + + Test 0256 + + + +

+ + \ No newline at end of file diff --git a/core/vendor/easyrdf/easyrdf/test/fixtures/rdfa/0257.nt b/core/vendor/easyrdf/easyrdf/test/fixtures/rdfa/0257.nt new file mode 100644 index 0000000..4d05da0 --- /dev/null +++ b/core/vendor/easyrdf/easyrdf/test/fixtures/rdfa/0257.nt @@ -0,0 +1 @@ + "" . diff --git a/core/vendor/easyrdf/easyrdf/test/fixtures/rdfa/0257.xhtml b/core/vendor/easyrdf/easyrdf/test/fixtures/rdfa/0257.xhtml new file mode 100644 index 0000000..3b5407d --- /dev/null +++ b/core/vendor/easyrdf/easyrdf/test/fixtures/rdfa/0257.xhtml @@ -0,0 +1,10 @@ + + + + + Test 0257 + + + + + \ No newline at end of file diff --git a/core/vendor/easyrdf/easyrdf/test/fixtures/rdfa/0258.nt b/core/vendor/easyrdf/easyrdf/test/fixtures/rdfa/0258.nt new file mode 100644 index 0000000..e0e1539 --- /dev/null +++ b/core/vendor/easyrdf/easyrdf/test/fixtures/rdfa/0258.nt @@ -0,0 +1 @@ + _:test . diff --git a/core/vendor/easyrdf/easyrdf/test/fixtures/rdfa/0258.xhtml b/core/vendor/easyrdf/easyrdf/test/fixtures/rdfa/0258.xhtml new file mode 100644 index 0000000..ffce955 --- /dev/null +++ b/core/vendor/easyrdf/easyrdf/test/fixtures/rdfa/0258.xhtml @@ -0,0 +1,14 @@ + + + + + Undescore Prefix is Ignored Test + + +

Ensure that the "_" prefix is ignored.

+

Test

+ + \ No newline at end of file diff --git a/core/vendor/easyrdf/easyrdf/test/fixtures/rdfa/0259.nt b/core/vendor/easyrdf/easyrdf/test/fixtures/rdfa/0259.nt new file mode 100644 index 0000000..f29378a --- /dev/null +++ b/core/vendor/easyrdf/easyrdf/test/fixtures/rdfa/0259.nt @@ -0,0 +1,31 @@ + "RDFa" . + "VOID" . + "CTAG" . + "Role" . + "OWL" . + "XHV" . + "CC" . + "SIOC" . + "RDF" . + "RDFS" . + "WDR" . + "FOAF" . + "GR" . + "DescribedBy" . + "RIF" . + "License" . + "XML" . + "XSD" . + "VCARD" . + "GRDDL" . + "V" . + "MA" . + "SKOS-XL" . + "ICAL" . + "SKOS" . + "WDRS" . + "DC" . + "DCTERMS" . + "OG" . + "Schema" . + "REV" . diff --git a/core/vendor/easyrdf/easyrdf/test/fixtures/rdfa/0259.xhtml b/core/vendor/easyrdf/easyrdf/test/fixtures/rdfa/0259.xhtml new file mode 100644 index 0000000..cefb340 --- /dev/null +++ b/core/vendor/easyrdf/easyrdf/test/fixtures/rdfa/0259.xhtml @@ -0,0 +1,48 @@ + + + + + Test 0259 + + +
+ Vocabulary Prefixes + GRDDL + MA + OWL + RDF + RDFa + RDFS + RIF + SKOS + SKOS-XL + WDR + VOID + WDRS + XHV + XML + XSD +
+
+ Widely Used prefixes + CC + CTAG + DC + DCTERMS + FOAF + GR + ICAL + OG + REV + SIOC + V + VCARD + Schema +
+
+ Vocabulary Terms + DescribedBy + License + Role +
+ \ No newline at end of file diff --git a/core/vendor/easyrdf/easyrdf/test/fixtures/rdfa/0261.nt b/core/vendor/easyrdf/easyrdf/test/fixtures/rdfa/0261.nt new file mode 100644 index 0000000..fd1f0cd --- /dev/null +++ b/core/vendor/easyrdf/easyrdf/test/fixtures/rdfa/0261.nt @@ -0,0 +1 @@ + "This is\nan XMLLiteral"^^ . diff --git a/core/vendor/easyrdf/easyrdf/test/fixtures/rdfa/0261.xhtml b/core/vendor/easyrdf/easyrdf/test/fixtures/rdfa/0261.xhtml new file mode 100644 index 0000000..d03ccbe --- /dev/null +++ b/core/vendor/easyrdf/easyrdf/test/fixtures/rdfa/0261.xhtml @@ -0,0 +1,14 @@ + + + + + Test 0261 + + +
+

This is +an XMLLiteral

+
+ + \ No newline at end of file diff --git a/core/vendor/easyrdf/easyrdf/test/fixtures/rdfa/0262.nt b/core/vendor/easyrdf/easyrdf/test/fixtures/rdfa/0262.nt new file mode 100644 index 0000000..4564334 --- /dev/null +++ b/core/vendor/easyrdf/easyrdf/test/fixtures/rdfa/0262.nt @@ -0,0 +1 @@ + "Mark Birbeck" . diff --git a/core/vendor/easyrdf/easyrdf/test/fixtures/rdfa/0262.xhtml b/core/vendor/easyrdf/easyrdf/test/fixtures/rdfa/0262.xhtml new file mode 100644 index 0000000..fc52664 --- /dev/null +++ b/core/vendor/easyrdf/easyrdf/test/fixtures/rdfa/0262.xhtml @@ -0,0 +1,11 @@ + + + + + Test 0262 + + +

This photo was taken by Mark Birbeck.

+ + \ No newline at end of file diff --git a/core/vendor/easyrdf/easyrdf/test/fixtures/rdfa/0263.nt b/core/vendor/easyrdf/easyrdf/test/fixtures/rdfa/0263.nt new file mode 100644 index 0000000..3767daa --- /dev/null +++ b/core/vendor/easyrdf/easyrdf/test/fixtures/rdfa/0263.nt @@ -0,0 +1 @@ + . diff --git a/core/vendor/easyrdf/easyrdf/test/fixtures/rdfa/0263.xhtml b/core/vendor/easyrdf/easyrdf/test/fixtures/rdfa/0263.xhtml new file mode 100644 index 0000000..24bb154 --- /dev/null +++ b/core/vendor/easyrdf/easyrdf/test/fixtures/rdfa/0263.xhtml @@ -0,0 +1,10 @@ + + + + + Test 0263 + + +

+ + \ No newline at end of file diff --git a/core/vendor/easyrdf/easyrdf/test/fixtures/rdfa/0264.nt b/core/vendor/easyrdf/easyrdf/test/fixtures/rdfa/0264.nt new file mode 100644 index 0000000..e5d1ecc --- /dev/null +++ b/core/vendor/easyrdf/easyrdf/test/fixtures/rdfa/0264.nt @@ -0,0 +1 @@ + . diff --git a/core/vendor/easyrdf/easyrdf/test/fixtures/rdfa/0264.xhtml b/core/vendor/easyrdf/easyrdf/test/fixtures/rdfa/0264.xhtml new file mode 100644 index 0000000..99cc2a5 --- /dev/null +++ b/core/vendor/easyrdf/easyrdf/test/fixtures/rdfa/0264.xhtml @@ -0,0 +1,10 @@ + + + + + Test 0264 + + +

+ + \ No newline at end of file diff --git a/core/vendor/easyrdf/easyrdf/test/fixtures/rdfa/0265.nt b/core/vendor/easyrdf/easyrdf/test/fixtures/rdfa/0265.nt new file mode 100644 index 0000000..b3b6e75 --- /dev/null +++ b/core/vendor/easyrdf/easyrdf/test/fixtures/rdfa/0265.nt @@ -0,0 +1 @@ + . diff --git a/core/vendor/easyrdf/easyrdf/test/fixtures/rdfa/0265.xhtml b/core/vendor/easyrdf/easyrdf/test/fixtures/rdfa/0265.xhtml new file mode 100644 index 0000000..d314d74 --- /dev/null +++ b/core/vendor/easyrdf/easyrdf/test/fixtures/rdfa/0265.xhtml @@ -0,0 +1,10 @@ + + + + + Test 0265 + + +

+ + \ No newline at end of file diff --git a/core/vendor/easyrdf/easyrdf/test/fixtures/rdfa/0266.nt b/core/vendor/easyrdf/easyrdf/test/fixtures/rdfa/0266.nt new file mode 100644 index 0000000..5359da3 --- /dev/null +++ b/core/vendor/easyrdf/easyrdf/test/fixtures/rdfa/0266.nt @@ -0,0 +1,2 @@ + . + . diff --git a/core/vendor/easyrdf/easyrdf/test/fixtures/rdfa/0266.xhtml b/core/vendor/easyrdf/easyrdf/test/fixtures/rdfa/0266.xhtml new file mode 100644 index 0000000..d6d1220 --- /dev/null +++ b/core/vendor/easyrdf/easyrdf/test/fixtures/rdfa/0266.xhtml @@ -0,0 +1,12 @@ + + + + + Test 0266 + + + + + \ No newline at end of file diff --git a/core/vendor/easyrdf/easyrdf/test/fixtures/rdfa/0267.nt b/core/vendor/easyrdf/easyrdf/test/fixtures/rdfa/0267.nt new file mode 100644 index 0000000..5359da3 --- /dev/null +++ b/core/vendor/easyrdf/easyrdf/test/fixtures/rdfa/0267.nt @@ -0,0 +1,2 @@ + . + . diff --git a/core/vendor/easyrdf/easyrdf/test/fixtures/rdfa/0267.xhtml b/core/vendor/easyrdf/easyrdf/test/fixtures/rdfa/0267.xhtml new file mode 100644 index 0000000..239ff3f --- /dev/null +++ b/core/vendor/easyrdf/easyrdf/test/fixtures/rdfa/0267.xhtml @@ -0,0 +1,12 @@ + + + + + Test 0267 + + +
+

Ivan Herman

+
+ + \ No newline at end of file diff --git a/core/vendor/easyrdf/easyrdf/test/fixtures/rdfa/0268.nt b/core/vendor/easyrdf/easyrdf/test/fixtures/rdfa/0268.nt new file mode 100644 index 0000000..b7717b5 --- /dev/null +++ b/core/vendor/easyrdf/easyrdf/test/fixtures/rdfa/0268.nt @@ -0,0 +1,2 @@ + . + . diff --git a/core/vendor/easyrdf/easyrdf/test/fixtures/rdfa/0268.xhtml b/core/vendor/easyrdf/easyrdf/test/fixtures/rdfa/0268.xhtml new file mode 100644 index 0000000..b742eca --- /dev/null +++ b/core/vendor/easyrdf/easyrdf/test/fixtures/rdfa/0268.xhtml @@ -0,0 +1,12 @@ + + + + + Test 0268 + + +
+ +
+ + \ No newline at end of file diff --git a/core/vendor/easyrdf/easyrdf/test/fixtures/rdfa/0269.nt b/core/vendor/easyrdf/easyrdf/test/fixtures/rdfa/0269.nt new file mode 100644 index 0000000..c55b357 --- /dev/null +++ b/core/vendor/easyrdf/easyrdf/test/fixtures/rdfa/0269.nt @@ -0,0 +1 @@ + "This is an RDFa test" . diff --git a/core/vendor/easyrdf/easyrdf/test/fixtures/rdfa/0269.xhtml b/core/vendor/easyrdf/easyrdf/test/fixtures/rdfa/0269.xhtml new file mode 100644 index 0000000..a489b9c --- /dev/null +++ b/core/vendor/easyrdf/easyrdf/test/fixtures/rdfa/0269.xhtml @@ -0,0 +1,10 @@ + + + + + Test 0269 + + +

+ + \ No newline at end of file diff --git a/core/vendor/easyrdf/easyrdf/test/fixtures/rdfa/0271.nt b/core/vendor/easyrdf/easyrdf/test/fixtures/rdfa/0271.nt new file mode 100644 index 0000000..df36453 --- /dev/null +++ b/core/vendor/easyrdf/easyrdf/test/fixtures/rdfa/0271.nt @@ -0,0 +1 @@ + "This is an RDFa test" . diff --git a/core/vendor/easyrdf/easyrdf/test/fixtures/rdfa/0271.xhtml b/core/vendor/easyrdf/easyrdf/test/fixtures/rdfa/0271.xhtml new file mode 100644 index 0000000..31fb650 --- /dev/null +++ b/core/vendor/easyrdf/easyrdf/test/fixtures/rdfa/0271.xhtml @@ -0,0 +1,10 @@ + + + + + Test 0269 + + +

+ + \ No newline at end of file diff --git a/core/vendor/easyrdf/easyrdf/test/fixtures/rdfa/0272.nt b/core/vendor/easyrdf/easyrdf/test/fixtures/rdfa/0272.nt new file mode 100644 index 0000000..4a0337d --- /dev/null +++ b/core/vendor/easyrdf/easyrdf/test/fixtures/rdfa/0272.nt @@ -0,0 +1 @@ + "2012-03-18Z"^^ . diff --git a/core/vendor/easyrdf/easyrdf/test/fixtures/rdfa/0272.xhtml b/core/vendor/easyrdf/easyrdf/test/fixtures/rdfa/0272.xhtml new file mode 100644 index 0000000..168ee57 --- /dev/null +++ b/core/vendor/easyrdf/easyrdf/test/fixtures/rdfa/0272.xhtml @@ -0,0 +1,10 @@ + + + + + Test 0272 + + + + + \ No newline at end of file diff --git a/core/vendor/easyrdf/easyrdf/test/fixtures/rdfa/0273.nt b/core/vendor/easyrdf/easyrdf/test/fixtures/rdfa/0273.nt new file mode 100644 index 0000000..afa3fe5 --- /dev/null +++ b/core/vendor/easyrdf/easyrdf/test/fixtures/rdfa/0273.nt @@ -0,0 +1 @@ + "00:00:00Z"^^ . diff --git a/core/vendor/easyrdf/easyrdf/test/fixtures/rdfa/0273.xhtml b/core/vendor/easyrdf/easyrdf/test/fixtures/rdfa/0273.xhtml new file mode 100644 index 0000000..277dfe2 --- /dev/null +++ b/core/vendor/easyrdf/easyrdf/test/fixtures/rdfa/0273.xhtml @@ -0,0 +1,10 @@ + + + + + Test 0273 + + + + + \ No newline at end of file diff --git a/core/vendor/easyrdf/easyrdf/test/fixtures/rdfa/0274.nt b/core/vendor/easyrdf/easyrdf/test/fixtures/rdfa/0274.nt new file mode 100644 index 0000000..ebcf77a --- /dev/null +++ b/core/vendor/easyrdf/easyrdf/test/fixtures/rdfa/0274.nt @@ -0,0 +1 @@ + "2012-03-18T00:00:00Z"^^ . diff --git a/core/vendor/easyrdf/easyrdf/test/fixtures/rdfa/0274.xhtml b/core/vendor/easyrdf/easyrdf/test/fixtures/rdfa/0274.xhtml new file mode 100644 index 0000000..3099d07 --- /dev/null +++ b/core/vendor/easyrdf/easyrdf/test/fixtures/rdfa/0274.xhtml @@ -0,0 +1,10 @@ + + + + + Test 0274 + + + + + \ No newline at end of file diff --git a/core/vendor/easyrdf/easyrdf/test/fixtures/rdfa/0275.nt b/core/vendor/easyrdf/easyrdf/test/fixtures/rdfa/0275.nt new file mode 100644 index 0000000..169e440 --- /dev/null +++ b/core/vendor/easyrdf/easyrdf/test/fixtures/rdfa/0275.nt @@ -0,0 +1 @@ + "2012-03-18Z"^^ . diff --git a/core/vendor/easyrdf/easyrdf/test/fixtures/rdfa/0275.xhtml b/core/vendor/easyrdf/easyrdf/test/fixtures/rdfa/0275.xhtml new file mode 100644 index 0000000..a92ad76 --- /dev/null +++ b/core/vendor/easyrdf/easyrdf/test/fixtures/rdfa/0275.xhtml @@ -0,0 +1,10 @@ + + + + + Test 0275 + + + + + \ No newline at end of file diff --git a/core/vendor/easyrdf/easyrdf/test/fixtures/rdfa/0276.nt b/core/vendor/easyrdf/easyrdf/test/fixtures/rdfa/0276.nt new file mode 100644 index 0000000..8fe985e --- /dev/null +++ b/core/vendor/easyrdf/easyrdf/test/fixtures/rdfa/0276.nt @@ -0,0 +1 @@ + "00:00:00Z"^^ . diff --git a/core/vendor/easyrdf/easyrdf/test/fixtures/rdfa/0276.xhtml b/core/vendor/easyrdf/easyrdf/test/fixtures/rdfa/0276.xhtml new file mode 100644 index 0000000..8063bd9 --- /dev/null +++ b/core/vendor/easyrdf/easyrdf/test/fixtures/rdfa/0276.xhtml @@ -0,0 +1,10 @@ + + + + + Test 0275 + + + + + \ No newline at end of file diff --git a/core/vendor/easyrdf/easyrdf/test/fixtures/rdfa/0277.nt b/core/vendor/easyrdf/easyrdf/test/fixtures/rdfa/0277.nt new file mode 100644 index 0000000..aec21b2 --- /dev/null +++ b/core/vendor/easyrdf/easyrdf/test/fixtures/rdfa/0277.nt @@ -0,0 +1 @@ + "2012-03-18T00:00:00Z"^^ . diff --git a/core/vendor/easyrdf/easyrdf/test/fixtures/rdfa/0277.xhtml b/core/vendor/easyrdf/easyrdf/test/fixtures/rdfa/0277.xhtml new file mode 100644 index 0000000..cade4c0 --- /dev/null +++ b/core/vendor/easyrdf/easyrdf/test/fixtures/rdfa/0277.xhtml @@ -0,0 +1,10 @@ + + + + + Test 0277 + + + + + \ No newline at end of file diff --git a/core/vendor/easyrdf/easyrdf/test/fixtures/rdfa/0278.nt b/core/vendor/easyrdf/easyrdf/test/fixtures/rdfa/0278.nt new file mode 100644 index 0000000..3e4669c --- /dev/null +++ b/core/vendor/easyrdf/easyrdf/test/fixtures/rdfa/0278.nt @@ -0,0 +1 @@ + "2012-03-18"^^ . diff --git a/core/vendor/easyrdf/easyrdf/test/fixtures/rdfa/0278.xhtml b/core/vendor/easyrdf/easyrdf/test/fixtures/rdfa/0278.xhtml new file mode 100644 index 0000000..c91f300 --- /dev/null +++ b/core/vendor/easyrdf/easyrdf/test/fixtures/rdfa/0278.xhtml @@ -0,0 +1,10 @@ + + + + + Test 0278 + + + + + \ No newline at end of file diff --git a/core/vendor/easyrdf/easyrdf/test/fixtures/rdfa/0279.nt b/core/vendor/easyrdf/easyrdf/test/fixtures/rdfa/0279.nt new file mode 100644 index 0000000..4afc312 --- /dev/null +++ b/core/vendor/easyrdf/easyrdf/test/fixtures/rdfa/0279.nt @@ -0,0 +1 @@ + "2012-03-18T00:00:00Z"^^ . diff --git a/core/vendor/easyrdf/easyrdf/test/fixtures/rdfa/0279.xhtml b/core/vendor/easyrdf/easyrdf/test/fixtures/rdfa/0279.xhtml new file mode 100644 index 0000000..74f0583 --- /dev/null +++ b/core/vendor/easyrdf/easyrdf/test/fixtures/rdfa/0279.xhtml @@ -0,0 +1,10 @@ + + + + + Test 0279 + + + + + \ No newline at end of file diff --git a/core/vendor/easyrdf/easyrdf/test/fixtures/rdfa/0280.nt b/core/vendor/easyrdf/easyrdf/test/fixtures/rdfa/0280.nt new file mode 100644 index 0000000..4587a43 --- /dev/null +++ b/core/vendor/easyrdf/easyrdf/test/fixtures/rdfa/0280.nt @@ -0,0 +1 @@ + "P2011Y06M28DT00H00M00S"^^ . diff --git a/core/vendor/easyrdf/easyrdf/test/fixtures/rdfa/0280.xhtml b/core/vendor/easyrdf/easyrdf/test/fixtures/rdfa/0280.xhtml new file mode 100644 index 0000000..9ed1333 --- /dev/null +++ b/core/vendor/easyrdf/easyrdf/test/fixtures/rdfa/0280.xhtml @@ -0,0 +1,10 @@ + + + + + Test 0280 + + + + + \ No newline at end of file diff --git a/core/vendor/easyrdf/easyrdf/test/fixtures/rdfa/0281.nt b/core/vendor/easyrdf/easyrdf/test/fixtures/rdfa/0281.nt new file mode 100644 index 0000000..d32a323 --- /dev/null +++ b/core/vendor/easyrdf/easyrdf/test/fixtures/rdfa/0281.nt @@ -0,0 +1 @@ + "2012"^^ . diff --git a/core/vendor/easyrdf/easyrdf/test/fixtures/rdfa/0281.xhtml b/core/vendor/easyrdf/easyrdf/test/fixtures/rdfa/0281.xhtml new file mode 100644 index 0000000..98cd8d3 --- /dev/null +++ b/core/vendor/easyrdf/easyrdf/test/fixtures/rdfa/0281.xhtml @@ -0,0 +1,10 @@ + + + + + Test 0281 + + + + + \ No newline at end of file diff --git a/core/vendor/easyrdf/easyrdf/test/fixtures/rdfa/0282.nt b/core/vendor/easyrdf/easyrdf/test/fixtures/rdfa/0282.nt new file mode 100644 index 0000000..1133ef5 --- /dev/null +++ b/core/vendor/easyrdf/easyrdf/test/fixtures/rdfa/0282.nt @@ -0,0 +1 @@ + "2012-03"^^ . diff --git a/core/vendor/easyrdf/easyrdf/test/fixtures/rdfa/0282.xhtml b/core/vendor/easyrdf/easyrdf/test/fixtures/rdfa/0282.xhtml new file mode 100644 index 0000000..6cde4e4 --- /dev/null +++ b/core/vendor/easyrdf/easyrdf/test/fixtures/rdfa/0282.xhtml @@ -0,0 +1,10 @@ + + + + + Test 0282 + + + + + \ No newline at end of file diff --git a/core/vendor/easyrdf/easyrdf/test/fixtures/rdfa/0283.nt b/core/vendor/easyrdf/easyrdf/test/fixtures/rdfa/0283.nt new file mode 100644 index 0000000..40f8186 --- /dev/null +++ b/core/vendor/easyrdf/easyrdf/test/fixtures/rdfa/0283.nt @@ -0,0 +1 @@ + " 2012-03-18Z" . diff --git a/core/vendor/easyrdf/easyrdf/test/fixtures/rdfa/0283.xhtml b/core/vendor/easyrdf/easyrdf/test/fixtures/rdfa/0283.xhtml new file mode 100644 index 0000000..52e08ba --- /dev/null +++ b/core/vendor/easyrdf/easyrdf/test/fixtures/rdfa/0283.xhtml @@ -0,0 +1,10 @@ + + + + + Test 0283 + + + + + \ No newline at end of file diff --git a/core/vendor/easyrdf/easyrdf/test/fixtures/rdfa/0284.nt b/core/vendor/easyrdf/easyrdf/test/fixtures/rdfa/0284.nt new file mode 100644 index 0000000..1a58941 --- /dev/null +++ b/core/vendor/easyrdf/easyrdf/test/fixtures/rdfa/0284.nt @@ -0,0 +1 @@ + " 2012-03-18Z"^^ . diff --git a/core/vendor/easyrdf/easyrdf/test/fixtures/rdfa/0284.xhtml b/core/vendor/easyrdf/easyrdf/test/fixtures/rdfa/0284.xhtml new file mode 100644 index 0000000..c2fc319 --- /dev/null +++ b/core/vendor/easyrdf/easyrdf/test/fixtures/rdfa/0284.xhtml @@ -0,0 +1,10 @@ + + + + + Test 0284 + + + + + \ No newline at end of file diff --git a/core/vendor/easyrdf/easyrdf/test/fixtures/rdfa/0285.nt b/core/vendor/easyrdf/easyrdf/test/fixtures/rdfa/0285.nt new file mode 100644 index 0000000..592a3a0 --- /dev/null +++ b/core/vendor/easyrdf/easyrdf/test/fixtures/rdfa/0285.nt @@ -0,0 +1 @@ + "D-Day"@en . diff --git a/core/vendor/easyrdf/easyrdf/test/fixtures/rdfa/0285.xhtml b/core/vendor/easyrdf/easyrdf/test/fixtures/rdfa/0285.xhtml new file mode 100644 index 0000000..6f46e6b --- /dev/null +++ b/core/vendor/easyrdf/easyrdf/test/fixtures/rdfa/0285.xhtml @@ -0,0 +1,12 @@ + + + + + Test 0285 + + + + + \ No newline at end of file diff --git a/core/vendor/easyrdf/easyrdf/test/fixtures/rdfa/0286.nt b/core/vendor/easyrdf/easyrdf/test/fixtures/rdfa/0286.nt new file mode 100644 index 0000000..4a53556 --- /dev/null +++ b/core/vendor/easyrdf/easyrdf/test/fixtures/rdfa/0286.nt @@ -0,0 +1 @@ + "veni, vidi, vici"@lat . diff --git a/core/vendor/easyrdf/easyrdf/test/fixtures/rdfa/0286.xhtml b/core/vendor/easyrdf/easyrdf/test/fixtures/rdfa/0286.xhtml new file mode 100644 index 0000000..316eda6 --- /dev/null +++ b/core/vendor/easyrdf/easyrdf/test/fixtures/rdfa/0286.xhtml @@ -0,0 +1,12 @@ + + + + + Test 0286 + + + + @value overrides @content in the 'data' element. + + + \ No newline at end of file diff --git a/core/vendor/easyrdf/easyrdf/test/fixtures/rdfa/0287.nt b/core/vendor/easyrdf/easyrdf/test/fixtures/rdfa/0287.nt new file mode 100644 index 0000000..5855fe2 --- /dev/null +++ b/core/vendor/easyrdf/easyrdf/test/fixtures/rdfa/0287.nt @@ -0,0 +1 @@ + "2012-03-18T00:00:00-08:00"^^ . diff --git a/core/vendor/easyrdf/easyrdf/test/fixtures/rdfa/0287.xhtml b/core/vendor/easyrdf/easyrdf/test/fixtures/rdfa/0287.xhtml new file mode 100644 index 0000000..3aa1bcb --- /dev/null +++ b/core/vendor/easyrdf/easyrdf/test/fixtures/rdfa/0287.xhtml @@ -0,0 +1,10 @@ + + + + + Test 0287 + + + + + \ No newline at end of file diff --git a/core/vendor/easyrdf/easyrdf/test/fixtures/rdfa/0289.nt b/core/vendor/easyrdf/easyrdf/test/fixtures/rdfa/0289.nt new file mode 100644 index 0000000..62f3f64 --- /dev/null +++ b/core/vendor/easyrdf/easyrdf/test/fixtures/rdfa/0289.nt @@ -0,0 +1 @@ + "value" . diff --git a/core/vendor/easyrdf/easyrdf/test/fixtures/rdfa/0289.xhtml b/core/vendor/easyrdf/easyrdf/test/fixtures/rdfa/0289.xhtml new file mode 100644 index 0000000..1afbbc2 --- /dev/null +++ b/core/vendor/easyrdf/easyrdf/test/fixtures/rdfa/0289.xhtml @@ -0,0 +1,11 @@ + + + + + Test 0289 + + +

@href becomes subject when @property and @content are present

+ ignored + + \ No newline at end of file diff --git a/core/vendor/easyrdf/easyrdf/test/fixtures/rdfa/0290.nt b/core/vendor/easyrdf/easyrdf/test/fixtures/rdfa/0290.nt new file mode 100644 index 0000000..62f3f64 --- /dev/null +++ b/core/vendor/easyrdf/easyrdf/test/fixtures/rdfa/0290.nt @@ -0,0 +1 @@ + "value" . diff --git a/core/vendor/easyrdf/easyrdf/test/fixtures/rdfa/0290.xhtml b/core/vendor/easyrdf/easyrdf/test/fixtures/rdfa/0290.xhtml new file mode 100644 index 0000000..814f7ab --- /dev/null +++ b/core/vendor/easyrdf/easyrdf/test/fixtures/rdfa/0290.xhtml @@ -0,0 +1,11 @@ + + + + + Test 0290 + + +

@href becomes subject when @property and @datatype are present

+ value + + \ No newline at end of file diff --git a/core/vendor/easyrdf/easyrdf/test/fixtures/rdfa/0291.nt b/core/vendor/easyrdf/easyrdf/test/fixtures/rdfa/0291.nt new file mode 100644 index 0000000..678f4b7 --- /dev/null +++ b/core/vendor/easyrdf/easyrdf/test/fixtures/rdfa/0291.nt @@ -0,0 +1 @@ + "value" . diff --git a/core/vendor/easyrdf/easyrdf/test/fixtures/rdfa/0291.xhtml b/core/vendor/easyrdf/easyrdf/test/fixtures/rdfa/0291.xhtml new file mode 100644 index 0000000..2686ab9 --- /dev/null +++ b/core/vendor/easyrdf/easyrdf/test/fixtures/rdfa/0291.xhtml @@ -0,0 +1,11 @@ + + + + + Test 0291 + + +

@href as subject overridden by @about

+ ignored + + \ No newline at end of file diff --git a/core/vendor/easyrdf/easyrdf/test/fixtures/rdfa/0292.nt b/core/vendor/easyrdf/easyrdf/test/fixtures/rdfa/0292.nt new file mode 100644 index 0000000..ca3f2fa --- /dev/null +++ b/core/vendor/easyrdf/easyrdf/test/fixtures/rdfa/0292.nt @@ -0,0 +1,2 @@ + "value one" . + "value two" . diff --git a/core/vendor/easyrdf/easyrdf/test/fixtures/rdfa/0292.xhtml b/core/vendor/easyrdf/easyrdf/test/fixtures/rdfa/0292.xhtml new file mode 100644 index 0000000..a67a671 --- /dev/null +++ b/core/vendor/easyrdf/easyrdf/test/fixtures/rdfa/0292.xhtml @@ -0,0 +1,13 @@ + + + + + Test 0292 + + +

@about overriding @href as subject is used as parent resource

+ + value two + + + \ No newline at end of file diff --git a/core/vendor/easyrdf/easyrdf/test/fixtures/rdfa/0293.nt b/core/vendor/easyrdf/easyrdf/test/fixtures/rdfa/0293.nt new file mode 100644 index 0000000..9cfff38 --- /dev/null +++ b/core/vendor/easyrdf/easyrdf/test/fixtures/rdfa/0293.nt @@ -0,0 +1 @@ + "Test" . diff --git a/core/vendor/easyrdf/easyrdf/test/fixtures/rdfa/0293.xhtml b/core/vendor/easyrdf/easyrdf/test/fixtures/rdfa/0293.xhtml new file mode 100644 index 0000000..ba2622e --- /dev/null +++ b/core/vendor/easyrdf/easyrdf/test/fixtures/rdfa/0293.xhtml @@ -0,0 +1,13 @@ + + + + + Test 0293 + + +

Testing the ':' character usage in a CURIE

+
+

Test

+
+ + \ No newline at end of file diff --git a/core/vendor/easyrdf/easyrdf/test/fixtures/rdfa/0295.nt b/core/vendor/easyrdf/easyrdf/test/fixtures/rdfa/0295.nt new file mode 100644 index 0000000..9470c31 --- /dev/null +++ b/core/vendor/easyrdf/easyrdf/test/fixtures/rdfa/0295.nt @@ -0,0 +1,308 @@ + . + . +_:g91336410 "Ivan Herman" . +_:g91336410 . +_:g91336410 . +_:g90978840 _:g90913350 . +_:g90978840 . + "A particular agent" . + . +_:g91036640 "John Doe" . +_:g91036640 . +_: "Dan Brickley" . +_: . +_:michael . +_:michael . +_:g90913350 _:g91379370 . +_:g90913350 "Foo" . +_:g90991410 _:g90978840 . +_:g90991410 . + _:g90984140 . + . + . + . + _:g91393080 . + _:g91366010 . + _:g91336410 . + _:g91305190 . + _: . + . + "Manu Sporny" . + "Portrait of Mark" . + "Mark Birbeck" . + . + "E = mc2: The Most Urgent Problem of Our Time" . + "Dan Brickley" . + . + . +_:g91181100 "Ben Adida" . + "\n We put thirty spokes together and call it a wheel;\n But it is on the space where there is nothing that the usefulness of the wheel depends.\n We turn clay to make a vessel;\n But it is on the space where there is nothing that the usefulness of the vessel depends.\n We pierce doors and windows to make a house;\n And it is on these spaces where there is nothing that the usefulness of the house depends.\n Therefore just as we take advantage of what is, we should recognize the usefulness of what is not.\n\n Lao Tzu: Tao Te Ching" . + . + . +_:g91088720 _:g91077100 . +_:g91088720 . +_:g91393080 "Ivan Herman" . +_:g91393080 "Mark Birbeck" . +_:g91393080 . +_:g91393080 . +_:g91366540 . +_:g91366540 "Bar" . + "Weekend off in Iona" . + "2006-10-21"^^ . + . + "2006-10-23"^^ . + . + "Iona, UK" . +_:g91379370 . +_:g91379370 "Foo" . + "Mark Birbeck"^^ . + "Mark" . + "Birbeck" . + . + "John Doe" . + _:g91053130 . + . + . + "John Doe" . + "value" . + "value one" . + "value two" . +_:a "Manu Sporny" . +_:a _:b . +_:g91404000 . + "Ivan Herman" . + "Iv\u00E1n" . + . + . +_:g90970690 . +_:g91108800 _:g91088720 . +_:g91108800 "Foo" . +_:b "Ralph Swick" . + . + . + _:g90954040 . + . + "This is a plain literal" . + "Test" . + "This is an XMLLiteral"^^ . + . +_:g91027920 _:g91015140 . +_:g91027920 "Foo" . + "Example FAQ" . + . + "My article" . + . + . + "10"^^ . + "Mark Birbeck"^^ . +_:g91366010 "Ivan Herman" . +_:g91366010 . +_:g90998370 _:g90995150 . + "Fabien Gandon" . + "\u03B5\u03BB\u03BB\u03B7\u03BD\u03B9\u03BA\u03CC\n\u03AC\u03C3\u03C0\u03C1\u03BF \u03B4\u03B9\u03AC\u03C3\u03C4\u03B7\u03BC\u03B1\n"@el . + "not an XML Literal,\nwhitespace preserved\n" . +_:g91077100 _:g91067150 . +_:g91077100 "Foo" . +_:g90954040 "Mark Birbeck" . +_:g90954040 "Ivan Herman" . +_:g91376310 . + . + . +_:g91051870 "character" . +_:g91051870 "17" . + . + . + . +_:g91296760 "John Doe" . +_:g91296760 . +_:g90943720 . +_:g90943720 "Bar" . +_:g90969080 . +_:g90969080 "Foo" . + "Mark Birbeck" . +_:human "a bi-pedal primate" . +_:human "confused animal" . +_:human "Milky Way" . + . +_:g91054290 _:g91042730 . +_:g91054290 "Foo" . + "Ben Adida" . + "Ivan Herman" . + "Gregg Kellogg" . + "Ivan Herman" . +_:g91042730 _:g91027920 . +_:g91042730 "Bar" . + "Shane McCarron" . + "Example Website" . + "Test Case 0121" . + "value" . + "Test 0067" . + . +_:g90984140 "Ivan Herman" . +_:g90984140 "Mark Birbeck" . +_:g90984140 . + . + _:g91421340 . + _:g91366540 . +_:g90951000 . +_:g91053130 "John Doe" . + "" . + "Mark Birbeck" . + . +_:manu . +_:manu _:michael . +_:manu _:gregg . + "Test 0109" . +_:g91420340 "Ivan Herman" . +_:g91420340 "Mark Birbeck" . +_:g91420340 . +_:g91420340 . +_:g91421340 . +_:g91421340 "Bar" . +_:g91076130 "John Doe" . +_:g91076130 . +_:gregg "Gregg Kellogg" . +_:gregg _:manu . +_:gregg . + "\u677E\u672C \u540E\u5B50" . + . + "REV" . + . + "GR" . + . + _:test . + "OWL" . + . + . + . + . + . + . + . + . + "SKOS" . + "John Doe" . + . + . + "DescribedBy" . + . + . + _:g91005320 . + _:g90998370 . + . + . + . + "E = mc2: The Most Urgent Problem of Our Time"^^ . + "rdfagraph" . + "CC" . + "CTAG" . + _:g91076130 . + . + _:g91296760 . + "@" . + . + "Role" . + "@" . + . + "Baz" . + "2012-03-18Z"^^ . + "00:00:00Z"^^ . + "2012-03-18T00:00:00Z"^^ . + "2012-03-18T00:00:00Z"^^ . + "P2011Y06M28DT00H00M00S"^^ . + "2012"^^ . + "2012-03"^^ . + " 2012-03-18Z" . + " 2012-03-18Z"^^ . + "D-Day"@en . + "veni, vidi, vici"@lat . + "2012-03-18T00:00:00-08:00"^^ . + "" . + _:g91108800 . + . + . + "Ben & Co." . + "Test" . + "FOAF" . + . + "RDF" . + "RDFS" . + "Fabien Gandon" . + . + . + . + ">" . + . + . + . + . + . + "License" . + "license" . + "Ruby" . + "WDR" . + "SIOC" . + . + "V" . + "VCARD" . + . + "RDFa" . + . + . + . + "OG" . + "WDRS" . + . + "VOID" . + . + . + . + . + "ICAL" . + "XML" . + "Mark Birbeck" . + . + "SKOS-XL" . + . + . + . + "Schema" . + "GRDDL" . + . + . + . + . + "XHV" . + . + "RIF" . + "XSD" . + "MA" . + "Mark Birbeck" . + . + _:g91181100 . + "Fabien Gandon" . + . + . + . + . + "Albert Einstein" . + _:g91036200 . + "Ben" . + "DC" . + "DCTERMS" . + . + . + "" . + _:g91051870 . + _:g90969080 . + _:g90943720 . + . +_:g91067150 _:g91054290 . +_:g91067150 . + "The XHTML Vocabulary Document" . +_:g90944750 . +_:g91305190 . +_:g91305190 . +_:g91305190 . +_:g91015140 _:g90991410 . +_:g91015140 "Bar" . diff --git a/core/vendor/easyrdf/easyrdf/test/fixtures/rdfa/0295.xhtml b/core/vendor/easyrdf/easyrdf/test/fixtures/rdfa/0295.xhtml new file mode 100644 index 0000000..ec0f9f0 --- /dev/null +++ b/core/vendor/easyrdf/easyrdf/test/fixtures/rdfa/0295.xhtml @@ -0,0 +1,930 @@ + + + + + RDFa 1.1 Benchmark File #1 + + +

This photo was taken by Mark Birbeck.

+

+ This photo was taken by + Mark Birbeck. +

+

This photo was taken by + Mark Birbeck. +

+

This document is licensed under a + + Creative Commons + . +

+

+

+

+

+

+ ten +

+

+

+ Manu Sporny + knows + Ralph Swick. +

+

+ This photo was taken by + Mark Birbeck. +

+
+
+ this photo was taken by + Mark Birbeck + +
+
+ this photo was taken by + Mark Birbeck + +
+
+ This photo was taken by + Mark Birbeck +
+

+ This paper was written by + + Ben Adida. + +

+

+ +

+

+ Mark B. + +

+

+ Mark Birbeck. +

+

This document is licensed under a + + Creative Commons License + . +

+

+ The book Weaving the Web (hardcover) has the ISBN + 0752820907. +

+

+ The book Weaving the Web (hardcover) has the ISBN + 0752820907. +

+

+ This paper was written by + + Ben Adida. + +

+
+ A photo depicting Michael +
+
+ A photo depicting Michael +
+
+ A photo depicting Michael +
+
+ A photo depicting Michael +
+
+ A photo depicting Michael +
+
+ A photo depicting Michael +
+
+ A photo depicting Michael +
+
+ A photo depicting Michael +
+
+ A photo depicting Michael +
+
+

John Doe

+
+
+

John Doe

+
+
+

John Doe

+
+
+

John Doe

+
+
+

John Doe

+
+

John Doe

+

+ John Doe +

+

+ John Doe +

+

+ This document was authored and published by + Fabien Gandon. +

+

+ This document was authored and published by + Fabien Gandon. +

+
+

Mark Birbeck

+
+
+

Mark Birbeck

+

Ivan Herman

+
+
+

Mark Birbeck

+

Ivan Herman

+
+

This document was authored and published by:

+
    +
  • Manu Sporny
  • +
  • Fabien Gandon
  • +
+
+

松本 后子

+
+

This is the first chapter in a series of chapters.

+

This is unit test #62. The next unit test is #63.

+

This is the 63rd test. The next test is #64.

+

Michael knows + Manu. +

+
+ Manu Sporny can be reached via + email. + He knows Michael. +
+ +
+ Michael can be reached via + email. +
+

This is test #66.

+

This is test #67.

+

+ The previous test was + Test 0067. +

+

The next test will be + Test 0070. +

+

The previous test was + Test 0069. +

+

This page is under a Creative Commons + + Attribution-No Derivatives 3.0 license. +

+

+ Learn more by reading the example.org + Example FAQ. +

+

+ This article was written by + Jane. +

+

+ This article was written by + Jane. +

+

+ This page is under a Creative Commons + Attribution-No Derivatives 3.0 license. +

+

+ alternate + appendix + bookmark + cite + chapter + contents + copyright + glossary + help + + index + last + license + meta + + p3pv1 + + role + section + subsection + start + stylesheet + up +

+

+ alternate + appendix + bookmark + cite + chapter + contents + copyright + glossary + help + icon + index + first + last + license + meta + next + p3pv1 + prev + role + section + subsection + start + stylesheet + up +

+
+

Ivan Herman

+

mailto:ivan@w3.org

+

Mark Birbeck

+
+
+

Ivan Herman

+

Tim Berners Lee

+

Dan Brickley

+
+
+

Dan Brickley

+
+
+

Ivan Herman

+

mailto:ivan@w3.org

+

Mark Birbeck

+
+
+

Ivan Herman

+

mailto:ivan@w3.org

+

Mark Birbeck

+
+
+

Ivan Herman

+

mailto:ivan@w3.org

+

Dan Brickley

+
+
+
+

Ivan Herman

+

mailto:ivan@w3.org

+

Dan Brickley

+ +
+
+
+
+

Ivan Herman

+

Tim Berners Lee

+

Dan Brickley

+
+
+

+ alternate + appendix + bookmark + cite + chapter + contents + copyright + glossary + help + icon + index + first + last + license + meta + next + p3pv1 + prev + role + section + subsection + start + stylesheet + up +

+
+

Dan Brickley

+

Dan Brickley again:-)

+
+
+ example image +
+
+ example image +
+

+ A human is + a bi-pedal primate. + They are quite possibly one of the most + confused animals residing in the + Milky Way. +

+
+ Author: Albert Einstein +

E = mc2: The Most Urgent Problem of Our Time

+
+

+ We put thirty spokes together and call it a wheel; + But it is on the space where there is nothing that the usefulness of the wheel depends. + We turn clay to make a vessel; + But it is on the space where there is nothing that the usefulness of the vessel depends. + We pierce doors and windows to make a house; + And it is on these spaces where there is nothing that the usefulness of the house depends. + Therefore just as we take advantage of what is, we should recognize the usefulness of what is not. + + Lao Tzu: Tao Te Ching

+

+ The word "interfenestration" has + + 17 + characters. + +

+
+ Manu created this page. +
+ +

ελληνικό +άσπρο διάστημα +

+ +
+

This is Test 0109.

+
+
+
+
+
+
+
+
+
+

+ not an XML Literal, +whitespace preserved + +

+ + + +

Description: XML entities in the RDFa content

+

+ > + Ben & Co. + @ + @ +

+

+ Mark Birbeck + added this triple test. +

+

+ Check to see if parsers get confused when "" is + interpreted as NULL in some chaining cases. + Ben +

+
+

+ The + Example Website + is used in many W3C tutorials. +

+
+

+ The + The XHTML Vocabulary Document + is the default prefix for XHTML+RDFa 1.0. +

+
+

+ Test Case 0121 + checks to make sure RDFa processors resolve the empty CURIE correctly. +

+ Shane McCarron + contributed to this test. +

+

+
+

+ This section is contained below the main site. +

+
+

My article

+
+

Blank Nodes are not allowed to be predicate identifiers in RDF:

+

Test

+

Test

+

+ This test ensures that single-character prefixes are allowed. + My name is: + John Doe +

+

My name is + Gregg Kellogg. +

+
+ Manu can be reached via + email. + He knows Gregg. + Who knows Manu. +
+ +
+ Gregg can be reached via + email. +
+
+

Ivan Herman

+
+
+

A particular agent

+
+ +
+

Ivan Herman

+
+
+

Ivan Herman

+
+
+

Ivan Herman

+
+
+
+

A particular agent

+
+
+
+
+

A particular agent

+
+
+
+

Ivan Herman

+
+
+
+

Ivan Herman

+
+
+
+
+

Ivan Herman

+
+
+
+

Ivan Herman

+
+
+

Ivan Herman

+
+
+

This is an XMLLiteral

+

This is a plain literal

+
+

Gregg Kellogg

+

Ruby

+

Kellogg Associates

+

Ruby Gem

+
+

Mark Birbeck

+
+

+ An OWL Axiom: "xsd:maxExclusive" is a Datatype Property in OWL. +

+

+ Weekend off in Iona: + Oct 21st + to Oct 23rd. + See FreeTime.Example.org for + info on Iona, UK. +

+ +
+

Ivan Herman

+
+ +
+

Ivan Herman

+
+ +
+

Ivan Herman

+
+ +
+

E = mc2: The Most Urgent Problem of Our Time

+
+ +
+

E = mc2: The Most Urgent Problem of Our Time

+
+

This document has a title.

+ +

Iván

+ +

Iván

+
+

Gregg Kellogg

+
+
+

+

+
+

Foo

+
+
+ Foo +
+
+

Foo

+ Foo +
+
+

Foo

+

Bar

+
+
+

Foo

+

Bar

+

Baz

+
+
+
    +
  1. Foo
  2. +
  3. Bar
  4. +
+
+
+

Foo

+
+
+

Bar

+
+
+

Foo

+ +

Bar

+
+
+
+

Foo

+ +

Bar

+
+
+
+ A photo depicting Michael +
+
+ A photo depicting Michael +
+
+ example image +
+
+ example image +
+
+

John Doe

+
+
+

John Doe

+
+

+ describedby + license + role +

+

+ The rdfagraph should not generate triples when + looking only at the processor graph. +

+

+

+

ελληνικό +άσπρο διάστημα +

+

+ +

Ensure that the "_" prefix is ignored.

+

Test

+
+ Vocabulary Prefixes + GRDDL + MA + OWL + RDF + RDFa + RDFS + RIF + SKOS + SKOS-XL + WDR + VOID + WDRS + XHV + XML + XSD +
+
+ Widely Used prefixes + CC + CTAG + DC + DCTERMS + FOAF + GR + ICAL + OG + REV + SIOC + V + VCARD + Schema +
+
+ Vocabulary Terms + DescribedBy + License + Role +
+
+ Vocabulary Terms + alternate + appendix + cite + bookmark + contents + chapter + copyright + first + glossary + help + icon + index + last + license + meta + next + prev + previous + section + start + stylesheet + subsection + top + up + p3pv1 +
+
+

This is +an XMLLiteral

+
+

This photo was taken by Mark Birbeck.

+

+

+

+ +
+

Ivan Herman

+
+
+ +
+

+

+

+ + + + + + + + + + + + + + + + @value overrides @content in the 'data' element. + + + +

@href becomes subject when @property and @content are present

+ ignored +

@href becomes subject when @property and @datatype are present

+ value +

@href as subject overridden by @about

+ ignored +

@about overriding @href as subject is used as parent resource

+ + value two + +

Testing the ':' character usage in a CURIE

+
+

Test

+
+

None of these triples should be generated in RDFa 1.0.

+
+ Vocabulary Prefixes + GRDDL + MA + OWL + RDF + RDFa + RDFS + RIF + SKOS + SKOS-XL + WDR + VOID + WDRS + XHV + XML + XSD +
+
+ Widely Used prefixes + CC + CTAG + DC + DCTERMS + FOAF + GR + ICAL + OG + REV + SIOC + V + VCARD + Schema +
+
+ Vocabulary Terms + DescribedBy +
+ + \ No newline at end of file diff --git a/core/vendor/easyrdf/easyrdf/test/fixtures/rdfa/0296.nt b/core/vendor/easyrdf/easyrdf/test/fixtures/rdfa/0296.nt new file mode 100644 index 0000000..a545cb8 --- /dev/null +++ b/core/vendor/easyrdf/easyrdf/test/fixtures/rdfa/0296.nt @@ -0,0 +1,20 @@ + "Manu" . + . + . + "Ivan" . + . + . + "Niklas" . + . + . + . + "Gregg" . + . + . + . + . + . + . + "St\u00E9phane" . + . + . diff --git a/core/vendor/easyrdf/easyrdf/test/fixtures/rdfa/0296.xhtml b/core/vendor/easyrdf/easyrdf/test/fixtures/rdfa/0296.xhtml new file mode 100644 index 0000000..ad19de2 --- /dev/null +++ b/core/vendor/easyrdf/easyrdf/test/fixtures/rdfa/0296.xhtml @@ -0,0 +1,27 @@ + + + + + Test 0296 + + +
+ Gregg + Knows + +
+ + \ No newline at end of file diff --git a/core/vendor/easyrdf/easyrdf/test/fixtures/rdfa/0297.nt b/core/vendor/easyrdf/easyrdf/test/fixtures/rdfa/0297.nt new file mode 100644 index 0000000..a082191 --- /dev/null +++ b/core/vendor/easyrdf/easyrdf/test/fixtures/rdfa/0297.nt @@ -0,0 +1,2 @@ +_:g91413060 . + "Alex Milowski" . diff --git a/core/vendor/easyrdf/easyrdf/test/fixtures/rdfa/0297.xhtml b/core/vendor/easyrdf/easyrdf/test/fixtures/rdfa/0297.xhtml new file mode 100644 index 0000000..1232b16 --- /dev/null +++ b/core/vendor/easyrdf/easyrdf/test/fixtures/rdfa/0297.xhtml @@ -0,0 +1,10 @@ + + + + + Test 0297: Testing @typeof and @about=[] + + +
Alex Milowski
+ + \ No newline at end of file diff --git a/core/vendor/easyrdf/easyrdf/test/fixtures/rdfa/0298.nt b/core/vendor/easyrdf/easyrdf/test/fixtures/rdfa/0298.nt new file mode 100644 index 0000000..283339b --- /dev/null +++ b/core/vendor/easyrdf/easyrdf/test/fixtures/rdfa/0298.nt @@ -0,0 +1,2 @@ +_:g91354540 "Alex Milowski" . +_:g91354540 . diff --git a/core/vendor/easyrdf/easyrdf/test/fixtures/rdfa/0298.xhtml b/core/vendor/easyrdf/easyrdf/test/fixtures/rdfa/0298.xhtml new file mode 100644 index 0000000..eb4d759 --- /dev/null +++ b/core/vendor/easyrdf/easyrdf/test/fixtures/rdfa/0298.xhtml @@ -0,0 +1,12 @@ + + + + + Test 0298: Testing @typeof and @about=[] + + +
+ Alex Milowski +
+ + \ No newline at end of file diff --git a/core/vendor/easyrdf/easyrdf/test/fixtures/rdfa/0299.nt b/core/vendor/easyrdf/easyrdf/test/fixtures/rdfa/0299.nt new file mode 100644 index 0000000..5582265 --- /dev/null +++ b/core/vendor/easyrdf/easyrdf/test/fixtures/rdfa/0299.nt @@ -0,0 +1 @@ + . diff --git a/core/vendor/easyrdf/easyrdf/test/fixtures/rdfa/0299.xhtml b/core/vendor/easyrdf/easyrdf/test/fixtures/rdfa/0299.xhtml new file mode 100644 index 0000000..0a476c9 --- /dev/null +++ b/core/vendor/easyrdf/easyrdf/test/fixtures/rdfa/0299.xhtml @@ -0,0 +1,10 @@ + + + + + Test 0299: Testing @resource=[] + + + The Foo Document + + \ No newline at end of file diff --git a/core/vendor/easyrdf/easyrdf/test/fixtures/rdfa/0300.nt b/core/vendor/easyrdf/easyrdf/test/fixtures/rdfa/0300.nt new file mode 100644 index 0000000..5582265 --- /dev/null +++ b/core/vendor/easyrdf/easyrdf/test/fixtures/rdfa/0300.nt @@ -0,0 +1 @@ + . diff --git a/core/vendor/easyrdf/easyrdf/test/fixtures/rdfa/0300.xhtml b/core/vendor/easyrdf/easyrdf/test/fixtures/rdfa/0300.xhtml new file mode 100644 index 0000000..532fed6 --- /dev/null +++ b/core/vendor/easyrdf/easyrdf/test/fixtures/rdfa/0300.xhtml @@ -0,0 +1,10 @@ + + + + + Test 0300: Testing @resource=[] + + + The Foo Document + + \ No newline at end of file diff --git a/core/vendor/easyrdf/easyrdf/test/fixtures/rdfa/0301.nt b/core/vendor/easyrdf/easyrdf/test/fixtures/rdfa/0301.nt new file mode 100644 index 0000000..e5bc0bd --- /dev/null +++ b/core/vendor/easyrdf/easyrdf/test/fixtures/rdfa/0301.nt @@ -0,0 +1,4 @@ +_:g91168940 "Fizzbit" . +_:g91168940 . + . + _:g91168940 . diff --git a/core/vendor/easyrdf/easyrdf/test/fixtures/rdfa/0301.xhtml b/core/vendor/easyrdf/easyrdf/test/fixtures/rdfa/0301.xhtml new file mode 100644 index 0000000..69a214d --- /dev/null +++ b/core/vendor/easyrdf/easyrdf/test/fixtures/rdfa/0301.xhtml @@ -0,0 +1,12 @@ + + + + + Test 0301: Typed Property + + +

+ Fizzbit +

+ + \ No newline at end of file diff --git a/core/vendor/easyrdf/easyrdf/test/fixtures/rdfa/0302.nt b/core/vendor/easyrdf/easyrdf/test/fixtures/rdfa/0302.nt new file mode 100644 index 0000000..85c97c7 --- /dev/null +++ b/core/vendor/easyrdf/easyrdf/test/fixtures/rdfa/0302.nt @@ -0,0 +1,6 @@ + . + . + "St\u00E9phane Corlosquet" . + . + . + . diff --git a/core/vendor/easyrdf/easyrdf/test/fixtures/rdfa/0302.xhtml b/core/vendor/easyrdf/easyrdf/test/fixtures/rdfa/0302.xhtml new file mode 100644 index 0000000..cec557c --- /dev/null +++ b/core/vendor/easyrdf/easyrdf/test/fixtures/rdfa/0302.xhtml @@ -0,0 +1,12 @@ + + + + + Test 0302: various types of tokens in @typeof + + + + + \ No newline at end of file diff --git a/core/vendor/easyrdf/easyrdf/test/fixtures/rdfa/0303.nt b/core/vendor/easyrdf/easyrdf/test/fixtures/rdfa/0303.nt new file mode 100644 index 0000000..c9cf308 --- /dev/null +++ b/core/vendor/easyrdf/easyrdf/test/fixtures/rdfa/0303.nt @@ -0,0 +1,4 @@ + . + "Gregg Kellogg" . + . + . diff --git a/core/vendor/easyrdf/easyrdf/test/fixtures/rdfa/0303.xhtml b/core/vendor/easyrdf/easyrdf/test/fixtures/rdfa/0303.xhtml new file mode 100644 index 0000000..8aa216f --- /dev/null +++ b/core/vendor/easyrdf/easyrdf/test/fixtures/rdfa/0303.xhtml @@ -0,0 +1,13 @@ + + + + + Test 0303: @rel/@rev terms removed if @property exists + + + + + \ No newline at end of file diff --git a/core/vendor/easyrdf/easyrdf/test/fixtures/rdfa/0311.nt b/core/vendor/easyrdf/easyrdf/test/fixtures/rdfa/0311.nt new file mode 100644 index 0000000..e69de29 diff --git a/core/vendor/easyrdf/easyrdf/test/fixtures/rdfa/0311.xhtml b/core/vendor/easyrdf/easyrdf/test/fixtures/rdfa/0311.xhtml new file mode 100644 index 0000000..222b9a7 --- /dev/null +++ b/core/vendor/easyrdf/easyrdf/test/fixtures/rdfa/0311.xhtml @@ -0,0 +1,14 @@ + + + + + Test 0311 + + +
+ this photo was taken by + Stéphane Corlosquet + +
+ + \ No newline at end of file diff --git a/core/vendor/easyrdf/easyrdf/test/fixtures/rdfa/0312.nt b/core/vendor/easyrdf/easyrdf/test/fixtures/rdfa/0312.nt new file mode 100644 index 0000000..20cf089 --- /dev/null +++ b/core/vendor/easyrdf/easyrdf/test/fixtures/rdfa/0312.nt @@ -0,0 +1,3 @@ +_:g93543710 . +_:g93543710 . + . diff --git a/core/vendor/easyrdf/easyrdf/test/fixtures/rdfa/0312.xhtml b/core/vendor/easyrdf/easyrdf/test/fixtures/rdfa/0312.xhtml new file mode 100644 index 0000000..88117bb --- /dev/null +++ b/core/vendor/easyrdf/easyrdf/test/fixtures/rdfa/0312.xhtml @@ -0,0 +1,12 @@ + + + + + Test 0312 + + +

+ The homepage of Some Body. +

+ + \ No newline at end of file diff --git a/core/vendor/easyrdf/easyrdf/test/fixtures/rdfa/0315.nt b/core/vendor/easyrdf/easyrdf/test/fixtures/rdfa/0315.nt new file mode 100644 index 0000000..dc08712 --- /dev/null +++ b/core/vendor/easyrdf/easyrdf/test/fixtures/rdfa/0315.nt @@ -0,0 +1,3 @@ +_:g102669810 _:g102665920 . + _:g102669810 . +_:g102665920 . diff --git a/core/vendor/easyrdf/easyrdf/test/fixtures/rdfa/0315.xhtml b/core/vendor/easyrdf/easyrdf/test/fixtures/rdfa/0315.xhtml new file mode 100644 index 0000000..70b16ee --- /dev/null +++ b/core/vendor/easyrdf/easyrdf/test/fixtures/rdfa/0315.xhtml @@ -0,0 +1,14 @@ + + + + + Test 0315 + + +
+
+ Director +
+
+ + \ No newline at end of file diff --git a/core/vendor/easyrdf/easyrdf/test/fixtures/rdfa/0316.nt b/core/vendor/easyrdf/easyrdf/test/fixtures/rdfa/0316.nt new file mode 100644 index 0000000..4c5535f --- /dev/null +++ b/core/vendor/easyrdf/easyrdf/test/fixtures/rdfa/0316.nt @@ -0,0 +1,3 @@ + _:g102582410 . + . +_:g102582410 . diff --git a/core/vendor/easyrdf/easyrdf/test/fixtures/rdfa/0316.xhtml b/core/vendor/easyrdf/easyrdf/test/fixtures/rdfa/0316.xhtml new file mode 100644 index 0000000..3454a87 --- /dev/null +++ b/core/vendor/easyrdf/easyrdf/test/fixtures/rdfa/0316.xhtml @@ -0,0 +1,14 @@ + + + + + Test 0316 + + +
+
+ Director +
+
+ + \ No newline at end of file diff --git a/core/vendor/easyrdf/easyrdf/test/fixtures/rdfa/0317.nt b/core/vendor/easyrdf/easyrdf/test/fixtures/rdfa/0317.nt new file mode 100644 index 0000000..7c4fd7c --- /dev/null +++ b/core/vendor/easyrdf/easyrdf/test/fixtures/rdfa/0317.nt @@ -0,0 +1,3 @@ + . + "Director" . + . diff --git a/core/vendor/easyrdf/easyrdf/test/fixtures/rdfa/0317.xhtml b/core/vendor/easyrdf/easyrdf/test/fixtures/rdfa/0317.xhtml new file mode 100644 index 0000000..7730b21 --- /dev/null +++ b/core/vendor/easyrdf/easyrdf/test/fixtures/rdfa/0317.xhtml @@ -0,0 +1,14 @@ + + + + + Test 0316 + + +
+
+ Director +
+
+ + \ No newline at end of file diff --git a/core/vendor/easyrdf/easyrdf/test/fixtures/rdfa/update.php b/core/vendor/easyrdf/easyrdf/test/fixtures/rdfa/update.php new file mode 100644 index 0000000..db612e8 --- /dev/null +++ b/core/vendor/easyrdf/easyrdf/test/fixtures/rdfa/update.php @@ -0,0 +1,62 @@ +allOfType('test:TestCase') as $test) { + if (!in_array($RDFA_VERSION, $test->all('rdfatest:rdfaVersion'))) { + continue; + } + if (!in_array($HOST_LANGUAGE, $test->all('rdfatest:hostLanguage'))) { + continue; + } + if ($test->get('test:classification')->shorten() != 'test:required') { + continue; + } + + $id = $test->localName(); + $title = $test->get('dc:title'); + $escapedTitle = addcslashes($title, '\''); + + # Download the test input + $inputUri = "http://rdfa.info/test-suite/test-cases/$RDFA_VERSION/$HOST_LANGUAGE/$id.xhtml"; + $client->setUri("$inputUri"); + $response = $client->request(); + file_put_contents("$FIXTURE_DIR/$id.xhtml", $response->getBody()); + + # Download the expected output + $client->setUri($REFERENCE_DISTILLER . urlencode($inputUri)); + $response = $client->request(); + file_put_contents("$FIXTURE_DIR/$id.nt", $response->getBody()); + + # Output code for PHPUnit + print " public function testCase$id()\n"; + print " {\n"; + if (strlen($title) < 80) { + print " \$this->rdfaTestCase('$id', '$escapedTitle');\n"; + } else { + print " \$this->rdfaTestCase(\n"; + print " '$id', '$escapedTitle'\n"; + print " );\n"; + } + print " }\n\n"; +} diff --git a/core/vendor/easyrdf/easyrdf/test/fixtures/sparql_ask_false.json b/core/vendor/easyrdf/easyrdf/test/fixtures/sparql_ask_false.json new file mode 100644 index 0000000..c7e22ee --- /dev/null +++ b/core/vendor/easyrdf/easyrdf/test/fixtures/sparql_ask_false.json @@ -0,0 +1,5 @@ +{ + "head": { + }, + "boolean" : false +} diff --git a/core/vendor/easyrdf/easyrdf/test/fixtures/sparql_ask_false.xml b/core/vendor/easyrdf/easyrdf/test/fixtures/sparql_ask_false.xml new file mode 100644 index 0000000..c49af83 --- /dev/null +++ b/core/vendor/easyrdf/easyrdf/test/fixtures/sparql_ask_false.xml @@ -0,0 +1,6 @@ + + + + + false + diff --git a/core/vendor/easyrdf/easyrdf/test/fixtures/sparql_ask_true.json b/core/vendor/easyrdf/easyrdf/test/fixtures/sparql_ask_true.json new file mode 100644 index 0000000..6a1ee5b --- /dev/null +++ b/core/vendor/easyrdf/easyrdf/test/fixtures/sparql_ask_true.json @@ -0,0 +1,5 @@ +{ + "head": { + }, + "boolean" : true +} diff --git a/core/vendor/easyrdf/easyrdf/test/fixtures/sparql_ask_true.xml b/core/vendor/easyrdf/easyrdf/test/fixtures/sparql_ask_true.xml new file mode 100644 index 0000000..602bb95 --- /dev/null +++ b/core/vendor/easyrdf/easyrdf/test/fixtures/sparql_ask_true.xml @@ -0,0 +1,6 @@ + + + + + true + diff --git a/core/vendor/easyrdf/easyrdf/test/fixtures/sparql_invalid.json b/core/vendor/easyrdf/easyrdf/test/fixtures/sparql_invalid.json new file mode 100644 index 0000000..e814665 --- /dev/null +++ b/core/vendor/easyrdf/easyrdf/test/fixtures/sparql_invalid.json @@ -0,0 +1,7 @@ +{ + "head": { + }, + "unknown" : [ + "stuff" + ] +} diff --git a/core/vendor/easyrdf/easyrdf/test/fixtures/sparql_invalid.xml b/core/vendor/easyrdf/easyrdf/test/fixtures/sparql_invalid.xml new file mode 100644 index 0000000..3a6d003 --- /dev/null +++ b/core/vendor/easyrdf/easyrdf/test/fixtures/sparql_invalid.xml @@ -0,0 +1,6 @@ + + + + + + diff --git a/core/vendor/easyrdf/easyrdf/test/fixtures/sparql_invalid_term.json b/core/vendor/easyrdf/easyrdf/test/fixtures/sparql_invalid_term.json new file mode 100644 index 0000000..823bf54 --- /dev/null +++ b/core/vendor/easyrdf/easyrdf/test/fixtures/sparql_invalid_term.json @@ -0,0 +1,14 @@ +{ + "head": { + "vars": [ "foo" ] + }, + "results": { + "ordered" : false, + "distinct" : false, + "bindings" : [ + { + "foo" : { "type": "newtype", "value": "foobar" } + } + ] + } +} diff --git a/core/vendor/easyrdf/easyrdf/test/fixtures/sparql_select_all.json b/core/vendor/easyrdf/easyrdf/test/fixtures/sparql_select_all.json new file mode 100644 index 0000000..6945fd5 --- /dev/null +++ b/core/vendor/easyrdf/easyrdf/test/fixtures/sparql_select_all.json @@ -0,0 +1,82 @@ +{ + "head": { + "vars": [ "s", "p", "o" ] + }, + "results": { + "ordered" : false, + "distinct" : false, + "bindings" : [ + { + "s" : { "type": "bnode", "value": "genid1" }, + "p" : { "type": "uri", "value": "http://xmlns.com/foaf/0.1/name" }, + "o" : { "type": "literal", "value": "Joe's Current Project" } + }, + { + "s" : { "type": "bnode", "value": "genid1" }, + "p" : { "type": "uri", "value": "http://xmlns.com/foaf/0.1/homepage" }, + "o" : { "type": "uri", "value": "http://www.example.com/project" } + }, + { + "s" : { "type": "bnode", "value": "genid1" }, + "p" : { "type": "uri", "value": "http://www.w3.org/1999/02/22-rdf-syntax-ns#type" }, + "o" : { "type": "uri", "value": "http://xmlns.com/foaf/0.1/Project" } + }, + { + "s" : { "type": "uri", "value": "http://www.example.com/joe/foaf.rdf" }, + "p" : { "type": "uri", "value": "http://xmlns.com/foaf/0.1/primaryTopic" }, + "o" : { "type": "uri", "value": "http://www.example.com/joe#me" } + }, + { + "s" : { "type": "uri", "value": "http://www.example.com/joe/foaf.rdf" }, + "p" : { "type": "uri", "value": "http://xmlns.com/foaf/0.1/maker" }, + "o" : { "type": "uri", "value": "http://www.example.com/joe#me" } + }, + { + "s" : { "type": "uri", "value": "http://www.example.com/joe/foaf.rdf" }, + "p" : { "type": "uri", "value": "http://www.w3.org/2000/01/rdf-schema#label" }, + "o" : { "type": "literal", "value": "Joe Bloggs' FOAF File" } + }, + { + "s" : { "type": "uri", "value": "http://www.example.com/joe/foaf.rdf" }, + "p" : { "type": "uri", "value": "http://www.w3.org/1999/02/22-rdf-syntax-ns#type" }, + "o" : { "type": "uri", "value": "http://xmlns.com/foaf/0.1/PersonalProfileDocument" } + }, + { + "s" : { "type": "uri", "value": "http://www.example.com/joe#me" }, + "p" : { "type": "uri", "value": "http://xmlns.com/foaf/0.1/title" }, + "o" : { "type": "literal", "value": "Mr" } + }, + { + "s" : { "type": "uri", "value": "http://www.example.com/joe#me" }, + "p" : { "type": "uri", "value": "http://xmlns.com/foaf/0.1/name" }, + "o" : { "type": "literal", "value": "Joe Bloggs", + "xml:lang" : "en" } + }, + { + "s" : { "type": "uri", "value": "http://www.example.com/joe#me" }, + "p" : { "type": "uri", "value": "http://xmlns.com/foaf/0.1/homepage" }, + "o" : { "type": "uri", "value": "http://www.example.com/joe/" } + }, + { + "s" : { "type": "uri", "value": "http://www.example.com/joe#me" }, + "p" : { "type": "uri", "value": "http://xmlns.com/foaf/0.1/firstName" }, + "o" : { "type": "literal", "value": "Joe" } + }, + { + "s" : { "type": "uri", "value": "http://www.example.com/joe#me" }, + "p" : { "type": "uri", "value": "http://xmlns.com/foaf/0.1/family_name" }, + "o" : { "type": "literal", "value": "Bloggs" } + }, + { + "s" : { "type": "uri", "value": "http://www.example.com/joe#me" }, + "p" : { "type": "uri", "value": "http://xmlns.com/foaf/0.1/currentProject" }, + "o" : { "type": "bnode", "value": "genid1" } + }, + { + "s" : { "type": "uri", "value": "http://www.example.com/joe#me" }, + "p" : { "type": "uri", "value": "http://www.w3.org/1999/02/22-rdf-syntax-ns#type" }, + "o" : { "type": "uri", "value": "http://xmlns.com/foaf/0.1/Person" } + } + ] + } +} diff --git a/core/vendor/easyrdf/easyrdf/test/fixtures/sparql_select_all.xml b/core/vendor/easyrdf/easyrdf/test/fixtures/sparql_select_all.xml new file mode 100644 index 0000000..9c266b0 --- /dev/null +++ b/core/vendor/easyrdf/easyrdf/test/fixtures/sparql_select_all.xml @@ -0,0 +1,80 @@ + + + + + + + + + + genid1 + http://xmlns.com/foaf/0.1/name + Joe's Current Project + + + genid1 + http://xmlns.com/foaf/0.1/homepage + http://www.example.com/project + + + genid1 + http://www.w3.org/1999/02/22-rdf-syntax-ns#type + http://xmlns.com/foaf/0.1/Project + + + http://www.example.com/joe/foaf.rdf + http://xmlns.com/foaf/0.1/primaryTopic + http://www.example.com/joe#me + + + http://www.example.com/joe/foaf.rdf + http://xmlns.com/foaf/0.1/maker + http://www.example.com/joe#me + + + http://www.example.com/joe/foaf.rdf + http://www.w3.org/2000/01/rdf-schema#label + Joe Bloggs' FOAF File + + + http://www.example.com/joe/foaf.rdf + http://www.w3.org/1999/02/22-rdf-syntax-ns#type + http://xmlns.com/foaf/0.1/PersonalProfileDocument + + + http://www.example.com/joe#me + http://xmlns.com/foaf/0.1/title + Mr + + + http://www.example.com/joe#me + http://xmlns.com/foaf/0.1/name + Joe Bloggs + + + http://www.example.com/joe#me + http://xmlns.com/foaf/0.1/homepage + http://www.example.com/joe/ + + + http://www.example.com/joe#me + http://xmlns.com/foaf/0.1/firstName + Joe + + + http://www.example.com/joe#me + http://xmlns.com/foaf/0.1/family_name + Bloggs + + + http://www.example.com/joe#me + http://xmlns.com/foaf/0.1/currentProject + genid1 + + + http://www.example.com/joe#me + http://www.w3.org/1999/02/22-rdf-syntax-ns#type + http://xmlns.com/foaf/0.1/Person + + + diff --git a/core/vendor/easyrdf/easyrdf/test/fixtures/sparql_select_all_types.xml b/core/vendor/easyrdf/easyrdf/test/fixtures/sparql_select_all_types.xml new file mode 100644 index 0000000..caae1ec --- /dev/null +++ b/core/vendor/easyrdf/easyrdf/test/fixtures/sparql_select_all_types.xml @@ -0,0 +1,17 @@ + + + + + + + + http://xmlns.com/foaf/0.1/Project + + + http://xmlns.com/foaf/0.1/PersonalProfileDocument + + + http://xmlns.com/foaf/0.1/Person + + + diff --git a/core/vendor/easyrdf/easyrdf/test/fixtures/sparql_select_all_ws.xml b/core/vendor/easyrdf/easyrdf/test/fixtures/sparql_select_all_ws.xml new file mode 100644 index 0000000..b920567 --- /dev/null +++ b/core/vendor/easyrdf/easyrdf/test/fixtures/sparql_select_all_ws.xml @@ -0,0 +1,164 @@ + + + + + + + + + + + genid1 + + + http://xmlns.com/foaf/0.1/name + + + Joe's Current Project + + + + + genid1 + + + http://xmlns.com/foaf/0.1/homepage + + + http://www.example.com/project + + + + + genid1 + + + http://www.w3.org/1999/02/22-rdf-syntax-ns#type + + + http://xmlns.com/foaf/0.1/Project + + + + + http://www.example.com/joe/foaf.rdf + + + http://xmlns.com/foaf/0.1/primaryTopic + + + http://www.example.com/joe#me + + + + + http://www.example.com/joe/foaf.rdf + + + http://xmlns.com/foaf/0.1/maker + + + http://www.example.com/joe#me + + + + + http://www.example.com/joe/foaf.rdf + + + http://www.w3.org/2000/01/rdf-schema#label + + + Joe Bloggs' FOAF File + + + + + http://www.example.com/joe/foaf.rdf + + + http://www.w3.org/1999/02/22-rdf-syntax-ns#type + + + http://xmlns.com/foaf/0.1/PersonalProfileDocument + + + + + http://www.example.com/joe#me + + + http://xmlns.com/foaf/0.1/title + + + Mr + + + + + http://www.example.com/joe#me + + + http://xmlns.com/foaf/0.1/name + + + Joe Bloggs + + + + + http://www.example.com/joe#me + + + http://xmlns.com/foaf/0.1/homepage + + + http://www.example.com/joe/ + + + + + http://www.example.com/joe#me + + + http://xmlns.com/foaf/0.1/firstName + + + Joe + + + + + http://www.example.com/joe#me + + + http://xmlns.com/foaf/0.1/family_name + + + Bloggs + + + + + http://www.example.com/joe#me + + + http://xmlns.com/foaf/0.1/currentProject + + + genid1 + + + + + http://www.example.com/joe#me + + + http://www.w3.org/1999/02/22-rdf-syntax-ns#type + + + http://xmlns.com/foaf/0.1/Person + + + + diff --git a/core/vendor/easyrdf/easyrdf/test/fixtures/sparql_select_empty.json b/core/vendor/easyrdf/easyrdf/test/fixtures/sparql_select_empty.json new file mode 100644 index 0000000..d2dde8e --- /dev/null +++ b/core/vendor/easyrdf/easyrdf/test/fixtures/sparql_select_empty.json @@ -0,0 +1,10 @@ +{ + "head": { + "vars": [ "s" , "p" , "o" ] + } , + "results": { + "bindings": [ + + ] + } +} \ No newline at end of file diff --git a/core/vendor/easyrdf/easyrdf/test/fixtures/sparql_select_empty.xml b/core/vendor/easyrdf/easyrdf/test/fixtures/sparql_select_empty.xml new file mode 100644 index 0000000..e31abab --- /dev/null +++ b/core/vendor/easyrdf/easyrdf/test/fixtures/sparql_select_empty.xml @@ -0,0 +1,10 @@ + + + + + + + + + + diff --git a/core/vendor/easyrdf/easyrdf/test/fixtures/sparql_select_lang.json b/core/vendor/easyrdf/easyrdf/test/fixtures/sparql_select_lang.json new file mode 100644 index 0000000..b69611f --- /dev/null +++ b/core/vendor/easyrdf/easyrdf/test/fixtures/sparql_select_lang.json @@ -0,0 +1,6 @@ + +{ "head": { "link": [], "vars": ["label"] }, + "results": { "distinct": false, "ordered": true, "bindings": [ + { "label": { "type": "literal", "xml:lang": "en", "value": "London" }}, + { "label": { "type": "literal", "xml:lang": "es", "value": "Londres" }}, + { "label": { "type": "literal", "value": "London" }} ] } } \ No newline at end of file diff --git a/core/vendor/easyrdf/easyrdf/test/fixtures/sparql_select_lang.xml b/core/vendor/easyrdf/easyrdf/test/fixtures/sparql_select_lang.xml new file mode 100644 index 0000000..65b4514 --- /dev/null +++ b/core/vendor/easyrdf/easyrdf/test/fixtures/sparql_select_lang.xml @@ -0,0 +1,16 @@ + + + + + + + London + + + Londres + + + London + + + \ No newline at end of file diff --git a/core/vendor/easyrdf/easyrdf/test/fixtures/sparql_typed_literal.json b/core/vendor/easyrdf/easyrdf/test/fixtures/sparql_typed_literal.json new file mode 100644 index 0000000..f7bcb71 --- /dev/null +++ b/core/vendor/easyrdf/easyrdf/test/fixtures/sparql_typed_literal.json @@ -0,0 +1,74 @@ +{ + "head": { + "vars": [ "episode" , "pos" , "label" ] + } , + "results": { + "bindings": [ + { + "episode": { "type": "uri" , "value": "http://www.bbc.co.uk/programmes/b0074dlv#programme" } , + "pos": { "datatype": "http://www.w3.org/2001/XMLSchema#integer" , "type": "typed-literal" , "value": "1" } , + "label": { "type": "literal" , "value": "Rose" } + } , + { + "episode": { "type": "uri" , "value": "http://www.bbc.co.uk/programmes/b0074dmp#programme" } , + "pos": { "datatype": "http://www.w3.org/2001/XMLSchema#integer" , "type": "typed-literal" , "value": "2" } , + "label": { "type": "literal" , "value": "The End of the World" } + } , + { + "episode": { "type": "uri" , "value": "http://www.bbc.co.uk/programmes/b0074dng#programme" } , + "pos": { "datatype": "http://www.w3.org/2001/XMLSchema#integer" , "type": "typed-literal" , "value": "3" } , + "label": { "type": "literal" , "value": "The Unquiet Dead" } + } , + { + "episode": { "type": "uri" , "value": "http://www.bbc.co.uk/programmes/b0074dp9#programme" } , + "pos": { "datatype": "http://www.w3.org/2001/XMLSchema#integer" , "type": "typed-literal" , "value": "4" } , + "label": { "type": "literal" , "value": "Aliens of London" } + } , + { + "episode": { "type": "uri" , "value": "http://www.bbc.co.uk/programmes/b0074dpv#programme" } , + "pos": { "datatype": "http://www.w3.org/2001/XMLSchema#integer" , "type": "typed-literal" , "value": "5" } , + "label": { "type": "literal" , "value": "World War Three" } + } , + { + "episode": { "type": "uri" , "value": "http://www.bbc.co.uk/programmes/b0074dq8#programme" } , + "pos": { "datatype": "http://www.w3.org/2001/XMLSchema#integer" , "type": "typed-literal" , "value": "6" } , + "label": { "type": "literal" , "value": "Dalek" } + } , + { + "episode": { "type": "uri" , "value": "http://www.bbc.co.uk/programmes/b0074dr5#programme" } , + "pos": { "datatype": "http://www.w3.org/2001/XMLSchema#integer" , "type": "typed-literal" , "value": "7" } , + "label": { "type": "literal" , "value": "The Long Game" } + } , + { + "episode": { "type": "uri" , "value": "http://www.bbc.co.uk/programmes/b0074drw#programme" } , + "pos": { "datatype": "http://www.w3.org/2001/XMLSchema#integer" , "type": "typed-literal" , "value": "8" } , + "label": { "type": "literal" , "value": "Father's Day" } + } , + { + "episode": { "type": "uri" , "value": "http://www.bbc.co.uk/programmes/b0074ds9#programme" } , + "pos": { "datatype": "http://www.w3.org/2001/XMLSchema#integer" , "type": "typed-literal" , "value": "9" } , + "label": { "type": "literal" , "value": "The Empty Child" } + } , + { + "episode": { "type": "uri" , "value": "http://www.bbc.co.uk/programmes/b0074dsp#programme" } , + "pos": { "datatype": "http://www.w3.org/2001/XMLSchema#integer" , "type": "typed-literal" , "value": "10" } , + "label": { "type": "literal" , "value": "The Doctor Dances" } + } , + { + "episode": { "type": "uri" , "value": "http://www.bbc.co.uk/programmes/b0074dt5#programme" } , + "pos": { "datatype": "http://www.w3.org/2001/XMLSchema#integer" , "type": "typed-literal" , "value": "11" } , + "label": { "type": "literal" , "value": "Boom Town" } + } , + { + "episode": { "type": "uri" , "value": "http://www.bbc.co.uk/programmes/b0074dth#programme" } , + "pos": { "datatype": "http://www.w3.org/2001/XMLSchema#integer" , "type": "typed-literal" , "value": "12" } , + "label": { "type": "literal" , "value": "Bad Wolf" } + } , + { + "episode": { "type": "uri" , "value": "http://www.bbc.co.uk/programmes/b0074dv1#programme" } , + "pos": { "datatype": "http://www.w3.org/2001/XMLSchema#integer" , "type": "typed-literal" , "value": "13" } , + "label": { "type": "literal" , "value": "The Parting of the Ways" } + } + ] + } +} diff --git a/core/vendor/easyrdf/easyrdf/test/fixtures/sparql_typed_literal.xml b/core/vendor/easyrdf/easyrdf/test/fixtures/sparql_typed_literal.xml new file mode 100644 index 0000000..7c15ee3 --- /dev/null +++ b/core/vendor/easyrdf/easyrdf/test/fixtures/sparql_typed_literal.xml @@ -0,0 +1,153 @@ + + + + + + + + + + + http://www.bbc.co.uk/programmes/b0074dlv#programme + + + 1 + + + Rose + + + + + http://www.bbc.co.uk/programmes/b0074dmp#programme + + + 2 + + + The End of the World + + + + + http://www.bbc.co.uk/programmes/b0074dng#programme + + + 3 + + + The Unquiet Dead + + + + + http://www.bbc.co.uk/programmes/b0074dp9#programme + + + 4 + + + Aliens of London + + + + + http://www.bbc.co.uk/programmes/b0074dpv#programme + + + 5 + + + World War Three + + + + + http://www.bbc.co.uk/programmes/b0074dq8#programme + + + 6 + + + Dalek + + + + + http://www.bbc.co.uk/programmes/b0074dr5#programme + + + 7 + + + The Long Game + + + + + http://www.bbc.co.uk/programmes/b0074drw#programme + + + 8 + + + Father's Day + + + + + http://www.bbc.co.uk/programmes/b0074ds9#programme + + + 9 + + + The Empty Child + + + + + http://www.bbc.co.uk/programmes/b0074dsp#programme + + + 10 + + + The Doctor Dances + + + + + http://www.bbc.co.uk/programmes/b0074dt5#programme + + + 11 + + + Boom Town + + + + + http://www.bbc.co.uk/programmes/b0074dth#programme + + + 12 + + + Bad Wolf + + + + + http://www.bbc.co.uk/programmes/b0074dv1#programme + + + 13 + + + The Parting of the Ways + + + + \ No newline at end of file diff --git a/core/vendor/easyrdf/easyrdf/test/fixtures/turtle/README.txt b/core/vendor/easyrdf/easyrdf/test/fixtures/turtle/README.txt new file mode 100644 index 0000000..fa0a00f --- /dev/null +++ b/core/vendor/easyrdf/easyrdf/test/fixtures/turtle/README.txt @@ -0,0 +1,20 @@ +These are the tests for the Turtle Terse RDF Triple Language +that must be passed by conformant systems. See + http://www.w3.org/TeamSubmission/turtle/ +for the full conformance information. + +The format is a set of good tests and bad tests. + +Good tests are a pair of files: + abc.ttl abc.out +which are the input Turtle file and the expected output RDF triples, +written in N-Triples. + +bad tests are of the form + bad-XX.ttl +which must fail. + +The tests should be performed with an assumed base URI +of http://www.w3.org/2001/sw/DataAccess/df1/tests/ + +Dave diff --git a/core/vendor/easyrdf/easyrdf/test/fixtures/turtle/bad-00.ttl b/core/vendor/easyrdf/easyrdf/test/fixtures/turtle/bad-00.ttl new file mode 100644 index 0000000..b1a1b36 --- /dev/null +++ b/core/vendor/easyrdf/easyrdf/test/fixtures/turtle/bad-00.ttl @@ -0,0 +1,2 @@ +# prefix name must end in a : +@prefix a <#> . diff --git a/core/vendor/easyrdf/easyrdf/test/fixtures/turtle/bad-01.ttl b/core/vendor/easyrdf/easyrdf/test/fixtures/turtle/bad-01.ttl new file mode 100644 index 0000000..533bc21 --- /dev/null +++ b/core/vendor/easyrdf/easyrdf/test/fixtures/turtle/bad-01.ttl @@ -0,0 +1,3 @@ +# Forbidden by RDF - predicate cannot be blank +@prefix : . +:a [ :b :c ] :d . diff --git a/core/vendor/easyrdf/easyrdf/test/fixtures/turtle/bad-02.ttl b/core/vendor/easyrdf/easyrdf/test/fixtures/turtle/bad-02.ttl new file mode 100644 index 0000000..fd2014d --- /dev/null +++ b/core/vendor/easyrdf/easyrdf/test/fixtures/turtle/bad-02.ttl @@ -0,0 +1,3 @@ +# Forbidden by RDF - predicate cannot be blank +@prefix : . +:a [] :b . diff --git a/core/vendor/easyrdf/easyrdf/test/fixtures/turtle/bad-03.ttl b/core/vendor/easyrdf/easyrdf/test/fixtures/turtle/bad-03.ttl new file mode 100644 index 0000000..07a372f --- /dev/null +++ b/core/vendor/easyrdf/easyrdf/test/fixtures/turtle/bad-03.ttl @@ -0,0 +1,3 @@ +# 'a' only allowed as a predicate +@prefix : . +a :a :b . diff --git a/core/vendor/easyrdf/easyrdf/test/fixtures/turtle/bad-04.ttl b/core/vendor/easyrdf/easyrdf/test/fixtures/turtle/bad-04.ttl new file mode 100644 index 0000000..ee7246c --- /dev/null +++ b/core/vendor/easyrdf/easyrdf/test/fixtures/turtle/bad-04.ttl @@ -0,0 +1,3 @@ +# No comma is allowed in collections +@prefix : . +:a :b ( "apple", "banana" ) . diff --git a/core/vendor/easyrdf/easyrdf/test/fixtures/turtle/bad-05.ttl b/core/vendor/easyrdf/easyrdf/test/fixtures/turtle/bad-05.ttl new file mode 100644 index 0000000..387015f --- /dev/null +++ b/core/vendor/easyrdf/easyrdf/test/fixtures/turtle/bad-05.ttl @@ -0,0 +1,4 @@ +# N3 {}s are not in Turtle +@prefix : . +{ :a :b :c . } :d :e . + diff --git a/core/vendor/easyrdf/easyrdf/test/fixtures/turtle/bad-06.ttl b/core/vendor/easyrdf/easyrdf/test/fixtures/turtle/bad-06.ttl new file mode 100644 index 0000000..a8f1a0f --- /dev/null +++ b/core/vendor/easyrdf/easyrdf/test/fixtures/turtle/bad-06.ttl @@ -0,0 +1,3 @@ +# is and of are not in turtle +@prefix : . +:a is :b of :c . diff --git a/core/vendor/easyrdf/easyrdf/test/fixtures/turtle/bad-07.ttl b/core/vendor/easyrdf/easyrdf/test/fixtures/turtle/bad-07.ttl new file mode 100644 index 0000000..18ea4fa --- /dev/null +++ b/core/vendor/easyrdf/easyrdf/test/fixtures/turtle/bad-07.ttl @@ -0,0 +1,4 @@ +# paths are not in turtle +@prefix : . +:a.:b.:c . +:a^:b^:c . diff --git a/core/vendor/easyrdf/easyrdf/test/fixtures/turtle/bad-08.ttl b/core/vendor/easyrdf/easyrdf/test/fixtures/turtle/bad-08.ttl new file mode 100644 index 0000000..07918f9 --- /dev/null +++ b/core/vendor/easyrdf/easyrdf/test/fixtures/turtle/bad-08.ttl @@ -0,0 +1,2 @@ +@keywords something. +# @keywords is not in turtle diff --git a/core/vendor/easyrdf/easyrdf/test/fixtures/turtle/bad-09.ttl b/core/vendor/easyrdf/easyrdf/test/fixtures/turtle/bad-09.ttl new file mode 100644 index 0000000..d2d76c1 --- /dev/null +++ b/core/vendor/easyrdf/easyrdf/test/fixtures/turtle/bad-09.ttl @@ -0,0 +1,3 @@ +# implies is not in turtle +@prefix : . +:a => :b . diff --git a/core/vendor/easyrdf/easyrdf/test/fixtures/turtle/bad-10.ttl b/core/vendor/easyrdf/easyrdf/test/fixtures/turtle/bad-10.ttl new file mode 100644 index 0000000..b5ef1f5 --- /dev/null +++ b/core/vendor/easyrdf/easyrdf/test/fixtures/turtle/bad-10.ttl @@ -0,0 +1,3 @@ +# equivalence is not in turtle +@prefix : . +:a = :b . diff --git a/core/vendor/easyrdf/easyrdf/test/fixtures/turtle/bad-11.ttl b/core/vendor/easyrdf/easyrdf/test/fixtures/turtle/bad-11.ttl new file mode 100644 index 0000000..09e7b6a --- /dev/null +++ b/core/vendor/easyrdf/easyrdf/test/fixtures/turtle/bad-11.ttl @@ -0,0 +1,3 @@ +# @forAll is not in turtle +@prefix : . +@forAll :x . diff --git a/core/vendor/easyrdf/easyrdf/test/fixtures/turtle/bad-12.ttl b/core/vendor/easyrdf/easyrdf/test/fixtures/turtle/bad-12.ttl new file mode 100644 index 0000000..cef48ff --- /dev/null +++ b/core/vendor/easyrdf/easyrdf/test/fixtures/turtle/bad-12.ttl @@ -0,0 +1,3 @@ +# @forSome is not in turtle +@prefix : . +@forSome :x . diff --git a/core/vendor/easyrdf/easyrdf/test/fixtures/turtle/bad-13.ttl b/core/vendor/easyrdf/easyrdf/test/fixtures/turtle/bad-13.ttl new file mode 100644 index 0000000..91accf2 --- /dev/null +++ b/core/vendor/easyrdf/easyrdf/test/fixtures/turtle/bad-13.ttl @@ -0,0 +1,3 @@ +# <= is not in turtle +@prefix : . +:a <= :b . diff --git a/core/vendor/easyrdf/easyrdf/test/fixtures/turtle/bad-14.ttl b/core/vendor/easyrdf/easyrdf/test/fixtures/turtle/bad-14.ttl new file mode 100644 index 0000000..f4a7acf --- /dev/null +++ b/core/vendor/easyrdf/easyrdf/test/fixtures/turtle/bad-14.ttl @@ -0,0 +1,6 @@ +# Test long literals with missing end +@prefix : . +:a :b """a long + literal +with +newlines diff --git a/core/vendor/easyrdf/easyrdf/test/fixtures/turtle/base1.out b/core/vendor/easyrdf/easyrdf/test/fixtures/turtle/base1.out new file mode 100644 index 0000000..9f6aba8 --- /dev/null +++ b/core/vendor/easyrdf/easyrdf/test/fixtures/turtle/base1.out @@ -0,0 +1 @@ + . diff --git a/core/vendor/easyrdf/easyrdf/test/fixtures/turtle/base1.ttl b/core/vendor/easyrdf/easyrdf/test/fixtures/turtle/base1.ttl new file mode 100644 index 0000000..85f813c --- /dev/null +++ b/core/vendor/easyrdf/easyrdf/test/fixtures/turtle/base1.ttl @@ -0,0 +1,3 @@ +# base1 - Resolution of a relative URI against an absolute base. +@base . + . diff --git a/core/vendor/easyrdf/easyrdf/test/fixtures/turtle/quotes1.out b/core/vendor/easyrdf/easyrdf/test/fixtures/turtle/quotes1.out new file mode 100644 index 0000000..33b95d1 --- /dev/null +++ b/core/vendor/easyrdf/easyrdf/test/fixtures/turtle/quotes1.out @@ -0,0 +1,6 @@ + "'single'" . + "\"double\"" . + "'single'" . + "\"double\"" . + "'single'" . + "\"double\"" . diff --git a/core/vendor/easyrdf/easyrdf/test/fixtures/turtle/quotes1.ttl b/core/vendor/easyrdf/easyrdf/test/fixtures/turtle/quotes1.ttl new file mode 100644 index 0000000..4de2380 --- /dev/null +++ b/core/vendor/easyrdf/easyrdf/test/fixtures/turtle/quotes1.ttl @@ -0,0 +1,9 @@ +# quotes1 - Test different types of quotes +@prefix ex: . +@prefix rdf: . +ex:a rdf:value "'single'" . +ex:b rdf:value '"double"' . +ex:c rdf:value """'single'""" . +ex:d rdf:value '''"double"''' . +ex:e rdf:value '\'single\'' . +ex:f rdf:value "\"double\"" . diff --git a/core/vendor/easyrdf/easyrdf/test/fixtures/turtle/rdf-schema.out b/core/vendor/easyrdf/easyrdf/test/fixtures/turtle/rdf-schema.out new file mode 100644 index 0000000..94e1404 --- /dev/null +++ b/core/vendor/easyrdf/easyrdf/test/fixtures/turtle/rdf-schema.out @@ -0,0 +1,126 @@ + . + "Indicates membership of a class" . + "type"@en . + "type"@fr . + . + . + "The concept of Class" . + "Class"@en . + "Classe"@fr . + . + . + "Properties used to express RDF Schema constraints." . + "ConstraintProperty"@en . + "Propri\u00E9t\u00E9Contrainte"@fr . + . + . + . + . + "Resources used to express RDF Schema constraints." . + "ConstraintResource"@en . + "RessourceContrainte"@fr . + . + . + "This represents the set Containers." . + "Container"@en . + "Enveloppe"@fr . + . + . + "ContainerMembershipProperty"@en . + . + . + . + "This represents the set of atomic values, eg. textual strings." . + "Literal"@en . + "Litt\u00E9ral"@fr . + . + "The most general class" . + "Resource"@en . + "Ressource"@fr . + . + "Use this for descriptions" . + . + "comment"@en . + "commentaire"@fr . + . + . + "This is how we associate a class with properties that its instances can have" . + "domain"@en . + "domaine"@fr . + . + "Indicates a resource containing and defining the subject resource." . + . + "esD\u00E9finiPar"@fr . + "isDefinedBy"@en . + . + . + . + "Provides a human-readable version of a resource name." . + . + "label"@en . + "label"@fr . + . + . + "Properties that can be used in a schema to provide constraints" . + . + "range"@en . + "\u00E9tendue"@fr . + . + . + "Indicates a resource that provides information about the subject resource." . + . + "seeAlso"@en . + "voirAussi"@fr . + . + . + "Indicates membership of a class" . + . + "sousClasseDe"@fr . + "subClassOf"@en . + . + . + "Indicates specialization of properties" . + . + "sousPropri\u00E9t\u00E9De"@fr . + "subPropertyOf"@en . + . + . + "Alt"@en . + "Choix"@fr . + . + . + "Bag"@en . + "Ensemble"@fr . + . + . + "The concept of a property." . + "Property"@en . + "Propri\u00E9t\u00E9"@fr . + . + . + "Sequence"@en . + "S\u00E9quence"@fr . + . + . + "This represents the set of reified statements." . + "D\u00E9claration"@fr . + "Statement"@en . + . + . + . + "object"@en . + "objet"@fr . + . + . + "predicate"@en . + "pr\u00E9dicat"@fr . + . + . + . + "subject"@en . + "sujet"@fr . + . + . + "object"@en . + "value"@fr . + . diff --git a/core/vendor/easyrdf/easyrdf/test/fixtures/turtle/rdf-schema.ttl b/core/vendor/easyrdf/easyrdf/test/fixtures/turtle/rdf-schema.ttl new file mode 100644 index 0000000..8a61794 --- /dev/null +++ b/core/vendor/easyrdf/easyrdf/test/fixtures/turtle/rdf-schema.ttl @@ -0,0 +1,156 @@ +# RDF Namespace document converted into Turtle + +@prefix : . +@prefix rdf: . + +rdf:type a rdf:Property; + :comment "Indicates membership of a class"; + :label "type"@en, + "type"@fr; + :range :Class . + +:Class a :Class; + :comment "The concept of Class"; + :label "Class"@en, + "Classe"@fr; + :subClassOf :Resource . + +:ConstraintProperty a :Class; + :comment "Properties used to express RDF Schema constraints."; + :label "ConstraintProperty"@en, + "Propri\u00E9t\u00E9Contrainte"@fr; + :subClassOf :ConstraintResource, + rdf:Property . + +:ConstraintResource a :Class, + :Class; + :comment "Resources used to express RDF Schema constraints."; + :label "ConstraintResource"@en, + "RessourceContrainte"@fr; + :subClassOf :Resource . + +:Container a :Class; + :comment "This represents the set Containers."; + :label "Container"@en, + "Enveloppe"@fr; + :subClassOf :Resource . + +:ContainerMembershipProperty a :Class; + :label "ContainerMembershipProperty"@en; + :subClassOf rdf:Property . + +:Literal a :Class, + :Class; + :comment "This represents the set of atomic values, eg. textual strings."; + :label "Literal"@en, + "Litt\u00E9ral"@fr . + +:Resource a :Class; + :comment "The most general class"; + :label "Resource"@en, + "Ressource"@fr . + +:comment a rdf:Property; + :comment "Use this for descriptions"; + :domain :Resource; + :label "comment"@en, + "commentaire"@fr; + :range :Literal . + +:domain a :ConstraintProperty; + :comment "This is how we associate a class with properties that its instances can have"; + :label "domain"@en, + "domaine"@fr . + +:isDefinedBy a rdf:Property; + :comment "Indicates a resource containing and defining the subject resource."; + :domain :Resource; + :label "esD\u00E9finiPar"@fr, + "isDefinedBy"@en; + :range :Resource; + :subPropertyOf :seeAlso . + +:label a rdf:Property; + :comment "Provides a human-readable version of a resource name."; + :domain :Resource; + :label "label"@en, + "label"@fr; + :range :Literal . + +:range a :ConstraintProperty; + :comment "Properties that can be used in a schema to provide constraints"; + :domain rdf:Property; + :label "range"@en, + "\u00E9tendue"@fr; + :range :Class . + +:seeAlso a rdf:Property; + :comment "Indicates a resource that provides information about the subject resource."; + :domain :Resource; + :label "seeAlso"@en, + "voirAussi"@fr; + :range :Resource . + +:subClassOf a rdf:Property; + :comment "Indicates membership of a class"; + :domain :Class; + :label "sousClasseDe"@fr, + "subClassOf"@en; + :range :Class . + +:subPropertyOf a rdf:Property; + :comment "Indicates specialization of properties"; + :domain rdf:Property; + :label "sousPropri\u00E9t\u00E9De"@fr, + "subPropertyOf"@en; + :range rdf:Property . + +rdf:Alt a :Class; + :label "Alt"@en, + "Choix"@fr; + :subClassOf :Container . + +rdf:Bag a :Class; + :label "Bag"@en, + "Ensemble"@fr; + :subClassOf :Container . + +rdf:Property a :Class; + :comment "The concept of a property."; + :label "Property"@en, + "Propri\u00E9t\u00E9"@fr; + :subClassOf :Resource . + +rdf:Seq a :Class; + :label "Sequence"@en, + "S\u00E9quence"@fr; + :subClassOf :Container . + +rdf:Statement a :Class; + :comment "This represents the set of reified statements."; + :label "D\u00E9claration"@fr, + "Statement"@en; + :subClassOf :Resource . + +rdf:object a rdf:Property; + :domain rdf:Statement; + :label "object"@en, + "objet"@fr . + +rdf:predicate a rdf:Property; + :domain rdf:Statement; + :label "predicate"@en, + "pr\u00E9dicat"@fr; + :range rdf:Property . + +rdf:subject a rdf:Property; + :domain rdf:Statement; + :label "subject"@en, + "sujet"@fr; + :range :Resource . + +rdf:value a rdf:Property; + :label "object"@en, + "value"@fr . + +: :seeAlso . diff --git a/core/vendor/easyrdf/easyrdf/test/fixtures/turtle/test-00.out b/core/vendor/easyrdf/easyrdf/test/fixtures/turtle/test-00.out new file mode 100644 index 0000000..7f8b717 --- /dev/null +++ b/core/vendor/easyrdf/easyrdf/test/fixtures/turtle/test-00.out @@ -0,0 +1 @@ +_:genid1 . diff --git a/core/vendor/easyrdf/easyrdf/test/fixtures/turtle/test-00.ttl b/core/vendor/easyrdf/easyrdf/test/fixtures/turtle/test-00.ttl new file mode 100644 index 0000000..78da35e --- /dev/null +++ b/core/vendor/easyrdf/easyrdf/test/fixtures/turtle/test-00.ttl @@ -0,0 +1,2 @@ +@prefix : <#> . +[] :x :y . diff --git a/core/vendor/easyrdf/easyrdf/test/fixtures/turtle/test-01.out b/core/vendor/easyrdf/easyrdf/test/fixtures/turtle/test-01.out new file mode 100644 index 0000000..5ccb5bd --- /dev/null +++ b/core/vendor/easyrdf/easyrdf/test/fixtures/turtle/test-01.out @@ -0,0 +1,3 @@ + . + . + . diff --git a/core/vendor/easyrdf/easyrdf/test/fixtures/turtle/test-01.ttl b/core/vendor/easyrdf/easyrdf/test/fixtures/turtle/test-01.ttl new file mode 100644 index 0000000..9070d2c --- /dev/null +++ b/core/vendor/easyrdf/easyrdf/test/fixtures/turtle/test-01.ttl @@ -0,0 +1,7 @@ +# Test @prefix and qnames +@prefix : . +@prefix a: . +@prefix b: . +:a :b :c . +a:a a:b a:c . +:a a:a b:a . diff --git a/core/vendor/easyrdf/easyrdf/test/fixtures/turtle/test-02.out b/core/vendor/easyrdf/easyrdf/test/fixtures/turtle/test-02.out new file mode 100644 index 0000000..99732ab --- /dev/null +++ b/core/vendor/easyrdf/easyrdf/test/fixtures/turtle/test-02.out @@ -0,0 +1,3 @@ + . + . + . diff --git a/core/vendor/easyrdf/easyrdf/test/fixtures/turtle/test-02.ttl b/core/vendor/easyrdf/easyrdf/test/fixtures/turtle/test-02.ttl new file mode 100644 index 0000000..a623f3c --- /dev/null +++ b/core/vendor/easyrdf/easyrdf/test/fixtures/turtle/test-02.ttl @@ -0,0 +1,5 @@ +# Test , operator +@prefix : . +:a :b :c, + :d, + :e . diff --git a/core/vendor/easyrdf/easyrdf/test/fixtures/turtle/test-03.out b/core/vendor/easyrdf/easyrdf/test/fixtures/turtle/test-03.out new file mode 100644 index 0000000..d6ce9e8 --- /dev/null +++ b/core/vendor/easyrdf/easyrdf/test/fixtures/turtle/test-03.out @@ -0,0 +1,3 @@ + . + . + . diff --git a/core/vendor/easyrdf/easyrdf/test/fixtures/turtle/test-03.ttl b/core/vendor/easyrdf/easyrdf/test/fixtures/turtle/test-03.ttl new file mode 100644 index 0000000..9179fa5 --- /dev/null +++ b/core/vendor/easyrdf/easyrdf/test/fixtures/turtle/test-03.ttl @@ -0,0 +1,5 @@ +# Test ; operator +@prefix : . +:a :b :c ; + :d :e ; + :f :g . diff --git a/core/vendor/easyrdf/easyrdf/test/fixtures/turtle/test-04.out b/core/vendor/easyrdf/easyrdf/test/fixtures/turtle/test-04.out new file mode 100644 index 0000000..414e4b8 --- /dev/null +++ b/core/vendor/easyrdf/easyrdf/test/fixtures/turtle/test-04.out @@ -0,0 +1,2 @@ +_:genid1 . + _:genid2 . diff --git a/core/vendor/easyrdf/easyrdf/test/fixtures/turtle/test-04.ttl b/core/vendor/easyrdf/easyrdf/test/fixtures/turtle/test-04.ttl new file mode 100644 index 0000000..c518147 --- /dev/null +++ b/core/vendor/easyrdf/easyrdf/test/fixtures/turtle/test-04.ttl @@ -0,0 +1,4 @@ +# Test empty [] operator; not allowed as predicate +@prefix : . +[] :a :b . +:c :d [] . diff --git a/core/vendor/easyrdf/easyrdf/test/fixtures/turtle/test-05.out b/core/vendor/easyrdf/easyrdf/test/fixtures/turtle/test-05.out new file mode 100644 index 0000000..6925d40 --- /dev/null +++ b/core/vendor/easyrdf/easyrdf/test/fixtures/turtle/test-05.out @@ -0,0 +1,4 @@ +_:genid1 . +_:genid1 . +_:genid2 . + _:genid2 . diff --git a/core/vendor/easyrdf/easyrdf/test/fixtures/turtle/test-05.ttl b/core/vendor/easyrdf/easyrdf/test/fixtures/turtle/test-05.ttl new file mode 100644 index 0000000..adcbcab --- /dev/null +++ b/core/vendor/easyrdf/easyrdf/test/fixtures/turtle/test-05.ttl @@ -0,0 +1,4 @@ +# Test non empty [] operator; not allowed as predicate +@prefix : . +[ :a :b ] :c :d . +:e :f [ :g :h ] . diff --git a/core/vendor/easyrdf/easyrdf/test/fixtures/turtle/test-06.out b/core/vendor/easyrdf/easyrdf/test/fixtures/turtle/test-06.out new file mode 100644 index 0000000..49961ea --- /dev/null +++ b/core/vendor/easyrdf/easyrdf/test/fixtures/turtle/test-06.out @@ -0,0 +1 @@ + . diff --git a/core/vendor/easyrdf/easyrdf/test/fixtures/turtle/test-06.ttl b/core/vendor/easyrdf/easyrdf/test/fixtures/turtle/test-06.ttl new file mode 100644 index 0000000..9c1005c --- /dev/null +++ b/core/vendor/easyrdf/easyrdf/test/fixtures/turtle/test-06.ttl @@ -0,0 +1,3 @@ +# 'a' only allowed as a predicate +@prefix : . +:a a :b . diff --git a/core/vendor/easyrdf/easyrdf/test/fixtures/turtle/test-07.out b/core/vendor/easyrdf/easyrdf/test/fixtures/turtle/test-07.out new file mode 100644 index 0000000..4a4e8ee --- /dev/null +++ b/core/vendor/easyrdf/easyrdf/test/fixtures/turtle/test-07.out @@ -0,0 +1,5 @@ +_:genid1 "apple" . +_:genid1 _:genid2 . +_:genid2 "banana" . +_:genid2 . + _:genid1 . diff --git a/core/vendor/easyrdf/easyrdf/test/fixtures/turtle/test-07.ttl b/core/vendor/easyrdf/easyrdf/test/fixtures/turtle/test-07.ttl new file mode 100644 index 0000000..8455940 --- /dev/null +++ b/core/vendor/easyrdf/easyrdf/test/fixtures/turtle/test-07.ttl @@ -0,0 +1,3 @@ +@prefix : . +:a :b ( "apple" "banana" ) . + diff --git a/core/vendor/easyrdf/easyrdf/test/fixtures/turtle/test-08.out b/core/vendor/easyrdf/easyrdf/test/fixtures/turtle/test-08.out new file mode 100644 index 0000000..a77939c --- /dev/null +++ b/core/vendor/easyrdf/easyrdf/test/fixtures/turtle/test-08.out @@ -0,0 +1 @@ + . diff --git a/core/vendor/easyrdf/easyrdf/test/fixtures/turtle/test-08.ttl b/core/vendor/easyrdf/easyrdf/test/fixtures/turtle/test-08.ttl new file mode 100644 index 0000000..adce0a2 --- /dev/null +++ b/core/vendor/easyrdf/easyrdf/test/fixtures/turtle/test-08.ttl @@ -0,0 +1,3 @@ +@prefix : . +:a :b ( ) . + diff --git a/core/vendor/easyrdf/easyrdf/test/fixtures/turtle/test-09.out b/core/vendor/easyrdf/easyrdf/test/fixtures/turtle/test-09.out new file mode 100644 index 0000000..ad3178c --- /dev/null +++ b/core/vendor/easyrdf/easyrdf/test/fixtures/turtle/test-09.out @@ -0,0 +1,4 @@ +_:genid1 . +_:genid2 . +_:genid2 _:genid1 . +_:genid2 "2"^^ . diff --git a/core/vendor/easyrdf/easyrdf/test/fixtures/turtle/test-09.ttl b/core/vendor/easyrdf/easyrdf/test/fixtures/turtle/test-09.ttl new file mode 100644 index 0000000..0afe1b0 --- /dev/null +++ b/core/vendor/easyrdf/easyrdf/test/fixtures/turtle/test-09.ttl @@ -0,0 +1,10 @@ +# Test integer datatyped literals using an OWL cardinality constraint +@prefix owl: . + +# based on examples in the OWL Reference + +_:hasParent a owl:ObjectProperty . + +[] a owl:Restriction ; + owl:onProperty _:hasParent ; + owl:maxCardinality 2 . diff --git a/core/vendor/easyrdf/easyrdf/test/fixtures/turtle/test-10.out b/core/vendor/easyrdf/easyrdf/test/fixtures/turtle/test-10.out new file mode 100644 index 0000000..ff88aa6 --- /dev/null +++ b/core/vendor/easyrdf/easyrdf/test/fixtures/turtle/test-10.out @@ -0,0 +1,5 @@ + "000000"^^ . + "0"^^ . + "000001"^^ . + "2"^^ . + "4"^^ . diff --git a/core/vendor/easyrdf/easyrdf/test/fixtures/turtle/test-10.ttl b/core/vendor/easyrdf/easyrdf/test/fixtures/turtle/test-10.ttl new file mode 100644 index 0000000..5d36360 --- /dev/null +++ b/core/vendor/easyrdf/easyrdf/test/fixtures/turtle/test-10.ttl @@ -0,0 +1,5 @@ + 000000 . + 0 . + 000001 . + 2 . + 4 . diff --git a/core/vendor/easyrdf/easyrdf/test/fixtures/turtle/test-11.out b/core/vendor/easyrdf/easyrdf/test/fixtures/turtle/test-11.out new file mode 100644 index 0000000..f936a5b --- /dev/null +++ b/core/vendor/easyrdf/easyrdf/test/fixtures/turtle/test-11.out @@ -0,0 +1,4 @@ + "a" . + "b" . + "c" . + "d" . diff --git a/core/vendor/easyrdf/easyrdf/test/fixtures/turtle/test-11.ttl b/core/vendor/easyrdf/easyrdf/test/fixtures/turtle/test-11.ttl new file mode 100644 index 0000000..3de1a43 --- /dev/null +++ b/core/vendor/easyrdf/easyrdf/test/fixtures/turtle/test-11.ttl @@ -0,0 +1,10 @@ +# Tests for - and _ in names, qnames +@prefix ex1: . +@prefix ex-2: . +@prefix ex3_: . +@prefix ex4-: . + +ex1:foo-bar ex1:foo_bar "a" . +ex-2:foo-bar ex-2:foo_bar "b" . +ex3_:foo-bar ex3_:foo_bar "c" . +ex4-:foo-bar ex4-:foo_bar "d" . diff --git a/core/vendor/easyrdf/easyrdf/test/fixtures/turtle/test-12.out b/core/vendor/easyrdf/easyrdf/test/fixtures/turtle/test-12.out new file mode 100644 index 0000000..67404a5 --- /dev/null +++ b/core/vendor/easyrdf/easyrdf/test/fixtures/turtle/test-12.out @@ -0,0 +1,4 @@ + "1" . + "2" . + "def" . + "678" . diff --git a/core/vendor/easyrdf/easyrdf/test/fixtures/turtle/test-12.ttl b/core/vendor/easyrdf/easyrdf/test/fixtures/turtle/test-12.ttl new file mode 100644 index 0000000..1fed9f5 --- /dev/null +++ b/core/vendor/easyrdf/easyrdf/test/fixtures/turtle/test-12.ttl @@ -0,0 +1,9 @@ +# Tests for rdf:_ and other qnames starting with _ +@prefix rdf: . +@prefix ex: . +@prefix : . + +ex:foo rdf:_1 "1" . +ex:foo rdf:_2 "2" . +ex:foo :_abc "def" . +ex:foo :_345 "678" . diff --git a/core/vendor/easyrdf/easyrdf/test/fixtures/turtle/test-13.out b/core/vendor/easyrdf/easyrdf/test/fixtures/turtle/test-13.out new file mode 100644 index 0000000..9feb5ad --- /dev/null +++ b/core/vendor/easyrdf/easyrdf/test/fixtures/turtle/test-13.out @@ -0,0 +1,2 @@ +_:genid1 _:genid2 . + . diff --git a/core/vendor/easyrdf/easyrdf/test/fixtures/turtle/test-13.ttl b/core/vendor/easyrdf/easyrdf/test/fixtures/turtle/test-13.ttl new file mode 100644 index 0000000..a8be95b --- /dev/null +++ b/core/vendor/easyrdf/easyrdf/test/fixtures/turtle/test-13.ttl @@ -0,0 +1,7 @@ +# Test for : allowed +@prefix : . + +[] : [] . + +: : : . + diff --git a/core/vendor/easyrdf/easyrdf/test/fixtures/turtle/test-17.out b/core/vendor/easyrdf/easyrdf/test/fixtures/turtle/test-17.out new file mode 100644 index 0000000..466edbb --- /dev/null +++ b/core/vendor/easyrdf/easyrdf/test/fixtures/turtle/test-17.out @@ -0,0 +1 @@ + "a long\n\tliteral\nwith\nnewlines" . diff --git a/core/vendor/easyrdf/easyrdf/test/fixtures/turtle/test-17.ttl b/core/vendor/easyrdf/easyrdf/test/fixtures/turtle/test-17.ttl new file mode 100644 index 0000000..86c453b --- /dev/null +++ b/core/vendor/easyrdf/easyrdf/test/fixtures/turtle/test-17.ttl @@ -0,0 +1,6 @@ +# Test long literal +@prefix : . +:a :b """a long + literal +with +newlines""" . diff --git a/core/vendor/easyrdf/easyrdf/test/fixtures/turtle/test-18.out b/core/vendor/easyrdf/easyrdf/test/fixtures/turtle/test-18.out new file mode 100644 index 0000000..4ff4b95 --- /dev/null +++ b/core/vendor/easyrdf/easyrdf/test/fixtures/turtle/test-18.out @@ -0,0 +1,2 @@ + "\nthis \ris a \U00015678long\t\nliteral\uABCD\n" . + "\tThis \uABCDis\r \U00015678another\n\none\n" . diff --git a/core/vendor/easyrdf/easyrdf/test/fixtures/turtle/test-18.ttl b/core/vendor/easyrdf/easyrdf/test/fixtures/turtle/test-18.ttl new file mode 100644 index 0000000..1adfa45 --- /dev/null +++ b/core/vendor/easyrdf/easyrdf/test/fixtures/turtle/test-18.ttl @@ -0,0 +1,9 @@ +@prefix : . + +:a :b """\nthis \ris a \U00015678long\t +literal\uABCD +""" . + +:d :e """\tThis \uABCDis\r \U00015678another\n +one +""" . diff --git a/core/vendor/easyrdf/easyrdf/test/fixtures/turtle/test-19.out b/core/vendor/easyrdf/easyrdf/test/fixtures/turtle/test-19.out new file mode 100644 index 0000000..2e2dbe4 --- /dev/null +++ b/core/vendor/easyrdf/easyrdf/test/fixtures/turtle/test-19.out @@ -0,0 +1 @@ + "1.0"^^ . diff --git a/core/vendor/easyrdf/easyrdf/test/fixtures/turtle/test-19.ttl b/core/vendor/easyrdf/easyrdf/test/fixtures/turtle/test-19.ttl new file mode 100644 index 0000000..9de0c07 --- /dev/null +++ b/core/vendor/easyrdf/easyrdf/test/fixtures/turtle/test-19.ttl @@ -0,0 +1,4 @@ +@prefix : . + +:a :b 1.0 . + diff --git a/core/vendor/easyrdf/easyrdf/test/fixtures/turtle/test-20.out b/core/vendor/easyrdf/easyrdf/test/fixtures/turtle/test-20.out new file mode 100644 index 0000000..fff2da5 --- /dev/null +++ b/core/vendor/easyrdf/easyrdf/test/fixtures/turtle/test-20.out @@ -0,0 +1,2 @@ + "" . + "" . diff --git a/core/vendor/easyrdf/easyrdf/test/fixtures/turtle/test-20.ttl b/core/vendor/easyrdf/easyrdf/test/fixtures/turtle/test-20.ttl new file mode 100644 index 0000000..37a9a4f --- /dev/null +++ b/core/vendor/easyrdf/easyrdf/test/fixtures/turtle/test-20.ttl @@ -0,0 +1,6 @@ +@prefix : . + +:a :b "" . + +:c :d """""" . + diff --git a/core/vendor/easyrdf/easyrdf/test/fixtures/turtle/test-21.out b/core/vendor/easyrdf/easyrdf/test/fixtures/turtle/test-21.out new file mode 100644 index 0000000..d5dca69 --- /dev/null +++ b/core/vendor/easyrdf/easyrdf/test/fixtures/turtle/test-21.out @@ -0,0 +1,3 @@ + "1.0"^^ . + "1"^^ . + "1.0e0"^^ . diff --git a/core/vendor/easyrdf/easyrdf/test/fixtures/turtle/test-21.ttl b/core/vendor/easyrdf/easyrdf/test/fixtures/turtle/test-21.ttl new file mode 100644 index 0000000..a8e8dc1 --- /dev/null +++ b/core/vendor/easyrdf/easyrdf/test/fixtures/turtle/test-21.ttl @@ -0,0 +1,4 @@ +@prefix : . +:a :b 1.0 . +:c :d 1 . +:e :f 1.0e0 . diff --git a/core/vendor/easyrdf/easyrdf/test/fixtures/turtle/test-22.out b/core/vendor/easyrdf/easyrdf/test/fixtures/turtle/test-22.out new file mode 100644 index 0000000..3d0f970 --- /dev/null +++ b/core/vendor/easyrdf/easyrdf/test/fixtures/turtle/test-22.out @@ -0,0 +1,3 @@ + "-1.0"^^ . + "-1"^^ . + "-1.0e0"^^ . diff --git a/core/vendor/easyrdf/easyrdf/test/fixtures/turtle/test-22.ttl b/core/vendor/easyrdf/easyrdf/test/fixtures/turtle/test-22.ttl new file mode 100644 index 0000000..9b1a725 --- /dev/null +++ b/core/vendor/easyrdf/easyrdf/test/fixtures/turtle/test-22.ttl @@ -0,0 +1,4 @@ +@prefix : . +:a :b -1.0 . +:c :d -1 . +:e :f -1.0e0 . diff --git a/core/vendor/easyrdf/easyrdf/test/fixtures/turtle/test-23.out b/core/vendor/easyrdf/easyrdf/test/fixtures/turtle/test-23.out new file mode 100644 index 0000000..fde3131 --- /dev/null +++ b/core/vendor/easyrdf/easyrdf/test/fixtures/turtle/test-23.out @@ -0,0 +1 @@ + "John said: \"Hello World!\"" . diff --git a/core/vendor/easyrdf/easyrdf/test/fixtures/turtle/test-23.ttl b/core/vendor/easyrdf/easyrdf/test/fixtures/turtle/test-23.ttl new file mode 100644 index 0000000..9f5360a --- /dev/null +++ b/core/vendor/easyrdf/easyrdf/test/fixtures/turtle/test-23.ttl @@ -0,0 +1,3 @@ +# Test long literal +@prefix : . +:a :b """John said: "Hello World!\"""" . diff --git a/core/vendor/easyrdf/easyrdf/test/fixtures/turtle/test-24.out b/core/vendor/easyrdf/easyrdf/test/fixtures/turtle/test-24.out new file mode 100644 index 0000000..5a70bff --- /dev/null +++ b/core/vendor/easyrdf/easyrdf/test/fixtures/turtle/test-24.out @@ -0,0 +1,2 @@ + "true"^^ . + "false"^^ . diff --git a/core/vendor/easyrdf/easyrdf/test/fixtures/turtle/test-24.ttl b/core/vendor/easyrdf/easyrdf/test/fixtures/turtle/test-24.ttl new file mode 100644 index 0000000..25f3b75 --- /dev/null +++ b/core/vendor/easyrdf/easyrdf/test/fixtures/turtle/test-24.ttl @@ -0,0 +1,3 @@ +@prefix : . +:a :b true . +:c :d false . diff --git a/core/vendor/easyrdf/easyrdf/test/fixtures/turtle/test-25.out b/core/vendor/easyrdf/easyrdf/test/fixtures/turtle/test-25.out new file mode 100644 index 0000000..1a38415 --- /dev/null +++ b/core/vendor/easyrdf/easyrdf/test/fixtures/turtle/test-25.out @@ -0,0 +1,7 @@ + . + . + . + . + . + . + . diff --git a/core/vendor/easyrdf/easyrdf/test/fixtures/turtle/test-25.ttl b/core/vendor/easyrdf/easyrdf/test/fixtures/turtle/test-25.ttl new file mode 100644 index 0000000..310349d --- /dev/null +++ b/core/vendor/easyrdf/easyrdf/test/fixtures/turtle/test-25.ttl @@ -0,0 +1,14 @@ +# comment test +@prefix : . +:a :b :c . # end of line comment +:d # ignore me + :e # and me + :f # and me + . +:g :h #ignore me + :i, # and me + :j . # and me + +:k :l :m ; #ignore me + :n :o ; # and me + :p :q . # and me diff --git a/core/vendor/easyrdf/easyrdf/test/fixtures/turtle/test-26.out b/core/vendor/easyrdf/easyrdf/test/fixtures/turtle/test-26.out new file mode 100644 index 0000000..ad105cf --- /dev/null +++ b/core/vendor/easyrdf/easyrdf/test/fixtures/turtle/test-26.out @@ -0,0 +1 @@ + . diff --git a/core/vendor/easyrdf/easyrdf/test/fixtures/turtle/test-26.ttl b/core/vendor/easyrdf/easyrdf/test/fixtures/turtle/test-26.ttl new file mode 100644 index 0000000..0667c6b --- /dev/null +++ b/core/vendor/easyrdf/easyrdf/test/fixtures/turtle/test-26.ttl @@ -0,0 +1,4 @@ +# comment line with no final newline test +@prefix : . +:a :b :c . +#foo diff --git a/core/vendor/easyrdf/easyrdf/test/fixtures/turtle/test-27.out b/core/vendor/easyrdf/easyrdf/test/fixtures/turtle/test-27.out new file mode 100644 index 0000000..7da0635 --- /dev/null +++ b/core/vendor/easyrdf/easyrdf/test/fixtures/turtle/test-27.out @@ -0,0 +1 @@ + . diff --git a/core/vendor/easyrdf/easyrdf/test/fixtures/turtle/test-27.ttl b/core/vendor/easyrdf/easyrdf/test/fixtures/turtle/test-27.ttl new file mode 100644 index 0000000..569023c --- /dev/null +++ b/core/vendor/easyrdf/easyrdf/test/fixtures/turtle/test-27.ttl @@ -0,0 +1,5 @@ +@prefix foo: . +@prefix foo: . + +foo:blah foo:blah foo:blah . + diff --git a/core/vendor/easyrdf/easyrdf/test/fixtures/webid.ttl b/core/vendor/easyrdf/easyrdf/test/fixtures/webid.ttl new file mode 100644 index 0000000..3122a47 --- /dev/null +++ b/core/vendor/easyrdf/easyrdf/test/fixtures/webid.ttl @@ -0,0 +1,15 @@ +# WebID example from: http://www.w3.org/wiki/WebID + +@prefix cert: . +@prefix foaf: . +@prefix xsd: . + + + a foaf:Person ; + foaf:name "My name" ; + foaf:homepage ; + cert:key [ + a cert:RSAPublicKey; + cert:exponent 65537; + cert:modulus "cb24ed85d64d794b69c701c186acc059501e856000f661c93204d8380e07191c5c8b368d2ac32a428acb970398664368dc2a867320220f755e99ca2eecdae62e8d15fb58e1b76ae59cb7ace8838394d59e7250b449176e51a494951a1c366c6217d8768d682dde78dd4d55e613f8839cf275d4c8403743e7862601f3c49a6366e12bb8f498262c3c77de19bce40b32f89ae62c3780f5b6275be337e2b3153ae2ba72a9975ae71ab724649497066b660fcf774b7543d980952d2e8586200eda4158b014e75465d91ecf93efc7ac170c11fc7246fc6ded79c37780000ac4e079f671fd4f207ad770809e0e2d7b0ef5493befe73544d8e1be3dddb52455c61391a1"^^xsd:hexBinary; + ] . diff --git a/core/vendor/easyrdf/easyrdf/test/fixtures/xml_literal.rdf b/core/vendor/easyrdf/easyrdf/test/fixtures/xml_literal.rdf new file mode 100644 index 0000000..a98cda8 --- /dev/null +++ b/core/vendor/easyrdf/easyrdf/test/fixtures/xml_literal.rdf @@ -0,0 +1,13 @@ + + + + +

Here is a block of HTML text

+
+
+
diff --git a/core/vendor/easyrdf/easyrdf/test/testcases/rdfxml-testcases.php b/core/vendor/easyrdf/easyrdf/test/testcases/rdfxml-testcases.php new file mode 100644 index 0000000..894c89e --- /dev/null +++ b/core/vendor/easyrdf/easyrdf/test/testcases/rdfxml-testcases.php @@ -0,0 +1,67 @@ +allOfType('test:PositiveParserTest') as $test) { + echo "\n\n"; + + echo "Input: ".$test->get('test:inputDocument')."\n"; + if (!file_exists(testdataFilepath($test->get('test:inputDocument')))) { + echo "File does not exist.\n"; + continue; + } + + echo "Output: ".$test->get('test:outputDocument')."\n"; + if (!file_exists(testdataFilepath($test->get('test:outputDocument')))) { + echo "File does not exist.\n"; + continue; + } + + echo "Status: ".$test->get('test:status')."\n"; + if ($test->get('test:status') != 'APPROVED') { + continue; + } + + $graph = parseTestdata($test->get('test:inputDocument')); + $out_path = testdataFilepath($test->get('test:outputDocument')); + + $easyrdf_out_path = $out_path . ".easyrdf"; + file_put_contents($easyrdf_out_path, $graph->serialise('ntriples')); + + system("rdfdiff -f ntriples -t ntriples $out_path $easyrdf_out_path", $result); + if ($result == 0) { + echo "OK!\n"; + $passCount++; + } else { + echo "Failed!\n"; + $failCount++; + } +} + +echo "Tests that pass: $passCount\n"; +echo "Tests that fail: $failCount\n"; + + +function testdataFilepath($uri) +{ + return str_replace( + "http://www.w3.org/2000/10/rdf-tests/rdfcore/", + dirname(__FILE__) . '/rdfxml/', + $uri + ); +} + +function parseTestdata($uri) +{ + $filepath = testdata_filepath($uri); + $data = file_get_contents($filepath); + return new EasyRdf_Graph("$uri", $data, 'rdfxml'); +} diff --git a/core/vendor/kriswallsmith/assetic/Gemfile b/core/vendor/kriswallsmith/assetic/Gemfile new file mode 100644 index 0000000..1c53249 --- /dev/null +++ b/core/vendor/kriswallsmith/assetic/Gemfile @@ -0,0 +1,5 @@ +source "https://rubygems.org" + +gem "sprockets", "~> 1.0.0" +gem "sass" +gem "compass" diff --git a/core/vendor/kriswallsmith/assetic/README.md b/core/vendor/kriswallsmith/assetic/README.md index c9308c0..a6e5664 100644 --- a/core/vendor/kriswallsmith/assetic/README.md +++ b/core/vendor/kriswallsmith/assetic/README.md @@ -79,6 +79,7 @@ The core provides the following filters in the `Assetic\Filter` namespace: * `CssMinFilter`: minifies CSS * `CssRewriteFilter`: fixes relative URLs in CSS assets when moving to a new URL * `DartFilter`: compiles Javascript using dart2js + * `EmberPrecompileFilter`: precompiles Handlebars templates into Javascript for use in the Ember.js framework * `GoogleClosure\CompilerApiFilter`: compiles Javascript using the Google Closure Compiler API * `GoogleClosure\CompilerJarFilter`: compiles Javascript using the Google Closure Compiler JAR * `GssFilter`: compliles CSS using the Google Closure Stylesheets Compiler diff --git a/core/vendor/kriswallsmith/assetic/composer.json b/core/vendor/kriswallsmith/assetic/composer.json index 7e15e91..a9e2091 100644 --- a/core/vendor/kriswallsmith/assetic/composer.json +++ b/core/vendor/kriswallsmith/assetic/composer.json @@ -15,11 +15,11 @@ ], "require": { "php": ">=5.3.1", - "symfony/process": ">=2.1.0,<2.3-dev" + "symfony/process": "~2.1" }, "require-dev": { - "phpunit/phpunit": "3.7.*", - "twig/twig": ">=1.6.0,<2.0", + "phpunit/phpunit": "~3.7", + "twig/twig": "~1.6", "leafo/lessphp": "*", "leafo/scssphp": "*", "ptachoire/cssembed": "*", @@ -30,7 +30,6 @@ "kamicane/packager": "*", "joliclic/javascript-packer": "*" }, - "minimum-stability": "dev", "suggest": { "twig/twig": "Assetic provides the integration with the Twig templating engine", "leafo/lessphp": "Assetic provides the integration with the lessphp LESS compiler", @@ -63,15 +62,6 @@ { "type": "package", "package": { - "name": "mrclay/minify", - "version": "2.1.5", - "dist": { "url": "http://minify.googlecode.com/files/minify-2.1.5.zip", "type": "zip" }, - "autoload": { "classmap": [ "min/lib/" ] } - } - }, - { - "type": "package", - "package": { "name": "kamicane/packager", "version": "1.0", "dist": { "url": "https://github.com/kamicane/packager/archive/1.0.zip", "type": "zip" }, diff --git a/core/vendor/kriswallsmith/assetic/package.json b/core/vendor/kriswallsmith/assetic/package.json new file mode 100644 index 0000000..c5f534f --- /dev/null +++ b/core/vendor/kriswallsmith/assetic/package.json @@ -0,0 +1,12 @@ +{ + "devDependencies": { + "uglifycss": "*", + "coffee-script": "*", + "stylus": "*", + "ember-precompile": "*", + "typescript": "*", + "less": "*", + "handlebars": "*", + "uglify-js": "*" + } +} diff --git a/core/vendor/kriswallsmith/assetic/src/Assetic/Asset/FileAsset.php b/core/vendor/kriswallsmith/assetic/src/Assetic/Asset/FileAsset.php index 00870b0..7a7e113 100644 --- a/core/vendor/kriswallsmith/assetic/src/Assetic/Asset/FileAsset.php +++ b/core/vendor/kriswallsmith/assetic/src/Assetic/Asset/FileAsset.php @@ -11,8 +11,8 @@ namespace Assetic\Asset; -use Assetic\Util\PathUtils; use Assetic\Filter\FilterInterface; +use Assetic\Util\VarUtils; /** * Represents an asset loaded from a file. @@ -56,7 +56,7 @@ public function __construct($source, $filters = array(), $sourceRoot = null, $so public function load(FilterInterface $additionalFilter = null) { - $source = PathUtils::resolvePath($this->source, $this->getVars(), $this->getValues()); + $source = VarUtils::resolve($this->source, $this->getVars(), $this->getValues()); if (!is_file($source)) { throw new \RuntimeException(sprintf('The source file "%s" does not exist.', $source)); @@ -67,7 +67,7 @@ public function load(FilterInterface $additionalFilter = null) public function getLastModified() { - $source = PathUtils::resolvePath($this->source, $this->getVars(), $this->getValues()); + $source = VarUtils::resolve($this->source, $this->getVars(), $this->getValues()); if (!is_file($source)) { throw new \RuntimeException(sprintf('The source file "%s" does not exist.', $source)); diff --git a/core/vendor/kriswallsmith/assetic/src/Assetic/Asset/GlobAsset.php b/core/vendor/kriswallsmith/assetic/src/Assetic/Asset/GlobAsset.php index daf6f52..f6c32ab 100644 --- a/core/vendor/kriswallsmith/assetic/src/Assetic/Asset/GlobAsset.php +++ b/core/vendor/kriswallsmith/assetic/src/Assetic/Asset/GlobAsset.php @@ -11,9 +11,8 @@ namespace Assetic\Asset; -use Assetic\Util\PathUtils; - use Assetic\Filter\FilterInterface; +use Assetic\Util\VarUtils; /** * A collection of assets loaded by glob. @@ -98,7 +97,7 @@ public function setValues(array $values) private function initialize() { foreach ($this->globs as $glob) { - $glob = PathUtils::resolvePath($glob, $this->getVars(), $this->getValues()); + $glob = VarUtils::resolve($glob, $this->getVars(), $this->getValues()); if (false !== $paths = glob($glob)) { foreach ($paths as $path) { diff --git a/core/vendor/kriswallsmith/assetic/src/Assetic/Asset/HttpAsset.php b/core/vendor/kriswallsmith/assetic/src/Assetic/Asset/HttpAsset.php index ef0d58c..eea2350 100644 --- a/core/vendor/kriswallsmith/assetic/src/Assetic/Asset/HttpAsset.php +++ b/core/vendor/kriswallsmith/assetic/src/Assetic/Asset/HttpAsset.php @@ -11,9 +11,8 @@ namespace Assetic\Asset; -use Assetic\Util\PathUtils; - use Assetic\Filter\FilterInterface; +use Assetic\Util\VarUtils; /** * Represents an asset loaded via an HTTP request. @@ -54,13 +53,11 @@ public function __construct($sourceUrl, $filters = array(), $ignoreErrors = fals public function load(FilterInterface $additionalFilter = null) { - if (false === $content = @file_get_contents(PathUtils::resolvePath( - $this->sourceUrl, $this->getVars(), $this->getValues())) - ) { - if ($this->ignoreErrors) { - return; - } + $content = @file_get_contents( + VarUtils::resolve($this->sourceUrl, $this->getVars(), $this->getValues()) + ); + if (false === $content && !$this->ignoreErrors) { throw new \RuntimeException(sprintf('Unable to load asset from URL "%s"', $this->sourceUrl)); } diff --git a/core/vendor/kriswallsmith/assetic/src/Assetic/AssetManager.php b/core/vendor/kriswallsmith/assetic/src/Assetic/AssetManager.php index 57d6d71..a55cd2e 100644 --- a/core/vendor/kriswallsmith/assetic/src/Assetic/AssetManager.php +++ b/core/vendor/kriswallsmith/assetic/src/Assetic/AssetManager.php @@ -58,7 +58,7 @@ public function has($name) * @param string $name The asset name * @param AssetInterface $asset The asset * - * @throws \InvalidArgumentException If tthe asset name is invalid + * @throws \InvalidArgumentException If the asset name is invalid */ public function set($name, AssetInterface $asset) { @@ -78,4 +78,12 @@ public function getNames() { return array_keys($this->assets); } + + /** + * Clears all assets. + */ + public function clear() + { + $this->assets = array(); + } } diff --git a/core/vendor/kriswallsmith/assetic/src/Assetic/AssetWriter.php b/core/vendor/kriswallsmith/assetic/src/Assetic/AssetWriter.php index f2c627f..2263741 100644 --- a/core/vendor/kriswallsmith/assetic/src/Assetic/AssetWriter.php +++ b/core/vendor/kriswallsmith/assetic/src/Assetic/AssetWriter.php @@ -11,9 +11,8 @@ namespace Assetic; -use Assetic\Util\PathUtils; - use Assetic\Asset\AssetInterface; +use Assetic\Util\VarUtils; /** * Writes assets to the filesystem. @@ -24,20 +23,20 @@ class AssetWriter { private $dir; - private $varValues; + private $values; /** * Constructor. * - * @param string $dir The base web directory - * @param array $varValues + * @param string $dir The base web directory + * @param array $values Variable values * * @throws \InvalidArgumentException if a variable value is not a string */ - public function __construct($dir, array $varValues = array()) + public function __construct($dir, array $values = array()) { - foreach ($varValues as $var => $values) { - foreach ($values as $value) { + foreach ($values as $var => $vals) { + foreach ($vals as $value) { if (!is_string($value)) { throw new \InvalidArgumentException(sprintf('All variable values must be strings, but got %s for variable "%s".', json_encode($value), $var)); } @@ -45,7 +44,7 @@ public function __construct($dir, array $varValues = array()) } $this->dir = $dir; - $this->varValues = $varValues; + $this->values = $values; } public function writeManagerAssets(AssetManager $am) @@ -57,44 +56,18 @@ public function writeManagerAssets(AssetManager $am) public function writeAsset(AssetInterface $asset) { - foreach ($this->getCombinations($asset->getVars()) as $combination) { + foreach (VarUtils::getCombinations($asset->getVars(), $this->values) as $combination) { $asset->setValues($combination); - static::write($this->dir.'/'.PathUtils::resolvePath( - $asset->getTargetPath(), $asset->getVars(), $asset->getValues()), - $asset->dump()); - } - } - - private function getCombinations(array $vars) - { - if (!$vars) { - return array(array()); + static::write( + $this->dir.'/'.VarUtils::resolve( + $asset->getTargetPath(), + $asset->getVars(), + $asset->getValues() + ), + $asset->dump() + ); } - - $combinations = array(); - $nbValues = array(); - foreach ($this->varValues as $var => $values) { - if (!in_array($var, $vars, true)) { - continue; - } - - $nbValues[$var] = count($values); - } - - for ($i=array_product($nbValues),$c=$i*2; $i<$c; $i++) { - $k = $i; - $combination = array(); - - foreach ($vars as $var) { - $combination[$var] = $this->varValues[$var][$k % $nbValues[$var]]; - $k = intval($k/$nbValues[$var]); - } - - $combinations[] = $combination; - } - - return $combinations; } protected static function write($path, $contents) diff --git a/core/vendor/kriswallsmith/assetic/src/Assetic/Extension/Twig/AsseticExtension.php b/core/vendor/kriswallsmith/assetic/src/Assetic/Extension/Twig/AsseticExtension.php index 575eeeb..a63bc9e 100644 --- a/core/vendor/kriswallsmith/assetic/src/Assetic/Extension/Twig/AsseticExtension.php +++ b/core/vendor/kriswallsmith/assetic/src/Assetic/Extension/Twig/AsseticExtension.php @@ -11,8 +11,8 @@ namespace Assetic\Extension\Twig; -use Assetic\ValueSupplierInterface; use Assetic\Factory\AssetFactory; +use Assetic\ValueSupplierInterface; class AsseticExtension extends \Twig_Extension { diff --git a/core/vendor/kriswallsmith/assetic/src/Assetic/Factory/LazyAssetManager.php b/core/vendor/kriswallsmith/assetic/src/Assetic/Factory/LazyAssetManager.php index 922a65d..5f8fe3f 100644 --- a/core/vendor/kriswallsmith/assetic/src/Assetic/Factory/LazyAssetManager.php +++ b/core/vendor/kriswallsmith/assetic/src/Assetic/Factory/LazyAssetManager.php @@ -11,9 +11,11 @@ namespace Assetic\Factory; +use Assetic\Asset\AssetInterface; use Assetic\AssetManager; use Assetic\Factory\Loader\FormulaLoaderInterface; use Assetic\Factory\Resource\ResourceInterface; +use Assetic\Filter\DependencyExtractorInterface; /** * A lazy asset manager is a composition of a factory and many formula loaders. @@ -201,4 +203,40 @@ public function isDebug() { return $this->factory->isDebug(); } + + public function getLastModified(AssetInterface $asset) + { + $mtime = $asset->getLastModified(); + if (!$filters = $asset->getFilters()) { + return $mtime; + } + + // prepare load path + $sourceRoot = $asset->getSourceRoot(); + $sourcePath = $asset->getSourcePath(); + $loadPath = $sourceRoot && $sourcePath ? dirname($sourceRoot.'/'.$sourcePath) : null; + + $prevFilters = array(); + foreach ($filters as $filter) { + $prevFilters[] = $filter; + + if (!$filter instanceof DependencyExtractorInterface) { + continue; + } + + // extract children from asset after running all preceeding filters + $clone = clone $asset; + $clone->clearFilters(); + foreach (array_slice($prevFilters, 0, -1) as $prevFilter) { + $clone->ensureFilter($prevFilter); + } + $clone->load(); + + foreach ($filter->getChildren($this->factory, $clone->getContent(), $loadPath) as $child) { + $mtime = max($mtime, $this->getLastModified($child)); + } + } + + return $mtime; + } } diff --git a/core/vendor/kriswallsmith/assetic/src/Assetic/Factory/Worker/CacheBustingWorker.php b/core/vendor/kriswallsmith/assetic/src/Assetic/Factory/Worker/CacheBustingWorker.php index aac8f88..8eaaee6 100644 --- a/core/vendor/kriswallsmith/assetic/src/Assetic/Factory/Worker/CacheBustingWorker.php +++ b/core/vendor/kriswallsmith/assetic/src/Assetic/Factory/Worker/CacheBustingWorker.php @@ -11,7 +11,9 @@ namespace Assetic\Factory\Worker; +use Assetic\Asset\AssetCollectionInterface; use Assetic\Asset\AssetInterface; +use Assetic\Factory\LazyAssetManager; /** * Adds cache busting code @@ -20,59 +22,51 @@ */ class CacheBustingWorker implements WorkerInterface { - const STRATEGY_CONTENT = 1; - const STRATEGY_MODIFICATION = 2; + protected $am; + private $separator; - private $strategy; - - public function __construct($strategy = self::STRATEGY_CONTENT) + public function __construct(LazyAssetManager $am, $separator = '-') { - $this->strategy = $strategy; + $this->am = $am; + $this->separator = $separator; } public function process(AssetInterface $asset) { - $hash = hash_init('sha1'); - - switch($this->strategy) { - case self::STRATEGY_MODIFICATION: - hash_update($hash, $asset->getLastModified()); - break; - case self::STRATEGY_CONTENT: - hash_update($hash, $asset->dump()); - break; + if (!$path = $asset->getTargetPath()) { + // no path to work with + return; } - foreach ($asset as $i => $leaf) { - if ($sourcePath = $leaf->getSourcePath()) { - hash_update($hash, $sourcePath); - } else { - hash_update($hash, $i); - } + if (!$search = pathinfo($path, PATHINFO_EXTENSION)) { + // nothing to replace + return; } - $hash = substr(hash_final($hash), 0, 7); - $url = $asset->getTargetPath(); - - $oldExt = pathinfo($url, PATHINFO_EXTENSION); - $newExt = '-'.$hash.'.'.$oldExt; - - if (!$oldExt || 0 < preg_match('/'.preg_quote($newExt, '/').'$/', $url)) { + $replace = $this->separator.$this->getHash($asset).'.'.$search; + if (preg_match('/'.preg_quote($replace, '/').'$/', $path)) { + // already replaced return; } - $asset->setTargetPath(substr($url, 0, (strlen($oldExt) + 1) * -1).$newExt); + $asset->setTargetPath( + preg_replace('/\.'.preg_quote($search, '/').'$/', $replace, $path) + ); } - public function getStrategy() + protected function getHash(AssetInterface $asset) { - return $this->strategy; - } + $hash = hash_init('sha1'); - public function setStrategy($strategy) - { - $this->strategy = $strategy; + hash_update($hash, $this->am->getLastModified($asset)); + + if ($asset instanceof AssetCollectionInterface) { + foreach ($asset as $i => $leaf) { + $sourcePath = $leaf->getSourcePath(); + hash_update($hash, $sourcePath ?: $i); + } + } - return $this; + return substr(hash_final($hash), 0, 7); } } diff --git a/core/vendor/kriswallsmith/assetic/src/Assetic/Filter/BaseCssFilter.php b/core/vendor/kriswallsmith/assetic/src/Assetic/Filter/BaseCssFilter.php index dd48fd1..0d9ff70 100644 --- a/core/vendor/kriswallsmith/assetic/src/Assetic/Filter/BaseCssFilter.php +++ b/core/vendor/kriswallsmith/assetic/src/Assetic/Filter/BaseCssFilter.php @@ -11,6 +11,8 @@ namespace Assetic\Filter; +use Assetic\Util\CssUtils; + /** * An abstract filter for dealing with CSS. * @@ -19,71 +21,34 @@ abstract class BaseCssFilter implements FilterInterface { /** - * Filters all references -- url() and "@import" -- through a callable. - * - * @param string $content The CSS - * @param callable $callback A PHP callable - * @param integer $limit - * @param integer $count - * - * @return string The filtered CSS + * @see CssUtils::filterReferences() */ protected function filterReferences($content, $callback, $limit = -1, &$count = 0) { - $content = $this->filterUrls($content, $callback, $limit, $count); - $content = $this->filterImports($content, $callback, $limit, $count, false); - $content = $this->filterIEFilters($content, $callback, $limit, $count); - - return $content; + return CssUtils::filterReferences($content, $callback, $limit, $count); } /** - * Filters all CSS url()'s through a callable. - * - * @param string $content The CSS - * @param callable $callback A PHP callable - * @param integer $limit Limit the number of replacements - * @param integer $count Will be populated with the count - * - * @return string The filtered CSS + * @see CssUtils::filterUrls() */ protected function filterUrls($content, $callback, $limit = -1, &$count = 0) { - return preg_replace_callback('/url\((["\']?)(?P.*?)(\\1)\)/', $callback, $content, $limit, $count); + return CssUtils::filterUrls($content, $callback, $limit, $count); } /** - * Filters all CSS imports through a callable. - * - * @param string $content The CSS - * @param callable $callback A PHP callable - * @param integer $limit Limit the number of replacements - * @param integer $count Will be populated with the count - * @param Boolean $includeUrl Whether to include url() in the pattern - * - * @return string The filtered CSS + * @see CssUtils::filterImports() */ protected function filterImports($content, $callback, $limit = -1, &$count = 0, $includeUrl = true) { - $pattern = $includeUrl - ? '/@import (?:url\()?(\'|"|)(?P[^\'"\)\n\r]*)\1\)?;?/' - : '/@import (?!url\()(\'|"|)(?P[^\'"\)\n\r]*)\1;?/'; - - return preg_replace_callback($pattern, $callback, $content, $limit, $count); + return CssUtils::filterImports($content, $callback, $limit, $count, $includeUrl); } /** - * Filters all IE filters (AlphaImageLoader filter) through a callable. - * - * @param string $content The CSS - * @param callable $callback A PHP callable - * @param integer $limit Limit the number of replacements - * @param integer $count Will be populated with the count - * - * @return string The filtered CSS + * @see CssUtils::filterIEFilters() */ protected function filterIEFilters($content, $callback, $limit = -1, &$count = 0) { - return preg_replace_callback('/src=(["\']?)(?P.*?)\\1/', $callback, $content, $limit, $count); + return CssUtils::filterIEFilters($content, $callback, $limit, $count); } } diff --git a/core/vendor/kriswallsmith/assetic/src/Assetic/Filter/CompassFilter.php b/core/vendor/kriswallsmith/assetic/src/Assetic/Filter/CompassFilter.php index d5ae6d0..e8873ef 100644 --- a/core/vendor/kriswallsmith/assetic/src/Assetic/Filter/CompassFilter.php +++ b/core/vendor/kriswallsmith/assetic/src/Assetic/Filter/CompassFilter.php @@ -11,8 +11,8 @@ namespace Assetic\Filter; -use Assetic\Exception\FilterException; use Assetic\Asset\AssetInterface; +use Assetic\Exception\FilterException; /** * Loads Compass files. diff --git a/core/vendor/kriswallsmith/assetic/src/Assetic/Filter/DependencyExtractorInterface.php b/core/vendor/kriswallsmith/assetic/src/Assetic/Filter/DependencyExtractorInterface.php new file mode 100644 index 0000000..934371f --- /dev/null +++ b/core/vendor/kriswallsmith/assetic/src/Assetic/Filter/DependencyExtractorInterface.php @@ -0,0 +1,34 @@ + + */ +interface DependencyExtractorInterface extends FilterInterface +{ + /** + * Returns child assets. + * + * @param AssetFactory $factory The asset factory + * @param string $content The asset content + * @param string $loadPath An optional load path + * + * @return AssetInterface[] Child assets + */ + public function getChildren(AssetFactory $factory, $content, $loadPath = null); +} diff --git a/core/vendor/kriswallsmith/assetic/src/Assetic/Filter/EmberPrecompileFilter.php b/core/vendor/kriswallsmith/assetic/src/Assetic/Filter/EmberPrecompileFilter.php new file mode 100644 index 0000000..2467960 --- /dev/null +++ b/core/vendor/kriswallsmith/assetic/src/Assetic/Filter/EmberPrecompileFilter.php @@ -0,0 +1,83 @@ + + */ +class EmberPrecompileFilter extends BaseNodeFilter +{ + private $emberBin; + private $nodeBin; + + public function __construct($handlebarsBin = '/usr/bin/ember-precompile', $nodeBin = null) + { + $this->emberBin = $handlebarsBin; + $this->nodeBin = $nodeBin; + } + + public function filterLoad(AssetInterface $asset) + { + $pb = $this->createProcessBuilder($this->nodeBin + ? array($this->nodeBin, $this->emberBin) + : array($this->emberBin)); + + $templateName = basename($asset->getSourcePath()); + + $inputDirPath = sys_get_temp_dir().DIRECTORY_SEPARATOR.uniqid('input_dir'); + $inputPath = $inputDirPath.DIRECTORY_SEPARATOR.$templateName; + $outputPath = tempnam(sys_get_temp_dir(), 'output'); + + mkdir($inputDirPath); + file_put_contents($inputPath, $asset->getContent()); + + $pb->add($inputPath)->add('-f')->add($outputPath); + + $process = $pb->getProcess(); + $returnCode = $process->run(); + + unlink($inputPath); + rmdir($inputDirPath); + + if (127 === $returnCode) { + throw new \RuntimeException('Path to node executable could not be resolved.'); + } + + if (0 !== $returnCode) { + if (file_exists($outputPath)) { + unlink($outputPath); + } + throw FilterException::fromProcess($process)->setInput($asset->getContent()); + } + + if (!file_exists($outputPath)) { + throw new \RuntimeException('Error creating output file.'); + } + + $compiledJs = file_get_contents($outputPath); + unlink($outputPath); + + $asset->setContent($compiledJs); + } + + public function filterDump(AssetInterface $asset) + { + } +} diff --git a/core/vendor/kriswallsmith/assetic/src/Assetic/Filter/GoogleClosure/CompilerApiFilter.php b/core/vendor/kriswallsmith/assetic/src/Assetic/Filter/GoogleClosure/CompilerApiFilter.php index 5ea7681..0b090c7 100644 --- a/core/vendor/kriswallsmith/assetic/src/Assetic/Filter/GoogleClosure/CompilerApiFilter.php +++ b/core/vendor/kriswallsmith/assetic/src/Assetic/Filter/GoogleClosure/CompilerApiFilter.php @@ -101,7 +101,7 @@ public function filterDump(AssetInterface $asset) curl_setopt($ch, CURLOPT_POSTFIELDS, $query); curl_setopt($ch, CURLOPT_CONNECTTIMEOUT, 15); if (null !== $this->timeout) { - curl_setopt($curl, CURLOPT_TIMEOUT, $this->timeout); + curl_setopt($ch, CURLOPT_TIMEOUT, $this->timeout); } if ($this->proxy) { curl_setopt($ch, CURLOPT_HTTPPROXYTUNNEL, TRUE); diff --git a/core/vendor/kriswallsmith/assetic/src/Assetic/Filter/LessphpFilter.php b/core/vendor/kriswallsmith/assetic/src/Assetic/Filter/LessphpFilter.php index d87ac16..6cae019 100644 --- a/core/vendor/kriswallsmith/assetic/src/Assetic/Filter/LessphpFilter.php +++ b/core/vendor/kriswallsmith/assetic/src/Assetic/Filter/LessphpFilter.php @@ -46,6 +46,16 @@ public function addLoadPath($path) $this->loadPaths[] = $path; } + /** + * Sets load paths used by lessphp + * + * @param array $loadPaths Load paths + */ + public function setLoadPaths(array $loadPaths) + { + $this->loadPaths = $loadPaths; + } + public function setPresets(array $presets) { $this->presets = $presets; diff --git a/core/vendor/kriswallsmith/assetic/src/Assetic/Filter/RooleFilter.php b/core/vendor/kriswallsmith/assetic/src/Assetic/Filter/RooleFilter.php new file mode 100644 index 0000000..9a4d649 --- /dev/null +++ b/core/vendor/kriswallsmith/assetic/src/Assetic/Filter/RooleFilter.php @@ -0,0 +1,66 @@ + + */ +class RooleFilter extends BaseNodeFilter +{ + private $rooleBin; + private $nodeBin; + + /** + * Constructor + * + * @param string $rooleBin The path to the roole binary + * @param string $nodeBin The path to the node binary + */ + public function __construct($rooleBin = '/usr/bin/roole', $nodeBin = null) + { + $this->rooleBin = $rooleBin; + $this->nodeBin = $nodeBin; + } + + public function filterLoad(AssetInterface $asset) + { + $input = tempnam(sys_get_temp_dir(), 'assetic_roole'); + file_put_contents($input, $asset->getContent()); + + $pb = $this->createProcessBuilder($this->nodeBin + ? array($this->nodeBin, $this->rooleBin) + : array($this->rooleBin)); + + $pb->add('-p'); + + $pb->add($input); + $proc = $pb->getProcess(); + $code = $proc->run(); + unlink($input); + + if (0 !== $code) { + throw FilterException::fromProcess($proc)->setInput($asset->getContent()); + } + + $asset->setContent($proc->getOutput()); + } + + public function filterDump(AssetInterface $asset) + { + } +} \ No newline at end of file diff --git a/core/vendor/kriswallsmith/assetic/src/Assetic/Filter/Sass/SassFilter.php b/core/vendor/kriswallsmith/assetic/src/Assetic/Filter/Sass/SassFilter.php index bba8f98..7c996ed 100644 --- a/core/vendor/kriswallsmith/assetic/src/Assetic/Filter/Sass/SassFilter.php +++ b/core/vendor/kriswallsmith/assetic/src/Assetic/Filter/Sass/SassFilter.php @@ -13,7 +13,10 @@ use Assetic\Asset\AssetInterface; use Assetic\Exception\FilterException; +use Assetic\Factory\AssetFactory; use Assetic\Filter\BaseProcessFilter; +use Assetic\Filter\DependencyExtractorInterface; +use Assetic\Util\CssUtils; /** * Loads SASS files. @@ -21,7 +24,7 @@ * @link http://sass-lang.com/ * @author Kris Wallsmith */ -class SassFilter extends BaseProcessFilter +class SassFilter extends BaseProcessFilter implements DependencyExtractorInterface { const STYLE_NESTED = 'nested'; const STYLE_EXPANDED = 'expanded'; @@ -172,4 +175,57 @@ public function filterLoad(AssetInterface $asset) public function filterDump(AssetInterface $asset) { } + + public function getChildren(AssetFactory $factory, $content, $loadPath = null) + { + $loadPaths = $this->loadPaths; + if ($loadPath) { + array_unshift($loadPaths, $loadPath); + } + + if (!$loadPaths) { + return array(); + } + + $children = array(); + foreach (CssUtils::extractImports($content) as $reference) { + if ('.css' === substr($reference, -4)) { + // skip normal css imports + // todo: skip imports with media queries + continue; + } + + // the reference may or may not have an extension or be a partial + if (pathinfo($reference, PATHINFO_EXTENSION)) { + $needles = array( + $reference, + '_'.$reference, + ); + } else { + $needles = array( + $reference.'.scss', + $reference.'.sass', + '_'.$reference.'.scss', + '_'.$reference.'.sass', + ); + } + + foreach ($loadPaths as $loadPath) { + foreach ($needles as $needle) { + if (file_exists($file = $loadPath.'/'.$needle)) { + $coll = $factory->createAsset($file, array(), array('root' => $loadPath)); + foreach ($coll as $leaf) { + $leaf->ensureFilter($this); + $children[] = $leaf; + goto next_reference; + } + } + } + } + + next_reference: + } + + return $children; + } } diff --git a/core/vendor/kriswallsmith/assetic/src/Assetic/Filter/UglifyJs2Filter.php b/core/vendor/kriswallsmith/assetic/src/Assetic/Filter/UglifyJs2Filter.php index d30ed1b..6b4773a 100644 --- a/core/vendor/kriswallsmith/assetic/src/Assetic/Filter/UglifyJs2Filter.php +++ b/core/vendor/kriswallsmith/assetic/src/Assetic/Filter/UglifyJs2Filter.php @@ -27,6 +27,8 @@ class UglifyJs2Filter extends BaseNodeFilter private $compress; private $beautify; private $mangle; + private $screwIe8; + private $comments; public function __construct($uglifyjsBin = '/usr/bin/uglifyjs', $nodeBin = null) { @@ -49,6 +51,16 @@ public function setMangle($mangle) $this->mangle = $mangle; } + public function setScrewIe8($screwIe8) + { + $this->screwIe8 = $screwIe8; + } + + public function setComments($comments) + { + $this->comments = $comments; + } + public function filterLoad(AssetInterface $asset) { } @@ -71,6 +83,14 @@ public function filterDump(AssetInterface $asset) $pb->add('--mangle'); } + if ($this->screwIe8) { + $pb->add('--screw-ie8'); + } + + if ($this->comments) { + $pb->add('--comments')->add(true === $this->comments ? 'all' : $this->comments); + } + // input and output files $input = tempnam(sys_get_temp_dir(), 'input'); $output = tempnam(sys_get_temp_dir(), 'output'); diff --git a/core/vendor/kriswallsmith/assetic/src/Assetic/Filter/BaseCssFilter.php b/core/vendor/kriswallsmith/assetic/src/Assetic/Util/CssUtils.php similarity index 51% copy from core/vendor/kriswallsmith/assetic/src/Assetic/Filter/BaseCssFilter.php copy to core/vendor/kriswallsmith/assetic/src/Assetic/Util/CssUtils.php index dd48fd1..96814d6 100644 --- a/core/vendor/kriswallsmith/assetic/src/Assetic/Filter/BaseCssFilter.php +++ b/core/vendor/kriswallsmith/assetic/src/Assetic/Util/CssUtils.php @@ -9,15 +9,20 @@ * file that was distributed with this source code. */ -namespace Assetic\Filter; +namespace Assetic\Util; /** - * An abstract filter for dealing with CSS. + * CSS Utils. * * @author Kris Wallsmith */ -abstract class BaseCssFilter implements FilterInterface +abstract class CssUtils { + const REGEX_URLS = '/url\((["\']?)(?P.*?)(\\1)\)/'; + const REGEX_IMPORTS = '/@import (?:url\()?(\'|"|)(?P[^\'"\)\n\r]*)\1\)?;?/'; + const REGEX_IMPORTS_NO_URLS = '/@import (?!url\()(\'|"|)(?P[^\'"\)\n\r]*)\1;?/'; + const REGEX_IE_FILTERS = '/src=(["\']?)(?P.*?)\\1/'; + /** * Filters all references -- url() and "@import" -- through a callable. * @@ -28,11 +33,11 @@ * * @return string The filtered CSS */ - protected function filterReferences($content, $callback, $limit = -1, &$count = 0) + public static function filterReferences($content, $callback, $limit = -1, &$count = 0) { - $content = $this->filterUrls($content, $callback, $limit, $count); - $content = $this->filterImports($content, $callback, $limit, $count, false); - $content = $this->filterIEFilters($content, $callback, $limit, $count); + $content = self::filterUrls($content, $callback, $limit, $count); + $content = self::filterImports($content, $callback, $limit, $count, false); + $content = self::filterIEFilters($content, $callback, $limit, $count); return $content; } @@ -47,9 +52,9 @@ protected function filterReferences($content, $callback, $limit = -1, &$count = * * @return string The filtered CSS */ - protected function filterUrls($content, $callback, $limit = -1, &$count = 0) + public static function filterUrls($content, $callback, $limit = -1, &$count = 0) { - return preg_replace_callback('/url\((["\']?)(?P.*?)(\\1)\)/', $callback, $content, $limit, $count); + return preg_replace_callback(self::REGEX_URLS, $callback, $content, $limit, $count); } /** @@ -63,11 +68,9 @@ protected function filterUrls($content, $callback, $limit = -1, &$count = 0) * * @return string The filtered CSS */ - protected function filterImports($content, $callback, $limit = -1, &$count = 0, $includeUrl = true) + public static function filterImports($content, $callback, $limit = -1, &$count = 0, $includeUrl = true) { - $pattern = $includeUrl - ? '/@import (?:url\()?(\'|"|)(?P[^\'"\)\n\r]*)\1\)?;?/' - : '/@import (?!url\()(\'|"|)(?P[^\'"\)\n\r]*)\1;?/'; + $pattern = $includeUrl ? self::REGEX_IMPORTS : self::REGEX_IMPORTS_NO_URLS; return preg_replace_callback($pattern, $callback, $content, $limit, $count); } @@ -82,8 +85,27 @@ protected function filterImports($content, $callback, $limit = -1, &$count = 0, * * @return string The filtered CSS */ - protected function filterIEFilters($content, $callback, $limit = -1, &$count = 0) + public static function filterIEFilters($content, $callback, $limit = -1, &$count = 0) + { + return preg_replace_callback(self::REGEX_IE_FILTERS, $callback, $content, $limit, $count); + } + + /** + * Extracts all references from the supplied CSS content. + * + * @param string $content The CSS content + * + * @return array An array of unique URLs + */ + public static function extractImports($content) { - return preg_replace_callback('/src=(["\']?)(?P.*?)\\1/', $callback, $content, $limit, $count); + $imports = array(); + self::filterImports($content, function($matches) use(& $imports) { + $imports[] = $matches['url']; + }); + + return array_unique($imports); } + + final private function __construct() { } } diff --git a/core/vendor/kriswallsmith/assetic/src/Assetic/Util/PathUtils.php b/core/vendor/kriswallsmith/assetic/src/Assetic/Util/PathUtils.php deleted file mode 100644 index 4a54353..0000000 --- a/core/vendor/kriswallsmith/assetic/src/Assetic/Util/PathUtils.php +++ /dev/null @@ -1,40 +0,0 @@ - - */ -abstract class PathUtils -{ - public static function resolvePath($path, array $vars, array $values) - { - $map = array(); - foreach ($vars as $var) { - if (false === strpos($path, '{'.$var.'}')) { - continue; - } - - if (!isset($values[$var])) { - throw new \InvalidArgumentException(sprintf('The path "%s" contains the variable "%s", but was not given any value for it.', $path, $var)); - } - - $map['{'.$var.'}'] = $values[$var]; - } - - return strtr($path, $map); - } - - final private function __construct() { } -} diff --git a/core/vendor/kriswallsmith/assetic/src/Assetic/Util/VarUtils.php b/core/vendor/kriswallsmith/assetic/src/Assetic/Util/VarUtils.php new file mode 100644 index 0000000..4cc9103 --- /dev/null +++ b/core/vendor/kriswallsmith/assetic/src/Assetic/Util/VarUtils.php @@ -0,0 +1,82 @@ + + */ +abstract class VarUtils +{ + /** + * Resolves variable placeholders. + * + * @param string $template A template string + * @param array $vars Variable names + * @param array $values Variable values + * + * @return string The resolved string + * + * @throws \InvalidArgumentException If there is a variable with no value + */ + public static function resolve($template, array $vars, array $values) + { + $map = array(); + foreach ($vars as $var) { + if (false === strpos($template, '{'.$var.'}')) { + continue; + } + + if (!isset($values[$var])) { + throw new \InvalidArgumentException(sprintf('The path "%s" contains the variable "%s", but was not given any value for it.', $template, $var)); + } + + $map['{'.$var.'}'] = $values[$var]; + } + + return strtr($template, $map); + } + + public static function getCombinations(array $vars, array $values) + { + if (!$vars) { + return array(array()); + } + + $combinations = array(); + $nbValues = array(); + foreach ($values as $var => $vals) { + if (!in_array($var, $vars, true)) { + continue; + } + + $nbValues[$var] = count($vals); + } + + for ($i = array_product($nbValues), $c = $i * 2; $i < $c; $i++) { + $k = $i; + $combination = array(); + + foreach ($vars as $var) { + $combination[$var] = $values[$var][$k % $nbValues[$var]]; + $k = intval($k / $nbValues[$var]); + } + + $combinations[] = $combination; + } + + return $combinations; + } + + final private function __construct() { } +} diff --git a/core/vendor/phpunit/phpunit/.gitignore b/core/vendor/phpunit/phpunit/.gitignore index c9cf08f..2aa9c32 100644 --- a/core/vendor/phpunit/phpunit/.gitignore +++ b/core/vendor/phpunit/phpunit/.gitignore @@ -11,6 +11,8 @@ Tests/TextUI/*.exp Tests/TextUI/*.log Tests/TextUI/*.out Tests/TextUI/*.php +/vendor +/composer.lock phpunit.xml cache.properties .idea diff --git a/core/vendor/phpunit/phpunit/ChangeLog.md b/core/vendor/phpunit/phpunit/ChangeLog.md index e0cb167..6b0f4b8 100644 --- a/core/vendor/phpunit/phpunit/ChangeLog.md +++ b/core/vendor/phpunit/phpunit/ChangeLog.md @@ -3,6 +3,17 @@ PHPUnit 3.7 This is the list of changes for the PHPUnit 3.7 release series. +PHPUnit 3.7.20 +-------------- + +* Fixed #883: Stand-alone functions `logicalAnd()`, `logicalOr()`, and `logicalXor()` did not work. +* Fixed #889: Suppress `open_basedir` warnings while searching for the composer autoloader. +* Fixed #890: Correctly parse single-line @expectedException annotations. +* Fixed #891: Better messages when JSON-related assertions receive invalid JSON. +* Fixed #896: Use the proper `toString()` method inside `PHPUnit_Framework_TestFailure::toString()`. +* Fixed #902: Allow symfony/yaml >=2.0,<3.0 +* Fixed #908: Don't rely on composer to set up the `include_path` for `ErrorHandler.php`. + PHPUnit 3.7.19 -------------- diff --git a/core/vendor/phpunit/phpunit/PHPUnit/Autoload.php b/core/vendor/phpunit/phpunit/PHPUnit/Autoload.php index 4cd2196..78ac2a4 100644 --- a/core/vendor/phpunit/phpunit/PHPUnit/Autoload.php +++ b/core/vendor/phpunit/phpunit/PHPUnit/Autoload.php @@ -118,6 +118,7 @@ function ($class) 'phpunit_framework_constraint_isfalse' => '/Framework/Constraint/IsFalse.php', 'phpunit_framework_constraint_isidentical' => '/Framework/Constraint/IsIdentical.php', 'phpunit_framework_constraint_isinstanceof' => '/Framework/Constraint/IsInstanceOf.php', + 'phpunit_framework_constraint_isjson' => '/Framework/Constraint/IsJson.php', 'phpunit_framework_constraint_isnull' => '/Framework/Constraint/IsNull.php', 'phpunit_framework_constraint_istrue' => '/Framework/Constraint/IsTrue.php', 'phpunit_framework_constraint_istype' => '/Framework/Constraint/IsType.php', diff --git a/core/vendor/phpunit/phpunit/PHPUnit/Autoload.php.in b/core/vendor/phpunit/phpunit/PHPUnit/Autoload.php.in index e5059f3..2072e76 100644 --- a/core/vendor/phpunit/phpunit/PHPUnit/Autoload.php.in +++ b/core/vendor/phpunit/phpunit/PHPUnit/Autoload.php.in @@ -52,8 +52,8 @@ $paths = array( ); foreach ($paths as $path) { - if (is_dir($path . '/composer') && - is_file($path . '/autoload.php')) { + if (@is_dir($path . '/composer') && + @is_file($path . '/autoload.php')) { require_once $path . '/autoload.php'; define('PHPUNIT_COMPOSER_INSTALL', $path . '/autoload.php'); diff --git a/core/vendor/phpunit/phpunit/PHPUnit/Framework/Assert.php b/core/vendor/phpunit/phpunit/PHPUnit/Framework/Assert.php index 929a3ca..3325578 100644 --- a/core/vendor/phpunit/phpunit/PHPUnit/Framework/Assert.php +++ b/core/vendor/phpunit/phpunit/PHPUnit/Framework/Assert.php @@ -2135,6 +2135,22 @@ public static function assertThat($value, PHPUnit_Framework_Constraint $constrai } /** + * Asserts that a string is a valid JSON string. + * + * @param string $filename + * @param string $message + * @since Method available since Release 3.7.20 + */ + public static function assertJson($expectedJson, $message = '') + { + if (!is_string($expectedJson)) { + throw PHPUnit_Util_InvalidArgumentHelper::factory(1, 'string'); + } + + self::assertThat($expectedJson, self::isJson(), $message); + } + + /** * Asserts that two given JSON encoded objects or arrays are equal. * * @param string $expectedJson @@ -2143,23 +2159,12 @@ public static function assertThat($value, PHPUnit_Framework_Constraint $constrai */ public static function assertJsonStringEqualsJsonString($expectedJson, $actualJson, $message = '') { - $expected = json_decode($expectedJson); - if ($jsonError = json_last_error()) { - $message .= - PHPUnit_Framework_Constraint_JsonMatches_ErrorMessageProvider::determineJsonError( - $jsonError, - PHPUnit_Framework_Constraint_JsonMatches_ErrorMessageProvider::translateTypeToPrefix('expected') - ); - } + self::assertJson($expectedJson, $message); + self::assertJson($actualJson, $message); + $expected = json_decode($expectedJson); $actual = json_decode($actualJson); - if ($jsonError = json_last_error()) { - $message .= - PHPUnit_Framework_Constraint_JsonMatches_ErrorMessageProvider::determineJsonError( - $jsonError, - PHPUnit_Framework_Constraint_JsonMatches_ErrorMessageProvider::translateTypeToPrefix('actual') - ); - } + return self::assertEquals($expected, $actual, $message); } @@ -2172,23 +2177,11 @@ public static function assertJsonStringEqualsJsonString($expectedJson, $actualJs */ public static function assertJsonStringNotEqualsJsonString($expectedJson, $actualJson, $message = '') { - $expected = json_decode($expectedJson); - if ($jsonError = json_last_error()) { - $message .= - PHPUnit_Framework_Constraint_JsonMatches_ErrorMessageProvider::determineJsonError( - $jsonError, - PHPUnit_Framework_Constraint_JsonMatches_ErrorMessageProvider::translateTypeToPrefix('expected') - ); - } + self::assertJson($expectedJson, $message); + self::assertJson($actualJson, $message); + $expected = json_decode($expectedJson); $actual = json_decode($actualJson); - if ($jsonError = json_last_error()) { - $message .= - PHPUnit_Framework_Constraint_JsonMatches_ErrorMessageProvider::determineJsonError( - $jsonError, - PHPUnit_Framework_Constraint_JsonMatches_ErrorMessageProvider::translateTypeToPrefix('actual') - ); - } self::assertNotEquals($expected, $actual, $message); } @@ -2203,14 +2196,14 @@ public static function assertJsonStringNotEqualsJsonString($expectedJson, $actua public static function assertJsonStringEqualsJsonFile($expectedFile, $actualJson, $message = '') { self::assertFileExists($expectedFile, $message); + $expectedJson = file_get_contents($expectedFile); - if (!is_string($actualJson)) { - throw PHPUnit_Util_InvalidArgumentHelper::factory(2, 'string'); - } + self::assertJson($expectedJson, $message); + self::assertJson($actualJson, $message); // call constraint $constraint = new PHPUnit_Framework_Constraint_JsonMatches( - file_get_contents($expectedFile) + $expectedJson ); self::assertThat($actualJson, $constraint, $message); @@ -2226,14 +2219,14 @@ public static function assertJsonStringEqualsJsonFile($expectedFile, $actualJson public static function assertJsonStringNotEqualsJsonFile($expectedFile, $actualJson, $message = '') { self::assertFileExists($expectedFile, $message); + $expectedJson = file_get_contents($expectedFile); - if (!is_string($actualJson)) { - throw PHPUnit_Util_InvalidArgumentHelper::factory(2, 'string'); - } + self::assertJson($expectedJson, $message); + self::assertJson($actualJson, $message); // call constraint $constraint = new PHPUnit_Framework_Constraint_JsonMatches( - file_get_contents($expectedFile) + $expectedJson ); self::assertThat($actualJson, new PHPUnit_Framework_Constraint_Not($constraint), $message); @@ -2254,9 +2247,12 @@ public static function assertJsonFileNotEqualsJsonFile($expectedFile, $actualFil $actualJson = file_get_contents($actualFile); $expectedJson = file_get_contents($expectedFile); + self::assertJson($expectedJson, $message); + self::assertJson($actualJson, $message); + // call constraint $constraintExpected = new PHPUnit_Framework_Constraint_JsonMatches( - file_get_contents($expectedFile) + $expectedJson ); $constraintActual = new PHPUnit_Framework_Constraint_JsonMatches($actualJson); @@ -2280,9 +2276,12 @@ public static function assertJsonFileEqualsJsonFile($expectedFile, $actualFile, $actualJson = file_get_contents($actualFile); $expectedJson = file_get_contents($expectedFile); + self::assertJson($expectedJson, $message); + self::assertJson($actualJson, $message); + // call constraint $constraintExpected = new PHPUnit_Framework_Constraint_JsonMatches( - file_get_contents($expectedFile) + $expectedJson ); $constraintActual = new PHPUnit_Framework_Constraint_JsonMatches($actualJson); @@ -2396,6 +2395,17 @@ public static function isFalse() } /** + * Returns a PHPUnit_Framework_Constraint_IsJson matcher object. + * + * @return PHPUnit_Framework_Constraint_IsJson + * @since Method available since Release 3.7.20 + */ + public static function isJson() + { + return new PHPUnit_Framework_Constraint_IsJson; + } + + /** * Returns a PHPUnit_Framework_Constraint_IsNull matcher object. * * @return PHPUnit_Framework_Constraint_IsNull diff --git a/core/vendor/phpunit/phpunit/PHPUnit/Framework/Assert/Functions.php b/core/vendor/phpunit/phpunit/PHPUnit/Framework/Assert/Functions.php index 6ec0c42..27d13b5 100644 --- a/core/vendor/phpunit/phpunit/PHPUnit/Framework/Assert/Functions.php +++ b/core/vendor/phpunit/phpunit/PHPUnit/Framework/Assert/Functions.php @@ -52,7 +52,10 @@ */ function any() { - return PHPUnit_Framework_TestCase::any(); + return call_user_func_array( + 'PHPUnit_Framework_TestCase::any', + func_get_args() + ); } /** @@ -63,7 +66,10 @@ function any() */ function anything() { - return PHPUnit_Framework_Assert::anything(); + return call_user_func_array( + 'PHPUnit_Framework_Assert::anything', + func_get_args() + ); } /** @@ -75,33 +81,42 @@ function anything() */ function arrayHasKey($key) { - return PHPUnit_Framework_Assert::arrayHasKey($key); + return call_user_func_array( + 'PHPUnit_Framework_Assert::arrayHasKey', + func_get_args() + ); } /** * Asserts that an array has a specified key. * * @param mixed $key - * @param array $array + * @param array|ArrayAccess $array * @param string $message * @since Method available since Release 3.0.0 */ -function assertArrayHasKey($key, array $array, $message = '') +function assertArrayHasKey($key, $array, $message = '') { - return PHPUnit_Framework_Assert::assertArrayHasKey($key, $array, $message); + return call_user_func_array( + 'PHPUnit_Framework_Assert::assertArrayHasKey', + func_get_args() + ); } /** * Asserts that an array does not have a specified key. * * @param mixed $key - * @param array $array + * @param array|ArrayAccess $array * @param string $message * @since Method available since Release 3.0.0 */ -function assertArrayNotHasKey($key, array $array, $message = '') +function assertArrayNotHasKey($key, $array, $message = '') { - return PHPUnit_Framework_Assert::assertArrayNotHasKey($key, $array, $message); + return call_user_func_array( + 'PHPUnit_Framework_Assert::assertArrayNotHasKey', + func_get_args() + ); } /** @@ -118,7 +133,10 @@ function assertArrayNotHasKey($key, array $array, $message = '') */ function assertAttributeContains($needle, $haystackAttributeName, $haystackClassOrObject, $message = '', $ignoreCase = FALSE, $checkForObjectIdentity = TRUE) { - return PHPUnit_Framework_Assert::assertAttributeContains($needle, $haystackAttributeName, $haystackClassOrObject, $message, $ignoreCase, $checkForObjectIdentity); + return call_user_func_array( + 'PHPUnit_Framework_Assert::assertAttributeContains', + func_get_args() + ); } /** @@ -134,7 +152,10 @@ function assertAttributeContains($needle, $haystackAttributeName, $haystackClass */ function assertAttributeContainsOnly($type, $haystackAttributeName, $haystackClassOrObject, $isNativeType = NULL, $message = '') { - return PHPUnit_Framework_Assert::assertAttributeContainsOnly($type, $haystackAttributeName, $haystackClassOrObject, $isNativeType, $message); + return call_user_func_array( + 'PHPUnit_Framework_Assert::assertAttributeContainsOnly', + func_get_args() + ); } /** @@ -149,7 +170,10 @@ function assertAttributeContainsOnly($type, $haystackAttributeName, $haystackCla */ function assertAttributeCount($expectedCount, $haystackAttributeName, $haystackClassOrObject, $message = '') { - return PHPUnit_Framework_Assert::assertAttributeCount($expectedCount, $haystackAttributeName, $haystackClassOrObject, $message); + return call_user_func_array( + 'PHPUnit_Framework_Assert::assertAttributeCount', + func_get_args() + ); } /** @@ -163,7 +187,10 @@ function assertAttributeCount($expectedCount, $haystackAttributeName, $haystackC */ function assertAttributeEmpty($haystackAttributeName, $haystackClassOrObject, $message = '') { - return PHPUnit_Framework_Assert::assertAttributeEmpty($haystackAttributeName, $haystackClassOrObject, $message); + return call_user_func_array( + 'PHPUnit_Framework_Assert::assertAttributeEmpty', + func_get_args() + ); } /** @@ -180,7 +207,10 @@ function assertAttributeEmpty($haystackAttributeName, $haystackClassOrObject, $m */ function assertAttributeEquals($expected, $actualAttributeName, $actualClassOrObject, $message = '', $delta = 0, $maxDepth = 10, $canonicalize = FALSE, $ignoreCase = FALSE) { - return PHPUnit_Framework_Assert::assertAttributeEquals($expected, $actualAttributeName, $actualClassOrObject, $message, $delta, $maxDepth, $canonicalize, $ignoreCase); + return call_user_func_array( + 'PHPUnit_Framework_Assert::assertAttributeEquals', + func_get_args() + ); } /** @@ -194,7 +224,10 @@ function assertAttributeEquals($expected, $actualAttributeName, $actualClassOrOb */ function assertAttributeGreaterThan($expected, $actualAttributeName, $actualClassOrObject, $message = '') { - return PHPUnit_Framework_Assert::assertAttributeGreaterThan($expected, $actualAttributeName, $actualClassOrObject, $message); + return call_user_func_array( + 'PHPUnit_Framework_Assert::assertAttributeGreaterThan', + func_get_args() + ); } /** @@ -208,7 +241,10 @@ function assertAttributeGreaterThan($expected, $actualAttributeName, $actualClas */ function assertAttributeGreaterThanOrEqual($expected, $actualAttributeName, $actualClassOrObject, $message = '') { - return PHPUnit_Framework_Assert::assertAttributeGreaterThanOrEqual($expected, $actualAttributeName, $actualClassOrObject, $message); + return call_user_func_array( + 'PHPUnit_Framework_Assert::assertAttributeGreaterThanOrEqual', + func_get_args() + ); } /** @@ -222,7 +258,10 @@ function assertAttributeGreaterThanOrEqual($expected, $actualAttributeName, $act */ function assertAttributeInstanceOf($expected, $attributeName, $classOrObject, $message = '') { - return PHPUnit_Framework_Assert::assertAttributeInstanceOf($expected, $attributeName, $classOrObject, $message); + return call_user_func_array( + 'PHPUnit_Framework_Assert::assertAttributeInstanceOf', + func_get_args() + ); } /** @@ -236,7 +275,10 @@ function assertAttributeInstanceOf($expected, $attributeName, $classOrObject, $m */ function assertAttributeInternalType($expected, $attributeName, $classOrObject, $message = '') { - return PHPUnit_Framework_Assert::assertAttributeInternalType($expected, $attributeName, $classOrObject, $message); + return call_user_func_array( + 'PHPUnit_Framework_Assert::assertAttributeInternalType', + func_get_args() + ); } /** @@ -250,7 +292,10 @@ function assertAttributeInternalType($expected, $attributeName, $classOrObject, */ function assertAttributeLessThan($expected, $actualAttributeName, $actualClassOrObject, $message = '') { - return PHPUnit_Framework_Assert::assertAttributeLessThan($expected, $actualAttributeName, $actualClassOrObject, $message); + return call_user_func_array( + 'PHPUnit_Framework_Assert::assertAttributeLessThan', + func_get_args() + ); } /** @@ -264,7 +309,10 @@ function assertAttributeLessThan($expected, $actualAttributeName, $actualClassOr */ function assertAttributeLessThanOrEqual($expected, $actualAttributeName, $actualClassOrObject, $message = '') { - return PHPUnit_Framework_Assert::assertAttributeLessThanOrEqual($expected, $actualAttributeName, $actualClassOrObject, $message); + return call_user_func_array( + 'PHPUnit_Framework_Assert::assertAttributeLessThanOrEqual', + func_get_args() + ); } /** @@ -281,7 +329,10 @@ function assertAttributeLessThanOrEqual($expected, $actualAttributeName, $actual */ function assertAttributeNotContains($needle, $haystackAttributeName, $haystackClassOrObject, $message = '', $ignoreCase = FALSE, $checkForObjectIdentity = TRUE) { - return PHPUnit_Framework_Assert::assertAttributeNotContains($needle, $haystackAttributeName, $haystackClassOrObject, $message, $ignoreCase, $checkForObjectIdentity); + return call_user_func_array( + 'PHPUnit_Framework_Assert::assertAttributeNotContains', + func_get_args() + ); } /** @@ -298,7 +349,10 @@ function assertAttributeNotContains($needle, $haystackAttributeName, $haystackCl */ function assertAttributeNotContainsOnly($type, $haystackAttributeName, $haystackClassOrObject, $isNativeType = NULL, $message = '') { - return PHPUnit_Framework_Assert::assertAttributeNotContainsOnly($type, $haystackAttributeName, $haystackClassOrObject, $isNativeType, $message); + return call_user_func_array( + 'PHPUnit_Framework_Assert::assertAttributeNotContainsOnly', + func_get_args() + ); } /** @@ -313,7 +367,10 @@ function assertAttributeNotContainsOnly($type, $haystackAttributeName, $haystack */ function assertAttributeNotCount($expectedCount, $haystackAttributeName, $haystackClassOrObject, $message = '') { - return PHPUnit_Framework_Assert::assertAttributeNotCount($expectedCount, $haystackAttributeName, $haystackClassOrObject, $message); + return call_user_func_array( + 'PHPUnit_Framework_Assert::assertAttributeNotCount', + func_get_args() + ); } /** @@ -327,7 +384,10 @@ function assertAttributeNotCount($expectedCount, $haystackAttributeName, $haysta */ function assertAttributeNotEmpty($haystackAttributeName, $haystackClassOrObject, $message = '') { - return PHPUnit_Framework_Assert::assertAttributeNotEmpty($haystackAttributeName, $haystackClassOrObject, $message); + return call_user_func_array( + 'PHPUnit_Framework_Assert::assertAttributeNotEmpty', + func_get_args() + ); } /** @@ -344,7 +404,10 @@ function assertAttributeNotEmpty($haystackAttributeName, $haystackClassOrObject, */ function assertAttributeNotEquals($expected, $actualAttributeName, $actualClassOrObject, $message = '', $delta = 0, $maxDepth = 10, $canonicalize = FALSE, $ignoreCase = FALSE) { - return PHPUnit_Framework_Assert::assertAttributeNotEquals($expected, $actualAttributeName, $actualClassOrObject, $message, $delta, $maxDepth, $canonicalize, $ignoreCase); + return call_user_func_array( + 'PHPUnit_Framework_Assert::assertAttributeNotEquals', + func_get_args() + ); } /** @@ -358,7 +421,10 @@ function assertAttributeNotEquals($expected, $actualAttributeName, $actualClassO */ function assertAttributeNotInstanceOf($expected, $attributeName, $classOrObject, $message = '') { - return PHPUnit_Framework_Assert::assertAttributeNotInstanceOf($expected, $attributeName, $classOrObject, $message); + return call_user_func_array( + 'PHPUnit_Framework_Assert::assertAttributeNotInstanceOf', + func_get_args() + ); } /** @@ -372,7 +438,10 @@ function assertAttributeNotInstanceOf($expected, $attributeName, $classOrObject, */ function assertAttributeNotInternalType($expected, $attributeName, $classOrObject, $message = '') { - return PHPUnit_Framework_Assert::assertAttributeNotInternalType($expected, $attributeName, $classOrObject, $message); + return call_user_func_array( + 'PHPUnit_Framework_Assert::assertAttributeNotInternalType', + func_get_args() + ); } /** @@ -386,7 +455,10 @@ function assertAttributeNotInternalType($expected, $attributeName, $classOrObjec */ function assertAttributeNotSame($expected, $actualAttributeName, $actualClassOrObject, $message = '') { - return PHPUnit_Framework_Assert::assertAttributeNotSame($expected, $actualAttributeName, $actualClassOrObject, $message); + return call_user_func_array( + 'PHPUnit_Framework_Assert::assertAttributeNotSame', + func_get_args() + ); } /** @@ -400,7 +472,10 @@ function assertAttributeNotSame($expected, $actualAttributeName, $actualClassOrO */ function assertAttributeSame($expected, $actualAttributeName, $actualClassOrObject, $message = '') { - return PHPUnit_Framework_Assert::assertAttributeSame($expected, $actualAttributeName, $actualClassOrObject, $message); + return call_user_func_array( + 'PHPUnit_Framework_Assert::assertAttributeSame', + func_get_args() + ); } /** @@ -413,7 +488,10 @@ function assertAttributeSame($expected, $actualAttributeName, $actualClassOrObje */ function assertClassHasAttribute($attributeName, $className, $message = '') { - return PHPUnit_Framework_Assert::assertClassHasAttribute($attributeName, $className, $message); + return call_user_func_array( + 'PHPUnit_Framework_Assert::assertClassHasAttribute', + func_get_args() + ); } /** @@ -426,7 +504,10 @@ function assertClassHasAttribute($attributeName, $className, $message = '') */ function assertClassHasStaticAttribute($attributeName, $className, $message = '') { - return PHPUnit_Framework_Assert::assertClassHasStaticAttribute($attributeName, $className, $message); + return call_user_func_array( + 'PHPUnit_Framework_Assert::assertClassHasStaticAttribute', + func_get_args() + ); } /** @@ -439,7 +520,10 @@ function assertClassHasStaticAttribute($attributeName, $className, $message = '' */ function assertClassNotHasAttribute($attributeName, $className, $message = '') { - return PHPUnit_Framework_Assert::assertClassNotHasAttribute($attributeName, $className, $message); + return call_user_func_array( + 'PHPUnit_Framework_Assert::assertClassNotHasAttribute', + func_get_args() + ); } /** @@ -452,7 +536,10 @@ function assertClassNotHasAttribute($attributeName, $className, $message = '') */ function assertClassNotHasStaticAttribute($attributeName, $className, $message = '') { - return PHPUnit_Framework_Assert::assertClassNotHasStaticAttribute($attributeName, $className, $message); + return call_user_func_array( + 'PHPUnit_Framework_Assert::assertClassNotHasStaticAttribute', + func_get_args() + ); } /** @@ -467,7 +554,10 @@ function assertClassNotHasStaticAttribute($attributeName, $className, $message = */ function assertContains($needle, $haystack, $message = '', $ignoreCase = FALSE, $checkForObjectIdentity = TRUE) { - return PHPUnit_Framework_Assert::assertContains($needle, $haystack, $message, $ignoreCase, $checkForObjectIdentity); + return call_user_func_array( + 'PHPUnit_Framework_Assert::assertContains', + func_get_args() + ); } /** @@ -481,7 +571,25 @@ function assertContains($needle, $haystack, $message = '', $ignoreCase = FALSE, */ function assertContainsOnly($type, $haystack, $isNativeType = NULL, $message = '') { - return PHPUnit_Framework_Assert::assertContainsOnly($type, $haystack, $isNativeType, $message); + return call_user_func_array( + 'PHPUnit_Framework_Assert::assertContainsOnly', + func_get_args() + ); +} + +/** + * Asserts that a haystack contains only instances of a given classname + * + * @param string $classname + * @param array|Traversable $haystack + * @param string $message + */ +function assertContainsOnlyInstancesOf($classname, $haystack, $message = '') +{ + return call_user_func_array( + 'PHPUnit_Framework_Assert::assertContainsOnlyInstancesOf', + func_get_args() + ); } /** @@ -493,7 +601,10 @@ function assertContainsOnly($type, $haystack, $isNativeType = NULL, $message = ' */ function assertCount($expectedCount, $haystack, $message = '') { - return PHPUnit_Framework_Assert::assertCount($expectedCount, $haystack, $message); + return call_user_func_array( + 'PHPUnit_Framework_Assert::assertCount', + func_get_args() + ); } /** @@ -505,7 +616,10 @@ function assertCount($expectedCount, $haystack, $message = '') */ function assertEmpty($actual, $message = '') { - return PHPUnit_Framework_Assert::assertEmpty($actual, $message); + return call_user_func_array( + 'PHPUnit_Framework_Assert::assertEmpty', + func_get_args() + ); } /** @@ -520,7 +634,10 @@ function assertEmpty($actual, $message = '') */ function assertEqualXMLStructure(DOMElement $expectedElement, DOMElement $actualElement, $checkAttributes = FALSE, $message = '') { - return PHPUnit_Framework_Assert::assertEqualXMLStructure($expectedElement, $actualElement, $checkAttributes, $message); + return call_user_func_array( + 'PHPUnit_Framework_Assert::assertEqualXMLStructure', + func_get_args() + ); } /** @@ -536,7 +653,10 @@ function assertEqualXMLStructure(DOMElement $expectedElement, DOMElement $actual */ function assertEquals($expected, $actual, $message = '', $delta = 0, $maxDepth = 10, $canonicalize = FALSE, $ignoreCase = FALSE) { - return PHPUnit_Framework_Assert::assertEquals($expected, $actual, $message, $delta, $maxDepth, $canonicalize, $ignoreCase); + return call_user_func_array( + 'PHPUnit_Framework_Assert::assertEquals', + func_get_args() + ); } /** @@ -548,7 +668,10 @@ function assertEquals($expected, $actual, $message = '', $delta = 0, $maxDepth = */ function assertFalse($condition, $message = '') { - return PHPUnit_Framework_Assert::assertFalse($condition, $message); + return call_user_func_array( + 'PHPUnit_Framework_Assert::assertFalse', + func_get_args() + ); } /** @@ -564,7 +687,10 @@ function assertFalse($condition, $message = '') */ function assertFileEquals($expected, $actual, $message = '', $canonicalize = FALSE, $ignoreCase = FALSE) { - return PHPUnit_Framework_Assert::assertFileEquals($expected, $actual, $message, $canonicalize, $ignoreCase); + return call_user_func_array( + 'PHPUnit_Framework_Assert::assertFileEquals', + func_get_args() + ); } /** @@ -576,7 +702,10 @@ function assertFileEquals($expected, $actual, $message = '', $canonicalize = FAL */ function assertFileExists($filename, $message = '') { - return PHPUnit_Framework_Assert::assertFileExists($filename, $message); + return call_user_func_array( + 'PHPUnit_Framework_Assert::assertFileExists', + func_get_args() + ); } /** @@ -592,7 +721,10 @@ function assertFileExists($filename, $message = '') */ function assertFileNotEquals($expected, $actual, $message = '', $canonicalize = FALSE, $ignoreCase = FALSE) { - return PHPUnit_Framework_Assert::assertFileNotEquals($expected, $actual, $message, $canonicalize, $ignoreCase); + return call_user_func_array( + 'PHPUnit_Framework_Assert::assertFileNotEquals', + func_get_args() + ); } /** @@ -604,7 +736,10 @@ function assertFileNotEquals($expected, $actual, $message = '', $canonicalize = */ function assertFileNotExists($filename, $message = '') { - return PHPUnit_Framework_Assert::assertFileNotExists($filename, $message); + return call_user_func_array( + 'PHPUnit_Framework_Assert::assertFileNotExists', + func_get_args() + ); } /** @@ -617,7 +752,10 @@ function assertFileNotExists($filename, $message = '') */ function assertGreaterThan($expected, $actual, $message = '') { - return PHPUnit_Framework_Assert::assertGreaterThan($expected, $actual, $message); + return call_user_func_array( + 'PHPUnit_Framework_Assert::assertGreaterThan', + func_get_args() + ); } /** @@ -630,7 +768,10 @@ function assertGreaterThan($expected, $actual, $message = '') */ function assertGreaterThanOrEqual($expected, $actual, $message = '') { - return PHPUnit_Framework_Assert::assertGreaterThanOrEqual($expected, $actual, $message); + return call_user_func_array( + 'PHPUnit_Framework_Assert::assertGreaterThanOrEqual', + func_get_args() + ); } /** @@ -643,7 +784,10 @@ function assertGreaterThanOrEqual($expected, $actual, $message = '') */ function assertInstanceOf($expected, $actual, $message = '') { - return PHPUnit_Framework_Assert::assertInstanceOf($expected, $actual, $message); + return call_user_func_array( + 'PHPUnit_Framework_Assert::assertInstanceOf', + func_get_args() + ); } /** @@ -656,33 +800,55 @@ function assertInstanceOf($expected, $actual, $message = '') */ function assertInternalType($expected, $actual, $message = '') { - return PHPUnit_Framework_Assert::assertInternalType($expected, $actual, $message); + return call_user_func_array( + 'PHPUnit_Framework_Assert::assertInternalType', + func_get_args() + ); } /** - * Asserts that two given JSON encoded objects or arrays are equal. + * Asserts that a string is a valid JSON string. * - * @param string $expectedJson - * @param string $actualJson - * @param string $message - * @since Method available since Release 3.7.0 + * @param string $filename + * @param string $message + * @since Method available since Release 3.7.20 */ -function assertJsonStringEqualsJsonString($expectedJson, $actualJson, $message = '') +function assertJson($expectedJson, $message = '') { - return PHPUnit_Framework_Assert::assertJsonStringEqualsJsonString($expectedJson, $actualJson, $message = ''); + return call_user_func_array( + 'PHPUnit_Framework_Assert::assertJson', + func_get_args() + ); } /** - * Asserts that two given JSON encoded objects or arrays are not equal. + * Asserts that two JSON files are equal. * - * @param string $expectedJson - * @param string $actualJson - * @param string $message - * @since Method available since Release 3.7.0 + * @param string $expectedFile + * @param string $actualFile + * @param string $message */ -function assertJsonStringNotEqualsJsonString($expectedJson, $actualJson, $message = '') +function assertJsonFileEqualsJsonFile($expectedFile, $actualFile, $message = '') +{ + return call_user_func_array( + 'PHPUnit_Framework_Assert::assertJsonFileEqualsJsonFile', + func_get_args() + ); +} + +/** + * Asserts that two JSON files are not equal. + * + * @param string $expectedFile + * @param string $actualFile + * @param string $message + */ +function assertJsonFileNotEqualsJsonFile($expectedFile, $actualFile, $message = '') { - return PHPUnit_Framework_Assert::assertJsonStringNotEqualsJsonString($expectedJson, $actualJson, $message = ''); + return call_user_func_array( + 'PHPUnit_Framework_Assert::assertJsonFileNotEqualsJsonFile', + func_get_args() + ); } /** @@ -691,50 +857,58 @@ function assertJsonStringNotEqualsJsonString($expectedJson, $actualJson, $messag * @param string $expectedFile * @param string $actualJson * @param string $message - * @since Method available since Release 3.7.0 */ function assertJsonStringEqualsJsonFile($expectedFile, $actualJson, $message = '') { - return PHPUnit_Framework_Assert::assertJsonStringEqualsJsonFile($expectedFile, $actualJson, $message = ''); + return call_user_func_array( + 'PHPUnit_Framework_Assert::assertJsonStringEqualsJsonFile', + func_get_args() + ); } /** - * Asserts that the generated JSON encoded object and the content of the given file are not equal. + * Asserts that two given JSON encoded objects or arrays are equal. * - * @param string $expectedFile + * @param string $expectedJson * @param string $actualJson * @param string $message - * @since Method available since Release 3.7.0 */ -function assertJsonStringNotEqualsJsonFile($expectedFile, $actualJson, $message = '') +function assertJsonStringEqualsJsonString($expectedJson, $actualJson, $message = '') { - return PHPUnit_Framework_Assert::assertJsonStringNotEqualsJsonFile($expectedFile, $actualJson, $message = ''); + return call_user_func_array( + 'PHPUnit_Framework_Assert::assertJsonStringEqualsJsonString', + func_get_args() + ); } /** - * Asserts that two JSON files are not equal. + * Asserts that the generated JSON encoded object and the content of the given file are not equal. * - * @param string $expectedFile - * @param string $actualFile - * @param string $message - * @since Method available since Release 3.7.0 + * @param string $expectedFile + * @param string $actualJson + * @param string $message */ -function assertJsonFileNotEqualsJsonFile($expectedFile, $actualFile, $message = '') +function assertJsonStringNotEqualsJsonFile($expectedFile, $actualJson, $message = '') { - return PHPUnit_Framework_Assert::assertJsonFileNotEqualsJsonFile($expectedFile, $actualFile, $message = ''); + return call_user_func_array( + 'PHPUnit_Framework_Assert::assertJsonStringNotEqualsJsonFile', + func_get_args() + ); } /** - * Asserts that two JSON files are equal. + * Asserts that two given JSON encoded objects or arrays are not equal. * - * @param string $expectedFile - * @param string $actualFile - * @param string $message - * @since Method available since Release 3.7.0 + * @param string $expectedJson + * @param string $actualJson + * @param string $message */ -function assertJsonFileEqualsJsonFile($expectedFile, $actualFile, $message = '') +function assertJsonStringNotEqualsJsonString($expectedJson, $actualJson, $message = '') { - return PHPUnit_Framework_Assert::assertJsonFileEqualsJsonFile($expectedFile, $actualFile, $message = ''); + return call_user_func_array( + 'PHPUnit_Framework_Assert::assertJsonStringNotEqualsJsonString', + func_get_args() + ); } /** @@ -747,7 +921,10 @@ function assertJsonFileEqualsJsonFile($expectedFile, $actualFile, $message = '') */ function assertLessThan($expected, $actual, $message = '') { - return PHPUnit_Framework_Assert::assertLessThan($expected, $actual, $message); + return call_user_func_array( + 'PHPUnit_Framework_Assert::assertLessThan', + func_get_args() + ); } /** @@ -760,7 +937,10 @@ function assertLessThan($expected, $actual, $message = '') */ function assertLessThanOrEqual($expected, $actual, $message = '') { - return PHPUnit_Framework_Assert::assertLessThanOrEqual($expected, $actual, $message); + return call_user_func_array( + 'PHPUnit_Framework_Assert::assertLessThanOrEqual', + func_get_args() + ); } /** @@ -775,7 +955,10 @@ function assertLessThanOrEqual($expected, $actual, $message = '') */ function assertNotContains($needle, $haystack, $message = '', $ignoreCase = FALSE, $checkForObjectIdentity = TRUE) { - return PHPUnit_Framework_Assert::assertNotContains($needle, $haystack, $message, $ignoreCase, $checkForObjectIdentity); + return call_user_func_array( + 'PHPUnit_Framework_Assert::assertNotContains', + func_get_args() + ); } /** @@ -789,7 +972,10 @@ function assertNotContains($needle, $haystack, $message = '', $ignoreCase = FALS */ function assertNotContainsOnly($type, $haystack, $isNativeType = NULL, $message = '') { - return PHPUnit_Framework_Assert::assertNotContainsOnly($type, $haystack, $isNativeType, $message); + return call_user_func_array( + 'PHPUnit_Framework_Assert::assertNotContainsOnly', + func_get_args() + ); } /** @@ -801,7 +987,10 @@ function assertNotContainsOnly($type, $haystack, $isNativeType = NULL, $message */ function assertNotCount($expectedCount, $haystack, $message = '') { - return PHPUnit_Framework_Assert::assertNotCount($expectedCount, $haystack, $message); + return call_user_func_array( + 'PHPUnit_Framework_Assert::assertNotCount', + func_get_args() + ); } /** @@ -813,7 +1002,10 @@ function assertNotCount($expectedCount, $haystack, $message = '') */ function assertNotEmpty($actual, $message = '') { - return PHPUnit_Framework_Assert::assertNotEmpty($actual, $message); + return call_user_func_array( + 'PHPUnit_Framework_Assert::assertNotEmpty', + func_get_args() + ); } /** @@ -830,7 +1022,10 @@ function assertNotEmpty($actual, $message = '') */ function assertNotEquals($expected, $actual, $message = '', $delta = 0, $maxDepth = 10, $canonicalize = FALSE, $ignoreCase = FALSE) { - return PHPUnit_Framework_Assert::assertNotEquals($expected, $actual, $message, $delta, $maxDepth, $canonicalize, $ignoreCase); + return call_user_func_array( + 'PHPUnit_Framework_Assert::assertNotEquals', + func_get_args() + ); } /** @@ -843,7 +1038,10 @@ function assertNotEquals($expected, $actual, $message = '', $delta = 0, $maxDept */ function assertNotInstanceOf($expected, $actual, $message = '') { - return PHPUnit_Framework_Assert::assertNotInstanceOf($expected, $actual, $message); + return call_user_func_array( + 'PHPUnit_Framework_Assert::assertNotInstanceOf', + func_get_args() + ); } /** @@ -856,7 +1054,10 @@ function assertNotInstanceOf($expected, $actual, $message = '') */ function assertNotInternalType($expected, $actual, $message = '') { - return PHPUnit_Framework_Assert::assertNotInternalType($expected, $actual, $message); + return call_user_func_array( + 'PHPUnit_Framework_Assert::assertNotInternalType', + func_get_args() + ); } /** @@ -867,7 +1068,10 @@ function assertNotInternalType($expected, $actual, $message = '') */ function assertNotNull($actual, $message = '') { - return PHPUnit_Framework_Assert::assertNotNull($actual, $message); + return call_user_func_array( + 'PHPUnit_Framework_Assert::assertNotNull', + func_get_args() + ); } /** @@ -880,7 +1084,10 @@ function assertNotNull($actual, $message = '') */ function assertNotRegExp($pattern, $string, $message = '') { - return PHPUnit_Framework_Assert::assertNotRegExp($pattern, $string, $message); + return call_user_func_array( + 'PHPUnit_Framework_Assert::assertNotRegExp', + func_get_args() + ); } /** @@ -894,20 +1101,26 @@ function assertNotRegExp($pattern, $string, $message = '') */ function assertNotSame($expected, $actual, $message = '') { - return PHPUnit_Framework_Assert::assertNotSame($expected, $actual, $message); + return call_user_func_array( + 'PHPUnit_Framework_Assert::assertNotSame', + func_get_args() + ); } /** * Assert that the size of two arrays (or `Countable` or `Iterator` objects) * is not the same. * - * @param integer $expected - * @param mixed $actual - * @param string $message + * @param array|Countable|Iterator $expected + * @param array|Countable|Iterator $actual + * @param string $message */ -function assertNotSameSize($expectedCount, $haystack, $message = '') +function assertNotSameSize($expected, $actual, $message = '') { - return PHPUnit_Framework_Assert::assertNotSameSize($expectedCount, $haystack, $message); + return call_user_func_array( + 'PHPUnit_Framework_Assert::assertNotSameSize', + func_get_args() + ); } /** @@ -926,7 +1139,10 @@ function assertNotSameSize($expectedCount, $haystack, $message = '') */ function assertNotTag($matcher, $actual, $message = '', $isHtml = TRUE) { - return PHPUnit_Framework_Assert::assertNotTag($matcher, $actual, $message, $isHtml); + return call_user_func_array( + 'PHPUnit_Framework_Assert::assertNotTag', + func_get_args() + ); } /** @@ -937,7 +1153,10 @@ function assertNotTag($matcher, $actual, $message = '', $isHtml = TRUE) */ function assertNull($actual, $message = '') { - return PHPUnit_Framework_Assert::assertNull($actual, $message); + return call_user_func_array( + 'PHPUnit_Framework_Assert::assertNull', + func_get_args() + ); } /** @@ -950,7 +1169,10 @@ function assertNull($actual, $message = '') */ function assertObjectHasAttribute($attributeName, $object, $message = '') { - return PHPUnit_Framework_Assert::assertObjectHasAttribute($attributeName, $object, $message); + return call_user_func_array( + 'PHPUnit_Framework_Assert::assertObjectHasAttribute', + func_get_args() + ); } /** @@ -963,7 +1185,10 @@ function assertObjectHasAttribute($attributeName, $object, $message = '') */ function assertObjectNotHasAttribute($attributeName, $object, $message = '') { - return PHPUnit_Framework_Assert::assertObjectNotHasAttribute($attributeName, $object, $message); + return call_user_func_array( + 'PHPUnit_Framework_Assert::assertObjectNotHasAttribute', + func_get_args() + ); } /** @@ -975,7 +1200,10 @@ function assertObjectNotHasAttribute($attributeName, $object, $message = '') */ function assertRegExp($pattern, $string, $message = '') { - return PHPUnit_Framework_Assert::assertRegExp($pattern, $string, $message); + return call_user_func_array( + 'PHPUnit_Framework_Assert::assertRegExp', + func_get_args() + ); } /** @@ -989,20 +1217,26 @@ function assertRegExp($pattern, $string, $message = '') */ function assertSame($expected, $actual, $message = '') { - return PHPUnit_Framework_Assert::assertSame($expected, $actual, $message); + return call_user_func_array( + 'PHPUnit_Framework_Assert::assertSame', + func_get_args() + ); } /** * Assert that the size of two arrays (or `Countable` or `Iterator` objects) * is the same. * - * @param integer $expected - * @param mixed $actual - * @param string $message + * @param array|Countable|Iterator $expected + * @param array|Countable|Iterator $actual + * @param string $message */ function assertSameSize($expected, $actual, $message = '') { - return PHPUnit_Framework_Assert::assertSameSize($expected, $actual, $message); + return call_user_func_array( + 'PHPUnit_Framework_Assert::assertSameSize', + func_get_args() + ); } /** @@ -1031,7 +1265,10 @@ function assertSameSize($expected, $actual, $message = '') */ function assertSelectCount($selector, $count, $actual, $message = '', $isHtml = TRUE) { - return PHPUnit_Framework_Assert::assertSelectCount($selector, $count, $actual, $message, $isHtml); + return call_user_func_array( + 'PHPUnit_Framework_Assert::assertSelectCount', + func_get_args() + ); } /** @@ -1050,7 +1287,10 @@ function assertSelectCount($selector, $count, $actual, $message = '', $isHtml = */ function assertSelectEquals($selector, $content, $count, $actual, $message = '', $isHtml = TRUE) { - return PHPUnit_Framework_Assert::assertSelectEquals($selector, $content, $count, $actual, $message, $isHtml); + return call_user_func_array( + 'PHPUnit_Framework_Assert::assertSelectEquals', + func_get_args() + ); } /** @@ -1069,7 +1309,10 @@ function assertSelectEquals($selector, $content, $count, $actual, $message = '', */ function assertSelectRegExp($selector, $pattern, $count, $actual, $message = '', $isHtml = TRUE) { - return PHPUnit_Framework_Assert::assertSelectRegExp($selector, $pattern, $count, $actual, $message, $isHtml); + return call_user_func_array( + 'PHPUnit_Framework_Assert::assertSelectRegExp', + func_get_args() + ); } /** @@ -1082,7 +1325,10 @@ function assertSelectRegExp($selector, $pattern, $count, $actual, $message = '', */ function assertStringEndsNotWith($suffix, $string, $message = '') { - return PHPUnit_Framework_Assert::assertStringEndsNotWith($suffix, $string, $message); + return call_user_func_array( + 'PHPUnit_Framework_Assert::assertStringEndsNotWith', + func_get_args() + ); } /** @@ -1095,7 +1341,10 @@ function assertStringEndsNotWith($suffix, $string, $message = '') */ function assertStringEndsWith($suffix, $string, $message = '') { - return PHPUnit_Framework_Assert::assertStringEndsWith($suffix, $string, $message); + return call_user_func_array( + 'PHPUnit_Framework_Assert::assertStringEndsWith', + func_get_args() + ); } /** @@ -1111,7 +1360,10 @@ function assertStringEndsWith($suffix, $string, $message = '') */ function assertStringEqualsFile($expectedFile, $actualString, $message = '', $canonicalize = FALSE, $ignoreCase = FALSE) { - return PHPUnit_Framework_Assert::assertStringEqualsFile($expectedFile, $actualString, $message, $canonicalize, $ignoreCase); + return call_user_func_array( + 'PHPUnit_Framework_Assert::assertStringEqualsFile', + func_get_args() + ); } /** @@ -1124,7 +1376,10 @@ function assertStringEqualsFile($expectedFile, $actualString, $message = '', $ca */ function assertStringMatchesFormat($format, $string, $message = '') { - return PHPUnit_Framework_Assert::assertStringMatchesFormat($format, $string, $message); + return call_user_func_array( + 'PHPUnit_Framework_Assert::assertStringMatchesFormat', + func_get_args() + ); } /** @@ -1137,7 +1392,10 @@ function assertStringMatchesFormat($format, $string, $message = '') */ function assertStringMatchesFormatFile($formatFile, $string, $message = '') { - return PHPUnit_Framework_Assert::assertStringMatchesFormatFile($formatFile, $string, $message); + return call_user_func_array( + 'PHPUnit_Framework_Assert::assertStringMatchesFormatFile', + func_get_args() + ); } /** @@ -1153,7 +1411,10 @@ function assertStringMatchesFormatFile($formatFile, $string, $message = '') */ function assertStringNotEqualsFile($expectedFile, $actualString, $message = '', $canonicalize = FALSE, $ignoreCase = FALSE) { - return PHPUnit_Framework_Assert::assertStringNotEqualsFile($expectedFile, $actualString, $message, $canonicalize, $ignoreCase); + return call_user_func_array( + 'PHPUnit_Framework_Assert::assertStringNotEqualsFile', + func_get_args() + ); } /** @@ -1166,7 +1427,10 @@ function assertStringNotEqualsFile($expectedFile, $actualString, $message = '', */ function assertStringNotMatchesFormat($format, $string, $message = '') { - return PHPUnit_Framework_Assert::assertStringNotMatchesFormat($format, $string, $message); + return call_user_func_array( + 'PHPUnit_Framework_Assert::assertStringNotMatchesFormat', + func_get_args() + ); } /** @@ -1179,7 +1443,10 @@ function assertStringNotMatchesFormat($format, $string, $message = '') */ function assertStringNotMatchesFormatFile($formatFile, $string, $message = '') { - return PHPUnit_Framework_Assert::assertStringNotMatchesFormatFile($formatFile, $string, $message); + return call_user_func_array( + 'PHPUnit_Framework_Assert::assertStringNotMatchesFormatFile', + func_get_args() + ); } /** @@ -1192,7 +1459,10 @@ function assertStringNotMatchesFormatFile($formatFile, $string, $message = '') */ function assertStringStartsNotWith($prefix, $string, $message = '') { - return PHPUnit_Framework_Assert::assertStringStartsNotWith($prefix, $string, $message); + return call_user_func_array( + 'PHPUnit_Framework_Assert::assertStringStartsNotWith', + func_get_args() + ); } /** @@ -1205,7 +1475,10 @@ function assertStringStartsNotWith($prefix, $string, $message = '') */ function assertStringStartsWith($prefix, $string, $message = '') { - return PHPUnit_Framework_Assert::assertStringStartsWith($prefix, $string, $message); + return call_user_func_array( + 'PHPUnit_Framework_Assert::assertStringStartsWith', + func_get_args() + ); } /** @@ -1347,7 +1620,10 @@ function assertStringStartsWith($prefix, $string, $message = '') */ function assertTag($matcher, $actual, $message = '', $isHtml = TRUE) { - return PHPUnit_Framework_Assert::assertTag($matcher, $actual, $message, $isHtml); + return call_user_func_array( + 'PHPUnit_Framework_Assert::assertTag', + func_get_args() + ); } /** @@ -1360,7 +1636,10 @@ function assertTag($matcher, $actual, $message = '', $isHtml = TRUE) */ function assertThat($value, PHPUnit_Framework_Constraint $constraint, $message = '') { - return PHPUnit_Framework_Assert::assertThat($value, $constraint, $message); + return call_user_func_array( + 'PHPUnit_Framework_Assert::assertThat', + func_get_args() + ); } /** @@ -1372,7 +1651,10 @@ function assertThat($value, PHPUnit_Framework_Constraint $constraint, $message = */ function assertTrue($condition, $message = '') { - return PHPUnit_Framework_Assert::assertTrue($condition, $message); + return call_user_func_array( + 'PHPUnit_Framework_Assert::assertTrue', + func_get_args() + ); } /** @@ -1385,7 +1667,10 @@ function assertTrue($condition, $message = '') */ function assertXmlFileEqualsXmlFile($expectedFile, $actualFile, $message = '') { - return PHPUnit_Framework_Assert::assertXmlFileEqualsXmlFile($expectedFile, $actualFile, $message); + return call_user_func_array( + 'PHPUnit_Framework_Assert::assertXmlFileEqualsXmlFile', + func_get_args() + ); } /** @@ -1398,7 +1683,10 @@ function assertXmlFileEqualsXmlFile($expectedFile, $actualFile, $message = '') */ function assertXmlFileNotEqualsXmlFile($expectedFile, $actualFile, $message = '') { - return PHPUnit_Framework_Assert::assertXmlFileNotEqualsXmlFile($expectedFile, $actualFile, $message); + return call_user_func_array( + 'PHPUnit_Framework_Assert::assertXmlFileNotEqualsXmlFile', + func_get_args() + ); } /** @@ -1411,7 +1699,10 @@ function assertXmlFileNotEqualsXmlFile($expectedFile, $actualFile, $message = '' */ function assertXmlStringEqualsXmlFile($expectedFile, $actualXml, $message = '') { - return PHPUnit_Framework_Assert::assertXmlStringEqualsXmlFile($expectedFile, $actualXml, $message); + return call_user_func_array( + 'PHPUnit_Framework_Assert::assertXmlStringEqualsXmlFile', + func_get_args() + ); } /** @@ -1424,7 +1715,10 @@ function assertXmlStringEqualsXmlFile($expectedFile, $actualXml, $message = '') */ function assertXmlStringEqualsXmlString($expectedXml, $actualXml, $message = '') { - return PHPUnit_Framework_Assert::assertXmlStringEqualsXmlString($expectedXml, $actualXml, $message); + return call_user_func_array( + 'PHPUnit_Framework_Assert::assertXmlStringEqualsXmlString', + func_get_args() + ); } /** @@ -1437,7 +1731,10 @@ function assertXmlStringEqualsXmlString($expectedXml, $actualXml, $message = '') */ function assertXmlStringNotEqualsXmlFile($expectedFile, $actualXml, $message = '') { - return PHPUnit_Framework_Assert::assertXmlStringNotEqualsXmlFile($expectedFile, $actualXml, $message); + return call_user_func_array( + 'PHPUnit_Framework_Assert::assertXmlStringNotEqualsXmlFile', + func_get_args() + ); } /** @@ -1450,7 +1747,10 @@ function assertXmlStringNotEqualsXmlFile($expectedFile, $actualXml, $message = ' */ function assertXmlStringNotEqualsXmlString($expectedXml, $actualXml, $message = '') { - return PHPUnit_Framework_Assert::assertXmlStringNotEqualsXmlString($expectedXml, $actualXml, $message); + return call_user_func_array( + 'PHPUnit_Framework_Assert::assertXmlStringNotEqualsXmlString', + func_get_args() + ); } /** @@ -1463,7 +1763,10 @@ function assertXmlStringNotEqualsXmlString($expectedXml, $actualXml, $message = */ function at($index) { - return PHPUnit_Framework_TestCase::at($index); + return call_user_func_array( + 'PHPUnit_Framework_TestCase::at', + func_get_args() + ); } /** @@ -1475,7 +1778,10 @@ function at($index) */ function atLeastOnce() { - return PHPUnit_Framework_TestCase::atLeastOnce(); + return call_user_func_array( + 'PHPUnit_Framework_TestCase::atLeastOnce', + func_get_args() + ); } /** @@ -1488,7 +1794,10 @@ function atLeastOnce() */ function attribute(PHPUnit_Framework_Constraint $constraint, $attributeName) { - return PHPUnit_Framework_Assert::attribute($constraint, $attributeName); + return call_user_func_array( + 'PHPUnit_Framework_Assert::attribute', + func_get_args() + ); } /** @@ -1507,7 +1816,24 @@ function attribute(PHPUnit_Framework_Constraint $constraint, $attributeName) */ function attributeEqualTo($attributeName, $value, $delta = 0, $maxDepth = 10, $canonicalize = FALSE, $ignoreCase = FALSE) { - return PHPUnit_Framework_Assert::attributeEqualTo($attributeName, $value, $delta, $maxDepth, $canonicalize, $ignoreCase); + return call_user_func_array( + 'PHPUnit_Framework_Assert::attributeEqualTo', + func_get_args() + ); +} + +/** + * Returns a PHPUnit_Framework_Constraint_Callback matcher object. + * + * @param callable $callback + * @return PHPUnit_Framework_Constraint_Callback + */ +function callback($callback) +{ + return call_user_func_array( + 'PHPUnit_Framework_Assert::callback', + func_get_args() + ); } /** @@ -1519,7 +1845,10 @@ function attributeEqualTo($attributeName, $value, $delta = 0, $maxDepth = 10, $c */ function classHasAttribute($attributeName) { - return PHPUnit_Framework_Assert::classHasAttribute($attributeName); + return call_user_func_array( + 'PHPUnit_Framework_Assert::classHasAttribute', + func_get_args() + ); } /** @@ -1532,7 +1861,10 @@ function classHasAttribute($attributeName) */ function classHasStaticAttribute($attributeName) { - return PHPUnit_Framework_Assert::classHasStaticAttribute($attributeName); + return call_user_func_array( + 'PHPUnit_Framework_Assert::classHasStaticAttribute', + func_get_args() + ); } /** @@ -1546,7 +1878,10 @@ function classHasStaticAttribute($attributeName) */ function contains($value, $checkForObjectIdentity = TRUE) { - return PHPUnit_Framework_Assert::contains($value, $checkForObjectIdentity); + return call_user_func_array( + 'PHPUnit_Framework_Assert::contains', + func_get_args() + ); } /** @@ -1559,7 +1894,25 @@ function contains($value, $checkForObjectIdentity = TRUE) */ function containsOnly($type) { - return PHPUnit_Framework_Assert::containsOnly($type); + return call_user_func_array( + 'PHPUnit_Framework_Assert::containsOnly', + func_get_args() + ); +} + +/** + * Returns a PHPUnit_Framework_Constraint_TraversableContainsOnly matcher + * object. + * + * @param string $classname + * @return PHPUnit_Framework_Constraint_TraversableContainsOnly + */ +function containsOnlyInstancesOf($classname) +{ + return call_user_func_array( + 'PHPUnit_Framework_Assert::containsOnlyInstancesOf', + func_get_args() + ); } /** @@ -1575,7 +1928,10 @@ function containsOnly($type) */ function equalTo($value, $delta = 0, $maxDepth = 10, $canonicalize = FALSE, $ignoreCase = FALSE) { - return PHPUnit_Framework_Assert::equalTo($value, $delta, $maxDepth, $canonicalize, $ignoreCase); + return call_user_func_array( + 'PHPUnit_Framework_Assert::equalTo', + func_get_args() + ); } /** @@ -1588,7 +1944,10 @@ function equalTo($value, $delta = 0, $maxDepth = 10, $canonicalize = FALSE, $ign */ function exactly($count) { - return PHPUnit_Framework_TestCase::exactly($count); + return call_user_func_array( + 'PHPUnit_Framework_TestCase::exactly', + func_get_args() + ); } /** @@ -1599,7 +1958,10 @@ function exactly($count) */ function fileExists() { - return PHPUnit_Framework_Assert::fileExists(); + return call_user_func_array( + 'PHPUnit_Framework_Assert::fileExists', + func_get_args() + ); } /** @@ -1611,7 +1973,10 @@ function fileExists() */ function greaterThan($value) { - return PHPUnit_Framework_Assert::greaterThan($value); + return call_user_func_array( + 'PHPUnit_Framework_Assert::greaterThan', + func_get_args() + ); } /** @@ -1625,7 +1990,10 @@ function greaterThan($value) */ function greaterThanOrEqual($value) { - return PHPUnit_Framework_Assert::greaterThanOrEqual($value); + return call_user_func_array( + 'PHPUnit_Framework_Assert::greaterThanOrEqual', + func_get_args() + ); } /** @@ -1637,7 +2005,10 @@ function greaterThanOrEqual($value) */ function identicalTo($value) { - return PHPUnit_Framework_Assert::identicalTo($value); + return call_user_func_array( + 'PHPUnit_Framework_Assert::identicalTo', + func_get_args() + ); } /** @@ -1648,7 +2019,10 @@ function identicalTo($value) */ function isEmpty() { - return PHPUnit_Framework_Assert::isEmpty(); + return call_user_func_array( + 'PHPUnit_Framework_Assert::isEmpty', + func_get_args() + ); } /** @@ -1659,7 +2033,10 @@ function isEmpty() */ function isFalse() { - return PHPUnit_Framework_Assert::isFalse(); + return call_user_func_array( + 'PHPUnit_Framework_Assert::isFalse', + func_get_args() + ); } /** @@ -1671,7 +2048,24 @@ function isFalse() */ function isInstanceOf($className) { - return PHPUnit_Framework_Assert::isInstanceOf($className); + return call_user_func_array( + 'PHPUnit_Framework_Assert::isInstanceOf', + func_get_args() + ); +} + +/** + * Returns a PHPUnit_Framework_Constraint_IsJson matcher object. + * + * @return PHPUnit_Framework_Constraint_IsJson + * @since Method available since Release 3.7.20 + */ +function isJson() +{ + return call_user_func_array( + 'PHPUnit_Framework_Assert::isJson', + func_get_args() + ); } /** @@ -1682,7 +2076,10 @@ function isInstanceOf($className) */ function isNull() { - return PHPUnit_Framework_Assert::isNull(); + return call_user_func_array( + 'PHPUnit_Framework_Assert::isNull', + func_get_args() + ); } /** @@ -1693,18 +2090,10 @@ function isNull() */ function isTrue() { - return PHPUnit_Framework_Assert::isTrue(); -} - -/** - * Returns a PHPUnit_Framework_Constraint_Callback matcher object. - * - * @param callable $callback - * @return PHPUnit_Framework_Constraint_Callback - */ -function callback($callback) -{ - return PHPUnit_Framework_Assert::callback($callback); + return call_user_func_array( + 'PHPUnit_Framework_Assert::isTrue', + func_get_args() + ); } /** @@ -1716,7 +2105,10 @@ function callback($callback) */ function isType($type) { - return PHPUnit_Framework_Assert::isType($type); + return call_user_func_array( + 'PHPUnit_Framework_Assert::isType', + func_get_args() + ); } /** @@ -1728,7 +2120,10 @@ function isType($type) */ function lessThan($value) { - return PHPUnit_Framework_Assert::lessThan($value); + return call_user_func_array( + 'PHPUnit_Framework_Assert::lessThan', + func_get_args() + ); } /** @@ -1742,7 +2137,10 @@ function lessThan($value) */ function lessThanOrEqual($value) { - return PHPUnit_Framework_Assert::lessThanOrEqual($value); + return call_user_func_array( + 'PHPUnit_Framework_Assert::lessThanOrEqual', + func_get_args() + ); } /** @@ -1753,7 +2151,10 @@ function lessThanOrEqual($value) */ function logicalAnd() { - return PHPUnit_Framework_Assert::logicalAnd(); + return call_user_func_array( + 'PHPUnit_Framework_Assert::logicalAnd', + func_get_args() + ); } /** @@ -1765,7 +2166,10 @@ function logicalAnd() */ function logicalNot(PHPUnit_Framework_Constraint $constraint) { - return PHPUnit_Framework_Assert::logicalNot($constraint); + return call_user_func_array( + 'PHPUnit_Framework_Assert::logicalNot', + func_get_args() + ); } /** @@ -1776,7 +2180,10 @@ function logicalNot(PHPUnit_Framework_Constraint $constraint) */ function logicalOr() { - return PHPUnit_Framework_Assert::logicalOr(); + return call_user_func_array( + 'PHPUnit_Framework_Assert::logicalOr', + func_get_args() + ); } /** @@ -1787,7 +2194,10 @@ function logicalOr() */ function logicalXor() { - return PHPUnit_Framework_Assert::logicalXor(); + return call_user_func_array( + 'PHPUnit_Framework_Assert::logicalXor', + func_get_args() + ); } /** @@ -1799,7 +2209,10 @@ function logicalXor() */ function matches($string) { - return PHPUnit_Framework_Assert::matches($string); + return call_user_func_array( + 'PHPUnit_Framework_Assert::matches', + func_get_args() + ); } /** @@ -1811,7 +2224,10 @@ function matches($string) */ function matchesRegularExpression($pattern) { - return PHPUnit_Framework_Assert::matchesRegularExpression($pattern); + return call_user_func_array( + 'PHPUnit_Framework_Assert::matchesRegularExpression', + func_get_args() + ); } /** @@ -1823,7 +2239,10 @@ function matchesRegularExpression($pattern) */ function never() { - return PHPUnit_Framework_TestCase::never(); + return call_user_func_array( + 'PHPUnit_Framework_TestCase::never', + func_get_args() + ); } /** @@ -1835,7 +2254,10 @@ function never() */ function objectHasAttribute($attributeName) { - return PHPUnit_Framework_Assert::objectHasAttribute($attributeName); + return call_user_func_array( + 'PHPUnit_Framework_Assert::objectHasAttribute', + func_get_args() + ); } /** @@ -1847,7 +2269,10 @@ function objectHasAttribute($attributeName) */ function onConsecutiveCalls() { - return PHPUnit_Framework_TestCase::onConsecutiveCalls(); + return call_user_func_array( + 'PHPUnit_Framework_TestCase::onConsecutiveCalls', + func_get_args() + ); } /** @@ -1859,7 +2284,10 @@ function onConsecutiveCalls() */ function once() { - return PHPUnit_Framework_TestCase::once(); + return call_user_func_array( + 'PHPUnit_Framework_TestCase::once', + func_get_args() + ); } /** @@ -1871,7 +2299,10 @@ function once() */ function returnArgument($argumentIndex) { - return PHPUnit_Framework_TestCase::returnArgument($argumentIndex); + return call_user_func_array( + 'PHPUnit_Framework_TestCase::returnArgument', + func_get_args() + ); } /** @@ -1883,7 +2314,10 @@ function returnArgument($argumentIndex) */ function returnCallback($callback) { - return PHPUnit_Framework_TestCase::returnCallback($callback); + return call_user_func_array( + 'PHPUnit_Framework_TestCase::returnCallback', + func_get_args() + ); } /** @@ -1896,7 +2330,10 @@ function returnCallback($callback) */ function returnSelf() { - return PHPUnit_Framework_TestCase::returnSelf(); + return call_user_func_array( + 'PHPUnit_Framework_TestCase::returnSelf', + func_get_args() + ); } /** @@ -1908,7 +2345,10 @@ function returnSelf() */ function returnValue($value) { - return PHPUnit_Framework_TestCase::returnValue($value); + return call_user_func_array( + 'PHPUnit_Framework_TestCase::returnValue', + func_get_args() + ); } /** @@ -1920,7 +2360,10 @@ function returnValue($value) */ function returnValueMap(array $valueMap) { - return PHPUnit_Framework_TestCase::returnValueMap($valueMap); + return call_user_func_array( + 'PHPUnit_Framework_TestCase::returnValueMap', + func_get_args() + ); } /** @@ -1933,7 +2376,10 @@ function returnValueMap(array $valueMap) */ function stringContains($string, $case = TRUE) { - return PHPUnit_Framework_Assert::stringContains($string, $case); + return call_user_func_array( + 'PHPUnit_Framework_Assert::stringContains', + func_get_args() + ); } /** @@ -1945,7 +2391,10 @@ function stringContains($string, $case = TRUE) */ function stringEndsWith($suffix) { - return PHPUnit_Framework_Assert::stringEndsWith($suffix); + return call_user_func_array( + 'PHPUnit_Framework_Assert::stringEndsWith', + func_get_args() + ); } /** @@ -1957,7 +2406,10 @@ function stringEndsWith($suffix) */ function stringStartsWith($prefix) { - return PHPUnit_Framework_Assert::stringStartsWith($prefix); + return call_user_func_array( + 'PHPUnit_Framework_Assert::stringStartsWith', + func_get_args() + ); } /** @@ -1969,5 +2421,8 @@ function stringStartsWith($prefix) */ function throwException(Exception $exception) { - return PHPUnit_Framework_TestCase::throwException($exception); + return call_user_func_array( + 'PHPUnit_Framework_TestCase::throwException', + func_get_args() + ); } diff --git a/core/vendor/phpunit/phpunit/PHPUnit/Runner/Version.php b/core/vendor/phpunit/phpunit/PHPUnit/Framework/Constraint/IsJson.php similarity index 62% copy from core/vendor/phpunit/phpunit/PHPUnit/Runner/Version.php copy to core/vendor/phpunit/phpunit/PHPUnit/Framework/Constraint/IsJson.php index d2b1b68..c75d093 100644 --- a/core/vendor/phpunit/phpunit/PHPUnit/Runner/Version.php +++ b/core/vendor/phpunit/phpunit/PHPUnit/Framework/Constraint/IsJson.php @@ -35,68 +35,75 @@ * POSSIBILITY OF SUCH DAMAGE. * * @package PHPUnit - * @subpackage Runner + * @subpackage Framework_Constraint * @author Sebastian Bergmann * @copyright 2001-2013 Sebastian Bergmann * @license http://www.opensource.org/licenses/BSD-3-Clause The BSD 3-Clause License * @link http://www.phpunit.de/ - * @since File available since Release 2.0.0 + * @since File available since Release 3.7.20 */ /** - * This class defines the current version of PHPUnit. + * Constraint that asserts that a string is valid JSON. * * @package PHPUnit - * @subpackage Runner + * @subpackage Framework_Constraint * @author Sebastian Bergmann * @copyright 2001-2013 Sebastian Bergmann * @license http://www.opensource.org/licenses/BSD-3-Clause The BSD 3-Clause License * @link http://www.phpunit.de/ - * @since Class available since Release 2.0.0 + * @since Class available since Release 3.7.20 */ -class PHPUnit_Runner_Version +class PHPUnit_Framework_Constraint_IsJson extends PHPUnit_Framework_Constraint { - const VERSION = '3.7.19'; - protected static $version; - /** - * Returns the current version of PHPUnit. + * Evaluates the constraint for parameter $other. Returns TRUE if the + * constraint is met, FALSE otherwise. * - * @return string + * @param mixed $other Value or object to evaluate. + * @return bool */ - public static function id() + protected function matches($other) { - if (self::$version === NULL) { - self::$version = self::VERSION; + json_decode($other); + if (json_last_error()) { + return FALSE; + } - if (is_dir(dirname(dirname(__DIR__)) . '/.git')) { - $dir = getcwd(); - chdir(__DIR__); - $version = exec('git describe --tags 2>&1', $output, $returnCode); - chdir($dir); + return TRUE; + } - if ($version && $returnCode === 0) { - if (count(explode('.', self::VERSION)) == 3) { - self::$version = $version; - } else { - $version = explode('-', $version); + /** + * Returns the description of the failure + * + * The beginning of failure messages is "Failed asserting that" in most + * cases. This method should return the second part of that sentence. + * + * @param mixed $other Evaluated value or object. + * @return string + */ + protected function failureDescription($other) + { + json_decode($other); + $error = PHPUnit_Framework_Constraint_JsonMatches_ErrorMessageProvider::determineJsonError( + json_last_error() + ); - self::$version = self::VERSION . '-' . $version[2]; - } - } else { - self::$version = self::VERSION . '-dev'; - } - } - } + return sprintf( + '%s is valid JSON (%s)', - return self::$version; + PHPUnit_Util_Type::shortenedExport($other), + $error + ); } /** + * Returns a string representation of the constraint. + * * @return string */ - public static function getVersionString() + public function toString() { - return 'PHPUnit ' . self::id() . ' by Sebastian Bergmann.'; + return 'is valid JSON'; } } diff --git a/core/vendor/phpunit/phpunit/PHPUnit/Framework/Constraint/JsonMatches.php b/core/vendor/phpunit/phpunit/PHPUnit/Framework/Constraint/JsonMatches.php index 6fff78c..426af9e 100644 --- a/core/vendor/phpunit/phpunit/PHPUnit/Framework/Constraint/JsonMatches.php +++ b/core/vendor/phpunit/phpunit/PHPUnit/Framework/Constraint/JsonMatches.php @@ -84,13 +84,11 @@ protected function matches($other) { $decodedOther = json_decode($other); if (json_last_error()) { - $this->failure_reason = $this->getJsonError(); return FALSE; } $decodedValue = json_decode($this->value); if (json_last_error()) { - $this->failure_reason = $this->getJsonError(); return FALSE; } @@ -98,20 +96,6 @@ protected function matches($other) } /** - * Finds the last occurd JSON error. - * - * @param string $messagePrefix - * @return string The last JSON error prefixed with $messagePrefix. - */ - protected function getJsonError($messagePrefix = 'Json error!') - { - return PHPUnit_Framework_Constraint_JsonMatches_ErrorMessageProvider::determineJsonError( - json_last_error(), - $messagePrefix - ); - } - - /** * Returns a string representation of the object. * * @return string diff --git a/core/vendor/phpunit/phpunit/PHPUnit/Framework/Constraint/JsonMatches/ErrorMessageProvider.php b/core/vendor/phpunit/phpunit/PHPUnit/Framework/Constraint/JsonMatches/ErrorMessageProvider.php index 296155a..fe6e16a 100644 --- a/core/vendor/phpunit/phpunit/PHPUnit/Framework/Constraint/JsonMatches/ErrorMessageProvider.php +++ b/core/vendor/phpunit/phpunit/PHPUnit/Framework/Constraint/JsonMatches/ErrorMessageProvider.php @@ -57,25 +57,25 @@ class PHPUnit_Framework_Constraint_JsonMatches_ErrorMessageProvider { /** - * Translatets accourd JSON error to a human readable string. + * Translates JSON error to a human readable string. * * @param string $error * @return string */ public static function determineJsonError($error, $prefix = '') { - switch (strtoupper($error)) { - case 'JSON_ERROR_NONE': + switch ($error) { + case JSON_ERROR_NONE: return; - case 'JSON_ERROR_DEPTH': + case JSON_ERROR_DEPTH: return $prefix . 'Maximum stack depth exceeded'; - case 'JSON_ERROR_STATE_MISMATCH': + case JSON_ERROR_STATE_MISMATCH: return $prefix . 'Underflow or the modes mismatch'; - case 'JSON_ERROR_CTRL_CHAR': + case JSON_ERROR_CTRL_CHAR: return $prefix . 'Unexpected control character found'; - case 'JSON_ERROR_SYNTAX': + case JSON_ERROR_SYNTAX: return $prefix . 'Syntax error, malformed JSON'; - case 'JSON_ERROR_UTF8': + case JSON_ERROR_UTF8: return $prefix . 'Malformed UTF-8 characters, possibly incorrectly encoded'; default: return $prefix . 'Unknown error'; diff --git a/core/vendor/phpunit/phpunit/PHPUnit/Framework/TestFailure.php b/core/vendor/phpunit/phpunit/PHPUnit/Framework/TestFailure.php index 683ff4e..6774c75 100644 --- a/core/vendor/phpunit/phpunit/PHPUnit/Framework/TestFailure.php +++ b/core/vendor/phpunit/phpunit/PHPUnit/Framework/TestFailure.php @@ -88,7 +88,7 @@ public function toString() return sprintf( '%s: %s', - $this->failedTest, + $this->failedTest->toString(), $this->thrownException->getMessage() ); } diff --git a/core/vendor/phpunit/phpunit/PHPUnit/Runner/Version.php b/core/vendor/phpunit/phpunit/PHPUnit/Runner/Version.php index d2b1b68..471381d 100644 --- a/core/vendor/phpunit/phpunit/PHPUnit/Runner/Version.php +++ b/core/vendor/phpunit/phpunit/PHPUnit/Runner/Version.php @@ -56,7 +56,7 @@ */ class PHPUnit_Runner_Version { - const VERSION = '3.7.19'; + const VERSION = '3.7.20'; protected static $version; /** diff --git a/core/vendor/phpunit/phpunit/PHPUnit/TextUI/TestRunner.php b/core/vendor/phpunit/phpunit/PHPUnit/TextUI/TestRunner.php index ca4ceb0..d26f69e 100644 --- a/core/vendor/phpunit/phpunit/PHPUnit/TextUI/TestRunner.php +++ b/core/vendor/phpunit/phpunit/PHPUnit/TextUI/TestRunner.php @@ -411,14 +411,15 @@ public function doRun(PHPUnit_Framework_Test $suite, array $arguments = array()) $colors = FALSE; } - $writer = new PHP_CodeCoverage_Report_Text( - $outputStream, + $processor = new PHP_CodeCoverage_Report_Text( $arguments['reportLowUpperBound'], $arguments['reportHighLowerBound'], $arguments['coverageTextShowUncoveredFiles'] ); - $writer->process($codeCoverage, $colors); + $outputStream->write( + $processor->process($codeCoverage, $colors) + ); } } diff --git a/core/vendor/phpunit/phpunit/PHPUnit/Util/ErrorHandler.php b/core/vendor/phpunit/phpunit/PHPUnit/Util/ErrorHandler.php index fb15d69..2b419a6 100644 --- a/core/vendor/phpunit/phpunit/PHPUnit/Util/ErrorHandler.php +++ b/core/vendor/phpunit/phpunit/PHPUnit/Util/ErrorHandler.php @@ -45,10 +45,10 @@ // Workaround for http://bugs.php.net/bug.php?id=47987, // see https://github.com/sebastianbergmann/phpunit/issues#issue/125 for details -require_once 'PHPUnit/Framework/Error.php'; -require_once 'PHPUnit/Framework/Error/Notice.php'; -require_once 'PHPUnit/Framework/Error/Warning.php'; -require_once 'PHPUnit/Framework/Error/Deprecated.php'; +require_once __DIR__ . '/../Framework/Error.php'; +require_once __DIR__ . '/../Framework/Error/Notice.php'; +require_once __DIR__ . '/../Framework/Error/Warning.php'; +require_once __DIR__ . '/../Framework/Error/Deprecated.php'; /** * Error handler that converts PHP errors and warnings to exceptions. diff --git a/core/vendor/phpunit/phpunit/PHPUnit/Util/Test.php b/core/vendor/phpunit/phpunit/PHPUnit/Util/Test.php index e564ae5..dc28e5e 100644 --- a/core/vendor/phpunit/phpunit/PHPUnit/Util/Test.php +++ b/core/vendor/phpunit/phpunit/PHPUnit/Util/Test.php @@ -147,6 +147,7 @@ public static function getExpectedException($className, $methodName) { $reflector = new ReflectionMethod($className, $methodName); $docComment = $reflector->getDocComment(); + $docComment = substr($docComment, 3, -2); if (preg_match(self::REGEX_EXPECTED_EXCEPTION, $docComment, $matches)) { $annotations = self::parseTestMethodAnnotations( diff --git a/core/vendor/phpunit/phpunit/PHPUnit/Runner/Version.php b/core/vendor/phpunit/phpunit/Tests/Framework/Assert/FunctionsTest.php similarity index 54% copy from core/vendor/phpunit/phpunit/PHPUnit/Runner/Version.php copy to core/vendor/phpunit/phpunit/Tests/Framework/Assert/FunctionsTest.php index d2b1b68..2903e49 100644 --- a/core/vendor/phpunit/phpunit/PHPUnit/Runner/Version.php +++ b/core/vendor/phpunit/phpunit/Tests/Framework/Assert/FunctionsTest.php @@ -35,68 +35,46 @@ * POSSIBILITY OF SUCH DAMAGE. * * @package PHPUnit - * @subpackage Runner - * @author Sebastian Bergmann - * @copyright 2001-2013 Sebastian Bergmann + * @author Kuzuha SHINODA + * @copyright 2013-2013 Kuzuha SHINODA * @license http://www.opensource.org/licenses/BSD-3-Clause The BSD 3-Clause License * @link http://www.phpunit.de/ - * @since File available since Release 2.0.0 + * @since File available since Release 3.7.20 */ +require_once dirname(dirname(dirname(__DIR__))) . '/PHPUnit/Framework/Assert/Functions.php'; + /** - * This class defines the current version of PHPUnit. + * * * @package PHPUnit - * @subpackage Runner - * @author Sebastian Bergmann - * @copyright 2001-2013 Sebastian Bergmann + * @author Kuzuha SHINODA + * @copyright 2013-2013 Kuzuha SHINODA * @license http://www.opensource.org/licenses/BSD-3-Clause The BSD 3-Clause License * @link http://www.phpunit.de/ - * @since Class available since Release 2.0.0 + * @since File available since Release 3.7.20 */ -class PHPUnit_Runner_Version +class Framework_Assert_FunctionsTest extends PHPUnit_Framework_TestCase { - const VERSION = '3.7.19'; - protected static $version; - /** - * Returns the current version of PHPUnit. - * - * @return string - */ - public static function id() + public function testLogicalAnd() { - if (self::$version === NULL) { - self::$version = self::VERSION; - - if (is_dir(dirname(dirname(__DIR__)) . '/.git')) { - $dir = getcwd(); - chdir(__DIR__); - $version = exec('git describe --tags 2>&1', $output, $returnCode); - chdir($dir); - - if ($version && $returnCode === 0) { - if (count(explode('.', self::VERSION)) == 3) { - self::$version = $version; - } else { - $version = explode('-', $version); - - self::$version = self::VERSION . '-' . $version[2]; - } - } else { - self::$version = self::VERSION . '-dev'; - } - } - } + $expected = $this->logicalAnd($this->isTrue(), $this->isFalse()); + $actual = logicalAnd($this->isTrue(), $this->isFalse()); + $this->assertSame($expected->toString(), $actual->toString()); + } - return self::$version; + public function testLogicalOr() + { + $expected = $this->logicalOr($this->isTrue(), $this->isFalse()); + $actual = logicalOr($this->isTrue(), $this->isFalse()); + $this->assertSame($expected->toString(), $actual->toString()); } - /** - * @return string - */ - public static function getVersionString() + public function testLogicalXor() { - return 'PHPUnit ' . self::id() . ' by Sebastian Bergmann.'; + $expected = $this->logicalXor($this->isTrue(), $this->isFalse()); + $actual = logicalXor($this->isTrue(), $this->isFalse()); + $this->assertSame($expected->toString(), $actual->toString()); } } diff --git a/core/vendor/phpunit/phpunit/Tests/Framework/AssertTest.php b/core/vendor/phpunit/phpunit/Tests/Framework/AssertTest.php index c9ad1eb..847e3a2 100644 --- a/core/vendor/phpunit/phpunit/Tests/Framework/AssertTest.php +++ b/core/vendor/phpunit/phpunit/Tests/Framework/AssertTest.php @@ -4053,7 +4053,7 @@ public function testAssertJsonStringEqualsJsonStringErrorRaised($expected, $actu { try { $this->assertJsonStringEqualsJsonString($expected, $actual); - } catch (PHPUnit_Framework_ExpectationFailedException $e) { + } catch (PHPUnit_Framework_AssertionFailedError $e) { return; } $this->fail('Expected exception not found'); @@ -4077,7 +4077,12 @@ public function testAssertJsonStringNotEqualsJsonString() */ public function testAssertJsonStringNotEqualsJsonStringErrorRaised($expected, $actual) { - $this->assertJsonStringNotEqualsJsonString($expected, $actual); + try { + $this->assertJsonStringNotEqualsJsonString($expected, $actual); + } catch (PHPUnit_Framework_AssertionFailedError $e) { + return; + } + $this->fail('Expected exception not found'); } /** diff --git a/core/vendor/phpunit/phpunit/Tests/Framework/Constraint/JsonMatches/ErrorMessageProviderTest.php b/core/vendor/phpunit/phpunit/Tests/Framework/Constraint/JsonMatches/ErrorMessageProviderTest.php index 9755ad9..1990ddc 100644 --- a/core/vendor/phpunit/phpunit/Tests/Framework/Constraint/JsonMatches/ErrorMessageProviderTest.php +++ b/core/vendor/phpunit/phpunit/Tests/Framework/Constraint/JsonMatches/ErrorMessageProviderTest.php @@ -86,27 +86,27 @@ public static function determineJsonErrorDataprovider() NULL, 'json_error_none', '' ), 'JSON_ERROR_DEPTH' => array( - 'Maximum stack depth exceeded', 'json_error_depth', '' + 'Maximum stack depth exceeded', JSON_ERROR_DEPTH, '' ), 'prefixed JSON_ERROR_DEPTH' => array( - 'TUX: Maximum stack depth exceeded', 'json_error_depth', 'TUX: ' + 'TUX: Maximum stack depth exceeded', JSON_ERROR_DEPTH, 'TUX: ' ), 'JSON_ERROR_STATE_MISMatch' => array( - 'Underflow or the modes mismatch', 'json_error_state_mismatch', '' + 'Underflow or the modes mismatch', JSON_ERROR_STATE_MISMATCH, '' ), 'JSON_ERROR_CTRL_CHAR' => array( - 'Unexpected control character found', 'json_error_ctrl_char', '' + 'Unexpected control character found', JSON_ERROR_CTRL_CHAR, '' ), 'JSON_ERROR_SYNTAX' => array( - 'Syntax error, malformed JSON', 'json_error_syntax', '' + 'Syntax error, malformed JSON', JSON_ERROR_SYNTAX, '' ), 'JSON_ERROR_UTF8`' => array( 'Malformed UTF-8 characters, possibly incorrectly encoded', - 'json_error_utf8', + JSON_ERROR_UTF8, '' ), 'Invalid error indicator' => array( - 'Unknown error', 'invalid_error_indicator', '' + 'Unknown error', 55, '' ), ); } diff --git a/core/vendor/phpunit/phpunit/Tests/Framework/Constraint/JsonMatchesTest.php b/core/vendor/phpunit/phpunit/Tests/Framework/Constraint/JsonMatchesTest.php index 6761710..4026756 100644 --- a/core/vendor/phpunit/phpunit/Tests/Framework/Constraint/JsonMatchesTest.php +++ b/core/vendor/phpunit/phpunit/Tests/Framework/Constraint/JsonMatchesTest.php @@ -58,7 +58,6 @@ class Framework_Constraint_JsonMatchesTest extends PHPUnit_Framework_TestCase * @covers PHPUnit_Framework_Constraint_JsonMatches::evaluate * @covers PHPUnit_Framework_Constraint_JsonMatches::matches * @covers PHPUnit_Framework_Constraint_JsonMatches::__construct - * @covers PHPUnit_Framework_Constraint_JsonMatches::getJsonError */ public function testEvaluate($expected, $jsonOther, $jsonValue) { diff --git a/core/vendor/phpunit/phpunit/PHPUnit/Runner/Version.php b/core/vendor/phpunit/phpunit/Tests/Framework/TestFailureTest.php similarity index 61% copy from core/vendor/phpunit/phpunit/PHPUnit/Runner/Version.php copy to core/vendor/phpunit/phpunit/Tests/Framework/TestFailureTest.php index d2b1b68..1257100 100644 --- a/core/vendor/phpunit/phpunit/PHPUnit/Runner/Version.php +++ b/core/vendor/phpunit/phpunit/Tests/Framework/TestFailureTest.php @@ -35,68 +35,34 @@ * POSSIBILITY OF SUCH DAMAGE. * * @package PHPUnit - * @subpackage Runner * @author Sebastian Bergmann * @copyright 2001-2013 Sebastian Bergmann * @license http://www.opensource.org/licenses/BSD-3-Clause The BSD 3-Clause License * @link http://www.phpunit.de/ - * @since File available since Release 2.0.0 + * @since File available since Release 3.7.20 */ /** - * This class defines the current version of PHPUnit. + * * * @package PHPUnit - * @subpackage Runner * @author Sebastian Bergmann * @copyright 2001-2013 Sebastian Bergmann * @license http://www.opensource.org/licenses/BSD-3-Clause The BSD 3-Clause License * @link http://www.phpunit.de/ - * @since Class available since Release 2.0.0 + * @since File available since Release 3.7.20 */ -class PHPUnit_Runner_Version +class Framework_TestFailureTest extends PHPUnit_Framework_TestCase { - const VERSION = '3.7.19'; - protected static $version; - - /** - * Returns the current version of PHPUnit. - * - * @return string - */ - public static function id() - { - if (self::$version === NULL) { - self::$version = self::VERSION; - - if (is_dir(dirname(dirname(__DIR__)) . '/.git')) { - $dir = getcwd(); - chdir(__DIR__); - $version = exec('git describe --tags 2>&1', $output, $returnCode); - chdir($dir); - - if ($version && $returnCode === 0) { - if (count(explode('.', self::VERSION)) == 3) { - self::$version = $version; - } else { - $version = explode('-', $version); - - self::$version = self::VERSION . '-' . $version[2]; - } - } else { - self::$version = self::VERSION . '-dev'; - } - } - } - - return self::$version; - } - /** - * @return string + * @covers PHPUnit_Framework_TestFailure::toString */ - public static function getVersionString() + public function testToString() { - return 'PHPUnit ' . self::id() . ' by Sebastian Bergmann.'; + $test = new self(__FUNCTION__); + $exception = new PHPUnit_Framework_Exception('message'); + $failure = new PHPUnit_Framework_TestFailure($test, $exception); + + $this->assertEquals(__METHOD__ . ': message', $failure->toString()); } -} +} \ No newline at end of file diff --git a/core/vendor/phpunit/phpunit/Tests/Util/TestTest.php b/core/vendor/phpunit/phpunit/Tests/Util/TestTest.php index 3e4bf03..f57e4e7 100644 --- a/core/vendor/phpunit/phpunit/Tests/Util/TestTest.php +++ b/core/vendor/phpunit/phpunit/Tests/Util/TestTest.php @@ -105,6 +105,10 @@ public function testGetExpectedException() PHPUnit_Util_Test::getExpectedException('ExceptionTest', 'testNine') ); $this->assertSame( + array('class' => 'Class', 'code' => NULL, 'message' => ''), + PHPUnit_Util_Test::getExpectedException('ExceptionTest', 'testSingleLine') + ); + $this->assertSame( array('class' => 'Class', 'code' => My\Space\ExceptionNamespaceTest::ERROR_CODE, 'message' => My\Space\ExceptionNamespaceTest::ERROR_MESSAGE), PHPUnit_Util_Test::getExpectedException('My\Space\ExceptionNamespaceTest', 'testConstants') ); diff --git a/core/vendor/phpunit/phpunit/Tests/_files/ExceptionTest.php b/core/vendor/phpunit/phpunit/Tests/_files/ExceptionTest.php index 3493743..5298465 100644 --- a/core/vendor/phpunit/phpunit/Tests/_files/ExceptionTest.php +++ b/core/vendor/phpunit/phpunit/Tests/_files/ExceptionTest.php @@ -86,6 +86,11 @@ public function testNine() { } + /** @expectedException Class */ + public function testSingleLine() + { + } + /** * @expectedException Class * @expectedExceptionCode ExceptionTest::UNKNOWN_CODE_CONSTANT diff --git a/core/vendor/phpunit/phpunit/build/assertions.php b/core/vendor/phpunit/phpunit/build/assertions.php index acaa822..fa965f5 100755 --- a/core/vendor/phpunit/phpunit/build/assertions.php +++ b/core/vendor/phpunit/phpunit/build/assertions.php @@ -50,7 +50,7 @@ foreach ($methods as $name => $data) { $buffer .= sprintf( - "\n\n%s\nfunction %s(%s)\n{\n return %s::%s(%s);\n}", + "\n\n%s\nfunction %s(%s)\n{\n return call_user_func_array(\n '%s::%s',\n func_get_args()\n );\n}", str_replace(' ', '', $data['docblock']), $name, $data['sigDecl'], diff --git a/core/vendor/phpunit/phpunit/composer.json b/core/vendor/phpunit/phpunit/composer.json index fb57665..0993e3b 100644 --- a/core/vendor/phpunit/phpunit/composer.json +++ b/core/vendor/phpunit/phpunit/composer.json @@ -27,7 +27,7 @@ "phpunit/php-code-coverage": ">=1.2.1,<1.3.0", "phpunit/php-timer": ">=1.0.2,<1.1.0", "phpunit/phpunit-mock-objects": ">=1.2.0,<1.3.0", - "symfony/yaml": ">=2.0.0,<2.3.0", + "symfony/yaml": "~2.0", "ext-dom": "*", "ext-pcre": "*", "ext-reflection": "*", diff --git a/core/vendor/phpunit/phpunit/package.xml b/core/vendor/phpunit/phpunit/package.xml index 8eca51a..1100a4c 100644 --- a/core/vendor/phpunit/phpunit/package.xml +++ b/core/vendor/phpunit/phpunit/package.xml @@ -17,9 +17,9 @@ sebastian@phpunit.de yes - 2013-03-25 + 2013-05-13 - 3.7.19 + 3.7.20 3.7.0 @@ -82,6 +82,7 @@ + @@ -227,7 +228,7 @@ PHP_CodeCoverage pear.phpunit.de - 1.2.1 + 1.2.10 1.2.99 @@ -246,7 +247,7 @@ Yaml pear.symfony.com 2.0.0 - 2.2.99 + 2.99.99 dom