12 Commits
v1.0.0 ... 1.0

Author SHA1 Message Date
Jonathan H. Wage
4a97a22032 Merge pull request #17 from doctrine/update-chat-link
Update chat link from Gitter to Slack.
2018-12-12 14:24:29 -06:00
Jonathan H. Wage
6e00e048a8 Update chat link from Gitter to Slack. 2018-12-12 20:23:23 +00:00
Marco Pivetta
ad11fb5d5d Merge pull request #15 from Majkl578/php7.3
CI: Test against PHP 7.3
2018-10-15 13:19:19 +02:00
Michael Moravec
a5c4170bcc CI: Test against PHP 7.3 2018-10-13 21:06:16 +02:00
Marco Pivetta
12b6dfcab6 Merge pull request #14 from carusogabriel/composer-update
Run composer update to sync new dependencies
2018-09-28 01:09:42 +02:00
Gabriel Caruso
e4286e5a08 Run composer update to sync new dependencies 2018-09-25 22:32:31 -03:00
Jonathan H. Wage
ca1b0e4137 Merge pull request #13 from carusogabriel/doctrine-cs-v5
Apply Doctrine CS v5
2018-09-25 21:29:03 -04:00
Gabriel Caruso
093041f967 Apply Doctrine CS v5 2018-09-25 22:16:34 -03:00
Jonathan H. Wage
9848bff07d Merge pull request #12 from doctrine/doctrine-project-json
Add .doctrine-project.json to root of the project.
2018-08-31 17:54:33 -05:00
Jonathan H. Wage
fe6a06f31d Add .doctrine-project.json to root of the project. 2018-08-31 21:07:09 +01:00
Marco Pivetta
d1db8cee08 Merge pull request #10 from doctrine/add-common-conflict
Add conflict on doctrine/common for <2.9@dev
2018-06-15 09:55:29 +02:00
Jonathan H. Wage
b5ab045685 Add conflict on doctrine/common for <2.9@dev 2018-06-14 19:50:14 +01:00
14 changed files with 374 additions and 162 deletions

18
.doctrine-project.json Normal file
View File

@@ -0,0 +1,18 @@
{
"active": true,
"name": "Reflection",
"slug": "reflection",
"docsSlug": "doctrine-reflection",
"versions": [
{
"name": "1.0",
"branchName": "master",
"slug": "latest",
"current": true,
"aliases": [
"current",
"stable"
]
}
]
}

View File

@@ -9,6 +9,7 @@ cache:
php:
- 7.1
- 7.2
- 7.3
- nightly
before_install:

View File

