diff --git a/.coveralls.yml b/.coveralls.yml
deleted file mode 100644
index d87790a..0000000
--- a/.coveralls.yml
+++ /dev/null
@@ -1,8 +0,0 @@
-# .coveralls.yml configuration
-
-service_name: travis-ci # travis-ci or travis-pro
-
-# for php-coveralls
-src_dir: UAS
-coverage_clover: build/logs/clover.xml
-json_path: build/logs/coveralls-upload.json
\ No newline at end of file
diff --git a/.gitignore b/.gitignore
index 6fdec76..09cfe7f 100644
--- a/.gitignore
+++ b/.gitignore
@@ -1,5 +1,6 @@
-.idea/
phpdoc/
-vendor
+vendor/
build/
composer.phar
+composer.lock
+.phpcs-cache
diff --git a/.phpcs.xml b/.phpcs.xml
new file mode 100644
index 0000000..ab0a48c
--- /dev/null
+++ b/.phpcs.xml
@@ -0,0 +1,22 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+ UAS
+ Tests
+ UASparser_example.phps
+
+
+
+
+
diff --git a/.scrutinizer.yml b/.scrutinizer.yml
deleted file mode 100644
index a9f8099..0000000
--- a/.scrutinizer.yml
+++ /dev/null
@@ -1,72 +0,0 @@
-before_commands:
- - "composer install --prefer-source"
-
-inherit: true
-filter:
- paths:
- - UAS/Parser.php
-
-tools:
- # Code Coverage
- external_code_coverage:
- enabled: true
- timeout: 300
-
-
- php_code_coverage:
- enabled: false
- test_command: phpunit
-
-
- # Code Sniffer
- php_code_sniffer:
- enabled: true
- command: phpcs
- config:
- standard: PSR2
-
-
- # Copy/Paste Detector
- php_cpd:
- enabled: true
- command: phpcpd
-
-
- # PHP CS Fixer (http://http://cs.sensiolabs.org/).
- php_cs_fixer:
- enabled: true
- command: php-cs-fixer
- config:
- level: psr2
-
-
- # Analyzes the size and structure of a PHP project.
- php_loc:
- enabled: true
- command: phploc
-
-
- # PHP Mess Detector (http://phpmd.org).
- php_mess_detector:
- enabled: true
- command: phpmd
- config:
- rulesets:
- - codesize
- - unusedcode
- - naming
- - design
- - controversial
-
-
- # Analyzes the size and structure of a PHP project.
- php_pdepend:
- enabled: true
- command: pdepend
-
- # Runs Scrutinizer's PHP Analyzer Tool
- php_analyzer:
- enabled: true
-
- # Security Advisory Checker
- sensiolabs_security_checker: true
diff --git a/.travis.yml b/.travis.yml
index 9bd4b27..0f19e85 100644
--- a/.travis.yml
+++ b/.travis.yml
@@ -1,23 +1,16 @@
language: php
php:
- - 5.5
- - 5.4
- - 5.3
+ - 7.3
+ - 7.4
+ - nightly
-before_script:
- - composer self-update
- - composer install --dev --prefer-source
- - php vendor/autoload.php
+install:
+ - composer install --no-interaction --dev --prefer-source
script:
- mkdir -p build/logs
- - phpunit --configuration travis.phpunit.xml.dist --colors --verbose
-
-after_script:
- - php vendor/bin/coveralls -v
- - wget https://scrutinizer-ci.com/ocular.phar
- - php ocular.phar code-coverage:upload --format=php-clover build/logs/clover.xml
+ - phpunit --configuration phpunit.xml.dist --colors --verbose
notifications:
email: false
diff --git a/Tests/UAS/ParserTest.php b/Tests/UAS/ParserTest.php
index eef907d..13a0c12 100644
--- a/Tests/UAS/ParserTest.php
+++ b/Tests/UAS/ParserTest.php
@@ -1,4 +1,5 @@
timeout = 600; //Be pessimistic, site can be very slow
}
- public static function tearDownAfterClass()
+ public static function tearDownAfterClass(): void
{
self::$uasparser->clearCache();
@unlink(self::$cachePath);
}
- public function resetURLs()
+ public function resetURLs(): void
{
self::$uasparser->setIniUrl('http://user-agent-string.info/rpc/get_data.php?key=free&format=ini');
self::$uasparser->setVerUrl('http://user-agent-string.info/rpc/get_data.php?key=free&format=ini&ver=y');
@@ -42,62 +45,62 @@ public function resetURLs()
/**
* Check setting the download dir to various values.
*/
- public function testSetPath()
+ public function testSetPath(): void
{
- $this->assertTrue(self::$uasparser->setCacheDir(self::$cachePath));
+ self::assertTrue(self::$uasparser->setCacheDir(self::$cachePath));
//Test non-writable path
- $this->assertFalse(self::$uasparser->setCacheDir('/var'));
+ self::assertFalse(self::$uasparser->setCacheDir('/var'));
//Test non-existent path
- $this->assertFalse(self::$uasparser->setCacheDir('/jksdhfkjhsldkfhklkh/' . md5(microtime(true))));
+ self::assertFalse(self::$uasparser->setCacheDir('/jksdhfkjhsldkfhklkh/' . md5(microtime(true))));
}
/**
* Check that the download dir is the same as we set it to
*/
- public function testPath()
+ public function testPath(): void
{
- $this->assertEquals(self::$uasparser->getCacheDir(), realpath(self::$cachePath));
+ self::assertEquals(self::$uasparser->getCacheDir(), realpath(self::$cachePath));
}
- public function testExpires()
+ public function testExpires(): void
{
self::$uasparser->updateInterval = 99999;
- $this->assertEquals(self::$uasparser->updateInterval, 99999);
+ self::assertEquals(99999, self::$uasparser->updateInterval);
}
- public function testUpdateDatabase()
+ public function testUpdateDatabase(): void
{
- $this->markTestIncomplete(
+ self::markTestIncomplete(
'The free UAS database download is no longer available.'
);
- $this->assertTrue(self::$uasparser->downloadData()); //Should cause a download
- $this->assertTrue(self::$uasparser->downloadData(true)); //Should also cause a download
- $this->assertTrue(self::$uasparser->downloadData()); //Should NOT cause a download
+ self::assertTrue(self::$uasparser->downloadData()); //Should cause a download
+ self::assertTrue(self::$uasparser->downloadData(true)); //Should also cause a download
+ self::assertTrue(self::$uasparser->downloadData()); //Should NOT cause a download
}
- public function testDownloadErrors()
+ public function testDownloadErrors(): void
{
self::$uasparser->setIniUrl('https://github.com/Synchro/UASparser/raw/master/Tests/empty.ini');
- $this->assertFalse(self::$uasparser->downloadData(true), 'Empty file considered good');
+ self::assertFalse(self::$uasparser->downloadData(true), 'Empty file considered good');
self::$uasparser->setIniUrl('https://github.com/Synchro/UASparser/raw/master/Tests/bad.ini');
self::$uasparser->setVerUrl('https://github.com/Synchro/UASparser/raw/master/Tests/bad.ver');
- $this->assertFalse(self::$uasparser->downloadData(true), 'Bad file considered good');
+ self::assertFalse(self::$uasparser->downloadData(true), 'Bad file considered good');
$this->resetURLs();
}
- public function testChecksums()
+ public function testChecksums(): void
{
self::$uasparser->setMd5Url('https://github.com/Synchro/UASparser/raw/master/Tests/empty.ini');
- $this->assertFalse(self::$uasparser->downloadData(true), 'Empty checksum considered good');
+ self::assertFalse(self::$uasparser->downloadData(true), 'Empty checksum considered good');
self::$uasparser->setMd5Url('https://github.com/Synchro/UASparser/raw/master/Tests/bad.ini');
- $this->assertFalse(self::$uasparser->downloadData(true), 'Bad checksum considered good');
+ self::assertFalse(self::$uasparser->downloadData(true), 'Bad checksum considered good');
$this->resetURLs();
}
/**
* @depends testUpdateDatabase
*/
- public function testPermissions()
+ public function testPermissions(): void
{
$path = self::$uasparser->getCacheDir() . DIRECTORY_SEPARATOR . 'uasdata.ini';
$perms = fileperms($path);
@@ -106,17 +109,17 @@ public function testPermissions()
self::$uasparser->setMd5Url('https://github.com/Synchro/UASparser/raw/master/Tests/bad.md5');
$result = self::$uasparser->downloadData(true);
chmod($path, $perms); //Reset perms
- $this->assertFalse($result, 'Failed file write not detected');
+ self::assertFalse($result, 'Failed file write not detected');
$this->resetURLs();
}
/**
* Test control over downloads.
*/
- public function testDownloadControl()
+ public function testDownloadControl(): void
{
self::$uasparser->setDoDownloads(false);
- $this->assertFalse(self::$uasparser->getDoDownloads());
+ self::assertFalse(self::$uasparser->getDoDownloads());
self::$uasparser->setUseZipDownloads(true);
//Inject an old timestamp into the cache file
$cache = file_get_contents(self::$uasparser->getCacheDir() . '/cache.ini');
@@ -135,149 +138,149 @@ public function testDownloadControl()
/**
* Misc calls for coverage.
*/
- public function testCoverage()
+ public function testCoverage(): void
{
- self::$uasparser->getIniUrl();
- self::$uasparser->getVerUrl();
- self::$uasparser->getMd5Url();
+ self::assertNotEmpty(self::$uasparser->getIniUrl());
+ self::assertNotEmpty(self::$uasparser->getVerUrl());
+ self::assertNotEmpty(self::$uasparser->getMd5Url());
}
/**
* Test getting the current user agent.
* @depends testUpdateDatabase
*/
- public function testCurrent()
+ public function testCurrent(): void
{
$uas = self::$uasparser->parse();
- $this->assertTrue(is_array($uas));
- $this->assertArrayHasKey('typ', $uas);
- $this->assertArrayHasKey('ua_family', $uas);
- $this->assertArrayHasKey('ua_name', $uas);
- $this->assertArrayHasKey('ua_version', $uas);
- $this->assertArrayHasKey('ua_url', $uas);
- $this->assertArrayHasKey('ua_company', $uas);
- $this->assertArrayHasKey('ua_company_url', $uas);
- $this->assertArrayHasKey('ua_icon', $uas);
- $this->assertArrayHasKey('ua_info_url', $uas);
- $this->assertArrayHasKey('os_family', $uas);
- $this->assertArrayHasKey('os_name', $uas);
- $this->assertArrayHasKey('os_url', $uas);
- $this->assertArrayHasKey('os_company', $uas);
- $this->assertArrayHasKey('os_company_url', $uas);
- $this->assertArrayHasKey('os_icon', $uas);
+ self::assertIsArray($uas);
+ self::assertArrayHasKey('typ', $uas);
+ self::assertArrayHasKey('ua_family', $uas);
+ self::assertArrayHasKey('ua_name', $uas);
+ self::assertArrayHasKey('ua_version', $uas);
+ self::assertArrayHasKey('ua_url', $uas);
+ self::assertArrayHasKey('ua_company', $uas);
+ self::assertArrayHasKey('ua_company_url', $uas);
+ self::assertArrayHasKey('ua_icon', $uas);
+ self::assertArrayHasKey('ua_info_url', $uas);
+ self::assertArrayHasKey('os_family', $uas);
+ self::assertArrayHasKey('os_name', $uas);
+ self::assertArrayHasKey('os_url', $uas);
+ self::assertArrayHasKey('os_company', $uas);
+ self::assertArrayHasKey('os_company_url', $uas);
+ self::assertArrayHasKey('os_icon', $uas);
}
/**
* Test a specific, known user agent string.
* @depends testUpdateDatabase
*/
- public function testSafari()
+ public function testSafari(): void
{
$uas = self::$uasparser->parse(
- 'Mozilla/5.0 (Macintosh; Intel Mac OS X 10_8_2) AppleWebKit/536.26.17 (KHTML, like Gecko) '.
+ 'Mozilla/5.0 (Macintosh; Intel Mac OS X 10_8_2) AppleWebKit/536.26.17 (KHTML, like Gecko) ' .
'Version/6.0.2 Safari/536.26.17'
);
- $this->assertTrue(is_array($uas));
- $this->assertEquals($uas['typ'], 'Browser');
- $this->assertEquals($uas['ua_family'], 'Safari');
- $this->assertEquals($uas['ua_name'], 'Safari 6.0.2');
- $this->assertEquals($uas['ua_version'], '6.0.2');
- $this->assertEquals($uas['ua_url'], 'http://en.wikipedia.org/wiki/Safari_%28web_browser%29');
- $this->assertEquals($uas['ua_company'], 'Apple Inc.');
- $this->assertEquals($uas['ua_company_url'], 'http://www.apple.com/');
- $this->assertEquals($uas['ua_icon'], 'safari.png');
- $this->assertEquals(
- $uas['ua_info_url'],
- 'http://user-agent-string.info/list-of-ua/browser-detail?browser=Safari'
+ self::assertIsArray($uas);
+ self::assertEquals('Browser', $uas['typ']);
+ self::assertEquals('Safari', $uas['ua_family']);
+ self::assertEquals('Safari 6.0.2', $uas['ua_name']);
+ self::assertEquals('6.0.2', $uas['ua_version']);
+ self::assertEquals('http://en.wikipedia.org/wiki/Safari_%28web_browser%29', $uas['ua_url']);
+ self::assertEquals('Apple Inc.', $uas['ua_company']);
+ self::assertEquals('http://www.apple.com/', $uas['ua_company_url']);
+ self::assertEquals('safari.png', $uas['ua_icon']);
+ self::assertEquals(
+ 'http://user-agent-string.info/list-of-ua/browser-detail?browser=Safari',
+ $uas['ua_info_url']
);
- $this->assertEquals($uas['os_family'], 'OS X');
- $this->assertEquals($uas['os_name'], 'OS X 10.8 Mountain Lion');
- $this->assertEquals($uas['os_url'], 'http://en.wikipedia.org/wiki/OS_X_Mountain_Lion');
- $this->assertEquals($uas['os_company'], 'Apple Computer, Inc.');
- $this->assertEquals($uas['os_company_url'], 'http://www.apple.com/');
- $this->assertEquals($uas['os_icon'], 'macosx.png');
+ self::assertEquals('OS X', $uas['os_family']);
+ self::assertEquals('OS X 10.8 Mountain Lion', $uas['os_name']);
+ self::assertEquals('http://en.wikipedia.org/wiki/OS_X_Mountain_Lion', $uas['os_url']);
+ self::assertEquals('Apple Computer, Inc.', $uas['os_company']);
+ self::assertEquals('http://www.apple.com/', $uas['os_company_url']);
+ self::assertEquals('macosx.png', $uas['os_icon']);
}
/**
* Test getting the user agent from the global env.
* @depends testUpdateDatabase
*/
- public function testEnv()
+ public function testEnv(): void
{
- $_SERVER['HTTP_USER_AGENT'] = 'Mozilla/5.0 (Macintosh; Intel Mac OS X 10_8_2) AppleWebKit/536.26.17 '.
+ $_SERVER['HTTP_USER_AGENT'] = 'Mozilla/5.0 (Macintosh; Intel Mac OS X 10_8_2) AppleWebKit/536.26.17 ' .
'(KHTML, like Gecko) Version/6.0.2 Safari/536.26.17';
$uas = self::$uasparser->parse();
- $this->assertTrue(is_array($uas));
- $this->assertEquals($uas['typ'], 'Browser');
- $this->assertEquals($uas['ua_family'], 'Safari');
- $this->assertEquals($uas['ua_name'], 'Safari 6.0.2');
- $this->assertEquals($uas['ua_version'], '6.0.2');
- $this->assertEquals($uas['ua_url'], 'http://en.wikipedia.org/wiki/Safari_%28web_browser%29');
- $this->assertEquals($uas['ua_company'], 'Apple Inc.');
- $this->assertEquals($uas['ua_company_url'], 'http://www.apple.com/');
- $this->assertEquals($uas['ua_icon'], 'safari.png');
- $this->assertEquals(
- $uas['ua_info_url'],
- 'http://user-agent-string.info/list-of-ua/browser-detail?browser=Safari'
+ self::assertIsArray($uas);
+ self::assertEquals('Browser', $uas['typ']);
+ self::assertEquals('Safari', $uas['ua_family']);
+ self::assertEquals('Safari 6.0.2', $uas['ua_name']);
+ self::assertEquals('6.0.2', $uas['ua_version']);
+ self::assertEquals('http://en.wikipedia.org/wiki/Safari_%28web_browser%29', $uas['ua_url']);
+ self::assertEquals('Apple Inc.', $uas['ua_company']);
+ self::assertEquals('http://www.apple.com/', $uas['ua_company_url']);
+ self::assertEquals('safari.png', $uas['ua_icon']);
+ self::assertEquals(
+ 'http://user-agent-string.info/list-of-ua/browser-detail?browser=Safari',
+ $uas['ua_info_url']
);
- $this->assertEquals($uas['os_family'], 'OS X');
- $this->assertEquals($uas['os_name'], 'OS X 10.8 Mountain Lion');
- $this->assertEquals($uas['os_url'], 'http://en.wikipedia.org/wiki/OS_X_Mountain_Lion');
- $this->assertEquals($uas['os_company'], 'Apple Computer, Inc.');
- $this->assertEquals($uas['os_company_url'], 'http://www.apple.com/');
- $this->assertEquals($uas['os_icon'], 'macosx.png');
+ self::assertEquals('OS X', $uas['os_family']);
+ self::assertEquals('OS X 10.8 Mountain Lion', $uas['os_name']);
+ self::assertEquals('http://en.wikipedia.org/wiki/OS_X_Mountain_Lion', $uas['os_url']);
+ self::assertEquals('Apple Computer, Inc.', $uas['os_company']);
+ self::assertEquals('http://www.apple.com/', $uas['os_company_url']);
+ self::assertEquals('macosx.png', $uas['os_icon']);
}
/**
* Test a robot user agent.
* @depends testUpdateDatabase
*/
- public function testRobot()
+ public function testRobot(): void
{
$uas = self::$uasparser->parse('Mozilla/5.0 (compatible; Googlebot/2.1; +http://www.google.com/bot.html)');
- $this->assertTrue(is_array($uas));
- $this->assertEquals($uas['typ'], 'Robot');
- $this->assertEquals($uas['ua_family'], 'Googlebot');
- $this->assertEquals($uas['ua_name'], 'Googlebot/2.1');
- $this->assertEquals($uas['ua_version'], 'unknown');
- $this->assertEquals($uas['ua_url'], 'https://support.google.com/webmasters/answer/1061943?hl=en');
- $this->assertEquals($uas['ua_company'], 'Google Inc.');
- $this->assertEquals($uas['ua_company_url'], 'http://www.google.com/');
- $this->assertEquals($uas['ua_icon'], 'bot_googlebot.png');
- $this->assertEquals($uas['ua_info_url'], 'http://user-agent-string.info/list-of-ua/bot-detail?bot=Googlebot');
- $this->assertEquals($uas['os_family'], 'unknown');
- $this->assertEquals($uas['os_name'], 'unknown');
- $this->assertEquals($uas['os_url'], 'unknown');
- $this->assertEquals($uas['os_company'], 'unknown');
- $this->assertEquals($uas['os_company_url'], 'unknown');
- $this->assertEquals($uas['os_icon'], 'unknown.png');
+ self::assertIsArray($uas);
+ self::assertEquals('Robot', $uas['typ']);
+ self::assertEquals('Googlebot', $uas['ua_family']);
+ self::assertEquals('Googlebot/2.1', $uas['ua_name']);
+ self::assertEquals('unknown', $uas['ua_version']);
+ self::assertEquals('https://support.google.com/webmasters/answer/1061943?hl=en', $uas['ua_url']);
+ self::assertEquals('Google Inc.', $uas['ua_company']);
+ self::assertEquals('http://www.google.com/', $uas['ua_company_url']);
+ self::assertEquals('bot_googlebot.png', $uas['ua_icon']);
+ self::assertEquals('http://user-agent-string.info/list-of-ua/bot-detail?bot=Googlebot', $uas['ua_info_url']);
+ self::assertEquals('unknown', $uas['os_family']);
+ self::assertEquals('unknown', $uas['os_name']);
+ self::assertEquals('unknown', $uas['os_url']);
+ self::assertEquals('unknown', $uas['os_company']);
+ self::assertEquals('unknown', $uas['os_company_url']);
+ self::assertEquals('unknown.png', $uas['os_icon']);
}
/**
* Test an user agent whose OS needs to be looked up.
* @depends testUpdateDatabase
*/
- public function testUnknownOS()
+ public function testUnknownOS(): void
{
$uas = self::$uasparser->parse('OmniWeb/2.7-beta-3 OWF/1.0');
- $this->assertTrue(is_array($uas));
- $this->assertEquals($uas['typ'], 'Browser');
- $this->assertEquals($uas['ua_family'], 'OmniWeb');
- $this->assertEquals($uas['ua_name'], 'OmniWeb 2.7-beta-3');
- $this->assertEquals($uas['ua_version'], '2.7-beta-3');
- $this->assertEquals($uas['ua_url'], 'http://www.omnigroup.com/applications/omniweb/');
- $this->assertEquals($uas['ua_company'], 'Omni Development, Inc.');
- $this->assertEquals($uas['ua_company_url'], 'http://www.omnigroup.com/');
- $this->assertEquals($uas['ua_icon'], 'omniweb.png');
- $this->assertEquals(
- $uas['ua_info_url'],
- 'http://user-agent-string.info/list-of-ua/browser-detail?browser=OmniWeb'
+ self::assertIsArray($uas);
+ self::assertEquals('Browser', $uas['typ']);
+ self::assertEquals('OmniWeb', $uas['ua_family']);
+ self::assertEquals('OmniWeb 2.7-beta-3', $uas['ua_name']);
+ self::assertEquals('2.7-beta-3', $uas['ua_version']);
+ self::assertEquals('http://www.omnigroup.com/applications/omniweb/', $uas['ua_url']);
+ self::assertEquals('Omni Development, Inc.', $uas['ua_company']);
+ self::assertEquals('http://www.omnigroup.com/', $uas['ua_company_url']);
+ self::assertEquals('omniweb.png', $uas['ua_icon']);
+ self::assertEquals(
+ 'http://user-agent-string.info/list-of-ua/browser-detail?browser=OmniWeb',
+ $uas['ua_info_url']
);
- $this->assertEquals($uas['os_family'], 'Mac OS');
- $this->assertEquals($uas['os_name'], 'Mac OS');
- $this->assertEquals($uas['os_url'], 'http://en.wikipedia.org/wiki/Mac_OS');
- $this->assertEquals($uas['os_company'], 'Apple Computer, Inc.');
- $this->assertEquals($uas['os_company_url'], 'http://www.apple.com/');
- $this->assertEquals($uas['os_icon'], 'macos.png');
+ self::assertEquals('Mac OS', $uas['os_family']);
+ self::assertEquals('Mac OS', $uas['os_name']);
+ self::assertEquals('http://en.wikipedia.org/wiki/Mac_OS', $uas['os_url']);
+ self::assertEquals('Apple Computer, Inc.', $uas['os_company']);
+ self::assertEquals('http://www.apple.com/', $uas['os_company_url']);
+ self::assertEquals('macos.png', $uas['os_icon']);
}
}
diff --git a/Tests/bootstrap.php b/Tests/bootstrap.php
deleted file mode 100644
index 3a73fe0..0000000
--- a/Tests/bootstrap.php
+++ /dev/null
@@ -1,7 +0,0 @@
-updateInterval = $updateInterval;
}
- $this->debug = (boolean)$debug;
- $this->doDownloads = (boolean)$doDownloads;
+ $this->debug = (bool) $debug;
+ $this->doDownloads = (bool) $doDownloads;
}
/**
@@ -577,7 +578,7 @@ public function setCacheDir($cacheDir)
*/
public function setUseZipDownloads($use)
{
- $this->useZipDownloads = (bool)$use;
+ $this->useZipDownloads = (bool) $use;
}
/**
@@ -623,7 +624,7 @@ public function getDoDownloads()
*/
public function setDoDownloads($doDownloads)
{
- $this->doDownloads = (boolean)$doDownloads;
+ $this->doDownloads = (bool) $doDownloads;
}
/**
diff --git a/UASparser_example.phps b/UASparser_example.phps
index 518af2e..99392e1 100755
--- a/UASparser_example.phps
+++ b/UASparser_example.phps
@@ -12,7 +12,7 @@
namespace UAS;
// Loads the class
-require 'UAS/Parser.php';
+require 'vendor/autoload.php';
// header page
scriptheader();
@@ -156,7 +156,7 @@ foot();
function scriptheader()
{
?>
-
+
class UASparser.php example
diff --git a/changelog.md b/changelog.md
index f315009..fc3a396 100644
--- a/changelog.md
+++ b/changelog.md
@@ -1,9 +1,16 @@
-#Version 0.53 (Aug 28th 2013)
+# Version 0.9 (July 13th, 2020)
+A bit of a clean up to make update bots shut up, though it's a bit academic as the data source this library depends on has dried up. It now requires a minimum of PHP 7.3 to tell you that it won't work... It was fun to clean it up a bit anyway!
+* Composer cleanup; fewer deps, drop composer.lock, switch to PSR-4 loading
+* Configure phpcs, reformat to PSR-12
+* Simplified test setup using PHPUnit 9
+* Tests are run on PHP 7.3, 7.4, 8.0
+
+# Version 0.53 (Aug 28th 2013)
* Various cache handling fixes
* More PSR-2 and PHPDoc cleanups
* Made all private properties and methods protected to allow overriding
* Change example script to .phps for security
-#Version 0.52 (Jun 4th 2013)
-Initial release
\ No newline at end of file
+# Version 0.52 (Jun 4th 2013)
+Initial release
diff --git a/composer.json b/composer.json
index 24a4f24..a4d2fb5 100644
--- a/composer.json
+++ b/composer.json
@@ -1,36 +1,39 @@
{
- "name": "synchro/uasparser",
- "type": "library",
- "license": "LGPL-2.1",
- "description": "UASparser is a PHP parser and classifier for user agent strings presented by HTTP clients using databases from http://user-agent-string.info/.",
- "keywords": ["http", "parser", "user-agent"],
- "homepage": "https://github.com/Synchro/UASparser",
- "authors": [
- {
- "name": "Jaroslav Mallat",
- "homepage": "http://user-agent-string.info/",
- "role": "developer"
- },
- {
- "name": "Marcus Bointon",
- "email": "marcus@synchromedia.co.uk",
- "homepage": "https://github.com/Synchro",
- "role": "developer"
- }
- ],
- "require": {
- "php": ">=5.3.0"
+ "name": "synchro/uasparser",
+ "type": "library",
+ "license": "LGPL-2.1",
+ "description": "UASparser is a PHP parser and classifier for user agent strings presented by HTTP clients using databases from http://user-agent-string.info/.",
+ "keywords": [
+ "http",
+ "parser",
+ "user-agent"
+ ],
+ "homepage": "https://github.com/Synchro/UASparser",
+ "authors": [
+ {
+ "name": "Jaroslav Mallat",
+ "homepage": "http://user-agent-string.info/",
+ "role": "developer"
},
- "require-dev": {
- "phpunit/phpunit": "~4.0",
- "phpunit/phpcov": "dev-master",
- "phpunit/phpunit-story": "~1.0",
- "mikey179/vfsStream": "~1.5",
- "satooshi/php-coveralls": "dev-master"
- },
- "autoload": {
- "psr-0": {
- "UAS": ""
- }
+ {
+ "name": "Marcus Bointon",
+ "email": "marcus@synchromedia.co.uk",
+ "homepage": "https://github.com/Synchro",
+ "role": "developer"
+ }
+ ],
+ "require": {
+ "php": ">=7.3.0"
+ },
+ "require-dev": {
+ "squizlabs/php_codesniffer": "^3.5.5",
+ "phpcompatibility/php-compatibility": "^9.3.5",
+ "phpunit/phpunit": "~9.2.5",
+ "mikey179/vfsstream": "~1.6"
+ },
+ "autoload": {
+ "psr-4": {
+ "UAS\\": "UAS/"
}
+ }
}
diff --git a/composer.lock b/composer.lock
deleted file mode 100644
index 7a57637..0000000
--- a/composer.lock
+++ /dev/null
@@ -1,1719 +0,0 @@
-{
- "_readme": [
- "This file locks the dependencies of your project to a known state",
- "Read more about it at https://getcomposer.org/doc/01-basic-usage.md#composer-lock-the-lock-file",
- "This file is @generated automatically"
- ],
- "hash": "88b89e92caf58479c3a96bad38be975a",
- "packages": [],
- "packages-dev": [
- {
- "name": "doctrine/instantiator",
- "version": "1.0.5",
- "source": {
- "type": "git",
- "url": "https://github.com/doctrine/instantiator.git",
- "reference": "8e884e78f9f0eb1329e445619e04456e64d8051d"
- },
- "dist": {
- "type": "zip",
- "url": "https://api.github.com/repos/doctrine/instantiator/zipball/8e884e78f9f0eb1329e445619e04456e64d8051d",
- "reference": "8e884e78f9f0eb1329e445619e04456e64d8051d",
- "shasum": ""
- },
- "require": {
- "php": ">=5.3,<8.0-DEV"
- },
- "require-dev": {
- "athletic/athletic": "~0.1.8",
- "ext-pdo": "*",
- "ext-phar": "*",
- "phpunit/phpunit": "~4.0",
- "squizlabs/php_codesniffer": "~2.0"
- },
- "type": "library",
- "extra": {
- "branch-alias": {
- "dev-master": "1.0.x-dev"
- }
- },
- "autoload": {
- "psr-4": {
- "Doctrine\\Instantiator\\": "src/Doctrine/Instantiator/"
- }
- },
- "notification-url": "https://packagist.org/downloads/",
- "license": [
- "MIT"
- ],
- "authors": [
- {
- "name": "Marco Pivetta",
- "email": "ocramius@gmail.com",
- "homepage": "http://ocramius.github.com/"
- }
- ],
- "description": "A small, lightweight utility to instantiate objects in PHP without invoking their constructors",
- "homepage": "https://github.com/doctrine/instantiator",
- "keywords": [
- "constructor",
- "instantiate"
- ],
- "time": "2015-06-14 21:17:01"
- },
- {
- "name": "guzzle/guzzle",
- "version": "v3.9.3",
- "source": {
- "type": "git",
- "url": "https://github.com/guzzle/guzzle3.git",
- "reference": "0645b70d953bc1c067bbc8d5bc53194706b628d9"
- },
- "dist": {
- "type": "zip",
- "url": "https://api.github.com/repos/guzzle/guzzle3/zipball/0645b70d953bc1c067bbc8d5bc53194706b628d9",
- "reference": "0645b70d953bc1c067bbc8d5bc53194706b628d9",
- "shasum": ""
- },
- "require": {
- "ext-curl": "*",
- "php": ">=5.3.3",
- "symfony/event-dispatcher": "~2.1"
- },
- "replace": {
- "guzzle/batch": "self.version",
- "guzzle/cache": "self.version",
- "guzzle/common": "self.version",
- "guzzle/http": "self.version",
- "guzzle/inflection": "self.version",
- "guzzle/iterator": "self.version",
- "guzzle/log": "self.version",
- "guzzle/parser": "self.version",
- "guzzle/plugin": "self.version",
- "guzzle/plugin-async": "self.version",
- "guzzle/plugin-backoff": "self.version",
- "guzzle/plugin-cache": "self.version",
- "guzzle/plugin-cookie": "self.version",
- "guzzle/plugin-curlauth": "self.version",
- "guzzle/plugin-error-response": "self.version",
- "guzzle/plugin-history": "self.version",
- "guzzle/plugin-log": "self.version",
- "guzzle/plugin-md5": "self.version",
- "guzzle/plugin-mock": "self.version",
- "guzzle/plugin-oauth": "self.version",
- "guzzle/service": "self.version",
- "guzzle/stream": "self.version"
- },
- "require-dev": {
- "doctrine/cache": "~1.3",
- "monolog/monolog": "~1.0",
- "phpunit/phpunit": "3.7.*",
- "psr/log": "~1.0",
- "symfony/class-loader": "~2.1",
- "zendframework/zend-cache": "2.*,<2.3",
- "zendframework/zend-log": "2.*,<2.3"
- },
- "suggest": {
- "guzzlehttp/guzzle": "Guzzle 5 has moved to a new package name. The package you have installed, Guzzle 3, is deprecated."
- },
- "type": "library",
- "extra": {
- "branch-alias": {
- "dev-master": "3.9-dev"
- }
- },
- "autoload": {
- "psr-0": {
- "Guzzle": "src/",
- "Guzzle\\Tests": "tests/"
- }
- },
- "notification-url": "https://packagist.org/downloads/",
- "license": [
- "MIT"
- ],
- "authors": [
- {
- "name": "Michael Dowling",
- "email": "mtdowling@gmail.com",
- "homepage": "https://github.com/mtdowling"
- },
- {
- "name": "Guzzle Community",
- "homepage": "https://github.com/guzzle/guzzle/contributors"
- }
- ],
- "description": "PHP HTTP client. This library is deprecated in favor of https://packagist.org/packages/guzzlehttp/guzzle",
- "homepage": "http://guzzlephp.org/",
- "keywords": [
- "client",
- "curl",
- "framework",
- "http",
- "http client",
- "rest",
- "web service"
- ],
- "time": "2015-03-18 18:23:50"
- },
- {
- "name": "mikey179/vfsStream",
- "version": "v1.6.0",
- "source": {
- "type": "git",
- "url": "https://github.com/mikey179/vfsStream.git",
- "reference": "73bcb605b741a7d5044b47592338c633788b0eb7"
- },
- "dist": {
- "type": "zip",
- "url": "https://api.github.com/repos/mikey179/vfsStream/zipball/73bcb605b741a7d5044b47592338c633788b0eb7",
- "reference": "73bcb605b741a7d5044b47592338c633788b0eb7",
- "shasum": ""
- },
- "require": {
- "php": ">=5.3.0"
- },
- "require-dev": {
- "phpunit/phpunit": "~4.5"
- },
- "type": "library",
- "extra": {
- "branch-alias": {
- "dev-master": "1.6.x-dev"
- }
- },
- "autoload": {
- "psr-0": {
- "org\\bovigo\\vfs\\": "src/main/php"
- }
- },
- "notification-url": "https://packagist.org/downloads/",
- "license": [
- "BSD-3-Clause"
- ],
- "authors": [
- {
- "name": "Frank Kleine",
- "homepage": "http://frankkleine.de/",
- "role": "Developer"
- }
- ],
- "description": "Virtual file system to mock the real file system in unit tests.",
- "homepage": "http://vfs.bovigo.org/",
- "time": "2015-10-06 16:59:57"
- },
- {
- "name": "phpdocumentor/reflection-docblock",
- "version": "2.0.4",
- "source": {
- "type": "git",
- "url": "https://github.com/phpDocumentor/ReflectionDocBlock.git",
- "reference": "d68dbdc53dc358a816f00b300704702b2eaff7b8"
- },
- "dist": {
- "type": "zip",
- "url": "https://api.github.com/repos/phpDocumentor/ReflectionDocBlock/zipball/d68dbdc53dc358a816f00b300704702b2eaff7b8",
- "reference": "d68dbdc53dc358a816f00b300704702b2eaff7b8",
- "shasum": ""
- },
- "require": {
- "php": ">=5.3.3"
- },
- "require-dev": {
- "phpunit/phpunit": "~4.0"
- },
- "suggest": {
- "dflydev/markdown": "~1.0",
- "erusev/parsedown": "~1.0"
- },
- "type": "library",
- "extra": {
- "branch-alias": {
- "dev-master": "2.0.x-dev"
- }
- },
- "autoload": {
- "psr-0": {
- "phpDocumentor": [
- "src/"
- ]
- }
- },
- "notification-url": "https://packagist.org/downloads/",
- "license": [
- "MIT"
- ],
- "authors": [
- {
- "name": "Mike van Riel",
- "email": "mike.vanriel@naenius.com"
- }
- ],
- "time": "2015-02-03 12:10:50"
- },
- {
- "name": "phpspec/prophecy",
- "version": "v1.5.0",
- "source": {
- "type": "git",
- "url": "https://github.com/phpspec/prophecy.git",
- "reference": "4745ded9307786b730d7a60df5cb5a6c43cf95f7"
- },
- "dist": {
- "type": "zip",
- "url": "https://api.github.com/repos/phpspec/prophecy/zipball/4745ded9307786b730d7a60df5cb5a6c43cf95f7",
- "reference": "4745ded9307786b730d7a60df5cb5a6c43cf95f7",
- "shasum": ""
- },
- "require": {
- "doctrine/instantiator": "^1.0.2",
- "phpdocumentor/reflection-docblock": "~2.0",
- "sebastian/comparator": "~1.1"
- },
- "require-dev": {
- "phpspec/phpspec": "~2.0"
- },
- "type": "library",
- "extra": {
- "branch-alias": {
- "dev-master": "1.4.x-dev"
- }
- },
- "autoload": {
- "psr-0": {
- "Prophecy\\": "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",
- "email": "marcello.duarte@gmail.com"
- }
- ],
- "description": "Highly opinionated mocking framework for PHP 5.3+",
- "homepage": "https://github.com/phpspec/prophecy",
- "keywords": [
- "Double",
- "Dummy",
- "fake",
- "mock",
- "spy",
- "stub"
- ],
- "time": "2015-08-13 10:07:40"
- },
- {
- "name": "phpunit/php-code-coverage",
- "version": "2.2.4",
- "source": {
- "type": "git",
- "url": "https://github.com/sebastianbergmann/php-code-coverage.git",
- "reference": "eabf68b476ac7d0f73793aada060f1c1a9bf8979"
- },
- "dist": {
- "type": "zip",
- "url": "https://api.github.com/repos/sebastianbergmann/php-code-coverage/zipball/eabf68b476ac7d0f73793aada060f1c1a9bf8979",
- "reference": "eabf68b476ac7d0f73793aada060f1c1a9bf8979",
- "shasum": ""
- },
- "require": {
- "php": ">=5.3.3",
- "phpunit/php-file-iterator": "~1.3",
- "phpunit/php-text-template": "~1.2",
- "phpunit/php-token-stream": "~1.3",
- "sebastian/environment": "^1.3.2",
- "sebastian/version": "~1.0"
- },
- "require-dev": {
- "ext-xdebug": ">=2.1.4",
- "phpunit/phpunit": "~4"
- },
- "suggest": {
- "ext-dom": "*",
- "ext-xdebug": ">=2.2.1",
- "ext-xmlwriter": "*"
- },
- "type": "library",
- "extra": {
- "branch-alias": {
- "dev-master": "2.2.x-dev"
- }
- },
- "autoload": {
- "classmap": [
- "src/"
- ]
- },
- "notification-url": "https://packagist.org/downloads/",
- "license": [
- "BSD-3-Clause"
- ],
- "authors": [
- {
- "name": "Sebastian Bergmann",
- "email": "sb@sebastian-bergmann.de",
- "role": "lead"
- }
- ],
- "description": "Library that provides collection, processing, and rendering functionality for PHP code coverage information.",
- "homepage": "https://github.com/sebastianbergmann/php-code-coverage",
- "keywords": [
- "coverage",
- "testing",
- "xunit"
- ],
- "time": "2015-10-06 15:47:00"
- },
- {
- "name": "phpunit/php-file-iterator",
- "version": "1.4.1",
- "source": {
- "type": "git",
- "url": "https://github.com/sebastianbergmann/php-file-iterator.git",
- "reference": "6150bf2c35d3fc379e50c7602b75caceaa39dbf0"
- },
- "dist": {
- "type": "zip",
- "url": "https://api.github.com/repos/sebastianbergmann/php-file-iterator/zipball/6150bf2c35d3fc379e50c7602b75caceaa39dbf0",
- "reference": "6150bf2c35d3fc379e50c7602b75caceaa39dbf0",
- "shasum": ""
- },
- "require": {
- "php": ">=5.3.3"
- },
- "type": "library",
- "extra": {
- "branch-alias": {
- "dev-master": "1.4.x-dev"
- }
- },
- "autoload": {
- "classmap": [
- "src/"
- ]
- },
- "notification-url": "https://packagist.org/downloads/",
- "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": "https://github.com/sebastianbergmann/php-file-iterator/",
- "keywords": [
- "filesystem",
- "iterator"
- ],
- "time": "2015-06-21 13:08:43"
- },
- {
- "name": "phpunit/php-text-template",
- "version": "1.2.1",
- "source": {
- "type": "git",
- "url": "https://github.com/sebastianbergmann/php-text-template.git",
- "reference": "31f8b717e51d9a2afca6c9f046f5d69fc27c8686"
- },
- "dist": {
- "type": "zip",
- "url": "https://api.github.com/repos/sebastianbergmann/php-text-template/zipball/31f8b717e51d9a2afca6c9f046f5d69fc27c8686",
- "reference": "31f8b717e51d9a2afca6c9f046f5d69fc27c8686",
- "shasum": ""
- },
- "require": {
- "php": ">=5.3.3"
- },
- "type": "library",
- "autoload": {
- "classmap": [
- "src/"
- ]
- },
- "notification-url": "https://packagist.org/downloads/",
- "license": [
- "BSD-3-Clause"
- ],
- "authors": [
- {
- "name": "Sebastian Bergmann",
- "email": "sebastian@phpunit.de",
- "role": "lead"
- }
- ],
- "description": "Simple template engine.",
- "homepage": "https://github.com/sebastianbergmann/php-text-template/",
- "keywords": [
- "template"
- ],
- "time": "2015-06-21 13:50:34"
- },
- {
- "name": "phpunit/php-timer",
- "version": "1.0.7",
- "source": {
- "type": "git",
- "url": "https://github.com/sebastianbergmann/php-timer.git",
- "reference": "3e82f4e9fc92665fafd9157568e4dcb01d014e5b"
- },
- "dist": {
- "type": "zip",
- "url": "https://api.github.com/repos/sebastianbergmann/php-timer/zipball/3e82f4e9fc92665fafd9157568e4dcb01d014e5b",
- "reference": "3e82f4e9fc92665fafd9157568e4dcb01d014e5b",
- "shasum": ""
- },
- "require": {
- "php": ">=5.3.3"
- },
- "type": "library",
- "autoload": {
- "classmap": [
- "src/"
- ]
- },
- "notification-url": "https://packagist.org/downloads/",
- "license": [
- "BSD-3-Clause"
- ],
- "authors": [
- {
- "name": "Sebastian Bergmann",
- "email": "sb@sebastian-bergmann.de",
- "role": "lead"
- }
- ],
- "description": "Utility class for timing",
- "homepage": "https://github.com/sebastianbergmann/php-timer/",
- "keywords": [
- "timer"
- ],
- "time": "2015-06-21 08:01:12"
- },
- {
- "name": "phpunit/php-token-stream",
- "version": "1.4.8",
- "source": {
- "type": "git",
- "url": "https://github.com/sebastianbergmann/php-token-stream.git",
- "reference": "3144ae21711fb6cac0b1ab4cbe63b75ce3d4e8da"
- },
- "dist": {
- "type": "zip",
- "url": "https://api.github.com/repos/sebastianbergmann/php-token-stream/zipball/3144ae21711fb6cac0b1ab4cbe63b75ce3d4e8da",
- "reference": "3144ae21711fb6cac0b1ab4cbe63b75ce3d4e8da",
- "shasum": ""
- },
- "require": {
- "ext-tokenizer": "*",
- "php": ">=5.3.3"
- },
- "require-dev": {
- "phpunit/phpunit": "~4.2"
- },
- "type": "library",
- "extra": {
- "branch-alias": {
- "dev-master": "1.4-dev"
- }
- },
- "autoload": {
- "classmap": [
- "src/"
- ]
- },
- "notification-url": "https://packagist.org/downloads/",
- "license": [
- "BSD-3-Clause"
- ],
- "authors": [
- {
- "name": "Sebastian Bergmann",
- "email": "sebastian@phpunit.de"
- }
- ],
- "description": "Wrapper around PHP's tokenizer extension.",
- "homepage": "https://github.com/sebastianbergmann/php-token-stream/",
- "keywords": [
- "tokenizer"
- ],
- "time": "2015-09-15 10:49:45"
- },
- {
- "name": "phpunit/phpcov",
- "version": "dev-master",
- "source": {
- "type": "git",
- "url": "https://github.com/sebastianbergmann/phpcov.git",
- "reference": "9ef291483ff65eefd8639584d61bbfb044d747f3"
- },
- "dist": {
- "type": "zip",
- "url": "https://api.github.com/repos/sebastianbergmann/phpcov/zipball/9ef291483ff65eefd8639584d61bbfb044d747f3",
- "reference": "9ef291483ff65eefd8639584d61bbfb044d747f3",
- "shasum": ""
- },
- "require": {
- "php": ">=5.3.3",
- "phpunit/php-code-coverage": "~2.0",
- "phpunit/phpunit": ">=4.1",
- "sebastian/diff": "~1.1",
- "sebastian/finder-facade": "~1.1",
- "sebastian/version": "~1.0",
- "symfony/console": "~2.2"
- },
- "bin": [
- "phpcov"
- ],
- "type": "library",
- "extra": {
- "branch-alias": {
- "dev-master": "2.0.x-dev"
- }
- },
- "autoload": {
- "classmap": [
- "src/"
- ]
- },
- "notification-url": "https://packagist.org/downloads/",
- "license": [
- "BSD-3-Clause"
- ],
- "authors": [
- {
- "name": "Sebastian Bergmann",
- "email": "sebastian@phpunit.de",
- "role": "lead"
- }
- ],
- "description": "CLI frontend for PHP_CodeCoverage",
- "homepage": "https://github.com/sebastianbergmann/phpcov",
- "time": "2015-10-05 09:24:23"
- },
- {
- "name": "phpunit/phpunit",
- "version": "4.8.14",
- "source": {
- "type": "git",
- "url": "https://github.com/sebastianbergmann/phpunit.git",
- "reference": "b4900675926860bef091644849305399b986efa2"
- },
- "dist": {
- "type": "zip",
- "url": "https://api.github.com/repos/sebastianbergmann/phpunit/zipball/b4900675926860bef091644849305399b986efa2",
- "reference": "b4900675926860bef091644849305399b986efa2",
- "shasum": ""
- },
- "require": {
- "ext-dom": "*",
- "ext-json": "*",
- "ext-pcre": "*",
- "ext-reflection": "*",
- "ext-spl": "*",
- "php": ">=5.3.3",
- "phpspec/prophecy": "^1.3.1",
- "phpunit/php-code-coverage": "~2.1",
- "phpunit/php-file-iterator": "~1.4",
- "phpunit/php-text-template": "~1.2",
- "phpunit/php-timer": ">=1.0.6",
- "phpunit/phpunit-mock-objects": "~2.3",
- "sebastian/comparator": "~1.1",
- "sebastian/diff": "~1.2",
- "sebastian/environment": "~1.3",
- "sebastian/exporter": "~1.2",
- "sebastian/global-state": "~1.0",
- "sebastian/version": "~1.0",
- "symfony/yaml": "~2.1|~3.0"
- },
- "suggest": {
- "phpunit/php-invoker": "~1.1"
- },
- "bin": [
- "phpunit"
- ],
- "type": "library",
- "extra": {
- "branch-alias": {
- "dev-master": "4.8.x-dev"
- }
- },
- "autoload": {
- "classmap": [
- "src/"
- ]
- },
- "notification-url": "https://packagist.org/downloads/",
- "license": [
- "BSD-3-Clause"
- ],
- "authors": [
- {
- "name": "Sebastian Bergmann",
- "email": "sebastian@phpunit.de",
- "role": "lead"
- }
- ],
- "description": "The PHP Unit Testing framework.",
- "homepage": "https://phpunit.de/",
- "keywords": [
- "phpunit",
- "testing",
- "xunit"
- ],
- "time": "2015-10-17 15:03:30"
- },
- {
- "name": "phpunit/phpunit-mock-objects",
- "version": "2.3.8",
- "source": {
- "type": "git",
- "url": "https://github.com/sebastianbergmann/phpunit-mock-objects.git",
- "reference": "ac8e7a3db35738d56ee9a76e78a4e03d97628983"
- },
- "dist": {
- "type": "zip",
- "url": "https://api.github.com/repos/sebastianbergmann/phpunit-mock-objects/zipball/ac8e7a3db35738d56ee9a76e78a4e03d97628983",
- "reference": "ac8e7a3db35738d56ee9a76e78a4e03d97628983",
- "shasum": ""
- },
- "require": {
- "doctrine/instantiator": "^1.0.2",
- "php": ">=5.3.3",
- "phpunit/php-text-template": "~1.2",
- "sebastian/exporter": "~1.2"
- },
- "require-dev": {
- "phpunit/phpunit": "~4.4"
- },
- "suggest": {
- "ext-soap": "*"
- },
- "type": "library",
- "extra": {
- "branch-alias": {
- "dev-master": "2.3.x-dev"
- }
- },
- "autoload": {
- "classmap": [
- "src/"
- ]
- },
- "notification-url": "https://packagist.org/downloads/",
- "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"
- ],
- "time": "2015-10-02 06:51:40"
- },
- {
- "name": "phpunit/phpunit-story",
- "version": "1.0.2",
- "source": {
- "type": "git",
- "url": "https://github.com/phpunit/phpunit-story.git",
- "reference": "b8579ada6ede4fd2f4b49e8549a8a176606cae68"
- },
- "dist": {
- "type": "zip",
- "url": "https://api.github.com/repos/phpunit/phpunit-story/zipball/b8579ada6ede4fd2f4b49e8549a8a176606cae68",
- "reference": "b8579ada6ede4fd2f4b49e8549a8a176606cae68",
- "shasum": ""
- },
- "require": {
- "ext-spl": "*",
- "php": ">=5.2.7",
- "phpunit/phpunit": ">=3.6.0RC1@stable"
- },
- "type": "library",
- "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": "Story extension for PHPUnit to facilitate Behaviour-Driven Development.",
- "homepage": "http://www.phpunit.de/",
- "keywords": [
- "BDD",
- "TDD",
- "xunit"
- ],
- "time": "2013-04-02 16:07:28"
- },
- {
- "name": "psr/log",
- "version": "1.0.0",
- "source": {
- "type": "git",
- "url": "https://github.com/php-fig/log.git",
- "reference": "fe0936ee26643249e916849d48e3a51d5f5e278b"
- },
- "dist": {
- "type": "zip",
- "url": "https://api.github.com/repos/php-fig/log/zipball/fe0936ee26643249e916849d48e3a51d5f5e278b",
- "reference": "fe0936ee26643249e916849d48e3a51d5f5e278b",
- "shasum": ""
- },
- "type": "library",
- "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"
- ],
- "time": "2012-12-21 11:40:51"
- },
- {
- "name": "satooshi/php-coveralls",
- "version": "dev-master",
- "source": {
- "type": "git",
- "url": "https://github.com/satooshi/php-coveralls.git",
- "reference": "2fbf803803d179ab1082807308a67bbd5a760c70"
- },
- "dist": {
- "type": "zip",
- "url": "https://api.github.com/repos/satooshi/php-coveralls/zipball/2fbf803803d179ab1082807308a67bbd5a760c70",
- "reference": "2fbf803803d179ab1082807308a67bbd5a760c70",
- "shasum": ""
- },
- "require": {
- "ext-json": "*",
- "ext-simplexml": "*",
- "guzzle/guzzle": ">=2.7",
- "php": ">=5.3",
- "psr/log": "1.0.0",
- "symfony/config": ">=2.0",
- "symfony/console": ">=2.0",
- "symfony/stopwatch": ">=2.2",
- "symfony/yaml": ">=2.0"
- },
- "require-dev": {
- "apigen/apigen": "2.8.*@stable",
- "pdepend/pdepend": "dev-master as 2.0.0",
- "phpmd/phpmd": "dev-master",
- "phpunit/php-invoker": ">=1.1.0,<1.2.0",
- "phpunit/phpunit": "3.7.*@stable",
- "sebastian/finder-facade": "dev-master",
- "sebastian/phpcpd": "1.4.*@stable",
- "squizlabs/php_codesniffer": "1.4.*@stable",
- "theseer/fdomdocument": "dev-master"
- },
- "suggest": {
- "symfony/http-kernel": "Allows Symfony integration"
- },
- "bin": [
- "composer/bin/coveralls"
- ],
- "type": "library",
- "extra": {
- "branch-alias": {
- "dev-master": "0.7-dev"
- }
- },
- "autoload": {
- "psr-0": {
- "Satooshi\\Component": "src/",
- "Satooshi\\Bundle": "src/"
- }
- },
- "notification-url": "https://packagist.org/downloads/",
- "license": [
- "MIT"
- ],
- "authors": [
- {
- "name": "Kitamura Satoshi",
- "email": "with.no.parachute@gmail.com",
- "homepage": "https://www.facebook.com/satooshi.jp"
- }
- ],
- "description": "PHP client library for Coveralls API",
- "homepage": "https://github.com/satooshi/php-coveralls",
- "keywords": [
- "ci",
- "coverage",
- "github",
- "test"
- ],
- "time": "2014-11-11 15:35:34"
- },
- {
- "name": "sebastian/comparator",
- "version": "1.2.0",
- "source": {
- "type": "git",
- "url": "https://github.com/sebastianbergmann/comparator.git",
- "reference": "937efb279bd37a375bcadf584dec0726f84dbf22"
- },
- "dist": {
- "type": "zip",
- "url": "https://api.github.com/repos/sebastianbergmann/comparator/zipball/937efb279bd37a375bcadf584dec0726f84dbf22",
- "reference": "937efb279bd37a375bcadf584dec0726f84dbf22",
- "shasum": ""
- },
- "require": {
- "php": ">=5.3.3",
- "sebastian/diff": "~1.2",
- "sebastian/exporter": "~1.2"
- },
- "require-dev": {
- "phpunit/phpunit": "~4.4"
- },
- "type": "library",
- "extra": {
- "branch-alias": {
- "dev-master": "1.2.x-dev"
- }
- },
- "autoload": {
- "classmap": [
- "src/"
- ]
- },
- "notification-url": "https://packagist.org/downloads/",
- "license": [
- "BSD-3-Clause"
- ],
- "authors": [
- {
- "name": "Jeff Welch",
- "email": "whatthejeff@gmail.com"
- },
- {
- "name": "Volker Dusch",
- "email": "github@wallbash.com"
- },
- {
- "name": "Bernhard Schussek",
- "email": "bschussek@2bepublished.at"
- },
- {
- "name": "Sebastian Bergmann",
- "email": "sebastian@phpunit.de"
- }
- ],
- "description": "Provides the functionality to compare PHP values for equality",
- "homepage": "http://www.github.com/sebastianbergmann/comparator",
- "keywords": [
- "comparator",
- "compare",
- "equality"
- ],
- "time": "2015-07-26 15:48:44"
- },
- {
- "name": "sebastian/diff",
- "version": "1.3.0",
- "source": {
- "type": "git",
- "url": "https://github.com/sebastianbergmann/diff.git",
- "reference": "863df9687835c62aa423a22412d26fa2ebde3fd3"
- },
- "dist": {
- "type": "zip",
- "url": "https://api.github.com/repos/sebastianbergmann/diff/zipball/863df9687835c62aa423a22412d26fa2ebde3fd3",
- "reference": "863df9687835c62aa423a22412d26fa2ebde3fd3",
- "shasum": ""
- },
- "require": {
- "php": ">=5.3.3"
- },
- "require-dev": {
- "phpunit/phpunit": "~4.2"
- },
- "type": "library",
- "extra": {
- "branch-alias": {
- "dev-master": "1.3-dev"
- }
- },
- "autoload": {
- "classmap": [
- "src/"
- ]
- },
- "notification-url": "https://packagist.org/downloads/",
- "license": [
- "BSD-3-Clause"
- ],
- "authors": [
- {
- "name": "Kore Nordmann",
- "email": "mail@kore-nordmann.de"
- },
- {
- "name": "Sebastian Bergmann",
- "email": "sebastian@phpunit.de"
- }
- ],
- "description": "Diff implementation",
- "homepage": "http://www.github.com/sebastianbergmann/diff",
- "keywords": [
- "diff"
- ],
- "time": "2015-02-22 15:13:53"
- },
- {
- "name": "sebastian/environment",
- "version": "1.3.2",
- "source": {
- "type": "git",
- "url": "https://github.com/sebastianbergmann/environment.git",
- "reference": "6324c907ce7a52478eeeaede764f48733ef5ae44"
- },
- "dist": {
- "type": "zip",
- "url": "https://api.github.com/repos/sebastianbergmann/environment/zipball/6324c907ce7a52478eeeaede764f48733ef5ae44",
- "reference": "6324c907ce7a52478eeeaede764f48733ef5ae44",
- "shasum": ""
- },
- "require": {
- "php": ">=5.3.3"
- },
- "require-dev": {
- "phpunit/phpunit": "~4.4"
- },
- "type": "library",
- "extra": {
- "branch-alias": {
- "dev-master": "1.3.x-dev"
- }
- },
- "autoload": {
- "classmap": [
- "src/"
- ]
- },
- "notification-url": "https://packagist.org/downloads/",
- "license": [
- "BSD-3-Clause"
- ],
- "authors": [
- {
- "name": "Sebastian Bergmann",
- "email": "sebastian@phpunit.de"
- }
- ],
- "description": "Provides functionality to handle HHVM/PHP environments",
- "homepage": "http://www.github.com/sebastianbergmann/environment",
- "keywords": [
- "Xdebug",
- "environment",
- "hhvm"
- ],
- "time": "2015-08-03 06:14:51"
- },
- {
- "name": "sebastian/exporter",
- "version": "1.2.1",
- "source": {
- "type": "git",
- "url": "https://github.com/sebastianbergmann/exporter.git",
- "reference": "7ae5513327cb536431847bcc0c10edba2701064e"
- },
- "dist": {
- "type": "zip",
- "url": "https://api.github.com/repos/sebastianbergmann/exporter/zipball/7ae5513327cb536431847bcc0c10edba2701064e",
- "reference": "7ae5513327cb536431847bcc0c10edba2701064e",
- "shasum": ""
- },
- "require": {
- "php": ">=5.3.3",
- "sebastian/recursion-context": "~1.0"
- },
- "require-dev": {
- "phpunit/phpunit": "~4.4"
- },
- "type": "library",
- "extra": {
- "branch-alias": {
- "dev-master": "1.2.x-dev"
- }
- },
- "autoload": {
- "classmap": [
- "src/"
- ]
- },
- "notification-url": "https://packagist.org/downloads/",
- "license": [
- "BSD-3-Clause"
- ],
- "authors": [
- {
- "name": "Jeff Welch",
- "email": "whatthejeff@gmail.com"
- },
- {
- "name": "Volker Dusch",
- "email": "github@wallbash.com"
- },
- {
- "name": "Bernhard Schussek",
- "email": "bschussek@2bepublished.at"
- },
- {
- "name": "Sebastian Bergmann",
- "email": "sebastian@phpunit.de"
- },
- {
- "name": "Adam Harvey",
- "email": "aharvey@php.net"
- }
- ],
- "description": "Provides the functionality to export PHP variables for visualization",
- "homepage": "http://www.github.com/sebastianbergmann/exporter",
- "keywords": [
- "export",
- "exporter"
- ],
- "time": "2015-06-21 07:55:53"
- },
- {
- "name": "sebastian/finder-facade",
- "version": "1.2.0",
- "source": {
- "type": "git",
- "url": "https://github.com/sebastianbergmann/finder-facade.git",
- "reference": "a520dcc3dd39160eea480daa3426f4fd419a327b"
- },
- "dist": {
- "type": "zip",
- "url": "https://api.github.com/repos/sebastianbergmann/finder-facade/zipball/a520dcc3dd39160eea480daa3426f4fd419a327b",
- "reference": "a520dcc3dd39160eea480daa3426f4fd419a327b",
- "shasum": ""
- },
- "require": {
- "symfony/finder": "~2.3",
- "theseer/fdomdocument": "~1.3"
- },
- "type": "library",
- "autoload": {
- "classmap": [
- "src/"
- ]
- },
- "notification-url": "https://packagist.org/downloads/",
- "license": [
- "BSD-3-Clause"
- ],
- "authors": [
- {
- "name": "Sebastian Bergmann",
- "email": "sebastian@phpunit.de",
- "role": "lead"
- }
- ],
- "description": "FinderFacade is a convenience wrapper for Symfony's Finder component.",
- "homepage": "https://github.com/sebastianbergmann/finder-facade",
- "time": "2015-06-04 08:11:58"
- },
- {
- "name": "sebastian/global-state",
- "version": "1.1.1",
- "source": {
- "type": "git",
- "url": "https://github.com/sebastianbergmann/global-state.git",
- "reference": "bc37d50fea7d017d3d340f230811c9f1d7280af4"
- },
- "dist": {
- "type": "zip",
- "url": "https://api.github.com/repos/sebastianbergmann/global-state/zipball/bc37d50fea7d017d3d340f230811c9f1d7280af4",
- "reference": "bc37d50fea7d017d3d340f230811c9f1d7280af4",
- "shasum": ""
- },
- "require": {
- "php": ">=5.3.3"
- },
- "require-dev": {
- "phpunit/phpunit": "~4.2"
- },
- "suggest": {
- "ext-uopz": "*"
- },
- "type": "library",
- "extra": {
- "branch-alias": {
- "dev-master": "1.0-dev"
- }
- },
- "autoload": {
- "classmap": [
- "src/"
- ]
- },
- "notification-url": "https://packagist.org/downloads/",
- "license": [
- "BSD-3-Clause"
- ],
- "authors": [
- {
- "name": "Sebastian Bergmann",
- "email": "sebastian@phpunit.de"
- }
- ],
- "description": "Snapshotting of global state",
- "homepage": "http://www.github.com/sebastianbergmann/global-state",
- "keywords": [
- "global state"
- ],
- "time": "2015-10-12 03:26:01"
- },
- {
- "name": "sebastian/recursion-context",
- "version": "1.0.1",
- "source": {
- "type": "git",
- "url": "https://github.com/sebastianbergmann/recursion-context.git",
- "reference": "994d4a811bafe801fb06dccbee797863ba2792ba"
- },
- "dist": {
- "type": "zip",
- "url": "https://api.github.com/repos/sebastianbergmann/recursion-context/zipball/994d4a811bafe801fb06dccbee797863ba2792ba",
- "reference": "994d4a811bafe801fb06dccbee797863ba2792ba",
- "shasum": ""
- },
- "require": {
- "php": ">=5.3.3"
- },
- "require-dev": {
- "phpunit/phpunit": "~4.4"
- },
- "type": "library",
- "extra": {
- "branch-alias": {
- "dev-master": "1.0.x-dev"
- }
- },
- "autoload": {
- "classmap": [
- "src/"
- ]
- },
- "notification-url": "https://packagist.org/downloads/",
- "license": [
- "BSD-3-Clause"
- ],
- "authors": [
- {
- "name": "Jeff Welch",
- "email": "whatthejeff@gmail.com"
- },
- {
- "name": "Sebastian Bergmann",
- "email": "sebastian@phpunit.de"
- },
- {
- "name": "Adam Harvey",
- "email": "aharvey@php.net"
- }
- ],
- "description": "Provides functionality to recursively process PHP variables",
- "homepage": "http://www.github.com/sebastianbergmann/recursion-context",
- "time": "2015-06-21 08:04:50"
- },
- {
- "name": "sebastian/version",
- "version": "1.0.6",
- "source": {
- "type": "git",
- "url": "https://github.com/sebastianbergmann/version.git",
- "reference": "58b3a85e7999757d6ad81c787a1fbf5ff6c628c6"
- },
- "dist": {
- "type": "zip",
- "url": "https://api.github.com/repos/sebastianbergmann/version/zipball/58b3a85e7999757d6ad81c787a1fbf5ff6c628c6",
- "reference": "58b3a85e7999757d6ad81c787a1fbf5ff6c628c6",
- "shasum": ""
- },
- "type": "library",
- "autoload": {
- "classmap": [
- "src/"
- ]
- },
- "notification-url": "https://packagist.org/downloads/",
- "license": [
- "BSD-3-Clause"
- ],
- "authors": [
- {
- "name": "Sebastian Bergmann",
- "email": "sebastian@phpunit.de",
- "role": "lead"
- }
- ],
- "description": "Library that helps with managing the version number of Git-hosted PHP projects",
- "homepage": "https://github.com/sebastianbergmann/version",
- "time": "2015-06-21 13:59:46"
- },
- {
- "name": "symfony/config",
- "version": "v2.7.5",
- "source": {
- "type": "git",
- "url": "https://github.com/symfony/config.git",
- "reference": "9698fdf0a750d6887d5e7729d5cf099765b20e61"
- },
- "dist": {
- "type": "zip",
- "url": "https://api.github.com/repos/symfony/config/zipball/9698fdf0a750d6887d5e7729d5cf099765b20e61",
- "reference": "9698fdf0a750d6887d5e7729d5cf099765b20e61",
- "shasum": ""
- },
- "require": {
- "php": ">=5.3.9",
- "symfony/filesystem": "~2.3"
- },
- "require-dev": {
- "symfony/phpunit-bridge": "~2.7"
- },
- "type": "library",
- "extra": {
- "branch-alias": {
- "dev-master": "2.7-dev"
- }
- },
- "autoload": {
- "psr-4": {
- "Symfony\\Component\\Config\\": ""
- }
- },
- "notification-url": "https://packagist.org/downloads/",
- "license": [
- "MIT"
- ],
- "authors": [
- {
- "name": "Fabien Potencier",
- "email": "fabien@symfony.com"
- },
- {
- "name": "Symfony Community",
- "homepage": "https://symfony.com/contributors"
- }
- ],
- "description": "Symfony Config Component",
- "homepage": "https://symfony.com",
- "time": "2015-09-21 15:02:29"
- },
- {
- "name": "symfony/console",
- "version": "v2.7.5",
- "source": {
- "type": "git",
- "url": "https://github.com/symfony/console.git",
- "reference": "06cb17c013a82f94a3d840682b49425cd00a2161"
- },
- "dist": {
- "type": "zip",
- "url": "https://api.github.com/repos/symfony/console/zipball/06cb17c013a82f94a3d840682b49425cd00a2161",
- "reference": "06cb17c013a82f94a3d840682b49425cd00a2161",
- "shasum": ""
- },
- "require": {
- "php": ">=5.3.9"
- },
- "require-dev": {
- "psr/log": "~1.0",
- "symfony/event-dispatcher": "~2.1",
- "symfony/phpunit-bridge": "~2.7",
- "symfony/process": "~2.1"
- },
- "suggest": {
- "psr/log": "For using the console logger",
- "symfony/event-dispatcher": "",
- "symfony/process": ""
- },
- "type": "library",
- "extra": {
- "branch-alias": {
- "dev-master": "2.7-dev"
- }
- },
- "autoload": {
- "psr-4": {
- "Symfony\\Component\\Console\\": ""
- }
- },
- "notification-url": "https://packagist.org/downloads/",
- "license": [
- "MIT"
- ],
- "authors": [
- {
- "name": "Fabien Potencier",
- "email": "fabien@symfony.com"
- },
- {
- "name": "Symfony Community",
- "homepage": "https://symfony.com/contributors"
- }
- ],
- "description": "Symfony Console Component",
- "homepage": "https://symfony.com",
- "time": "2015-09-25 08:32:23"
- },
- {
- "name": "symfony/event-dispatcher",
- "version": "v2.7.5",
- "source": {
- "type": "git",
- "url": "https://github.com/symfony/event-dispatcher.git",
- "reference": "ae4dcc2a8d3de98bd794167a3ccda1311597c5d9"
- },
- "dist": {
- "type": "zip",
- "url": "https://api.github.com/repos/symfony/event-dispatcher/zipball/ae4dcc2a8d3de98bd794167a3ccda1311597c5d9",
- "reference": "ae4dcc2a8d3de98bd794167a3ccda1311597c5d9",
- "shasum": ""
- },
- "require": {
- "php": ">=5.3.9"
- },
- "require-dev": {
- "psr/log": "~1.0",
- "symfony/config": "~2.0,>=2.0.5",
- "symfony/dependency-injection": "~2.6",
- "symfony/expression-language": "~2.6",
- "symfony/phpunit-bridge": "~2.7",
- "symfony/stopwatch": "~2.3"
- },
- "suggest": {
- "symfony/dependency-injection": "",
- "symfony/http-kernel": ""
- },
- "type": "library",
- "extra": {
- "branch-alias": {
- "dev-master": "2.7-dev"
- }
- },
- "autoload": {
- "psr-4": {
- "Symfony\\Component\\EventDispatcher\\": ""
- }
- },
- "notification-url": "https://packagist.org/downloads/",
- "license": [
- "MIT"
- ],
- "authors": [
- {
- "name": "Fabien Potencier",
- "email": "fabien@symfony.com"
- },
- {
- "name": "Symfony Community",
- "homepage": "https://symfony.com/contributors"
- }
- ],
- "description": "Symfony EventDispatcher Component",
- "homepage": "https://symfony.com",
- "time": "2015-09-22 13:49:29"
- },
- {
- "name": "symfony/filesystem",
- "version": "v2.7.5",
- "source": {
- "type": "git",
- "url": "https://github.com/symfony/filesystem.git",
- "reference": "a17f8a17c20e8614c15b8e116e2f4bcde102cfab"
- },
- "dist": {
- "type": "zip",
- "url": "https://api.github.com/repos/symfony/filesystem/zipball/a17f8a17c20e8614c15b8e116e2f4bcde102cfab",
- "reference": "a17f8a17c20e8614c15b8e116e2f4bcde102cfab",
- "shasum": ""
- },
- "require": {
- "php": ">=5.3.9"
- },
- "require-dev": {
- "symfony/phpunit-bridge": "~2.7"
- },
- "type": "library",
- "extra": {
- "branch-alias": {
- "dev-master": "2.7-dev"
- }
- },
- "autoload": {
- "psr-4": {
- "Symfony\\Component\\Filesystem\\": ""
- }
- },
- "notification-url": "https://packagist.org/downloads/",
- "license": [
- "MIT"
- ],
- "authors": [
- {
- "name": "Fabien Potencier",
- "email": "fabien@symfony.com"
- },
- {
- "name": "Symfony Community",
- "homepage": "https://symfony.com/contributors"
- }
- ],
- "description": "Symfony Filesystem Component",
- "homepage": "https://symfony.com",
- "time": "2015-09-09 17:42:36"
- },
- {
- "name": "symfony/finder",
- "version": "v2.7.5",
- "source": {
- "type": "git",
- "url": "https://github.com/symfony/finder.git",
- "reference": "8262ab605973afbb3ef74b945daabf086f58366f"
- },
- "dist": {
- "type": "zip",
- "url": "https://api.github.com/repos/symfony/finder/zipball/8262ab605973afbb3ef74b945daabf086f58366f",
- "reference": "8262ab605973afbb3ef74b945daabf086f58366f",
- "shasum": ""
- },
- "require": {
- "php": ">=5.3.9"
- },
- "require-dev": {
- "symfony/phpunit-bridge": "~2.7"
- },
- "type": "library",
- "extra": {
- "branch-alias": {
- "dev-master": "2.7-dev"
- }
- },
- "autoload": {
- "psr-4": {
- "Symfony\\Component\\Finder\\": ""
- }
- },
- "notification-url": "https://packagist.org/downloads/",
- "license": [
- "MIT"
- ],
- "authors": [
- {
- "name": "Fabien Potencier",
- "email": "fabien@symfony.com"
- },
- {
- "name": "Symfony Community",
- "homepage": "https://symfony.com/contributors"
- }
- ],
- "description": "Symfony Finder Component",
- "homepage": "https://symfony.com",
- "time": "2015-09-19 19:59:23"
- },
- {
- "name": "symfony/stopwatch",
- "version": "v2.7.5",
- "source": {
- "type": "git",
- "url": "https://github.com/symfony/stopwatch.git",
- "reference": "08dd97b3f22ab9ee658cd16e6758f8c3c404336e"
- },
- "dist": {
- "type": "zip",
- "url": "https://api.github.com/repos/symfony/stopwatch/zipball/08dd97b3f22ab9ee658cd16e6758f8c3c404336e",
- "reference": "08dd97b3f22ab9ee658cd16e6758f8c3c404336e",
- "shasum": ""
- },
- "require": {
- "php": ">=5.3.9"
- },
- "require-dev": {
- "symfony/phpunit-bridge": "~2.7"
- },
- "type": "library",
- "extra": {
- "branch-alias": {
- "dev-master": "2.7-dev"
- }
- },
- "autoload": {
- "psr-4": {
- "Symfony\\Component\\Stopwatch\\": ""
- }
- },
- "notification-url": "https://packagist.org/downloads/",
- "license": [
- "MIT"
- ],
- "authors": [
- {
- "name": "Fabien Potencier",
- "email": "fabien@symfony.com"
- },
- {
- "name": "Symfony Community",
- "homepage": "https://symfony.com/contributors"
- }
- ],
- "description": "Symfony Stopwatch Component",
- "homepage": "https://symfony.com",
- "time": "2015-09-22 13:49:29"
- },
- {
- "name": "symfony/yaml",
- "version": "v2.7.5",
- "source": {
- "type": "git",
- "url": "https://github.com/symfony/yaml.git",
- "reference": "31cb2ad0155c95b88ee55fe12bc7ff92232c1770"
- },
- "dist": {
- "type": "zip",
- "url": "https://api.github.com/repos/symfony/yaml/zipball/31cb2ad0155c95b88ee55fe12bc7ff92232c1770",
- "reference": "31cb2ad0155c95b88ee55fe12bc7ff92232c1770",
- "shasum": ""
- },
- "require": {
- "php": ">=5.3.9"
- },
- "require-dev": {
- "symfony/phpunit-bridge": "~2.7"
- },
- "type": "library",
- "extra": {
- "branch-alias": {
- "dev-master": "2.7-dev"
- }
- },
- "autoload": {
- "psr-4": {
- "Symfony\\Component\\Yaml\\": ""
- }
- },
- "notification-url": "https://packagist.org/downloads/",
- "license": [
- "MIT"
- ],
- "authors": [
- {
- "name": "Fabien Potencier",
- "email": "fabien@symfony.com"
- },
- {
- "name": "Symfony Community",
- "homepage": "https://symfony.com/contributors"
- }
- ],
- "description": "Symfony Yaml Component",
- "homepage": "https://symfony.com",
- "time": "2015-09-14 14:14:09"
- },
- {
- "name": "theseer/fdomdocument",
- "version": "1.6.1",
- "source": {
- "type": "git",
- "url": "https://github.com/theseer/fDOMDocument.git",
- "reference": "d9ad139d6c2e8edf5e313ffbe37ff13344cf0684"
- },
- "dist": {
- "type": "zip",
- "url": "https://api.github.com/repos/theseer/fDOMDocument/zipball/d9ad139d6c2e8edf5e313ffbe37ff13344cf0684",
- "reference": "d9ad139d6c2e8edf5e313ffbe37ff13344cf0684",
- "shasum": ""
- },
- "require": {
- "ext-dom": "*",
- "lib-libxml": "*",
- "php": ">=5.3.3"
- },
- "type": "library",
- "autoload": {
- "classmap": [
- "src/"
- ]
- },
- "notification-url": "https://packagist.org/downloads/",
- "license": [
- "BSD-3-Clause"
- ],
- "authors": [
- {
- "name": "Arne Blankerts",
- "email": "arne@blankerts.de",
- "role": "lead"
- }
- ],
- "description": "The classes contained within this repository extend the standard DOM to use exceptions at all occasions of errors instead of PHP warnings or notices. They also add various custom methods and shortcuts for convenience and to simplify the usage of DOM.",
- "homepage": "https://github.com/theseer/fDOMDocument",
- "time": "2015-05-27 22:58:02"
- }
- ],
- "aliases": [],
- "minimum-stability": "stable",
- "stability-flags": {
- "phpunit/phpcov": 20,
- "satooshi/php-coveralls": 20
- },
- "prefer-stable": false,
- "prefer-lowest": false,
- "platform": {
- "php": ">=5.3.0"
- },
- "platform-dev": []
-}
diff --git a/phpunit.xml.dist b/phpunit.xml.dist
index 49bdcbe..80350d1 100644
--- a/phpunit.xml.dist
+++ b/phpunit.xml.dist
@@ -1,25 +1,17 @@
-
+ processIsolation="false"
+ stopOnFailure="false"
+>
-
- Tests/UAS/
+
+ ./Tests/UAS/
-
-
- UAS/
-
-
diff --git a/travis.phpunit.xml.dist b/travis.phpunit.xml.dist
deleted file mode 100644
index 68c089b..0000000
--- a/travis.phpunit.xml.dist
+++ /dev/null
@@ -1,31 +0,0 @@
-
-
-
-
- ./Tests/UAS/
-
-
-
-
- ./UAS
-
-
-
-
-
-
-
-
-
\ No newline at end of file