-
-
Save nikic/6678dbb42e3316fc477f to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
diff --git a/composer.json b/composer.json | |
index 6c4e60c..6ed1dbc 100644 | |
--- a/composer.json | |
+++ b/composer.json | |
@@ -11,14 +11,16 @@ | |
], | |
"require": { | |
"php": ">=5.4", | |
- "ext-tokenizer": "*" | |
+ "ext-tokenizer": "*", | |
+ "roave/strict-php": "^1.0@dev" | |
}, | |
"autoload": { | |
- "files": ["lib/bootstrap.php"] | |
+ "psr-4": { "PhpParser\\" : "lib/PhpParser/" } | |
}, | |
"extra": { | |
"branch-alias": { | |
"dev-master": "2.0-dev" | |
} | |
- } | |
+ }, | |
+ "minimum-stability": "dev" | |
} | |
diff --git a/composer.lock b/composer.lock | |
new file mode 100644 | |
index 0000000..4dc9014 | |
--- /dev/null | |
+++ b/composer.lock | |
@@ -0,0 +1,773 @@ | |
+{ | |
+ "_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": "f776b7dbe06fe8ca65e5e4b0256c77de", | |
+ "packages": [ | |
+ { | |
+ "name": "andrewsville/php-token-reflection", | |
+ "version": "1.4.0", | |
+ "source": { | |
+ "type": "git", | |
+ "url": "https://github.com/Andrewsville/PHP-Token-Reflection.git", | |
+ "reference": "e6d0ac2baf66cdf154be34c3d2a2aa1bd4b426ee" | |
+ }, | |
+ "dist": { | |
+ "type": "zip", | |
+ "url": "https://api.github.com/repos/Andrewsville/PHP-Token-Reflection/zipball/e6d0ac2baf66cdf154be34c3d2a2aa1bd4b426ee", | |
+ "reference": "e6d0ac2baf66cdf154be34c3d2a2aa1bd4b426ee", | |
+ "shasum": "" | |
+ }, | |
+ "require": { | |
+ "ext-tokenizer": "*", | |
+ "php": ">=5.3.0" | |
+ }, | |
+ "type": "library", | |
+ "autoload": { | |
+ "psr-0": { | |
+ "TokenReflection": "./" | |
+ } | |
+ }, | |
+ "notification-url": "http://packagist.org/downloads/", | |
+ "license": [ | |
+ "BSD-3" | |
+ ], | |
+ "authors": [ | |
+ { | |
+ "name": "Ondřej Nešpor", | |
+ "homepage": "https://github.com/andrewsville" | |
+ }, | |
+ { | |
+ "name": "Jaroslav Hanslík", | |
+ "homepage": "https://github.com/kukulich" | |
+ } | |
+ ], | |
+ "description": "Library emulating the PHP internal reflection using just the tokenized source code.", | |
+ "homepage": "http://andrewsville.github.com/PHP-Token-Reflection/", | |
+ "keywords": [ | |
+ "library", | |
+ "reflection", | |
+ "tokenizer" | |
+ ], | |
+ "time": "2014-08-06 16:37:08" | |
+ }, | |
+ { | |
+ "name": "doctrine/annotations", | |
+ "version": "dev-master", | |
+ "source": { | |
+ "type": "git", | |
+ "url": "https://github.com/doctrine/annotations.git", | |
+ "reference": "f4a91702ca3cd2e568c3736aa031ed00c3752af4" | |
+ }, | |
+ "dist": { | |
+ "type": "zip", | |
+ "url": "https://api.github.com/repos/doctrine/annotations/zipball/f4a91702ca3cd2e568c3736aa031ed00c3752af4", | |
+ "reference": "f4a91702ca3cd2e568c3736aa031ed00c3752af4", | |
+ "shasum": "" | |
+ }, | |
+ "require": { | |
+ "doctrine/lexer": "1.*", | |
+ "php": ">=5.3.2" | |
+ }, | |
+ "require-dev": { | |
+ "doctrine/cache": "1.*", | |
+ "phpunit/phpunit": "4.*" | |
+ }, | |
+ "type": "library", | |
+ "extra": { | |
+ "branch-alias": { | |
+ "dev-master": "1.3.x-dev" | |
+ } | |
+ }, | |
+ "autoload": { | |
+ "psr-0": { | |
+ "Doctrine\\Common\\Annotations\\": "lib/" | |
+ } | |
+ }, | |
+ "notification-url": "http://packagist.org/downloads/", | |
+ "license": [ | |
+ "MIT" | |
+ ], | |
+ "authors": [ | |
+ { | |
+ "name": "Roman Borschel", | |
+ "email": "roman@code-factory.org" | |
+ }, | |
+ { | |
+ "name": "Benjamin Eberlei", | |
+ "email": "kontakt@beberlei.de" | |
+ }, | |
+ { | |
+ "name": "Guilherme Blanco", | |
+ "email": "guilhermeblanco@gmail.com" | |
+ }, | |
+ { | |
+ "name": "Jonathan Wage", | |
+ "email": "jonwage@gmail.com" | |
+ }, | |
+ { | |
+ "name": "Johannes Schmitt", | |
+ "email": "schmittjoh@gmail.com" | |
+ } | |
+ ], | |
+ "description": "Docblock Annotations Parser", | |
+ "homepage": "http://www.doctrine-project.org", | |
+ "keywords": [ | |
+ "annotations", | |
+ "docblock", | |
+ "parser" | |
+ ], | |
+ "time": "2015-06-17 12:21:22" | |
+ }, | |
+ { | |
+ "name": "doctrine/lexer", | |
+ "version": "dev-master", | |
+ "source": { | |
+ "type": "git", | |
+ "url": "https://github.com/doctrine/lexer.git", | |
+ "reference": "83893c552fd2045dd78aef794c31e694c37c0b8c" | |
+ }, | |
+ "dist": { | |
+ "type": "zip", | |
+ "url": "https://api.github.com/repos/doctrine/lexer/zipball/83893c552fd2045dd78aef794c31e694c37c0b8c", | |
+ "reference": "83893c552fd2045dd78aef794c31e694c37c0b8c", | |
+ "shasum": "" | |
+ }, | |
+ "require": { | |
+ "php": ">=5.3.2" | |
+ }, | |
+ "type": "library", | |
+ "extra": { | |
+ "branch-alias": { | |
+ "dev-master": "1.0.x-dev" | |
+ } | |
+ }, | |
+ "autoload": { | |
+ "psr-0": { | |
+ "Doctrine\\Common\\Lexer\\": "lib/" | |
+ } | |
+ }, | |
+ "notification-url": "http://packagist.org/downloads/", | |
+ "license": [ | |
+ "MIT" | |
+ ], | |
+ "authors": [ | |
+ { | |
+ "name": "Roman Borschel", | |
+ "email": "roman@code-factory.org" | |
+ }, | |
+ { | |
+ "name": "Guilherme Blanco", | |
+ "email": "guilhermeblanco@gmail.com" | |
+ }, | |
+ { | |
+ "name": "Johannes Schmitt", | |
+ "email": "schmittjoh@gmail.com" | |
+ } | |
+ ], | |
+ "description": "Base library for a lexer that can be used in Top-Down, Recursive Descent Parsers.", | |
+ "homepage": "http://www.doctrine-project.org", | |
+ "keywords": [ | |
+ "lexer", | |
+ "parser" | |
+ ], | |
+ "time": "2014-09-09 13:34:57" | |
+ }, | |
+ { | |
+ "name": "internations/type-jail", | |
+ "version": "v0.4.2", | |
+ "source": { | |
+ "type": "git", | |
+ "url": "https://github.com/InterNations/type-jail.git", | |
+ "reference": "c15e1c5fef1fb2589ad516f6c2a6e3168f0f8a32" | |
+ }, | |
+ "dist": { | |
+ "type": "zip", | |
+ "url": "https://api.github.com/repos/InterNations/type-jail/zipball/c15e1c5fef1fb2589ad516f6c2a6e3168f0f8a32", | |
+ "reference": "c15e1c5fef1fb2589ad516f6c2a6e3168f0f8a32", | |
+ "shasum": "" | |
+ }, | |
+ "require": { | |
+ "ocramius/proxy-manager": "~1.0" | |
+ }, | |
+ "require-dev": { | |
+ "internations/kodierungsregelwerksammlung": "*", | |
+ "internations/testing-component": "*", | |
+ "phpunit/phpunit": "~4" | |
+ }, | |
+ "type": "library", | |
+ "autoload": { | |
+ "psr-4": { | |
+ "InterNations\\Component\\TypeJail\\": "src/InterNations" | |
+ } | |
+ }, | |
+ "notification-url": "http://packagist.org/downloads/", | |
+ "license": [ | |
+ "MIT" | |
+ ], | |
+ "authors": [ | |
+ { | |
+ "name": "Lars Strojny", | |
+ "email": "lars.strojny@internations.org" | |
+ } | |
+ ], | |
+ "description": "Enforce type constraints", | |
+ "time": "2015-03-24 17:17:34" | |
+ }, | |
+ { | |
+ "name": "jakubledl/dissect", | |
+ "version": "1.0.x-dev", | |
+ "source": { | |
+ "type": "git", | |
+ "url": "https://github.com/jakubledl/dissect.git", | |
+ "reference": "112ee99f32b0884821f7df4b93ba922461dcf916" | |
+ }, | |
+ "dist": { | |
+ "type": "zip", | |
+ "url": "https://api.github.com/repos/jakubledl/dissect/zipball/112ee99f32b0884821f7df4b93ba922461dcf916", | |
+ "reference": "112ee99f32b0884821f7df4b93ba922461dcf916", | |
+ "shasum": "" | |
+ }, | |
+ "require": { | |
+ "php": ">=5.3.3" | |
+ }, | |
+ "require-dev": { | |
+ "symfony/console": "~2.1" | |
+ }, | |
+ "suggest": { | |
+ "symfony/console": "for the command-line tool" | |
+ }, | |
+ "bin": [ | |
+ "bin/dissect.php", | |
+ "bin/dissect" | |
+ ], | |
+ "type": "library", | |
+ "autoload": { | |
+ "psr-0": { | |
+ "Dissect": [ | |
+ "src/" | |
+ ] | |
+ } | |
+ }, | |
+ "notification-url": "http://packagist.org/downloads/", | |
+ "license": [ | |
+ "unlicense" | |
+ ], | |
+ "authors": [ | |
+ { | |
+ "name": "Jakub Lédl", | |
+ "email": "jakubledl@gmail.com" | |
+ } | |
+ ], | |
+ "description": "Lexing and parsing in pure PHP", | |
+ "homepage": "https://github.com/jakubledl/dissect", | |
+ "keywords": [ | |
+ "ast", | |
+ "lexing", | |
+ "parser", | |
+ "parsing" | |
+ ], | |
+ "time": "2013-01-15 19:48:58" | |
+ }, | |
+ { | |
+ "name": "lisachenko/go-aop-php", | |
+ "version": "dev-master", | |
+ "source": { | |
+ "type": "git", | |
+ "url": "https://github.com/lisachenko/go-aop-php.git", | |
+ "reference": "1706cb29f10040c14533506a5c454285537b1bb1" | |
+ }, | |
+ "dist": { | |
+ "type": "zip", | |
+ "url": "https://api.github.com/repos/lisachenko/go-aop-php/zipball/1706cb29f10040c14533506a5c454285537b1bb1", | |
+ "reference": "1706cb29f10040c14533506a5c454285537b1bb1", | |
+ "shasum": "" | |
+ }, | |
+ "require": { | |
+ "andrewsville/php-token-reflection": "~1.4", | |
+ "doctrine/annotations": "~1.0", | |
+ "jakubledl/dissect": "~1.0", | |
+ "php": ">=5.4.0" | |
+ }, | |
+ "require-dev": { | |
+ "symfony/console": "~2.1" | |
+ }, | |
+ "suggest": { | |
+ "symfony/console": "Enables the usage of the command-line tool." | |
+ }, | |
+ "bin": [ | |
+ "bin/warmup" | |
+ ], | |
+ "type": "library", | |
+ "extra": { | |
+ "branch-alias": { | |
+ "dev-master": "1.0-dev" | |
+ } | |
+ }, | |
+ "autoload": { | |
+ "psr-4": { | |
+ "Go\\": "src/" | |
+ } | |
+ }, | |
+ "notification-url": "http://packagist.org/downloads/", | |
+ "license": [ | |
+ "MIT" | |
+ ], | |
+ "authors": [ | |
+ { | |
+ "name": "Lisachenko Alexander", | |
+ "homepage": "https://github.com/lisachenko" | |
+ } | |
+ ], | |
+ "description": "Library for aspect-oriented programming in PHP.", | |
+ "homepage": "http://go.aopphp.com/", | |
+ "keywords": [ | |
+ "aop", | |
+ "aspect", | |
+ "library", | |
+ "php" | |
+ ], | |
+ "time": "2015-05-05 11:00:26" | |
+ }, | |
+ { | |
+ "name": "ocramius/proxy-manager", | |
+ "version": "1.0.x-dev", | |
+ "source": { | |
+ "type": "git", | |
+ "url": "https://github.com/Ocramius/ProxyManager.git", | |
+ "reference": "a80a39fac4fbd771aea7d3871929933a3a1bbf3e" | |
+ }, | |
+ "dist": { | |
+ "type": "zip", | |
+ "url": "https://api.github.com/repos/Ocramius/ProxyManager/zipball/a80a39fac4fbd771aea7d3871929933a3a1bbf3e", | |
+ "reference": "a80a39fac4fbd771aea7d3871929933a3a1bbf3e", | |
+ "shasum": "" | |
+ }, | |
+ "require": { | |
+ "php": ">=5.3.3", | |
+ "zendframework/zend-code": ">2.2.5,<3.0" | |
+ }, | |
+ "require-dev": { | |
+ "ext-phar": "*", | |
+ "phpunit/phpunit": "~4.0", | |
+ "squizlabs/php_codesniffer": "1.5.*" | |
+ }, | |
+ "suggest": { | |
+ "ocramius/generated-hydrator": "To have very fast object to array to object conversion for ghost objects", | |
+ "zendframework/zend-json": "To have the JsonRpc adapter (Remote Object feature)", | |
+ "zendframework/zend-soap": "To have the Soap adapter (Remote Object feature)", | |
+ "zendframework/zend-stdlib": "To use the hydrator proxy", | |
+ "zendframework/zend-xmlrpc": "To have the XmlRpc adapter (Remote Object feature)" | |
+ }, | |
+ "type": "library", | |
+ "extra": { | |
+ "branch-alias": { | |
+ "dev-master": "2.0.x-dev" | |
+ } | |
+ }, | |
+ "autoload": { | |
+ "psr-0": { | |
+ "ProxyManager\\": "src" | |
+ } | |
+ }, | |
+ "notification-url": "http://packagist.org/downloads/", | |
+ "license": [ | |
+ "MIT" | |
+ ], | |
+ "authors": [ | |
+ { | |
+ "name": "Marco Pivetta", | |
+ "email": "ocramius@gmail.com", | |
+ "homepage": "http://ocramius.github.com/" | |
+ } | |
+ ], | |
+ "description": "A library providing utilities to generate, instantiate and generally operate with Object Proxies", | |
+ "homepage": "https://github.com/Ocramius/ProxyManager", | |
+ "keywords": [ | |
+ "aop", | |
+ "lazy loading", | |
+ "proxy", | |
+ "proxy pattern", | |
+ "service proxies" | |
+ ], | |
+ "time": "2014-12-12 10:59:05" | |
+ }, | |
+ { | |
+ "name": "phpdocumentor/reflection-common", | |
+ "version": "dev-master", | |
+ "source": { | |
+ "type": "git", | |
+ "url": "https://github.com/phpDocumentor/ReflectionCommon.git", | |
+ "reference": "9969bd1c9661a73fdab104df7dbf132639d5c4d8" | |
+ }, | |
+ "dist": { | |
+ "type": "zip", | |
+ "url": "https://api.github.com/repos/phpDocumentor/ReflectionCommon/zipball/9969bd1c9661a73fdab104df7dbf132639d5c4d8", | |
+ "reference": "9969bd1c9661a73fdab104df7dbf132639d5c4d8", | |
+ "shasum": "" | |
+ }, | |
+ "require": { | |
+ "php": ">=5.5" | |
+ }, | |
+ "require-dev": { | |
+ "phpunit/phpunit": "^4.6" | |
+ }, | |
+ "type": "library", | |
+ "extra": { | |
+ "branch-alias": { | |
+ "dev-master": "1.0.x-dev" | |
+ } | |
+ }, | |
+ "autoload": { | |
+ "psr-4": { | |
+ "phpDocumentor\\Reflection\\": [ | |
+ "src" | |
+ ] | |
+ } | |
+ }, | |
+ "notification-url": "http://packagist.org/downloads/", | |
+ "license": [ | |
+ "MIT" | |
+ ], | |
+ "authors": [ | |
+ { | |
+ "name": "Jaap van Otterdijk", | |
+ "email": "opensource@ijaap.nl" | |
+ } | |
+ ], | |
+ "description": "Common reflection classes used by phpdocumentor to reflect the code structure", | |
+ "homepage": "http://www.phpdoc.org", | |
+ "keywords": [ | |
+ "FQSEN", | |
+ "phpDocumentor", | |
+ "phpdoc", | |
+ "reflection", | |
+ "static analysis" | |
+ ], | |
+ "time": "2015-06-12 22:21:38" | |
+ }, | |
+ { | |
+ "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": "http://packagist.org/downloads/", | |
+ "license": [ | |
+ "MIT" | |
+ ], | |
+ "authors": [ | |
+ { | |
+ "name": "Mike van Riel", | |
+ "email": "mike.vanriel@naenius.com" | |
+ } | |
+ ], | |
+ "time": "2015-02-03 12:10:50" | |
+ }, | |
+ { | |
+ "name": "phpdocumentor/type-resolver", | |
+ "version": "dev-master", | |
+ "source": { | |
+ "type": "git", | |
+ "url": "https://github.com/phpDocumentor/TypeResolver.git", | |
+ "reference": "14bb2da6387c6a58648b4a87ff02d4c971050309" | |
+ }, | |
+ "dist": { | |
+ "type": "zip", | |
+ "url": "https://api.github.com/repos/phpDocumentor/TypeResolver/zipball/14bb2da6387c6a58648b4a87ff02d4c971050309", | |
+ "reference": "14bb2da6387c6a58648b4a87ff02d4c971050309", | |
+ "shasum": "" | |
+ }, | |
+ "require": { | |
+ "php": ">=5.5", | |
+ "phpdocumentor/reflection-common": "^1.0@dev" | |
+ }, | |
+ "require-dev": { | |
+ "mockery/mockery": "^0.9.4", | |
+ "phpunit/phpunit": "^4.6" | |
+ }, | |
+ "type": "library", | |
+ "extra": { | |
+ "branch-alias": { | |
+ "dev-master": "1.0.x-dev" | |
+ } | |
+ }, | |
+ "autoload": { | |
+ "psr-4": { | |
+ "phpDocumentor\\Reflection\\": [ | |
+ "src/" | |
+ ] | |
+ } | |
+ }, | |
+ "notification-url": "http://packagist.org/downloads/", | |
+ "license": [ | |
+ "MIT" | |
+ ], | |
+ "authors": [ | |
+ { | |
+ "name": "Mike van Riel", | |
+ "email": "me@mikevanriel.com" | |
+ } | |
+ ], | |
+ "time": "2015-07-02 17:28:34" | |
+ }, | |
+ { | |
+ "name": "roave/strict-php", | |
+ "version": "dev-master", | |
+ "source": { | |
+ "type": "git", | |
+ "url": "https://github.com/Roave/StrictPhp.git", | |
+ "reference": "9d38cd240f55dfd122b19192c69363b7c60916b9" | |
+ }, | |
+ "dist": { | |
+ "type": "zip", | |
+ "url": "https://api.github.com/repos/Roave/StrictPhp/zipball/9d38cd240f55dfd122b19192c69363b7c60916b9", | |
+ "reference": "9d38cd240f55dfd122b19192c69363b7c60916b9", | |
+ "shasum": "" | |
+ }, | |
+ "require": { | |
+ "internations/type-jail": "0.4.*", | |
+ "lisachenko/go-aop-php": "~1.0.0@ALPHA", | |
+ "php": "~5.6|~7.0", | |
+ "phpdocumentor/reflection-docblock": "~2.0", | |
+ "phpdocumentor/type-resolver": "dev-master" | |
+ }, | |
+ "require-dev": { | |
+ "phpunit/phpunit": "~4.7" | |
+ }, | |
+ "type": "library", | |
+ "extra": { | |
+ "branch-alias": { | |
+ "dev-master": "1.0.x-dev" | |
+ } | |
+ }, | |
+ "autoload": { | |
+ "psr-4": { | |
+ "StrictPhp\\": "src/StrictPhp" | |
+ } | |
+ }, | |
+ "notification-url": "http://packagist.org/downloads/", | |
+ "license": [ | |
+ "MIT" | |
+ ], | |
+ "authors": [ | |
+ { | |
+ "name": "Marco Pivetta", | |
+ "email": "ocramius@gmail.com", | |
+ "homepage": "http://ocramius.github.io/" | |
+ } | |
+ ], | |
+ "description": "A strict runtime type and invariant checker for developing safer PHP applications", | |
+ "homepage": "https://github.com/Roave/StrictPhp", | |
+ "keywords": [ | |
+ "analysis", | |
+ "continuous integration", | |
+ "development", | |
+ "php", | |
+ "strict", | |
+ "type safety" | |
+ ], | |
+ "time": "2015-07-02 17:41:54" | |
+ }, | |
+ { | |
+ "name": "zendframework/zend-code", | |
+ "version": "dev-develop", | |
+ "source": { | |
+ "type": "git", | |
+ "url": "https://github.com/zendframework/zend-code.git", | |
+ "reference": "b17e072465a6e1d055c2e2c5a81929b00645cc50" | |
+ }, | |
+ "dist": { | |
+ "type": "zip", | |
+ "url": "https://api.github.com/repos/zendframework/zend-code/zipball/b17e072465a6e1d055c2e2c5a81929b00645cc50", | |
+ "reference": "b17e072465a6e1d055c2e2c5a81929b00645cc50", | |
+ "shasum": "" | |
+ }, | |
+ "require": { | |
+ "php": ">=5.5", | |
+ "zendframework/zend-eventmanager": "~2.5" | |
+ }, | |
+ "require-dev": { | |
+ "doctrine/common": ">=2.1", | |
+ "fabpot/php-cs-fixer": "1.7.*", | |
+ "phpunit/phpunit": "~4.0", | |
+ "zendframework/zend-stdlib": "~2.5", | |
+ "zendframework/zend-version": "~2.5" | |
+ }, | |
+ "suggest": { | |
+ "doctrine/common": "Doctrine\\Common >=2.1 for annotation features", | |
+ "zendframework/zend-stdlib": "Zend\\Stdlib component" | |
+ }, | |
+ "type": "library", | |
+ "extra": { | |
+ "branch-alias": { | |
+ "dev-master": "2.5-dev", | |
+ "dev-develop": "2.6-dev" | |
+ } | |
+ }, | |
+ "autoload": { | |
+ "psr-4": { | |
+ "Zend\\Code\\": "src/" | |
+ } | |
+ }, | |
+ "notification-url": "http://packagist.org/downloads/", | |
+ "license": [ | |
+ "BSD-3-Clause" | |
+ ], | |
+ "description": "provides facilities to generate arbitrary code using an object oriented interface", | |
+ "homepage": "https://github.com/zendframework/zend-code", | |
+ "keywords": [ | |
+ "code", | |
+ "zf2" | |
+ ], | |
+ "time": "2015-06-12 09:50:53" | |
+ }, | |
+ { | |
+ "name": "zendframework/zend-eventmanager", | |
+ "version": "dev-develop", | |
+ "source": { | |
+ "type": "git", | |
+ "url": "https://github.com/zendframework/zend-eventmanager.git", | |
+ "reference": "aa4b34cf7167a78103e69eadf8b6c140cf8a981e" | |
+ }, | |
+ "dist": { | |
+ "type": "zip", | |
+ "url": "https://api.github.com/repos/zendframework/zend-eventmanager/zipball/aa4b34cf7167a78103e69eadf8b6c140cf8a981e", | |
+ "reference": "aa4b34cf7167a78103e69eadf8b6c140cf8a981e", | |
+ "shasum": "" | |
+ }, | |
+ "require": { | |
+ "php": ">=5.5", | |
+ "zendframework/zend-stdlib": "~2.5" | |
+ }, | |
+ "require-dev": { | |
+ "fabpot/php-cs-fixer": "1.7.*", | |
+ "phpunit/phpunit": "~4.0" | |
+ }, | |
+ "type": "library", | |
+ "extra": { | |
+ "branch-alias": { | |
+ "dev-master": "2.5-dev", | |
+ "dev-develop": "2.6-dev" | |
+ } | |
+ }, | |
+ "autoload": { | |
+ "psr-4": { | |
+ "Zend\\EventManager\\": "src/" | |
+ } | |
+ }, | |
+ "notification-url": "http://packagist.org/downloads/", | |
+ "license": [ | |
+ "BSD-3-Clause" | |
+ ], | |
+ "homepage": "https://github.com/zendframework/zend-eventmanager", | |
+ "keywords": [ | |
+ "eventmanager", | |
+ "zf2" | |
+ ], | |
+ "time": "2015-06-05 09:18:01" | |
+ }, | |
+ { | |
+ "name": "zendframework/zend-stdlib", | |
+ "version": "dev-develop", | |
+ "source": { | |
+ "type": "git", | |
+ "url": "https://github.com/zendframework/zend-stdlib.git", | |
+ "reference": "378d623b3513bdb4457c4dd0662faae63b524570" | |
+ }, | |
+ "dist": { | |
+ "type": "zip", | |
+ "url": "https://api.github.com/repos/zendframework/zend-stdlib/zipball/378d623b3513bdb4457c4dd0662faae63b524570", | |
+ "reference": "378d623b3513bdb4457c4dd0662faae63b524570", | |
+ "shasum": "" | |
+ }, | |
+ "require": { | |
+ "php": ">=5.5" | |
+ }, | |
+ "require-dev": { | |
+ "fabpot/php-cs-fixer": "1.7.*", | |
+ "phpunit/phpunit": "~4.0", | |
+ "zendframework/zend-config": "~2.5", | |
+ "zendframework/zend-eventmanager": "~2.5", | |
+ "zendframework/zend-filter": "~2.5", | |
+ "zendframework/zend-inputfilter": "~2.5", | |
+ "zendframework/zend-serializer": "~2.5", | |
+ "zendframework/zend-servicemanager": "~2.5" | |
+ }, | |
+ "suggest": { | |
+ "zendframework/zend-eventmanager": "To support aggregate hydrator usage", | |
+ "zendframework/zend-filter": "To support naming strategy hydrator usage", | |
+ "zendframework/zend-serializer": "Zend\\Serializer component", | |
+ "zendframework/zend-servicemanager": "To support hydrator plugin manager usage" | |
+ }, | |
+ "type": "library", | |
+ "extra": { | |
+ "branch-alias": { | |
+ "dev-master": "2.5-dev", | |
+ "dev-develop": "2.6-dev" | |
+ } | |
+ }, | |
+ "autoload": { | |
+ "psr-4": { | |
+ "Zend\\Stdlib\\": "src/" | |
+ } | |
+ }, | |
+ "notification-url": "http://packagist.org/downloads/", | |
+ "license": [ | |
+ "BSD-3-Clause" | |
+ ], | |
+ "homepage": "https://github.com/zendframework/zend-stdlib", | |
+ "keywords": [ | |
+ "stdlib", | |
+ "zf2" | |
+ ], | |
+ "time": "2015-06-05 09:18:13" | |
+ } | |
+ ], | |
+ "packages-dev": [], | |
+ "aliases": [], | |
+ "minimum-stability": "dev", | |
+ "stability-flags": { | |
+ "roave/strict-php": 20 | |
+ }, | |
+ "prefer-stable": false, | |
+ "prefer-lowest": false, | |
+ "platform": { | |
+ "php": ">=5.4", | |
+ "ext-tokenizer": "*" | |
+ }, | |
+ "platform-dev": [] | |
+} | |
diff --git a/test/bootstrap.php b/test/bootstrap.php | |
index 6f76499..2d77b6f 100644 | |
--- a/test/bootstrap.php | |
+++ b/test/bootstrap.php | |
@@ -2,7 +2,16 @@ | |
namespace PhpParser; | |
-require __DIR__ . '/../lib/bootstrap.php'; | |
+require __DIR__ . '/../vendor/autoload.php'; | |
+ | |
+\StrictPhp\StrictPhpKernel::getInstance()->init([ | |
+ 'debug' => true, | |
+ // change this if you use this tool on multiple projects: | |
+ 'cacheDir' => __DIR__ . '/../strict-cache', | |
+ 'includePaths' => [ | |
+ __DIR__ . '/../lib', | |
+ ], | |
+]); | |
function canonicalize($str) { | |
// trim from both sides |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment