Ecosyste.ms: OpenCollective

An open API service for software projects hosted on Open Collective.

github.com/voku/BetterReflection

:crystal_ball: Better Reflection is a reflection API that aims to improve and provide more features than PHP's built-in reflection API.
https://github.com/voku/BetterReflection

Comments from @ocramius on PR

b9d9cc440339bfa36133c5e18c219be422f4f87b authored over 9 years ago
Discover return types for functions and methods

6743a2e2bc809f5549c65e16abd4c4e11acde525 authored over 9 years ago
Merge pull request #102 from Roave/compile-defined-constants

Evaluate the value of already-existing constants

9aad671c0c1d235f0e3c6e42c4f528f1b45939f0 authored over 9 years ago
Use uniqid for testing the consts

e57e1c24741b5cb070e244dcf6f9676d65064514 authored over 9 years ago
Evaluate the value of already-existing constants

48f2dd2feeba40b743122091584e6057221062c5 authored over 9 years ago
Merge pull request #95 from Roave/improved-node-compilation-2

Improved node compilation in CompileNodeToValue (compile solution)

49cba6c13df3528b250e26f7d8a7dd726792a838 authored over 9 years ago
Test for static:: syntax

25b7555ed8f05411feb1f78946e134cb5ca50419 authored over 9 years ago
Also support use of static:: and self:: (but resolves to the same class)

ac538f167cae1e6572b028165fe4a17c22a5c711 authored over 9 years ago
Factor out into private methods

ab1bac362926d0c7468204f104c4aacb24955633 authored over 9 years ago
Added CompilerContext which enables resolution of self::FOOCONST

b96aaedb54b28a154bc9a0d55e71b3d69ced77e9 authored over 9 years ago
Added testcase for class constant resolution

112caf53f37d3b3ee3252981f11f5944a76a2903 authored over 9 years ago
Reflector is now a required parameter for CompileNodeToValue

ac4a41e6c3c2440b852a47f0034af7649347a156 authored over 9 years ago
Added some binary operations

507a02a1ca913f8e789a53bd00e06779a198e588 authored over 9 years ago
Added a few missing tests

47de68e189b6ee7247efc713615b9cfe0ee3efc5 authored over 9 years ago
Implemented many binary operators in compilation

267ddafe205adebf988bbcc66f9f6c3de942cba0 authored over 9 years ago
Prevent exception from bubbling up if we already know defaultValue is not compilable

1c6291fc8ee91d6e561602cc4f583269a6ddfb2b authored over 9 years ago
Merge pull request #96 from Roave/add-reflectionparameter-getclass-method

Added ReflectionParameter->getClass() method

9d8a93dce66f586b8d6c9f1e6ebf928e3db8a14f authored over 9 years ago
Inject reflectors everywhere

807b534666959034c27ae5505dca972b9bffff3c authored over 9 years ago
Added ReflectionParameter->getClass() method

20af68c07ad7c253425ba1cefe0026499fd8bc3c authored over 9 years ago
Merge pull request #93 from Roave/internal-classes-default-values

Added some example stubs for internal classes

92ad1d1fc98cdfc539c4c24508de7f8fb2a47c51 authored over 9 years ago
Merge pull request #92 from Roave/reflectionobject

ReflectionObject

2ef0531de5cdddc06b863f87d2e7ca15f9d9f85d authored over 9 years ago
Factored out the exception

3a4b4d2150b43e8a98f0aed44f56d8f87c9e92d5 authored over 9 years ago
Refactoring from comments in PR #93

d7728ad502d072100f795f466c5fe6ffbd8533a3 authored over 9 years ago
Added some comments to clarify intent of test

c92911170b7e0188e944af167f199950214a967f authored over 9 years ago
More phpdoc including @todo to sort __toString stuff

f2388174c7ce055c412c5f68d144208ae2734342 authored over 9 years ago
Added phpdoc

00f0353b4900db3e0da8b4d859663eaf1994dc72 authored over 9 years ago
Updates from PR comments

d92185712fc115538d220926e623cbcc93f924ab authored over 9 years ago
Added some example stubs for internal classes

47e6aaf51208c2dc89a28c6242512015613e4106 authored over 9 years ago
Implemented ::export and corrected format of export

b0504b149104fc54d0a7d8f52fe29614758cc6b9 authored over 9 years ago
Made test work better

f3c003c4b335890ccafd99c1f92ad3846bb0a2c6 authored over 9 years ago
Corrected parameter name in EvaledLocatedSource

312ef3a8c9acc8ac1c07e2e248f00dbb2972c29b authored over 9 years ago
Added failing unit test to check for runtime declared properties for ReflectionObject

111da4e4fc19bdef24a31f475cee8a879c88cfed authored over 9 years ago
Added ability to specify if parameter was declared at compile-time or not

6345367ed89d3d81b56f7041aba267bde3baa49e authored over 9 years ago
Ensure createFromNode and createFromName is not possible on ReflectionObject

