pax_global_header00006660000000000000000000000064135063446610014522gustar00rootroot0000000000000052 comment=7c641eb2cb681cb95919e487f76caaaab6955ed2 php-phpdocumentor-reflection-common-2.0.0/000077500000000000000000000000001350634466100206135ustar00rootroot00000000000000php-phpdocumentor-reflection-common-2.0.0/.gitignore000066400000000000000000000006431350634466100226060ustar00rootroot00000000000000# IDE Shizzle; it is recommended to use a global .gitignore for this but since this is an OSS project we want to make # it easy to contribute .idea /nbproject/private/ .buildpath .project .settings # Build folder and vendor folder are generated code; no need to version this build/ temp/ tools/ vendor/ *.phar # By default the phpunit.xml.dist is provided; you can override this using a local config file phpunit.xml php-phpdocumentor-reflection-common-2.0.0/.scrutinizer.yml000066400000000000000000000022151350634466100237750ustar00rootroot00000000000000before_commands: - "composer install --no-dev --prefer-source" checks: php: excluded_dependencies: - phpstan/phpstan tools: external_code_coverage: enabled: true timeout: 300 filter: excluded_paths: ["tests", "vendor"] php_code_sniffer: enabled: true config: standard: PSR2 filter: paths: ["src/*", "tests/*"] excluded_paths: [] php_cpd: enabled: true excluded_dirs: ["tests", "vendor"] php_cs_fixer: enabled: true config: level: all filter: paths: ["src/*", "tests/*"] php_loc: enabled: true excluded_dirs: ["tests", "vendor"] php_mess_detector: enabled: true config: ruleset: phpmd.xml.dist design_rules: { eval_expression: false } filter: paths: ["src/*"] php_pdepend: enabled: true excluded_dirs: ["tests", "vendor"] php_analyzer: enabled: true filter: paths: ["src/*", "tests/*"] sensiolabs_security_checker: true php-phpdocumentor-reflection-common-2.0.0/.travis.yml000066400000000000000000000031551350634466100227300ustar00rootroot00000000000000language: php php: [ 7.1, 7.2, nightly ] sudo: false env: matrix: fast_finish: true allow_failures: - php: nightly install: - travis_retry composer install --no-interaction --prefer-dist --optimize-autoloader script: - ./vendor/bin/phpunit --no-coverage jobs: include: - stage: analysis php: 7.1 script: - ./vendor/bin/phpunit after_script: - travis_retry wget --no-verbose https://phar.io/releases/phive.phar - travis_retry php phive.phar --no-progress install --trust-gpg-keys E82B2FB314E9906E php-coveralls/php-coveralls && ./tools/php-coveralls --verbose - travis_retry wget --no-verbose https://scrutinizer-ci.com/ocular.phar && php ocular.phar code-coverage:upload --format=php-clover build/logs/clover.xml - stage: analysis php: 7.1 before_script: - travis_retry wget --no-verbose https://phar.io/releases/phive.phar - travis_retry php phive.phar --no-progress install --trust-gpg-keys 8E730BA25823D8B5 phpstan script: - ./tools/phpstan analyse src --level max --configuration phpstan.neon - stage: analysis php: 7.1 script: - composer create-project symplify/easy-coding-standard temp/ecs ^3 && temp/ecs/bin/ecs check src tests cache: directories: - $HOME/.composer - $HOME/.phive notifications: irc: "irc.freenode.org#phpdocumentor" slack: secure: "fjumM0h+4w3EYM4dpgqvpiCug7m4sSIC5+HATgwga/Nrc6IjlbWvGOv3JPgD3kQUhi18VmZfUYPmCv916SIbMnv8JWcrSaJXnPCgmxidvYkuzQDIw1HDJbVppGnkmwQA/qjIrM3sIEMfnu/arLRJQLI363aStZzGPxwIa4PDKcg=" email: - me@mikevanriel.com - ashnazg@php.net php-phpdocumentor-reflection-common-2.0.0/LICENSE000066400000000000000000000020711350634466100216200ustar00rootroot00000000000000The MIT License (MIT) Copyright (c) 2015 phpDocumentor 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. php-phpdocumentor-reflection-common-2.0.0/README.md000066400000000000000000000024721350634466100220770ustar00rootroot00000000000000[![License: MIT](https://img.shields.io/badge/License-MIT-yellow.svg)](https://opensource.org/licenses/MIT) [![Travis Status](https://img.shields.io/travis/phpDocumentor/ReflectionCommon.svg?label=Linux)](https://travis-ci.org/phpDocumentor/ReflectionCommon) [![Appveyor Status](https://img.shields.io/appveyor/ci/phpDocumentor/ReflectionCommon.svg?label=Windows)](https://ci.appveyor.com/project/phpDocumentor/ReflectionCommon/branch/master) [![Coveralls Coverage](https://img.shields.io/coveralls/github/phpDocumentor/ReflectionCommon.svg)](https://coveralls.io/github/phpDocumentor/ReflectionCommon?branch=master) [![Scrutinizer Code Coverage](https://img.shields.io/scrutinizer/coverage/g/phpDocumentor/ReflectionCommon.svg)](https://scrutinizer-ci.com/g/phpDocumentor/ReflectionCommon/?branch=master) [![Scrutinizer Code Quality](https://img.shields.io/scrutinizer/g/phpDocumentor/ReflectionCommon.svg)](https://scrutinizer-ci.com/g/phpDocumentor/ReflectionCommon/?branch=master) [![Stable Version](https://img.shields.io/packagist/v/phpDocumentor/Reflection-Common.svg)](https://packagist.org/packages/phpDocumentor/Reflection-Common) [![Unstable Version](https://img.shields.io/packagist/vpre/phpDocumentor/Reflection-Common.svg)](https://packagist.org/packages/phpDocumentor/Reflection-Common) ReflectionCommon ================ php-phpdocumentor-reflection-common-2.0.0/appveyor.yml000066400000000000000000000033361350634466100232100ustar00rootroot00000000000000build: false clone_folder: c:\reflectioncommon max_jobs: 3 platform: x86 pull_requests: do_not_increment_build_number: true version: '{build}.{branch}' skip_tags: true branches: only: - master environment: matrix: - php_ver_target: 7.1 - php_ver_target: 7.2 matrix: fast_finish: false cache: - c:\php -> appveyor.yml - '%LOCALAPPDATA%\Composer\files' init: - SET PATH=C:\Program Files\OpenSSL;c:\tools\php;%PATH% - SET COMPOSER_NO_INTERACTION=1 - SET PHP=1 - SET ANSICON=121x90 (121x90) install: - IF EXIST c:\tools\php (SET PHP=0) - ps: appveyor-retry cinst --params '""/InstallDir:C:\tools\php""' --ignore-checksums -y php --version ((choco search php --exact --all-versions -r | select-string -pattern $env:php_ver_target | sort { [version]($_ -split '\|' | select -last 1) } -Descending | Select-Object -first 1) -replace '[php|]','') - cd c:\tools\php - IF %PHP%==1 copy /Y php.ini-development php.ini - IF %PHP%==1 echo max_execution_time=1200 >> php.ini - IF %PHP%==1 echo date.timezone="UTC" >> php.ini - IF %PHP%==1 echo extension_dir=ext >> php.ini - IF %PHP%==1 echo extension=php_curl.dll >> php.ini - IF %PHP%==1 echo extension=php_openssl.dll >> php.ini - IF %PHP%==1 echo extension=php_mbstring.dll >> php.ini - IF %PHP%==1 echo extension=php_fileinfo.dll >> php.ini - IF %PHP%==1 echo zend.assertions=1 >> php.ini - IF %PHP%==1 echo assert.exception=On >> php.ini - IF %PHP%==1 echo @php %%~dp0composer.phar %%* > composer.bat - appveyor-retry appveyor DownloadFile https://getcomposer.org/composer.phar - cd c:\reflectioncommon - composer install --no-interaction --prefer-dist --no-progress test_script: - cd c:\reflectioncommon - vendor\bin\phpunit --no-coverage php-phpdocumentor-reflection-common-2.0.0/composer.json000066400000000000000000000013301350634466100233320ustar00rootroot00000000000000{ "name": "phpdocumentor/reflection-common", "keywords": ["phpdoc", "phpDocumentor", "reflection", "static analysis", "FQSEN"], "homepage": "http://www.phpdoc.org", "description": "Common reflection classes used by phpdocumentor to reflect the code structure", "license": "MIT", "authors": [ { "name": "Jaap van Otterdijk", "email": "opensource@ijaap.nl" } ], "require": { "php": ">=7.1" }, "autoload" : { "psr-4" : { "phpDocumentor\\Reflection\\": "src/" } }, "require-dev": { "phpunit/phpunit": "~6" }, "extra": { "branch-alias": { "dev-master": "2.x-dev" } } } php-phpdocumentor-reflection-common-2.0.0/composer.lock000066400000000000000000001205631350634466100233230ustar00rootroot00000000000000{ "_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#installing-dependencies", "This file is @generated automatically" ], "content-hash": "43014a0c3c9637e8b3924876bba983d8", "packages": [], "packages-dev": [ { "name": "dflydev/markdown", "version": "v1.0.0", "source": { "type": "git", "url": "https://github.com/dflydev/dflydev-markdown.git", "reference": "76501a808522dbe40a5a71d272bd08d54cbae03d" }, "dist": { "type": "zip", "url": "https://api.github.com/repos/dflydev/dflydev-markdown/zipball/76501a808522dbe40a5a71d272bd08d54cbae03d", "reference": "76501a808522dbe40a5a71d272bd08d54cbae03d", "shasum": "" }, "require": { "php": ">=5.3" }, "type": "library", "autoload": { "psr-0": { "dflydev\\markdown": "src" } }, "notification-url": "https://packagist.org/downloads/", "license": [ "New BSD License" ], "authors": [ { "name": "Dragonfly Development Inc.", "email": "info@dflydev.com", "homepage": "http://dflydev.com" }, { "name": "Beau Simensen", "email": "beau@dflydev.com", "homepage": "http://beausimensen.com" }, { "name": "Michel Fortin", "homepage": "http://michelf.com" }, { "name": "John Gruber", "homepage": "http://daringfireball.net" } ], "description": "PHP Markdown & Extra", "homepage": "http://github.com/dflydev/dflydev-markdown", "keywords": [ "markdown" ], "abandoned": "michelf/php-markdown", "time": "2012-01-02T23:11:32+00:00" }, { "name": "doctrine/instantiator", "version": "1.0.4", "source": { "type": "git", "url": "https://github.com/doctrine/instantiator.git", "reference": "f976e5de371104877ebc89bd8fecb0019ed9c119" }, "dist": { "type": "zip", "url": "https://api.github.com/repos/doctrine/instantiator/zipball/f976e5de371104877ebc89bd8fecb0019ed9c119", "reference": "f976e5de371104877ebc89bd8fecb0019ed9c119", "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.*@ALPHA" }, "type": "library", "extra": { "branch-alias": { "dev-master": "1.0.x-dev" } }, "autoload": { "psr-0": { "Doctrine\\Instantiator\\": "src" } }, "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": "2014-10-13T12:58:55+00:00" }, { "name": "myclabs/deep-copy", "version": "1.3.0", "source": { "type": "git", "url": "https://github.com/myclabs/DeepCopy.git", "reference": "96fbdc07635989c35c5a1912379f4c4b2ab15fd5" }, "dist": { "type": "zip", "url": "https://api.github.com/repos/myclabs/DeepCopy/zipball/96fbdc07635989c35c5a1912379f4c4b2ab15fd5", "reference": "96fbdc07635989c35c5a1912379f4c4b2ab15fd5", "shasum": "" }, "require": { "php": ">=5.4.0" }, "require-dev": { "doctrine/collections": "1.*", "phpunit/phpunit": "~4.1" }, "type": "library", "autoload": { "psr-4": { "DeepCopy\\": "src/DeepCopy/" } }, "notification-url": "https://packagist.org/downloads/", "license": [ "MIT" ], "description": "Create deep copies (clones) of your objects", "homepage": "https://github.com/myclabs/DeepCopy", "keywords": [ "clone", "copy", "duplicate", "object", "object graph" ], "time": "2015-03-21T22:40:23+00:00" }, { "name": "phpdocumentor/reflection-docblock", "version": "2.0.0", "source": { "type": "git", "url": "https://github.com/phpDocumentor/ReflectionDocBlock.git", "reference": "66ae84e9d7c8ea85c979cb65977bd8e608baf0c5" }, "dist": { "type": "zip", "url": "https://api.github.com/repos/phpDocumentor/ReflectionDocBlock/zipball/66ae84e9d7c8ea85c979cb65977bd8e608baf0c5", "reference": "66ae84e9d7c8ea85c979cb65977bd8e608baf0c5", "shasum": "" }, "require": { "dflydev/markdown": "1.0.*", "php": ">=5.3.3" }, "require-dev": { "phpunit/phpunit": "3.7.*@stable" }, "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": "2013-08-07T11:04:22+00:00" }, { "name": "phpspec/prophecy", "version": "v1.6.2", "source": { "type": "git", "url": "https://github.com/phpspec/prophecy.git", "reference": "6c52c2722f8460122f96f86346600e1077ce22cb" }, "dist": { "type": "zip", "url": "https://api.github.com/repos/phpspec/prophecy/zipball/6c52c2722f8460122f96f86346600e1077ce22cb", "reference": "6c52c2722f8460122f96f86346600e1077ce22cb", "shasum": "" }, "require": { "doctrine/instantiator": "^1.0.2", "php": "^5.3|^7.0", "phpdocumentor/reflection-docblock": "^2.0|^3.0.2", "sebastian/comparator": "^1.1", "sebastian/recursion-context": "^1.0|^2.0" }, "require-dev": { "phpspec/phpspec": "^2.0", "phpunit/phpunit": "^4.8 || ^5.6.5" }, "type": "library", "extra": { "branch-alias": { "dev-master": "1.6.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": "2016-11-21T14:58:47+00:00" }, { "name": "phpunit/php-code-coverage", "version": "5.0.0", "source": { "type": "git", "url": "https://github.com/sebastianbergmann/php-code-coverage.git", "reference": "e7d7a4acca58e45bdfd00221563d131cfb04ba96" }, "dist": { "type": "zip", "url": "https://api.github.com/repos/sebastianbergmann/php-code-coverage/zipball/e7d7a4acca58e45bdfd00221563d131cfb04ba96", "reference": "e7d7a4acca58e45bdfd00221563d131cfb04ba96", "shasum": "" }, "require": { "php": "^7.0", "phpunit/php-file-iterator": "^1.3", "phpunit/php-text-template": "^1.2", "phpunit/php-token-stream": "^1.4.2", "sebastian/code-unit-reverse-lookup": "^1.0", "sebastian/environment": "^2.0", "sebastian/version": "^2.0" }, "require-dev": { "ext-xdebug": "^2.5", "phpunit/phpunit": "^6.0" }, "suggest": { "ext-dom": "*", "ext-xmlwriter": "*" }, "type": "library", "extra": { "branch-alias": { "dev-master": "5.0.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": "2017-02-02T10:35:41+00:00" }, { "name": "phpunit/php-file-iterator", "version": "1.4.0", "source": { "type": "git", "url": "https://github.com/sebastianbergmann/php-file-iterator.git", "reference": "a923bb15680d0089e2316f7a4af8f437046e96bb" }, "dist": { "type": "zip", "url": "https://api.github.com/repos/sebastianbergmann/php-file-iterator/zipball/a923bb15680d0089e2316f7a4af8f437046e96bb", "reference": "a923bb15680d0089e2316f7a4af8f437046e96bb", "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-04-02T05:19:05+00:00" }, { "name": "phpunit/php-text-template", "version": "1.2.0", "source": { "type": "git", "url": "https://github.com/sebastianbergmann/php-text-template.git", "reference": "206dfefc0ffe9cebf65c413e3d0e809c82fbf00a" }, "dist": { "type": "zip", "url": "https://api.github.com/repos/sebastianbergmann/php-text-template/zipball/206dfefc0ffe9cebf65c413e3d0e809c82fbf00a", "reference": "206dfefc0ffe9cebf65c413e3d0e809c82fbf00a", "shasum": "" }, "require": { "php": ">=5.3.3" }, "type": "library", "autoload": { "classmap": [ "Text/" ] }, "notification-url": "https://packagist.org/downloads/", "include-path": [ "" ], "license": [ "BSD-3-Clause" ], "authors": [ { "name": "Sebastian Bergmann", "email": "sb@sebastian-bergmann.de", "role": "lead" } ], "description": "Simple template engine.", "homepage": "https://github.com/sebastianbergmann/php-text-template/", "keywords": [ "template" ], "time": "2014-01-30T17:20:04+00:00" }, { "name": "phpunit/php-timer", "version": "1.0.6", "source": { "type": "git", "url": "https://github.com/sebastianbergmann/php-timer.git", "reference": "83fe1bdc5d47658b727595c14da140da92b3d66d" }, "dist": { "type": "zip", "url": "https://api.github.com/repos/sebastianbergmann/php-timer/zipball/83fe1bdc5d47658b727595c14da140da92b3d66d", "reference": "83fe1bdc5d47658b727595c14da140da92b3d66d", "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-13T07:35:30+00:00" }, { "name": "phpunit/php-token-stream", "version": "1.4.2", "source": { "type": "git", "url": "https://github.com/sebastianbergmann/php-token-stream.git", "reference": "db63be1159c81df649cd0260e30249a586d4129e" }, "dist": { "type": "zip", "url": "https://api.github.com/repos/sebastianbergmann/php-token-stream/zipball/db63be1159c81df649cd0260e30249a586d4129e", "reference": "db63be1159c81df649cd0260e30249a586d4129e", "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-06-12T07:34:24+00:00" }, { "name": "phpunit/phpunit", "version": "6.0.0", "source": { "type": "git", "url": "https://github.com/sebastianbergmann/phpunit.git", "reference": "9d0c024d2099531442d862b66b0ad7cf35ed8e78" }, "dist": { "type": "zip", "url": "https://api.github.com/repos/sebastianbergmann/phpunit/zipball/9d0c024d2099531442d862b66b0ad7cf35ed8e78", "reference": "9d0c024d2099531442d862b66b0ad7cf35ed8e78", "shasum": "" }, "require": { "ext-dom": "*", "ext-json": "*", "ext-libxml": "*", "ext-mbstring": "*", "ext-xml": "*", "myclabs/deep-copy": "^1.3", "php": "^7.0", "phpspec/prophecy": "^1.6.2", "phpunit/php-code-coverage": "^5.0", "phpunit/php-file-iterator": "^1.4", "phpunit/php-text-template": "^1.2", "phpunit/php-timer": "^1.0.6", "phpunit/phpunit-mock-objects": "^4.0", "sebastian/comparator": "^1.2.4", "sebastian/diff": "^1.2", "sebastian/environment": "^2.0", "sebastian/exporter": "^2.0", "sebastian/global-state": "^1.1", "sebastian/object-enumerator": "^2.0", "sebastian/resource-operations": "^1.0", "sebastian/version": "^2.0" }, "conflict": { "phpdocumentor/reflection-docblock": "3.0.2", "phpunit/dbunit": "<3.0" }, "require-dev": { "ext-pdo": "*" }, "suggest": { "ext-xdebug": "*", "phpunit/php-invoker": "^1.1" }, "bin": [ "phpunit" ], "type": "library", "extra": { "branch-alias": { "dev-master": "6.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": "The PHP Unit Testing framework.", "homepage": "https://phpunit.de/", "keywords": [ "phpunit", "testing", "xunit" ], "time": "2017-02-03T05:22:46+00:00" }, { "name": "phpunit/phpunit-mock-objects", "version": "4.0.0", "source": { "type": "git", "url": "https://github.com/sebastianbergmann/phpunit-mock-objects.git", "reference": "3819745c44f3aff9518fd655f320c4535d541af7" }, "dist": { "type": "zip", "url": "https://api.github.com/repos/sebastianbergmann/phpunit-mock-objects/zipball/3819745c44f3aff9518fd655f320c4535d541af7", "reference": "3819745c44f3aff9518fd655f320c4535d541af7", "shasum": "" }, "require": { "doctrine/instantiator": "^1.0.2", "php": "^7.0", "phpunit/php-text-template": "^1.2", "sebastian/exporter": "^2.0" }, "conflict": { "phpunit/phpunit": "<6.0" }, "require-dev": { "phpunit/phpunit": "^6.0" }, "suggest": { "ext-soap": "*" }, "type": "library", "extra": { "branch-alias": { "dev-master": "4.0.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": "2017-02-02T10:36:38+00:00" }, { "name": "sebastian/code-unit-reverse-lookup", "version": "1.0.0", "source": { "type": "git", "url": "https://github.com/sebastianbergmann/code-unit-reverse-lookup.git", "reference": "c36f5e7cfce482fde5bf8d10d41a53591e0198fe" }, "dist": { "type": "zip", "url": "https://api.github.com/repos/sebastianbergmann/code-unit-reverse-lookup/zipball/c36f5e7cfce482fde5bf8d10d41a53591e0198fe", "reference": "c36f5e7cfce482fde5bf8d10d41a53591e0198fe", "shasum": "" }, "require": { "php": ">=5.6" }, "require-dev": { "phpunit/phpunit": "~5" }, "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": "Sebastian Bergmann", "email": "sebastian@phpunit.de" } ], "description": "Looks up which function or method a line of code belongs to", "homepage": "https://github.com/sebastianbergmann/code-unit-reverse-lookup/", "time": "2016-02-13T06:45:14+00:00" }, { "name": "sebastian/comparator", "version": "1.2.4", "source": { "type": "git", "url": "https://github.com/sebastianbergmann/comparator.git", "reference": "2b7424b55f5047b47ac6e5ccb20b2aea4011d9be" }, "dist": { "type": "zip", "url": "https://api.github.com/repos/sebastianbergmann/comparator/zipball/2b7424b55f5047b47ac6e5ccb20b2aea4011d9be", "reference": "2b7424b55f5047b47ac6e5ccb20b2aea4011d9be", "shasum": "" }, "require": { "php": ">=5.3.3", "sebastian/diff": "~1.2", "sebastian/exporter": "~1.2 || ~2.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" } ], "description": "Provides the functionality to compare PHP values for equality", "homepage": "http://www.github.com/sebastianbergmann/comparator", "keywords": [ "comparator", "compare", "equality" ], "time": "2017-01-29T09:50:25+00:00" }, { "name": "sebastian/diff", "version": "1.2.0", "source": { "type": "git", "url": "https://github.com/sebastianbergmann/diff.git", "reference": "5843509fed39dee4b356a306401e9dd1a931fec7" }, "dist": { "type": "zip", "url": "https://api.github.com/repos/sebastianbergmann/diff/zipball/5843509fed39dee4b356a306401e9dd1a931fec7", "reference": "5843509fed39dee4b356a306401e9dd1a931fec7", "shasum": "" }, "require": { "php": ">=5.3.3" }, "require-dev": { "phpunit/phpunit": "~4.2" }, "type": "library", "extra": { "branch-alias": { "dev-master": "1.2-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": "2014-08-15T10:29:00+00:00" }, { "name": "sebastian/environment", "version": "2.0.0", "source": { "type": "git", "url": "https://github.com/sebastianbergmann/environment.git", "reference": "5795ffe5dc5b02460c3e34222fee8cbe245d8fac" }, "dist": { "type": "zip", "url": "https://api.github.com/repos/sebastianbergmann/environment/zipball/5795ffe5dc5b02460c3e34222fee8cbe245d8fac", "reference": "5795ffe5dc5b02460c3e34222fee8cbe245d8fac", "shasum": "" }, "require": { "php": "^5.6 || ^7.0" }, "require-dev": { "phpunit/phpunit": "^5.0" }, "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" } ], "description": "Provides functionality to handle HHVM/PHP environments", "homepage": "http://www.github.com/sebastianbergmann/environment", "keywords": [ "Xdebug", "environment", "hhvm" ], "time": "2016-11-26T07:53:53+00:00" }, { "name": "sebastian/exporter", "version": "2.0.0", "source": { "type": "git", "url": "https://github.com/sebastianbergmann/exporter.git", "reference": "ce474bdd1a34744d7ac5d6aad3a46d48d9bac4c4" }, "dist": { "type": "zip", "url": "https://api.github.com/repos/sebastianbergmann/exporter/zipball/ce474bdd1a34744d7ac5d6aad3a46d48d9bac4c4", "reference": "ce474bdd1a34744d7ac5d6aad3a46d48d9bac4c4", "shasum": "" }, "require": { "php": ">=5.3.3", "sebastian/recursion-context": "~2.0" }, "require-dev": { "ext-mbstring": "*", "phpunit/phpunit": "~4.4" }, "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": "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": "2016-11-19T08:54:04+00:00" }, { "name": "sebastian/global-state", "version": "1.1.0", "source": { "type": "git", "url": "https://github.com/sebastianbergmann/global-state.git", "reference": "23af31f402993cfd94e99cbc4b782e9a78eb0e97" }, "dist": { "type": "zip", "url": "https://api.github.com/repos/sebastianbergmann/global-state/zipball/23af31f402993cfd94e99cbc4b782e9a78eb0e97", "reference": "23af31f402993cfd94e99cbc4b782e9a78eb0e97", "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-06-21T15:11:22+00:00" }, { "name": "sebastian/object-enumerator", "version": "2.0.0", "source": { "type": "git", "url": "https://github.com/sebastianbergmann/object-enumerator.git", "reference": "96f8a3f257b69e8128ad74d3a7fd464bcbaa3b35" }, "dist": { "type": "zip", "url": "https://api.github.com/repos/sebastianbergmann/object-enumerator/zipball/96f8a3f257b69e8128ad74d3a7fd464bcbaa3b35", "reference": "96f8a3f257b69e8128ad74d3a7fd464bcbaa3b35", "shasum": "" }, "require": { "php": ">=5.6", "sebastian/recursion-context": "~2.0" }, "require-dev": { "phpunit/phpunit": "~5" }, "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" } ], "description": "Traverses array structures and object graphs to enumerate all referenced objects", "homepage": "https://github.com/sebastianbergmann/object-enumerator/", "time": "2016-11-19T07:35:10+00:00" }, { "name": "sebastian/recursion-context", "version": "2.0.0", "source": { "type": "git", "url": "https://github.com/sebastianbergmann/recursion-context.git", "reference": "2c3ba150cbec723aa057506e73a8d33bdb286c9a" }, "dist": { "type": "zip", "url": "https://api.github.com/repos/sebastianbergmann/recursion-context/zipball/2c3ba150cbec723aa057506e73a8d33bdb286c9a", "reference": "2c3ba150cbec723aa057506e73a8d33bdb286c9a", "shasum": "" }, "require": { "php": ">=5.3.3" }, "require-dev": { "phpunit/phpunit": "~4.4" }, "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": "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": "2016-11-19T07:33:16+00:00" }, { "name": "sebastian/resource-operations", "version": "1.0.0", "source": { "type": "git", "url": "https://github.com/sebastianbergmann/resource-operations.git", "reference": "ce990bb21759f94aeafd30209e8cfcdfa8bc3f52" }, "dist": { "type": "zip", "url": "https://api.github.com/repos/sebastianbergmann/resource-operations/zipball/ce990bb21759f94aeafd30209e8cfcdfa8bc3f52", "reference": "ce990bb21759f94aeafd30209e8cfcdfa8bc3f52", "shasum": "" }, "require": { "php": ">=5.6.0" }, "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": "Sebastian Bergmann", "email": "sebastian@phpunit.de" } ], "description": "Provides a list of PHP built-in functions that operate on resources", "homepage": "https://www.github.com/sebastianbergmann/resource-operations", "time": "2015-07-28T20:34:47+00:00" }, { "name": "sebastian/version", "version": "2.0.0", "source": { "type": "git", "url": "https://github.com/sebastianbergmann/version.git", "reference": "c829badbd8fdf16a0bad8aa7fa7971c029f1b9c5" }, "dist": { "type": "zip", "url": "https://api.github.com/repos/sebastianbergmann/version/zipball/c829badbd8fdf16a0bad8aa7fa7971c029f1b9c5", "reference": "c829badbd8fdf16a0bad8aa7fa7971c029f1b9c5", "shasum": "" }, "require": { "php": ">=5.6" }, "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": "Library that helps with managing the version number of Git-hosted PHP projects", "homepage": "https://github.com/sebastianbergmann/version", "time": "2016-02-04T12:56:52+00:00" } ], "aliases": [], "minimum-stability": "stable", "stability-flags": [], "prefer-stable": false, "prefer-lowest": true, "platform": { "php": ">=7.1" }, "platform-dev": [] } php-phpdocumentor-reflection-common-2.0.0/easy-coding-standard.neon000066400000000000000000000011511350634466100254720ustar00rootroot00000000000000includes: - temp/ecs/config/clean-code.neon - temp/ecs/config/psr2.neon - temp/ecs/config/common.neon parameters: exclude_checkers: # from temp/ecs/config/common.neon - PhpCsFixer\Fixer\ClassNotation\OrderedClassElementsFixer - PhpCsFixer\Fixer\PhpUnit\PhpUnitStrictFixer - PhpCsFixer\Fixer\ControlStructure\YodaStyleFixer # from temp/ecs/config/spaces.neon - PhpCsFixer\Fixer\Operator\NotOperatorWithSuccessorSpaceFixer skip: PHP_CodeSniffer\Standards\Generic\Sniffs\NamingConventions\CamelCapsFunctionNameSniff: - */tests/** php-phpdocumentor-reflection-common-2.0.0/phive.xml000066400000000000000000000004041350634466100224460ustar00rootroot00000000000000 php-phpdocumentor-reflection-common-2.0.0/phpmd.xml.dist000066400000000000000000000015151350634466100234110ustar00rootroot00000000000000 40 php-phpdocumentor-reflection-common-2.0.0/phpstan.neon000066400000000000000000000000001350634466100231370ustar00rootroot00000000000000php-phpdocumentor-reflection-common-2.0.0/phpunit.xml.dist000066400000000000000000000014731350634466100237730ustar00rootroot00000000000000 ./tests/unit/ src php-phpdocumentor-reflection-common-2.0.0/src/000077500000000000000000000000001350634466100214025ustar00rootroot00000000000000php-phpdocumentor-reflection-common-2.0.0/src/Element.php000066400000000000000000000012161350634466100235040ustar00rootroot00000000000000 * @license http://www.opensource.org/licenses/mit-license.php MIT * @link http://phpdoc.org */ namespace phpDocumentor\Reflection; /** * Interface for files processed by the ProjectFactory */ interface File { /** * Returns the content of the file as a string. */ public function getContents(): string; /** * Returns md5 hash of the file. */ public function md5(): string; /** * Returns an relative path to the file. */ public function path(): string; } php-phpdocumentor-reflection-common-2.0.0/src/Fqsen.php000066400000000000000000000035341350634466100231740ustar00rootroot00000000000000fqsen = $fqsen; if (isset($matches[2])) { $this->name = $matches[2]; } else { $matches = explode('\\', $fqsen); $this->name = trim(end($matches), '()'); } } /** * converts this class to string. */ public function __toString(): string { return $this->fqsen; } /** * Returns the name of the element without path. */ public function getName(): string { return $this->name; } } php-phpdocumentor-reflection-common-2.0.0/src/Location.php000066400000000000000000000023601350634466100236640ustar00rootroot00000000000000 * @license http://www.opensource.org/licenses/mit-license.php MIT * @link http://phpdoc.org */ namespace phpDocumentor\Reflection; /** * The location where an element occurs within a file. */ final class Location { /** @var int */ private $lineNumber = 0; /** @var int */ private $columnNumber = 0; /** * Initializes the location for an element using its line number in the file and optionally the column number. */ public function __construct(int $lineNumber, int $columnNumber = 0) { $this->lineNumber = $lineNumber; $this->columnNumber = $columnNumber; } /** * Returns the line number that is covered by this location. */ public function getLineNumber(): int { return $this->lineNumber; } /** * Returns the column number (character position on a line) for this location object. */ public function getColumnNumber(): int { return $this->columnNumber; } } php-phpdocumentor-reflection-common-2.0.0/src/Project.php000066400000000000000000000012061350634466100235200ustar00rootroot00000000000000assertEquals($name, $instance->getName()); } /** * Data provider for ValidFormats tests. Contains a complete list from psr-5 draft. * * @return array */ public function validFqsenProvider() { return [ ['\\', ''], ['\My\Space', 'Space'], ['\My\Space\myFunction()', 'myFunction'], ['\My\Space\MY_CONSTANT', 'MY_CONSTANT'], ['\My\Space\MY_CONSTANT2', 'MY_CONSTANT2'], ['\My\Space\MyClass', 'MyClass'], ['\My\Space\MyInterface', 'MyInterface'], ['\My\Space\Option«T»', 'Option«T»'], ['\My\Space\MyTrait', 'MyTrait'], ['\My\Space\MyClass::myMethod()', 'myMethod'], ['\My\Space\MyClass::$my_property', 'my_property'], ['\My\Space\MyClass::MY_CONSTANT', 'MY_CONSTANT'], ]; } /** * @param string $fqsen * @covers ::__construct * @dataProvider invalidFqsenProvider * @expectedException \InvalidArgumentException */ public function testInValidFormats($fqsen) { new Fqsen($fqsen); } /** * Data provider for invalidFormats tests. Contains a complete list from psr-5 draft. * * @return array */ public function invalidFqsenProvider() { return [ ['\My\*'], ['\My\Space\.()'], ['My\Space'], ['1_function()'], ]; } /** * @covers ::__construct * @covers ::__toString */ public function testToString() { $className = new Fqsen('\\phpDocumentor\\Application'); $this->assertEquals('\\phpDocumentor\\Application', (string) $className); } }