diff options
author | Bernhard Posselt <dev@bernhard-posselt.com> | 2015-08-15 13:52:32 +0200 |
---|---|---|
committer | Bernhard Posselt <dev@bernhard-posselt.com> | 2015-08-15 13:57:23 +0200 |
commit | 94575cc761c016b68135b398445d554bc984b1d5 (patch) | |
tree | 35f2decbb4cfed12e65f420228e5e1e150f36068 /vendor | |
parent | 44733bc8b4f5f1a6fb26dea01b9d33c7b0321d67 (diff) |
swap out unlicensed lib
Diffstat (limited to 'vendor')
-rw-r--r-- | vendor/autoload.php | 2 | ||||
-rw-r--r-- | vendor/composer/autoload_namespaces.php | 1 | ||||
-rw-r--r-- | vendor/composer/autoload_psr4.php | 1 | ||||
-rw-r--r-- | vendor/composer/autoload_real.php | 10 | ||||
-rw-r--r-- | vendor/composer/installed.json | 75 | ||||
-rw-r--r-- | vendor/plasmaconduit/path/.gitignore | 3 | ||||
-rw-r--r-- | vendor/plasmaconduit/path/.travis.yml | 15 | ||||
-rw-r--r-- | vendor/plasmaconduit/path/README.md | 22 | ||||
-rw-r--r-- | vendor/plasmaconduit/path/composer.json | 16 | ||||
-rw-r--r-- | vendor/plasmaconduit/path/composer.lock | 291 | ||||
-rw-r--r-- | vendor/plasmaconduit/path/spec/PlasmaConduit/Path.php | 47 | ||||
-rw-r--r-- | vendor/plasmaconduit/path/src/PlasmaConduit/Path.php | 65 | ||||
-rw-r--r-- | vendor/riimu/kit-pathjoin/CHANGES.md | 15 | ||||
-rw-r--r-- | vendor/riimu/kit-pathjoin/LICENSE | 18 | ||||
-rw-r--r-- | vendor/riimu/kit-pathjoin/README.md | 136 | ||||
-rw-r--r-- | vendor/riimu/kit-pathjoin/composer.json | 23 | ||||
-rw-r--r-- | vendor/riimu/kit-pathjoin/examples/example.php | 34 | ||||
-rw-r--r-- | vendor/riimu/kit-pathjoin/src/Path.php | 175 | ||||
-rw-r--r-- | vendor/riimu/kit-pathjoin/src/autoload.php | 12 |
19 files changed, 467 insertions, 494 deletions
diff --git a/vendor/autoload.php b/vendor/autoload.php index 8c5014f68..c2068d297 100644 --- a/vendor/autoload.php +++ b/vendor/autoload.php @@ -4,4 +4,4 @@ require_once __DIR__ . '/composer' . '/autoload_real.php'; -return ComposerAutoloaderInitec6479173790a439afc2992d53dab2ef::getLoader(); +return ComposerAutoloaderInit1865bc95e48cb97339d0616ae5d8b993::getLoader(); diff --git a/vendor/composer/autoload_namespaces.php b/vendor/composer/autoload_namespaces.php index 196c02aa5..761f12c54 100644 --- a/vendor/composer/autoload_namespaces.php +++ b/vendor/composer/autoload_namespaces.php @@ -8,5 +8,4 @@ $baseDir = dirname($vendorDir); return array( 'PicoFeed' => array($vendorDir . '/fguillot/picofeed/lib'), 'HTMLPurifier' => array($vendorDir . '/ezyang/htmlpurifier/library'), - '' => array($vendorDir . '/plasmaconduit/path/src'), ); diff --git a/vendor/composer/autoload_psr4.php b/vendor/composer/autoload_psr4.php index b265c64a2..12b0c71b0 100644 --- a/vendor/composer/autoload_psr4.php +++ b/vendor/composer/autoload_psr4.php @@ -6,4 +6,5 @@ $vendorDir = dirname(dirname(__FILE__)); $baseDir = dirname($vendorDir); return array( + 'Riimu\\Kit\\PathJoin\\' => array($vendorDir . '/riimu/kit-pathjoin/src'), ); diff --git a/vendor/composer/autoload_real.php b/vendor/composer/autoload_real.php index a60fd0d9c..9d756efad 100644 --- a/vendor/composer/autoload_real.php +++ b/vendor/composer/autoload_real.php @@ -2,7 +2,7 @@ // autoload_real.php @generated by Composer -class ComposerAutoloaderInitec6479173790a439afc2992d53dab2ef +class ComposerAutoloaderInit1865bc95e48cb97339d0616ae5d8b993 { private static $loader; @@ -19,9 +19,9 @@ class ComposerAutoloaderInitec6479173790a439afc2992d53dab2ef return self::$loader; } - spl_autoload_register(array('ComposerAutoloaderInitec6479173790a439afc2992d53dab2ef', 'loadClassLoader'), true, true); + spl_autoload_register(array('ComposerAutoloaderInit1865bc95e48cb97339d0616ae5d8b993', 'loadClassLoader'), true, true); self::$loader = $loader = new \Composer\Autoload\ClassLoader(); - spl_autoload_unregister(array('ComposerAutoloaderInitec6479173790a439afc2992d53dab2ef', 'loadClassLoader')); + spl_autoload_unregister(array('ComposerAutoloaderInit1865bc95e48cb97339d0616ae5d8b993', 'loadClassLoader')); $map = require __DIR__ . '/autoload_namespaces.php'; foreach ($map as $namespace => $path) { @@ -42,14 +42,14 @@ class ComposerAutoloaderInitec6479173790a439afc2992d53dab2ef $includeFiles = require __DIR__ . '/autoload_files.php'; foreach ($includeFiles as $file) { - composerRequireec6479173790a439afc2992d53dab2ef($file); + composerRequire1865bc95e48cb97339d0616ae5d8b993($file); } return $loader; } } -function composerRequireec6479173790a439afc2992d53dab2ef($file) +function composerRequire1865bc95e48cb97339d0616ae5d8b993($file) { require $file; } diff --git a/vendor/composer/installed.json b/vendor/composer/installed.json index f60218eab..c89453dde 100644 --- a/vendor/composer/installed.json +++ b/vendor/composer/installed.json @@ -1,33 +1,5 @@ [ { - "name": "plasmaconduit/path", - "version": "0.1.1", - "version_normalized": "0.1.1.0", - "source": { - "type": "git", - "url": "https://github.com/JosephMoniz/php-path.git", - "reference": "7c19ff02615defcf0b56968589aa1b53b0ee7ebe" - }, - "dist": { - "type": "zip", - "url": "https://api.github.com/repos/JosephMoniz/php-path/zipball/7c19ff02615defcf0b56968589aa1b53b0ee7ebe", - "reference": "7c19ff02615defcf0b56968589aa1b53b0ee7ebe", - "shasum": "" - }, - "require-dev": { - "phpspec/phpspec2": "*" - }, - "time": "2013-01-23 06:47:38", - "type": "library", - "installation-source": "dist", - "autoload": { - "psr-0": { - "": "src" - } - }, - "notification-url": "https://packagist.org/downloads/" - }, - { "name": "ezyang/htmlpurifier", "version": "v4.7.0", "version_normalized": "4.7.0.0", @@ -184,5 +156,52 @@ ], "description": "Modern library to handle RSS/Atom feeds", "homepage": "https://github.com/fguillot/picoFeed" + }, + { + "name": "riimu/kit-pathjoin", + "version": "v1.1.1", + "version_normalized": "1.1.1.0", + "source": { + "type": "git", + "url": "https://github.com/Riimu/Kit-PathJoin.git", + "reference": "a107e81d26f805dd905f1e92ef4e4a8629e19bbc" + }, + "dist": { + "type": "zip", + "url": "https://api.github.com/repos/Riimu/Kit-PathJoin/zipball/a107e81d26f805dd905f1e92ef4e4a8629e19bbc", + "reference": "a107e81d26f805dd905f1e92ef4e4a8629e19bbc", + "shasum": "" + }, + "require": { + "php": ">=5.4.0" + }, + "time": "2015-08-09 07:49:38", + "type": "library", + "installation-source": "dist", + "autoload": { + "psr-4": { + "Riimu\\Kit\\PathJoin\\": "src/" + } + }, + "notification-url": "https://packagist.org/downloads/", + "license": [ + "MIT" + ], + "authors": [ + { + "name": "Riikka Kalliomäki", + "email": "riikka.kalliomaki@gmail.com", + "homepage": "http://riimu.net" + } + ], + "description": "Cross-platform library for normalizing and joining file system paths", + "homepage": "http://kit.riimu.net", + "keywords": [ + "file", + "join", + "normalize", + "path", + "system" + ] } ] diff --git a/vendor/plasmaconduit/path/.gitignore b/vendor/plasmaconduit/path/.gitignore deleted file mode 100644 index a5d906ee0..000000000 --- a/vendor/plasmaconduit/path/.gitignore +++ /dev/null @@ -1,3 +0,0 @@ -bin -vendor -composer.phar diff --git a/vendor/plasmaconduit/path/.travis.yml b/vendor/plasmaconduit/path/.travis.yml deleted file mode 100644 index 8928b4105..000000000 --- a/vendor/plasmaconduit/path/.travis.yml +++ /dev/null @@ -1,15 +0,0 @@ -language: php - -php: - - 5.3 - - 5.4 - -branches: - only: - - master - -before_script: - - curl http://getcomposer.org/installer | php - - php composer.phar --dev install - -script: bin/phpspec run -n diff --git a/vendor/plasmaconduit/path/README.md b/vendor/plasmaconduit/path/README.md deleted file mode 100644 index cc04b5aa7..000000000 --- a/vendor/plasmaconduit/path/README.md +++ /dev/null @@ -1,22 +0,0 @@ -Path -==== - -[![Build Status](https://travis-ci.org/JosephMoniz/php-path.png?branch=master)](undefined) - -Simple and care free file path concatenation and simplification. - -```php -<?php -use PlasmaConduit\Path; - -Path::join("wat", "lol"); // -> wat/lol -Path::join("/a", "///b"); // -> /a/b -Path::join("/a", "b", "c", "..", "d"); // -> /a/b/d - -Path::normalize("/a/b/c/../d"); // -> /a/b/d -Path::normalize("/a/b/c/../../d"); // -> /a/d -Path::normalize("/b/wat//"); // -> /b/wat/ -Path::normalize("/b///wat/"); // -> /b/wat/ -Path::normalize(""); // -> . -Path::normalize("/"); // -> / -```
\ No newline at end of file diff --git a/vendor/plasmaconduit/path/composer.json b/vendor/plasmaconduit/path/composer.json deleted file mode 100644 index 2cfdb2a37..000000000 --- a/vendor/plasmaconduit/path/composer.json +++ /dev/null @@ -1,16 +0,0 @@ -{ - "name": "plasmaconduit/path", - "version": "0.1.1", - "require-dev": { - "phpspec/phpspec2": "*" - }, - "config": { - "bin-dir": "bin" - }, - "autoload": { - "psr-0": { - "": "src" - } - }, - "minimum-stability": "dev" -} diff --git a/vendor/plasmaconduit/path/composer.lock b/vendor/plasmaconduit/path/composer.lock deleted file mode 100644 index a361416fb..000000000 --- a/vendor/plasmaconduit/path/composer.lock +++ /dev/null @@ -1,291 +0,0 @@ -{ - "hash": "c03937476cc66c7ae1a9a8c9fc9d6c8a", - "packages": [ - - ], - "packages-dev": [ - { - "name": "mockery/mockery", - "version": "0.7.2", - "source": { - "type": "git", - "url": "git://github.com/padraic/mockery.git", - "reference": "0.7.2" - }, - "dist": { - "type": "zip", - "url": "https://github.com/padraic/mockery/zipball/0.7.2", - "reference": "0.7.2", - "shasum": "" - }, - "require": { - "php": ">=5.3.2" - }, - "suggest": { - "Hamcrest": "1.0.0" - }, - "time": "2012-01-24 12:22:39", - "type": "library", - "autoload": { - "psr-0": { - "Mockery": "library/" - } - }, - "notification-url": "https://packagist.org/downloads/", - "license": [ - "New BSD" - ], - "authors": [ - { - "name": "Pádraic Brady", - "email": "padraic.brady@gmail.com", - "homepage": "http://blog.astrumfutura.com" - } - ], - "description": "Mockery is a simple yet flexible PHP mock object framework for use in unit testing with PHPUnit, PHPSpec or any other testing framework. Its core goal is to offer a test double framework with a succint API capable of clearly defining all possible object operations and interactions using a human readable Domain Specific Language (DSL). Designed as a drop in alternative to PHPUnit's phpunit-mock-objects library, Mockery is easy to integrate with PHPUnit and can operate alongside phpunit-mock-objects without the World ending.", - "homepage": "http://github.com/padraic/mockery", - "keywords": [ - "testing", - "library", - "BDD", - "TDD", - "test", - "mockery", - "mock", - "stub", - "test double", - "mock objects" - ] - }, - { - "name": "phpspec/php-diff", - "version": "dev-master", - "source": { - "type": "git", - "url": "https://github.com/phpspec/php-diff.git", - "reference": "8d82ac415225fac373a4073ba14b1fe286aa2312" - }, - "dist": { - "type": "zip", - "url": "https://github.com/phpspec/php-diff/archive/8d82ac415225fac373a4073ba14b1fe286aa2312.zip", - "reference": "8d82ac415225fac373a4073ba14b1fe286aa2312", - "shasum": "" - }, - "time": "2012-11-08 08:55:45", - "type": "library", - "autoload": { - "psr-0": { - "Diff": "lib/" - } - }, - "notification-url": "https://packagist.org/downloads/", - "license": [ - "BSD-3-Clause" - ], - "authors": [ - { - "name": "Chris Boulton", - "homepage": "http://github.com/chrisboulton" - } - ], - "description": "A comprehensive library for generating differences between two hashable objects (strings or arrays)." - }, - { - "name": "phpspec/phpspec2", - "version": "dev-master", - "source": { - "type": "git", - "url": "https://github.com/phpspec/phpspec2.git", - "reference": "4eb75390b81363664d9e7519631cdb87c79fe23b" - }, - "dist": { - "type": "zip", - "url": "https://github.com/phpspec/phpspec2/archive/4eb75390b81363664d9e7519631cdb87c79fe23b.zip", - "reference": "4eb75390b81363664d9e7519631cdb87c79fe23b", - "shasum": "" - }, - "require": { - "php": ">=5.3.1", - "mockery/mockery": "0.7.*", - "symfony/console": ">=2.1.0,<2.2.0", - "symfony/event-dispatcher": ">=2.1.0,<2.2.0", - "symfony/finder": ">=2.1.0,<2.2.0", - "phpspec/php-diff": "*@dev" - }, - "time": "2012-10-31 15:46:10", - "bin": [ - "bin/phpspec" - ], - "type": "library", - "autoload": { - "psr-0": { - "PHPSpec2": "src/" - } - }, - "notification-url": "https://packagist.org/downloads/", - "license": [ - "MIT" - ], - "authors": [ - { - "name": "Konstantin Kudryashov", - "email": "ever.zet@gmail.com", - "homepage": "http://everzet.com" - }, - { - "name": "Marcello Duarte", - "homepage": "http://marcelloduarte.net/" - } - ], - "description": "Specification-oriented BDD framework for PHP 5.4", - "homepage": "http://phpspec.net/", - "keywords": [ - "BDD", - "TDD", - "spec", - "SpecBDD", - "specification" - ] - }, - { - "name": "symfony/console", - "version": "2.1.x-dev", - "target-dir": "Symfony/Component/Console", - "source": { - "type": "git", - "url": "https://github.com/symfony/Console", - "reference": "v2.1.7" - }, - "dist": { - "type": "zip", - "url": "https://github.com/symfony/Console/archive/v2.1.7.zip", - "reference": "v2.1.7", - "shasum": "" - }, - "require": { - "php": ">=5.3.3" - }, - "time": "2013-01-17 15:20:05", - "type": "library", - "autoload": { - "psr-0": { - "Symfony\\Component\\Console": "" - } - }, - "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 Console Component", - "homepage": "http://symfony.com" - }, - { - "name": "symfony/event-dispatcher", - "version": "2.1.x-dev", - "target-dir": "Symfony/Component/EventDispatcher", - "source": { - "type": "git", - "url": "https://github.com/symfony/EventDispatcher", - "reference": "v2.1.7" - }, - "dist": { - "type": "zip", - "url": "https://github.com/symfony/EventDispatcher/archive/v2.1.7.zip", - "reference": "v2.1.7", - "shasum": "" - }, - "require": { - "php": ">=5.3.3" - }, - "require-dev": { - "symfony/dependency-injection": "2.1.*" - }, - "suggest": { - "symfony/dependency-injection": "2.1.*", - "symfony/http-kernel": "2.1.*" - }, - "time": "2013-01-11 00:31:43", - "type": "library", - "autoload": { - "psr-0": { - "Symfony\\Component\\EventDispatcher": "" - } - }, - "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 EventDispatcher Component", - "homepage": "http://symfony.com" - }, - { - "name": "symfony/finder", - "version": "2.1.x-dev", - "target-dir": "Symfony/Component/Finder", - "source": { - "type": "git", - "url": "https://github.com/symfony/Finder", - "reference": "v2.1.7" - }, - "dist": { - "type": "zip", - "url": "https://github.com/symfony/Finder/archive/v2.1.7.zip", - "reference": "v2.1.7", - "shasum": "" - }, - "require": { - "php": ">=5.3.3" - }, - "time": "2013-01-09 08:51:07", - "type": "library", - "autoload": { - "psr-0": { - "Symfony\\Component\\Finder": "" - } - }, - "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 Finder Component", - "homepage": "http://symfony.com" - } - ], - "aliases": [ - - ], - "minimum-stability": "dev", - "stability-flags": [ - - ] -} diff --git a/vendor/plasmaconduit/path/spec/PlasmaConduit/Path.php b/vendor/plasmaconduit/path/spec/PlasmaConduit/Path.php deleted file mode 100644 index 56236f222..000000000 --- a/vendor/plasmaconduit/path/spec/PlasmaConduit/Path.php +++ /dev/null @@ -1,47 +0,0 @@ -<?php -namespace spec\PlasmaConduit; -use PHPSpec2\ObjectBehavior; - -class Path extends ObjectBehavior { - - public function it_should_concat_two_peices_for_join() { - Path::join("wat", "lol")->shouldReturn("wat/lol"); - } - - public function it_should_drop_excess_slashes_for_join() { - Path::join("/a", "///b")->shouldReturn("/a/b"); - } - - public function it_should_correctly_traverse_for_join() { - Path::join("/a", "b", "c", "..", "d")->shouldReturn("/a/b/d"); - } - - public function it_should_filter_empty_peices_for_join() { - Path::join("", "lonely")->shouldReturn("lonely"); - } - - public function it_should_correctly_traverse_for_normalize() { - Path::normalize("/a/b/c/../d")->shouldReturn("/a/b/d"); - } - - public function it_should_do_multiple_traversals_for_normalize() { - Path::normalize("/a/b/c/../../d")->shouldReturn("/a/d"); - } - - public function it_should_drop_trailing_extra_slashes_for_normalize() { - Path::normalize("/b/wat//")->shouldReturn("/b/wat/"); - } - - public function it_should_drop_extra_slashes_for_normalize() { - Path::normalize("/b///wat/")->shouldReturn("/b/wat/"); - } - - public function it_should_resolve_empty_as_dot() { - Path::normalize("")->shouldReturn("."); - } - - public function it_should_return_slash_for_slash() { - Path::normalize("/")->shouldReturn("/"); - } - -} diff --git a/vendor/plasmaconduit/path/src/PlasmaConduit/Path.php b/vendor/plasmaconduit/path/src/PlasmaConduit/Path.php deleted file mode 100644 index 0db583d7e..000000000 --- a/vendor/plasmaconduit/path/src/PlasmaConduit/Path.php +++ /dev/null @@ -1,65 +0,0 @@ -<?php -namespace PlasmaConduit; - -class Path { - - /** - * This function takes a variable amount of strings and joins - * them together so that they form a valid file path. - * - * @param {String ...} $peice - The peices of the file path - * @returns {String} - The final file path - */ - static public function join() { - $peices = array_filter(func_get_args(), function($value) { - return $value; - }); - return self::normalize(implode("/", $peices)); - } - - /** - * This function takes a valid file path and nomalizes it into - * the simplest form possible. - * - * @param {String} $path - The path to normalize - * @returns {String} - The normailized path - */ - static public function normalize($path) { - if (!strlen($path)) { - return "."; - } - - $isAbsolute = $path[0]; - $trailingSlash = $path[strlen($path) - 1]; - - $up = 0; - $peices = array_values(array_filter(explode("/", $path), function($n) { - return !!$n; - })); - for ($i = count($peices) - 1; $i >= 0; $i--) { - $last = $peices[$i]; - if ($last == ".") { - array_splice($peices, $i, 1); - } else if ($last == "..") { - array_splice($peices, $i, 1); - $up++; - } else if ($up) { - array_splice($peices, $i, 1); - $up--; - } - } - - $path = implode("/", $peices); - - if (!$path && !$isAbsolute) { - $path = "."; - } - - if ($path && $trailingSlash == "/") { - $path .= "/"; - } - - return ($isAbsolute == "/" ? "/" : "") . $path; - } - -}
\ No newline at end of file diff --git a/vendor/riimu/kit-pathjoin/CHANGES.md b/vendor/riimu/kit-pathjoin/CHANGES.md new file mode 100644 index 000000000..013618ad1 --- /dev/null +++ b/vendor/riimu/kit-pathjoin/CHANGES.md @@ -0,0 +1,15 @@ +# Changelog # + +## v1.1.1 (2015-08-09) ## + + * Maintenance release that simply addresses some coding standards issues + +## v1.1.0 (2015-03-25) ## + + * Added `Path::normalize()` method for normalizing a single path. + * The `Path::join()` method now correctly returns '.' instead of an empty + path, similar to the `dirname()` function. + +## v1.0.1 (2015-01-24) ## + + * Improvements in code quality and documentation diff --git a/vendor/riimu/kit-pathjoin/LICENSE b/vendor/riimu/kit-pathjoin/LICENSE new file mode 100644 index 000000000..e48de6af8 --- /dev/null +++ b/vendor/riimu/kit-pathjoin/LICENSE @@ -0,0 +1,18 @@ +Copyright (c) 2014 - 2015 Riikka Kalliomäki + +Permission is hereby granted, free of charge, to any person obtaining a copy of +this software and associated documentation files (the "Software"), to deal in +the Software without restriction, including without limitation the rights to +use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of +the Software, and to permit persons to whom the Software is furnished to do so, +subject to the following conditions: + +The above copyright notice and this permission notice shall be included in all +copies or substantial portions of the Software. + +THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS +FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR +COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER +IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN +CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
\ No newline at end of file diff --git a/vendor/riimu/kit-pathjoin/README.md b/vendor/riimu/kit-pathjoin/README.md new file mode 100644 index 000000000..1b436bc90 --- /dev/null +++ b/vendor/riimu/kit-pathjoin/README.md @@ -0,0 +1,136 @@ +# Path joiner and normalizer # + +*PathJoin* is PHP library for normalizing and joining file system paths. The +purpose of this library is to make easier to work with file system paths +irregardless of the platform and the system directory separator. + +The purpose of file path normalization is to provide a single consistent file +path representation. In other words, the normalization in this library will +resolve `.` and `..` directory references and also condense multiple directory +separators into one. This makes it much easier to avoid common problems when +comparing paths against each other. + +While PHP provides a built in function `realpath()`, it is not usable in every +case since it works by using the file system. This library simply combines and +normalizes the paths using string handling. There is no requirement for the +files or directories to be readable or even exist. + +The API documentation, which can be generated using Apigen, can be read online +at: http://kit.riimu.net/api/pathjoin/ + +[![Build Status](https://img.shields.io/travis/Riimu/Kit-PathJoin.svg?style=flat)](https://travis-ci.org/Riimu/Kit-PathJoin) +[![Code Coverage](https://img.shields.io/scrutinizer/coverage/g/Riimu/Kit-PathJoin.svg?style=flat)](https://scrutinizer-ci.com/g/Riimu/Kit-PathJoi |