9d973110b16119394d4dc50f52e1dfa3dd6856de authored over 9 years ago
Remove stuff from ReflectionClass and only do ReflectionObject runtime stuff in ReflectionObject to contain nicer

56eeca492b59679126c5ceb7c558726ae3e2984c authored over 9 years ago
Basic ReflectionObject implementation

c5f651036c2b454146007d59ac173aca7ce63c4e authored over 9 years ago
Implement ReflectionObject coolness

09b119c137eb9ec7b9f6fcad1f7cae9e12ac6e84 authored over 9 years ago
Merge pull request #91 from Roave/implementing-reflector-interface

Implementing reflector interface

3b28cc655b4df8e4524030f30bceded68051d038 authored over 9 years ago
Corrected string format assertions

913151b476adcc1df197d0b3def602801ad4426f authored over 9 years ago
Added implements and extends bits to __toString()

59816adeeef35dc3e04f731e63db8bfd4e7f762a authored over 9 years ago
Add test coverage for ReflectionClass::export

e3c588477b6f8a0c442a24f0eeda3de1f46fa36e authored over 9 years ago
Ensure ReflectionClass implements \Reflector

4ff5878f0aaaa4c966099451bfd60e465772231d authored over 9 years ago
ReflectionClass now implements toString and Reflector

cd03ee823e5686133b90a97f1511eaab98caea93 authored over 9 years ago
Import missing class in ReflectionFunctionAbstractTest

032cd8f59a4272a062bb07ba004ccab436eb1497 authored over 9 years ago
Added ReflectionFunction::-__toString

4e0c684536cdfce7789e70e222eecb6697d8e502 authored over 9 years ago
ReflectionFunction and ReflectionMethod now implement \Reflector

11800e85f8c37c537e514f06cb929e49202d397c authored over 9 years ago
Added ReflectionMethod::__toString and completed ReflectionParameter::__toString implementations

d134f83170ce32d1a5511eede7892bd1ad10fdaa authored over 9 years ago
Added tests to ensure Reflection* classes implement \Reflector

7a5914e15fdfc53b0670f1262d0475a7336984c4 authored over 9 years ago
Added ReflectionMethod::getVisibilityAsString private method

08a34d56dc228afa50d40248dcfc2ad9b0457593 authored over 9 years ago
Added ReflectionFunctionAbstract::export() static method

38871be2f495871976f5a33a6da23316b55061a6 authored over 9 years ago
Merge pull request #90 from Roave/increase-coverage-again

Increase coverage again

615246ab42f6a4400a1750a39172fbd3f3bce9f2 authored over 9 years ago
Cover LocatedSource isInternal and PhpInternalSourceLocator uncovered paths

a7c96b7a8b2684a8220c2e369ecbeeaab1aa6b61 authored over 9 years ago
Increae coverage on InternalLocatedSource for isInternal method

e56491985345ce286f0639e05cf21ef774e933c7 authored over 9 years ago
Added coverage for EvaledCodeSourceLocator

6527dace183d4238d99be1cdea66bd7423cc464e authored over 9 years ago
Added coverage for ReflectionClass

66ad6a5e645ebafbefd5dce1ff4f46e7eaa2bf59 authored over 9 years ago
Merge pull request #86 from Roave/update-docs

Updated documentation to reflect recent changes

a529a9ead87dbbf834a6a4a78112006d9f608521 authored over 9 years ago
Merge pull request #88 from Roave/lazy-reflectionmethod

Implemented lazy style for ReflectionMethod

4c21abc6cfe93c3ab40a260d45c4f9ed47c6bcca authored over 9 years ago
Merge pull request #89 from Roave/lazy-reflectionclass

Lazy ReflectionClass

26740e75a7a171d4b0c7ee7f944e0ffc5d1e3115 authored over 9 years ago
Added test to cover ReflectionProperty->getDocComment when no comment attribute exists on the node

e95dc87a6df0e3dff5de3c2252f50fcd46e9a3b7 authored over 9 years ago
Test ReflectionFunctionAbstract->getLocatedSource

e1f616da3d8eab22fc99a365f80e4454b5b5995f authored over 9 years ago
Cache methods locally to avoid re-processing the AST

068165e8f9d1a7c0c02717410a0d414c0ac70592 authored over 9 years ago
Changed isset checks to null checks

d2e56fd6566a452abe50a8942d13d06a35c790ad authored over 9 years ago
Cache properties locally to avoid re-processing the AST

8b53dde5ec71a7ce3b350530ddcd77c728aeae59 authored over 9 years ago
Cache constants locally to avoid re-processing the AST

c80db495b95ce723191b45000e0a6dd402b57e5f authored over 9 years ago
Implemented initial lazy loading of ReflectionClass

f92ad40f854c2cf3892d1ca32f892b6b6e5a8193 authored over 9 years ago
Implemented lazy style for ReflectionMethod

0d39aeda844cb3a0fd032a8901ecb6cb0e8f5c01 authored over 9 years ago
Updated documentation to reflect recent changes

e9dd9d3069b796706d23b5f27461543350586177 authored over 9 years ago
Merge pull request #83 from Roave/lazy-reflectionparameter

