Added the branch alias for master
Abort when ZendOptimizer/Opcache disables save_comments
Merge pull request #4 from stof/patch-1

Added the branch alias for master
Add Changelog
[DDC-2338] Fix bug in opcache/zendoptimizerplus+ save_comments detection.
Enabling phpunit tests
Adding composer.lock and composer.phar to ignores
Adding build status icon
Merge pull request #6 from Ocramius/hotfix/travis-tests

Hotfix/travis tests
Moving phpunit task from before_script to script in .travis.yml
Allow empty arrays in annotations
Workaround PHP compiler globals storing doc_comments

The PHP parser stores the last docblock comment it saw in a compiler global. When the compiler next sees something that might conceivably have a docblock comment, the thing becomes the owner of the comment, and the global is cleared.
Unfortunately the parser does not clear state between parses. A call to token_get_all() on something containing a docblock comment will cause the global to be set. The next file to be compiled by an include() will start off with that global, and this (under some circumstances) can cause the comment to be erroneously associated with another class.

This workaround ensures that after a call to token_get_all() we reset the parser to a state where the doc_comment compiler global contains an empty comment, and is therefore "safe" for us.

This is only a workaround: With this fix we have to hope that any other uses of token_get_all() in the user's codebase are also similarly protected. IMO this is a PHP bug (for which I shall raise a bug report), and should, long term, be fixed there.
Switch to require_once in testResetsPhpParserAfterUse to avoid fatals.

To make sure our test is valid we do, however, need to fail the test if someone has already managed to require the file.
Better check to make sure that testResetsPhpParserAfterUse() is valid.

(Ab)use a static to mark the test as run once it has been run first time.
If it's the first run and the test class is already defined then fail as the test's not valid.
Merge pull request #8 from bartfeenstra/master

Allow empty array notations
add phpstorms annotation @noinspection to global ignore names
Merge pull request #13 from uwej711/ignore_noinspection

add phpstorms annotation @noinspection to global ignore names
Fixed warnings (in PhpStorm) about unused imports, non existent classes, unused variables in tests files
Merge pull request #15 from mnapoli/fixWarnings

Fixed warnings (in PhpStorm) in tests
.travis.yml - add PHP 5.5