@@ -1,8 +1,11 @@
{
"name": "doctrine/reflection",
"type": "library",
"description": "Doctrine Reflection component",
"keywords": ["reflection"],
"description": "The Doctrine Reflection project is a simple library used by the various Doctrine projects which adds some additional functionality on top of the reflection functionality that comes with PHP. It allows you to get the reflection information about classes, methods and properties statically.",
"keywords": [
"reflection",
"static"
],
"homepage": "https://www.doctrine-project.org/projects/reflection.html",
"license": "MIT",
"authors": [
@@ -22,9 +25,11 @@
"phpstan/phpstan": "^0.9.2",
"phpstan/phpstan-phpunit": "^0.9.4",
"phpunit/phpunit": "^7.0",
"doctrine/coding-standard": "^4.0",
"doctrine/common": "^2.8",
"squizlabs/php_codesniffer": "^3.0"
"doctrine/coding-standard": "^5.0",
"doctrine/common": "^2.8"
},
"conflict": {
"doctrine/common": "<2.9@dev"
},
"autoload": {
"psr-4": {

450
composer.lock generated
View File

@@ -4,7 +4,7 @@
"Read more about it at https://getcomposer.org/doc/01-basic-usage.md#installing-dependencies",
"This file is @generated automatically"
],
"content-hash": "8e8f0044eb978b29d6e4603912a087b0",
"content-hash": "057a551b40dbeb3ee9c475eda659e507",
"packages": [
{
"name": "doctrine/annotations",
@@ -200,16 +200,16 @@
},
{
"name": "doctrine/cache",
"version": "v1.7.1",
"version": "v1.8.0",
"source": {
"type": "git",
"url": "https://github.com/doctrine/cache.git",
"reference": "b3217d58609e9c8e661cd41357a54d926c4a2a1a"
"reference": "d768d58baee9a4862ca783840eca1b9add7a7f57"
},
"dist": {
"type": "zip",
"url": "https://api.github.com/repos/doctrine/cache/zipball/b3217d58609e9c8e661cd41357a54d926c4a2a1a",
"reference": "b3217d58609e9c8e661cd41357a54d926c4a2a1a",
"url": "https://api.github.com/repos/doctrine/cache/zipball/d768d58baee9a4862ca783840eca1b9add7a7f57",
"reference": "d768d58baee9a4862ca783840eca1b9add7a7f57",
"shasum": ""
},
"require": {
@@ -220,8 +220,9 @@
},
"require-dev": {
"alcaeus/mongo-php-adapter": "^1.1",
"doctrine/coding-standard": "^4.0",
"mongodb/mongodb": "^1.1",
"phpunit/phpunit": "^5.7",
"phpunit/phpunit": "^7.0",
"predis/predis": "~1.0"
},
"suggest": {
@@ -230,7 +231,7 @@
"type": "library",
"extra": {
"branch-alias": {
"dev-master": "1.7.x-dev"
"dev-master": "1.8.x-dev"
}
},
"autoload": {
@@ -265,37 +266,37 @@
}
],
"description": "Caching library offering an object-oriented API for many cache backends",
"homepage": "http://www.doctrine-project.org",
"homepage": "https://www.doctrine-project.org",
"keywords": [
"cache",
"caching"
],
"time": "2017-08-25T07:02:50+00:00"
"time": "2018-08-21T18:01:43+00:00"
},
{
"name": "doctrine/coding-standard",
"version": "4.0.0",
"version": "5.0.0",
"source": {
"type": "git",
"url": "https://github.com/doctrine/coding-standard.git",
"reference": "0469c18a1a4724c278f2879c0dd7b1fa860b52de"
"reference": "bb8de042a25c4fb59a2c55c350dc55cc00227a8c"
},
"dist": {
"type": "zip",
"url": "https://api.github.com/repos/doctrine/coding-standard/zipball/0469c18a1a4724c278f2879c0dd7b1fa860b52de",
"reference": "0469c18a1a4724c278f2879c0dd7b1fa860b52de",
"url": "https://api.github.com/repos/doctrine/coding-standard/zipball/bb8de042a25c4fb59a2c55c350dc55cc00227a8c",
"reference": "bb8de042a25c4fb59a2c55c350dc55cc00227a8c",
"shasum": ""
},
"require": {
"dealerdirect/phpcodesniffer-composer-installer": "^0.4.2",
"dealerdirect/phpcodesniffer-composer-installer": "^0.4.4",
"php": "^7.1",
"slevomat/coding-standard": "^4.5.0",
"squizlabs/php_codesniffer": "^3.2.3"
"slevomat/coding-standard": "^4.8.0",
"squizlabs/php_codesniffer": "^3.3.2"
},
"type": "phpcodesniffer-standard",
"extra": {
"branch-alias": {
"dev-master": "3.0.x-dev"
"dev-master": "5.0.x-dev"
}
},
"autoload": {
@@ -317,18 +318,21 @@
"email": "st.mueller@dzh-online.de"
}
],
"description": "Doctrine Coding Standard",
"homepage": "http://www.doctrine-project.org",
"description": "The Doctrine Coding Standard is a set of PHPCS rules applied to all Doctrine projects.",
"homepage": "https://www.doctrine-project.org/projects/coding-standard.html",
"keywords": [
"checks",
"code",
"coding",
"cs",
"doctrine",
"rules",
"sniffer",
"sniffs",
"standard",
"style"
],
"time": "2018-03-03T23:49:15+00:00"
"time": "2018-09-24T19:08:56+00:00"
},
{
"name": "doctrine/collections",
@@ -399,33 +403,39 @@
},
{
"name": "doctrine/common",
"version": "v2.8.1",
"version": "v2.9.0",
"source": {
"type": "git",
"url": "https://github.com/doctrine/common.git",
"reference": "f68c297ce6455e8fd794aa8ffaf9fa458f6ade66"
"reference": "a210246d286c77d2b89040f8691ba7b3a713d2c1"
},
"dist": {
"type": "zip",
"url": "https://api.github.com/repos/doctrine/common/zipball/f68c297ce6455e8fd794aa8ffaf9fa458f6ade66",
"reference": "f68c297ce6455e8fd794aa8ffaf9fa458f6ade66",
"url": "https://api.github.com/repos/doctrine/common/zipball/a210246d286c77d2b89040f8691ba7b3a713d2c1",
"reference": "a210246d286c77d2b89040f8691ba7b3a713d2c1",
"shasum": ""
},
"require": {
"doctrine/annotations": "1.*",
"doctrine/cache": "1.*",
"doctrine/collections": "1.*",
"doctrine/inflector": "1.*",
"doctrine/lexer": "1.*",
"php": "~7.1"
"doctrine/annotations": "^1.0",
"doctrine/cache": "^1.0",
"doctrine/collections": "^1.0",
"doctrine/event-manager": "^1.0",
"doctrine/inflector": "^1.0",
"doctrine/lexer": "^1.0",
"doctrine/persistence": "^1.0",
"doctrine/reflection": "^1.0",
"php": "^7.1"
},
"require-dev": {
"phpunit/phpunit": "^5.7"
"doctrine/coding-standard": "^1.0",
"phpunit/phpunit": "^6.3",
"squizlabs/php_codesniffer": "^3.0",
"symfony/phpunit-bridge": "^4.0.5"
},
"type": "library",
"extra": {
"branch-alias": {
"dev-master": "2.8.x-dev"
"dev-master": "2.9.x-dev"
}
},
"autoload": {
@@ -457,10 +467,14 @@
{
"name": "Johannes Schmitt",
"email": "schmittjoh@gmail.com"
},
{
"name": "Marco Pivetta",
"email": "ocramius@gmail.com"
}
],
"description": "Common Library for Doctrine projects",
"homepage": "http://www.doctrine-project.org",
"homepage": "https://www.doctrine-project.org",
"keywords": [
"annotations",
"collections",
@@ -468,7 +482,81 @@
"persistence",
"spl"
],
"time": "2017-08-31T08:43:38+00:00"
"time": "2018-07-12T21:16:12+00:00"
},
{
"name": "doctrine/event-manager",
"version": "v1.0.0",
"source": {
"type": "git",
"url": "https://github.com/doctrine/event-manager.git",
"reference": "a520bc093a0170feeb6b14e9d83f3a14452e64b3"
},
"dist": {
"type": "zip",
"url": "https://api.github.com/repos/doctrine/event-manager/zipball/a520bc093a0170feeb6b14e9d83f3a14452e64b3",
"reference": "a520bc093a0170feeb6b14e9d83f3a14452e64b3",
"shasum": ""
},
"require": {
"php": "^7.1"
},
"conflict": {
"doctrine/common": "<2.9@dev"
},
"require-dev": {
"doctrine/coding-standard": "^4.0",
"phpunit/phpunit": "^7.0"
},
"type": "library",
"extra": {
"branch-alias": {
"dev-master": "1.0.x-dev"
}
},
"autoload": {
"psr-4": {
"Doctrine\\Common\\": "lib/Doctrine/Common"
}
},
"notification-url": "https://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"
},
{
"name": "Marco Pivetta",
"email": "ocramius@gmail.com"
}
],
"description": "Doctrine Event Manager component",
"homepage": "https://www.doctrine-project.org/projects/event-manager.html",
"keywords": [
"event",
"eventdispatcher",
"eventmanager"
],
"time": "2018-06-11T11:59:03+00:00"
},
{
"name": "doctrine/inflector",
@@ -591,6 +679,84 @@
],
"time": "2017-07-22T11:58:36+00:00"
},
{
"name": "doctrine/persistence",
"version": "v1.0.1",
"source": {
"type": "git",
"url": "https://github.com/doctrine/persistence.git",
"reference": "af1ec238659a83e320f03e0e454e200f689b4b97"
},
"dist": {
"type": "zip",
"url": "https://api.github.com/repos/doctrine/persistence/zipball/af1ec238659a83e320f03e0e454e200f689b4b97",
"reference": "af1ec238659a83e320f03e0e454e200f689b4b97",
"shasum": ""
},
"require": {
"doctrine/annotations": "^1.0",
"doctrine/cache": "^1.0",
"doctrine/collections": "^1.0",
"doctrine/event-manager": "^1.0",
"doctrine/reflection": "^1.0",
"php": "^7.1"
},
"conflict": {
"doctrine/common": "<2.9@dev"
},
"require-dev": {
"doctrine/coding-standard": "^4.0",
"phpstan/phpstan": "^0.8",
"phpunit/phpunit": "^7.0"
},
"type": "library",
"extra": {
"branch-alias": {
"dev-master": "1.0.x-dev"
}
},
"autoload": {
"psr-4": {
"Doctrine\\Common\\": "lib/Doctrine/Common"
}
},
"notification-url": "https://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"
},
{
"name": "Marco Pivetta",
"email": "ocramius@gmail.com"
}
],
"description": "Doctrine Persistence abstractions.",
"homepage": "https://doctrine-project.org/projects/persistence.html",
"keywords": [
"persistence"
],
"time": "2018-07-12T12:37:50+00:00"
},
{
"name": "jean85/pretty-package-versions",
"version": "1.2",
@@ -768,16 +934,16 @@
},
{
"name": "nette/di",
"version": "v2.4.12",
"version": "v2.4.14",
"source": {
"type": "git",
"url": "https://github.com/nette/di.git",
"reference": "8e717aed2d182a26763be58c220eebaaa32917df"
"reference": "923da3e2c0aa53162ef455472c0ac7787b096c5a"
},
"dist": {
"type": "zip",
"url": "https://api.github.com/repos/nette/di/zipball/8e717aed2d182a26763be58c220eebaaa32917df",
"reference": "8e717aed2d182a26763be58c220eebaaa32917df",
"url": "https://api.github.com/repos/nette/di/zipball/923da3e2c0aa53162ef455472c0ac7787b096c5a",
"reference": "923da3e2c0aa53162ef455472c0ac7787b096c5a",
"shasum": ""
},
"require": {
@@ -833,31 +999,31 @@
"nette",
"static"
],
"time": "2018-04-26T09:18:42+00:00"
"time": "2018-09-17T15:47:40+00:00"
},
{
"name": "nette/finder",
"version": "v2.4.1",
"version": "v2.4.2",
"source": {
"type": "git",
"url": "https://github.com/nette/finder.git",
"reference": "4d43a66d072c57d585bf08a3ef68d3587f7e9547"
"reference": "ee951a656cb8ac622e5dd33474a01fd2470505a0"
},
"dist": {
"type": "zip",
"url": "https://api.github.com/repos/nette/finder/zipball/4d43a66d072c57d585bf08a3ef68d3587f7e9547",
"reference": "4d43a66d072c57d585bf08a3ef68d3587f7e9547",
"url": "https://api.github.com/repos/nette/finder/zipball/ee951a656cb8ac622e5dd33474a01fd2470505a0",
"reference": "ee951a656cb8ac622e5dd33474a01fd2470505a0",
"shasum": ""
},
"require": {
"nette/utils": "^2.4 || ~3.0.0",
"nette/utils": "~2.4",
"php": ">=5.6.0"
},
"conflict": {
"nette/nette": "<2.2"
},
"require-dev": {
"nette/tester": "^2.0",
"nette/tester": "~2.0",
"tracy/tracy": "^2.3"
},
"type": "library",
@@ -887,22 +1053,28 @@
"homepage": "https://nette.org/contributors"
}
],
"description": "Nette Finder: Files Searching",
"description": "🔍 Nette Finder: find files and directories with an intuitive API.",
"homepage": "https://nette.org",
"time": "2017-07-10T23:47:08+00:00"
"keywords": [
"filesystem",
"glob",
"iterator",
"nette"
],
"time": "2018-06-28T11:49:23+00:00"
},
{
"name": "nette/neon",
"version": "v2.4.2",
"version": "v2.4.3",
"source": {
"type": "git",
"url": "https://github.com/nette/neon.git",
"reference": "9eacd50553b26b53a3977bfb2fea2166d4331622"
"reference": "5e72b1dd3e2d34f0863c5561139a19df6a1ef398"
},
"dist": {
"type": "zip",
"url": "https://api.github.com/repos/nette/neon/zipball/9eacd50553b26b53a3977bfb2fea2166d4331622",
"reference": "9eacd50553b26b53a3977bfb2fea2166d4331622",
"url": "https://api.github.com/repos/nette/neon/zipball/5e72b1dd3e2d34f0863c5561139a19df6a1ef398",
"reference": "5e72b1dd3e2d34f0863c5561139a19df6a1ef398",
"shasum": ""
},
"require": {
@@ -941,22 +1113,29 @@
"homepage": "https://nette.org/contributors"
}
],
"description": "Nette NEON: parser & generator for Nette Object Notation",
"description": "🍸 Nette NEON: encodes and decodes NEON file format.",
"homepage": "http://ne-on.org",
"time": "2017-07-11T18:29:08+00:00"
"keywords": [
"export",
"import",
"neon",
"nette",
"yaml"
],
"time": "2018-03-21T12:12:21+00:00"
},
{
"name": "nette/php-generator",
"version": "v3.0.4",
"version": "v3.0.5",
"source": {
"type": "git",
"url": "https://github.com/nette/php-generator.git",
"reference": "b381ecacbf5a0b5f99cc0b303d5b0578d409f446"
"reference": "ea90209c2e8a7cd087b2742ca553c047a8df5eff"
},
"dist": {
"type": "zip",
"url": "https://api.github.com/repos/nette/php-generator/zipball/b381ecacbf5a0b5f99cc0b303d5b0578d409f446",
"reference": "b381ecacbf5a0b5f99cc0b303d5b0578d409f446",
"url": "https://api.github.com/repos/nette/php-generator/zipball/ea90209c2e8a7cd087b2742ca553c047a8df5eff",
"reference": "ea90209c2e8a7cd087b2742ca553c047a8df5eff",
"shasum": ""
},
"require": {
@@ -1005,20 +1184,20 @@
"php",
"scaffolding"
],
"time": "2018-04-26T16:48:20+00:00"
"time": "2018-08-09T14:32:27+00:00"
},
{
"name": "nette/robot-loader",
"version": "v3.0.3",
"version": "v3.1.0",
"source": {
"type": "git",
"url": "https://github.com/nette/robot-loader.git",
"reference": "92d4b40b49d5e2d9e37fc736bbcebe6da55fa44a"
"reference": "fc76c70e740b10f091e502b2e393d0be912f38d4"
},
"dist": {
"type": "zip",
"url": "https://api.github.com/repos/nette/robot-loader/zipball/92d4b40b49d5e2d9e37fc736bbcebe6da55fa44a",
"reference": "92d4b40b49d5e2d9e37fc736bbcebe6da55fa44a",
"url": "https://api.github.com/repos/nette/robot-loader/zipball/fc76c70e740b10f091e502b2e393d0be912f38d4",
"reference": "fc76c70e740b10f091e502b2e393d0be912f38d4",
"shasum": ""
},
"require": {
@@ -1037,7 +1216,7 @@
"type": "library",
"extra": {
"branch-alias": {
"dev-master": "3.0-dev"
"dev-master": "3.1-dev"
}
},
"autoload": {
@@ -1070,20 +1249,20 @@
"nette",
"trait"
],
"time": "2017-09-26T13:42:21+00:00"
"time": "2018-08-13T14:19:06+00:00"
},
{
"name": "nette/utils",
"version": "v2.5.2",
"version": "v2.5.3",
"source": {
"type": "git",
"url": "https://github.com/nette/utils.git",
"reference": "183069866dc477fcfbac393ed486aaa6d93d19a5"
"reference": "17b9f76f2abd0c943adfb556e56f2165460b15ce"
},
"dist": {
"type": "zip",
"url": "https://api.github.com/repos/nette/utils/zipball/183069866dc477fcfbac393ed486aaa6d93d19a5",
"reference": "183069866dc477fcfbac393ed486aaa6d93d19a5",
"url": "https://api.github.com/repos/nette/utils/zipball/17b9f76f2abd0c943adfb556e56f2165460b15ce",
"reference": "17b9f76f2abd0c943adfb556e56f2165460b15ce",
"shasum": ""
},
"require": {
@@ -1152,7 +1331,7 @@
"utility",
"validation"
],
"time": "2018-05-02T17:16:08+00:00"
"time": "2018-09-18T10:22:16+00:00"
},
{
"name": "nikic/php-parser",
@@ -1256,22 +1435,22 @@
},
{
"name": "phar-io/manifest",
"version": "1.0.1",
"version": "1.0.3",
"source": {
"type": "git",
"url": "https://github.com/phar-io/manifest.git",
"reference": "2df402786ab5368a0169091f61a7c1e0eb6852d0"
"reference": "7761fcacf03b4d4f16e7ccb606d4879ca431fcf4"
},
"dist": {
"type": "zip",
"url": "https://api.github.com/repos/phar-io/manifest/zipball/2df402786ab5368a0169091f61a7c1e0eb6852d0",
"reference": "2df402786ab5368a0169091f61a7c1e0eb6852d0",
"url": "https://api.github.com/repos/phar-io/manifest/zipball/7761fcacf03b4d4f16e7ccb606d4879ca431fcf4",
"reference": "7761fcacf03b4d4f16e7ccb606d4879ca431fcf4",
"shasum": ""
},
"require": {
"ext-dom": "*",
"ext-phar": "*",
"phar-io/version": "^1.0.1",
"phar-io/version": "^2.0",
"php": "^5.6 || ^7.0"
},
"type": "library",
@@ -1307,20 +1486,20 @@
}
],
"description": "Component for reading phar.io manifest information from a PHP Archive (PHAR)",
"time": "2017-03-05T18:14:27+00:00"
"time": "2018-07-08T19:23:20+00:00"
},
{
"name": "phar-io/version",
"version": "1.0.1",
"version": "2.0.1",
"source": {
"type": "git",
"url": "https://github.com/phar-io/version.git",
"reference": "a70c0ced4be299a63d32fa96d9281d03e94041df"
"reference": "45a2ec53a73c70ce41d55cedef9063630abaf1b6"
},
"dist": {
"type": "zip",
"url": "https://api.github.com/repos/phar-io/version/zipball/a70c0ced4be299a63d32fa96d9281d03e94041df",
"reference": "a70c0ced4be299a63d32fa96d9281d03e94041df",
"url": "https://api.github.com/repos/phar-io/version/zipball/45a2ec53a73c70ce41d55cedef9063630abaf1b6",
"reference": "45a2ec53a73c70ce41d55cedef9063630abaf1b6",
"shasum": ""
},
"require": {
@@ -1354,7 +1533,7 @@
}
],
"description": "Library for handling version information and constraints",
"time": "2017-03-05T17:38:23+00:00"
"time": "2018-07-08T19:19:57+00:00"
},
{
"name": "phpdocumentor/reflection-common",
@@ -1510,16 +1689,16 @@
},
{
"name": "phpspec/prophecy",
"version": "1.7.6",
"version": "1.8.0",
"source": {
"type": "git",
"url": "https://github.com/phpspec/prophecy.git",
"reference": "33a7e3c4fda54e912ff6338c48823bd5c0f0b712"
"reference": "4ba436b55987b4bf311cb7c6ba82aa528aac0a06"
},
"dist": {
"type": "zip",
"url": "https://api.github.com/repos/phpspec/prophecy/zipball/33a7e3c4fda54e912ff6338c48823bd5c0f0b712",
"reference": "33a7e3c4fda54e912ff6338c48823bd5c0f0b712",
"url": "https://api.github.com/repos/phpspec/prophecy/zipball/4ba436b55987b4bf311cb7c6ba82aa528aac0a06",
"reference": "4ba436b55987b4bf311cb7c6ba82aa528aac0a06",
"shasum": ""
},
"require": {
@@ -1531,12 +1710,12 @@
},
"require-dev": {
"phpspec/phpspec": "^2.5|^3.2",
"phpunit/phpunit": "^4.8.35 || ^5.7 || ^6.5"
"phpunit/phpunit": "^4.8.35 || ^5.7 || ^6.5 || ^7.1"
},
"type": "library",
"extra": {
"branch-alias": {
"dev-master": "1.7.x-dev"
"dev-master": "1.8.x-dev"
}
},
"autoload": {
@@ -1569,7 +1748,7 @@
"spy",
"stub"
],
"time": "2018-04-18T13:57:24+00:00"
"time": "2018-08-05T17:53:17+00:00"
},
{
"name": "phpstan/phpdoc-parser",
@@ -1789,21 +1968,24 @@
},
{
"name": "phpunit/php-file-iterator",
"version": "2.0.1",
"version": "2.0.2",
"source": {
"type": "git",
"url": "https://github.com/sebastianbergmann/php-file-iterator.git",
"reference": "cecbc684605bb0cc288828eb5d65d93d5c676d3c"
"reference": "050bedf145a257b1ff02746c31894800e5122946"
},
"dist": {
"type": "zip",
"url": "https://api.github.com/repos/sebastianbergmann/php-file-iterator/zipball/cecbc684605bb0cc288828eb5d65d93d5c676d3c",
"reference": "cecbc684605bb0cc288828eb5d65d93d5c676d3c",
"url": "https://api.github.com/repos/sebastianbergmann/php-file-iterator/zipball/050bedf145a257b1ff02746c31894800e5122946",
"reference": "050bedf145a257b1ff02746c31894800e5122946",
"shasum": ""
},
"require": {
"php": "^7.1"
},
"require-dev": {
"phpunit/phpunit": "^7.1"
},
"type": "library",
"extra": {
"branch-alias": {
@@ -1832,7 +2014,7 @@
"filesystem",
"iterator"
],
"time": "2018-06-11T11:44:00+00:00"
"time": "2018-09-13T20:33:42+00:00"
},
{
"name": "phpunit/php-text-template",
@@ -1975,16 +2157,16 @@
},
{
"name": "phpunit/phpunit",
"version": "7.2.4",
"version": "7.3.5",
"source": {
"type": "git",
"url": "https://github.com/sebastianbergmann/phpunit.git",
"reference": "00bc0b93f0ff4f557e9ea766557fde96da9a03dd"
"reference": "7b331efabbb628c518c408fdfcaf571156775de2"
},
"dist": {
"type": "zip",
"url": "https://api.github.com/repos/sebastianbergmann/phpunit/zipball/00bc0b93f0ff4f557e9ea766557fde96da9a03dd",
"reference": "00bc0b93f0ff4f557e9ea766557fde96da9a03dd",
"url": "https://api.github.com/repos/sebastianbergmann/phpunit/zipball/7b331efabbb628c518c408fdfcaf571156775de2",
"reference": "7b331efabbb628c518c408fdfcaf571156775de2",
"shasum": ""
},
"require": {
@@ -1995,12 +2177,12 @@
"ext-mbstring": "*",
"ext-xml": "*",
"myclabs/deep-copy": "^1.7",
"phar-io/manifest": "^1.0.1",
"phar-io/version": "^1.0",
"phar-io/manifest": "^1.0.2",
"phar-io/version": "^2.0",
"php": "^7.1",
"phpspec/prophecy": "^1.7",
"phpunit/php-code-coverage": "^6.0.7",
"phpunit/php-file-iterator": "^2.0",
"phpunit/php-file-iterator": "^2.0.1",
"phpunit/php-text-template": "^1.2.1",
"phpunit/php-timer": "^2.0",
"sebastian/comparator": "^3.0",
@@ -2029,7 +2211,7 @@
"type": "library",
"extra": {
"branch-alias": {
"dev-master": "7.2-dev"
"dev-master": "7.3-dev"
}
},
"autoload": {
@@ -2055,7 +2237,7 @@
"testing",
"xunit"
],
"time": "2018-06-05T03:40:05+00:00"
"time": "2018-09-08T15:14:29+00:00"
},
{
"name": "sebastian/code-unit-reverse-lookup",
@@ -2104,16 +2286,16 @@
},
{
"name": "sebastian/comparator",
"version": "3.0.0",
"version": "3.0.2",
"source": {
"type": "git",
"url": "https://github.com/sebastianbergmann/comparator.git",
"reference": "ed5fd2281113729f1ebcc64d101ad66028aeb3d5"
"reference": "5de4fc177adf9bce8df98d8d141a7559d7ccf6da"
},
"dist": {
"type": "zip",
"url": "https://api.github.com/repos/sebastianbergmann/comparator/zipball/ed5fd2281113729f1ebcc64d101ad66028aeb3d5",
"reference": "ed5fd2281113729f1ebcc64d101ad66028aeb3d5",
"url": "https://api.github.com/repos/sebastianbergmann/comparator/zipball/5de4fc177adf9bce8df98d8d141a7559d7ccf6da",
"reference": "5de4fc177adf9bce8df98d8d141a7559d7ccf6da",
"shasum": ""
},
"require": {
@@ -2164,7 +2346,7 @@
"compare",
"equality"
],
"time": "2018-04-18T13:33:00+00:00"
"time": "2018-07-12T15:12:46+00:00"
},
{
"name": "sebastian/diff",
@@ -2622,21 +2804,21 @@
},
{
"name": "slevomat/coding-standard",
"version": "4.6.2",
"version": "4.8.2",
"source": {
"type": "git",
"url": "https://github.com/slevomat/coding-standard.git",
"reference": "d43b9a627cdcb7ce837a1d85a79b52645cdf44bc"
"reference": "5e878708a16a75ed11a7d9aa02f50c257065d4fe"
},
"dist": {
"type": "zip",
"url": "https://api.github.com/repos/slevomat/coding-standard/zipball/d43b9a627cdcb7ce837a1d85a79b52645cdf44bc",
"reference": "d43b9a627cdcb7ce837a1d85a79b52645cdf44bc",
"url": "https://api.github.com/repos/slevomat/coding-standard/zipball/5e878708a16a75ed11a7d9aa02f50c257065d4fe",
"reference": "5e878708a16a75ed11a7d9aa02f50c257065d4fe",
"shasum": ""
},
"require": {
"php": "^7.1",
"squizlabs/php_codesniffer": "^3.2.3"
"squizlabs/php_codesniffer": "^3.3.0"
},
"require-dev": {
"jakub-onderka/php-parallel-lint": "1.0.0",
@@ -2644,7 +2826,7 @@
"phpstan/phpstan": "0.9.2",
"phpstan/phpstan-phpunit": "0.9.4",
"phpstan/phpstan-strict-rules": "0.9",
"phpunit/phpunit": "7.2.4"
"phpunit/phpunit": "7.3.5"
},
"type": "phpcodesniffer-standard",
"autoload": {
@@ -2657,20 +2839,20 @@
"MIT"
],
"description": "Slevomat Coding Standard for PHP_CodeSniffer complements Consistence Coding Standard by providing sniffs with additional checks.",
"time": "2018-06-12T21:23:15+00:00"
"time": "2018-09-25T06:49:15+00:00"
},
{
"name": "squizlabs/php_codesniffer",
"version": "3.3.0",
"version": "3.3.2",
"source": {
"type": "git",
"url": "https://github.com/squizlabs/PHP_CodeSniffer.git",
"reference": "d86873af43b4aa9d1f39a3601cc0cfcf02b25266"
"reference": "6ad28354c04b364c3c71a34e4a18b629cc3b231e"
},
"dist": {
"type": "zip",
"url": "https://api.github.com/repos/squizlabs/PHP_CodeSniffer/zipball/d86873af43b4aa9d1f39a3601cc0cfcf02b25266",
"reference": "d86873af43b4aa9d1f39a3601cc0cfcf02b25266",
"url": "https://api.github.com/repos/squizlabs/PHP_CodeSniffer/zipball/6ad28354c04b364c3c71a34e4a18b629cc3b231e",
"reference": "6ad28354c04b364c3c71a34e4a18b629cc3b231e",
"shasum": ""
},
"require": {
@@ -2708,20 +2890,20 @@
"phpcs",
"standards"
],
"time": "2018-06-06T23:58:19+00:00"
"time": "2018-09-23T23:08:17+00:00"
},
{
"name": "symfony/console",
"version": "v4.1.0",
"version": "v4.1.4",
"source": {
"type": "git",
"url": "https://github.com/symfony/console.git",
"reference": "2d5d973bf9933d46802b01010bd25c800c87c242"
"reference": "ca80b8ced97cf07390078b29773dc384c39eee1f"
},
"dist": {
"type": "zip",
"url": "https://api.github.com/repos/symfony/console/zipball/2d5d973bf9933d46802b01010bd25c800c87c242",
"reference": "2d5d973bf9933d46802b01010bd25c800c87c242",
"url": "https://api.github.com/repos/symfony/console/zipball/ca80b8ced97cf07390078b29773dc384c39eee1f",
"reference": "ca80b8ced97cf07390078b29773dc384c39eee1f",
"shasum": ""
},
"require": {
@@ -2776,20 +2958,20 @@
],
"description": "Symfony Console Component",
"homepage": "https://symfony.com",
"time": "2018-05-30T07:26:09+00:00"
"time": "2018-07-26T11:24:31+00:00"
},
{
"name": "symfony/finder",
"version": "v4.1.0",
"version": "v4.1.4",
"source": {
"type": "git",
"url": "https://github.com/symfony/finder.git",
"reference": "087e2ee0d74464a4c6baac4e90417db7477dc238"
"reference": "e162f1df3102d0b7472805a5a9d5db9fcf0a8068"
},
"dist": {
"type": "zip",
"url": "https://api.github.com/repos/symfony/finder/zipball/087e2ee0d74464a4c6baac4e90417db7477dc238",
"reference": "087e2ee0d74464a4c6baac4e90417db7477dc238",
"url": "https://api.github.com/repos/symfony/finder/zipball/e162f1df3102d0b7472805a5a9d5db9fcf0a8068",
"reference": "e162f1df3102d0b7472805a5a9d5db9fcf0a8068",
"shasum": ""
},
"require": {
@@ -2825,20 +3007,20 @@
],
"description": "Symfony Finder Component",
"homepage": "https://symfony.com",
"time": "2018-05-16T14:33:22+00:00"
"time": "2018-07-26T11:24:31+00:00"
},
{
"name": "symfony/polyfill-mbstring",
"version": "v1.8.0",
"version": "v1.9.0",
"source": {
"type": "git",
"url": "https://github.com/symfony/polyfill-mbstring.git",
"reference": "3296adf6a6454a050679cde90f95350ad604b171"
"reference": "d0cd638f4634c16d8df4508e847f14e9e43168b8"
},
"dist": {
"type": "zip",
"url": "https://api.github.com/repos/symfony/polyfill-mbstring/zipball/3296adf6a6454a050679cde90f95350ad604b171",
"reference": "3296adf6a6454a050679cde90f95350ad604b171",
"url": "https://api.github.com/repos/symfony/polyfill-mbstring/zipball/d0cd638f4634c16d8df4508e847f14e9e43168b8",
"reference": "d0cd638f4634c16d8df4508e847f14e9e43168b8",
"shasum": ""
},
"require": {
@@ -2850,7 +3032,7 @@
"type": "library",
"extra": {
"branch-alias": {
"dev-master": "1.8-dev"
"dev-master": "1.9-dev"
}
},
"autoload": {
@@ -2884,7 +3066,7 @@
"portable",
"shim"
],
"time": "2018-04-26T10:06:28+00:00"
"time": "2018-08-06T14:22:27+00:00"
},
{
"name": "theseer/tokenizer",

View File

@@ -11,7 +11,7 @@ If this documentation is not helping to answer questions you have about
Doctrine Reflection don't panic. You can get help from different sources:
- The `Doctrine Mailing List <https://groups.google.com/group/doctrine-user>`_
- Gitter chat room `#doctrine/reflection <https://gitter.im/doctrine/reflection>`_
- Slack chat room `#reflection <https://www.doctrine-project.org/slack>`_
- Report a bug on `GitHub <https://github.com/doctrine/reflection/issues>`_.
- On `StackOverflow <https://stackoverflow.com/questions/tagged/doctrine-reflection>`_

View File

@@ -2,12 +2,16 @@
namespace Doctrine\Common\Reflection;
use ReflectionClass;
use ReflectionMethod;
use ReflectionProperty;
interface ReflectionProviderInterface
{
/**
* Gets the ReflectionClass equivalent for this class.
*
* @return \ReflectionClass
* @return ReflectionClass
*/
public function getReflectionClass();
@@ -16,7 +20,7 @@ interface ReflectionProviderInterface
*
* @param string $name
*
* @return \ReflectionMethod
* @return ReflectionMethod
*/
public function getReflectionMethod($name);
@@ -25,7 +29,7 @@ interface ReflectionProviderInterface
*
* @param string $name
*
* @return \ReflectionProperty
* @return ReflectionProperty
*/
public function getReflectionProperty($name);
}

View File

@@ -7,7 +7,6 @@ use ReflectionProperty;
/**
* PHP Runtime Reflection Public Property - special overrides for public properties.
*
*/
class RuntimePublicReflectionProperty extends ReflectionProperty
{
@@ -39,6 +38,7 @@ class RuntimePublicReflectionProperty extends ReflectionProperty
*
* Avoids triggering lazy loading via `__set` if the provided object
* is a {@see \Doctrine\Common\Proxy\Proxy}.
*
* @link https://bugs.php.net/bug.php?id=63463
*/
public function setValue($object, $value = null)

View File

@@ -3,6 +3,7 @@
namespace Doctrine\Tests\Common\Reflection;
use Doctrine\Common\Annotations\Annotation;
use stdClass;
/**
* @Annotation(
@@ -11,10 +12,10 @@ use Doctrine\Common\Annotations\Annotation;
*/
class AnnotationClassWithScopeResolution
{
public const FOO = \stdClass::class;
public const FOO = stdClass::class;
/**
* Example with comment.
*/
public const BAR = \stdClass::class;
public const BAR = stdClass::class;
}

View File

@@ -2,6 +2,7 @@
namespace Doctrine\Tests\Common\Reflection;
use Closure;
use Doctrine\Common\Proxy\Proxy;
use Doctrine\Common\Reflection\RuntimePublicReflectionProperty;
use PHPUnit\Framework\TestCase;
@@ -39,7 +40,7 @@ class RuntimePublicReflectionPropertyTest extends TestCase
{
$getCheckMock = $this->getMockBuilder('stdClass')->setMethods(['callGet'])->getMock();
$getCheckMock->expects($this->never())->method('callGet');
$initializer = function () use ($getCheckMock) {
$initializer = static function () use ($getCheckMock) {
call_user_func($getCheckMock);
};
@@ -60,7 +61,7 @@ class RuntimePublicReflectionPropertyTest extends TestCase
{
$setCheckMock = $this->getMockBuilder('stdClass')->setMethods(['neverCallSet'])->getMock();
$setCheckMock->expects($this->never())->method('neverCallSet');
$initializer = function () use ($setCheckMock) {
$initializer = static function () use ($setCheckMock) {
call_user_func([$setCheckMock, 'neverCallSet']);
};
@@ -81,7 +82,7 @@ class RuntimePublicReflectionPropertyTest extends TestCase
$setCheckMock = $this->getMockBuilder('stdClass')->setMethods(['callSet'])->getMock();
$setCheckMock->expects($this->once())->method('callSet');
$initializer = function () use ($setCheckMock) {
$initializer = static function () use ($setCheckMock) {
call_user_func([$setCheckMock, 'callSet']);
};
@@ -99,7 +100,7 @@ class RuntimePublicReflectionPropertyTest extends TestCase
*/
class RuntimePublicReflectionPropertyTestProxyMock implements Proxy
{
/** @var \Closure|null */
/** @var Closure|null */
private $initializer = null;
/** @var bool */
@@ -119,7 +120,7 @@ class RuntimePublicReflectionPropertyTestProxyMock implements Proxy
/**
* {@inheritDoc}
*/
public function __setInitializer(?\Closure $initializer = null)
public function __setInitializer(?Closure $initializer = null)
{
$this->initializer = $initializer;
}
@@ -200,7 +201,7 @@ class RuntimePublicReflectionPropertyTestProxyMock implements Proxy
/**
* {@inheritDoc}
*/
public function __setCloner(?\Closure $cloner = null)
public function __setCloner(?Closure $cloner = null)
{
}

View File

@@ -79,9 +79,9 @@ class StaticReflectionClassTest extends TestCase
}
/**
* @dataProvider getNotImplementedMethods
*
* @param mixed[] $args
*
* @dataProvider getNotImplementedMethods
*/
public function testNotImplemented(string $method, array $args) : void
{

View File

@@ -69,9 +69,9 @@ class StaticReflectionMethodTest extends TestCase
}
/**
* @dataProvider getNotImplementedMethods
*
* @param mixed[] $args
*
* @dataProvider getNotImplementedMethods
*/
public function testNotImplemented(string $method, array $args) : void
{

View File

@@ -13,13 +13,13 @@ use function substr;
class StaticReflectionParserTest extends DoctrineTestCase
{
/**
* @dataProvider parentClassData
*
* @param bool $classAnnotationOptimize
* @param string $parsedClassName
* @param string $expectedClassName
*
* @return void
*
* @dataProvider parentClassData
*/
public function testParentClass($classAnnotationOptimize, $parsedClassName, $expectedClassName)
{
@@ -89,7 +89,7 @@ class StaticReflectionParserTest extends DoctrineTestCase
{
$testsRoot = substr(__DIR__, 0, -strlen(__NAMESPACE__) - 1);
$paths = [
'Doctrine\\Tests' => [$testsRoot],
'Doctrine\\Tests' => [$testsRoot],
];
$staticReflectionParser = new StaticReflectionParser($class, new Psr0FindFile($paths), $classAnnotationOptimize);
$expectedDocComment = '/**

View File

@@ -60,9 +60,9 @@ class StaticReflectionPropertyTest extends TestCase
}
/**
* @dataProvider getNotImplementedMethods
*
* @param mixed[] $args
*
* @dataProvider getNotImplementedMethods
*/
public function testNotImplemented(string $method, array $args) : void
{

View File

@@ -14,7 +14,7 @@ use function strtr;
error_reporting(E_ALL | E_STRICT);
// register silently failing autoloader
spl_autoload_register(function ($class) {
spl_autoload_register(static function ($class) {
if (strpos($class, 'Doctrine\Tests\\') !== 0) {
return;
}