Refactored ReflectionParameter to be lazy

bbc457868f6f5e4e385afa2d0443d98a59db6fdd authored over 9 years ago
Merge pull request #81 from Roave/implement-method-getprototype

Implement ReflectionMethod::getPrototype()

16b16de35a58df98e2f3fc62d55744cbdadf2179 authored over 9 years ago
Merge pull request #84 from Roave/lazy-reflectionfunctionabstract

Refactored ReflectionFunctionAbstract to be super lazy

d70898c4e0f82b790d67443ba55635ddfb9b5d2a authored over 9 years ago
Merge pull request #82 from Roave/lazy-reflectionproperty

Made ReflectionProperty load lazily

887d1277beb2a4a723a77c12ffabd144066ce379 authored over 9 years ago
Merge pull request #80 from Roave/internal-class-reflections

Internal class reflections

a5bcb25a88ec81a64839fa8207d8d80efa6592ba authored over 9 years ago
Merge pull request #85 from Roave/internal-class-reflections-runtime-stubbing

Internal class reflections runtime stubbing

12c091a406be529f89fb39e0c592fecec0a7c031 authored over 9 years ago
Switching to the composite source locator by default, for more awesomeness

efbc9fff47ebb614b3196beb5fdce5c42dbe2779 authored over 9 years ago
By default, `ReflectionClass` should be able to deal with internal and eval'd classes

3989ea0f06cd699e295a277f59778ee343e87205 authored over 9 years ago
Correcting return type hint (file may not exist)

ed1318519e6bd6df4c77f0fed3e61f01d6c1eb41 authored over 9 years ago
Verifying trait/interface evaluation

0c4270a9bea2ba6c603668c711d98d27f777d538 authored over 9 years ago
Stricter evaluation of eval'd code output

30036c893f2d3916cefbfa86834d8d618bc9b9ff authored over 9 years ago
Testing evaluation of eval()'d source classes

745408b98bad0630e0f96987a54c864028167d80 authored over 9 years ago
Basic `EvaledCodeSourceLocator` implementation

9e56d5fd2f337d302359fa8f3584c8cfb35c6973 authored over 9 years ago
Correcting SUT class

b92828d0abc1cb17f74a298164c43ff84ed37edc authored over 9 years ago
EvaledLocatedSource implementation and tests

580010971018f994f9582201eb73fb51ffbeb7a8 authored over 9 years ago
`isEvaled` base implementation, removing clutter that isn't needed

9625c9841139d5a49e534c7100c748e36aa53f33 authored over 9 years ago
`LocatedSource#isEvaled()` specification

b29dd2ade9dd517f5ecd0e40b1b1509eedae6cd8 authored over 9 years ago
The internal source locator should retrieve `InternalLocatedSource` instances when producing a result

08b7da5d3a47ac45327b5767038cfdf68ac2bb9a authored over 9 years ago
Internal sources shalt be internal sources forever

fff7c1844d6687a35f292c15ea7fa14056fef454 authored over 9 years ago
Removing useless hint

d297cbba25dbe276793cad46ac303c115700138a authored over 9 years ago
Accurately testing the internal source locator - all internal classes should be reflectable and produce an InternalLocatedSource

c8c57582840de06c08ec3fff0f5e892132bc1852 authored over 9 years ago
Implementing `EvaledLocatedSource`

eaf6712eea552f55188867a6281ba35151946661 authored over 9 years ago
Specification for `InternalLocatedSource`

eaeb8d704d6e31db9cdf383c43bcbbb0a3e407dc authored over 9 years ago
Refactored ReflectionFunctionAbstract to be super lazy

4257c8dcb7ddc24e3ab5e4143e0064da85d6da52 authored over 9 years ago
Initial implementation of a source locator capable of stubbing internals code

f429f195a53ded26801dd8a9ff3b983b6f737ddf authored over 9 years ago
Initial testing: internal reflector MUST support internal classes reflection

ed435480dae83030c6e9fe5d6ccb99c5474d7d3f authored over 9 years ago
Upgrading to PHP7-compatible parser by @Nikic because #yolo

4439ef4adb3bd22c6327618d9477c6ea4b9a5560 authored over 9 years ago
Refactored ReflectionParameter to be so lazy

c6fccc5582255eb2f26edd2c13277a91bac81f0e authored over 9 years ago
Handling negative values in `CompileNodeToValue`

336d9aa95e703907dd8e2f17ea8d3947796ed1f6 authored over 9 years ago
CompileNodeToValue should consider negative values as well

c8f2f54a42c60eccda82110e0d3590bf80940061 authored over 9 years ago
Documenting constructor parameters

73ac4bd40ce505c6dbe4f4248ecfc1117a541ecc authored over 9 years ago
Made ReflectionProperty load lazily

d53bd456e38a0a96afd2bdfa5d68e99f143f576b authored over 9 years ago
Moar testings

0859bd081c5e407b5339bb55b72fe879e032d010 authored over 9 years ago