Ecosyste.ms: OpenCollective

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

github.com/doctrine/instantiator


https://github.com/doctrine/instantiator

Implementing `Instantiator\Exception\InvalidArgumentException#fromNonExistingType()` as of specification

135791871645214469295f86de0f39cdea8d0071 authored over 10 years ago by Marco Pivetta <[email protected]>
Interfaces should also be handled by the `Instantiator\Exception\InvalidArgumentException`

eb19875960a1ce0aa42f6c5b07b525785bcd2038 authored over 10 years ago by Marco Pivetta <[email protected]>
Traits should also be handled by the `Instantiator\Exception\InvalidArgumentException`

fb547dc1ac82eb86971c03dbee61250e0ac4ea81 authored over 10 years ago by Marco Pivetta <[email protected]>
Adding simple trait to the assets

cac6b55dfc3f357ec5ef0aacb7d88df315014743 authored over 10 years ago by Marco Pivetta <[email protected]>
Specification for exceptions produced by non-existing classes

e0eae164c4bc2b010b8dcb913e92c0941046801c authored over 10 years ago by Marco Pivetta <[email protected]>
Verifying feasibility of instantiation of classes via unserialization before returning a factory

09b66dd9c90cc51bc3529cace774b3f46efa3fda authored over 10 years ago by Marco Pivetta <[email protected]>
Using the data provider to split tested classes depending on PHP version

bc5570b6548c05b312dee0c28f14c7dad8fd337e authored over 10 years ago by Marco Pivetta <[email protected]>
Splitting tests for PHP 5.4.29 and 5.5.13 into two sections

821b2e179731a36c0a4614874a0fee81333e94ff authored over 10 years ago by Marco Pivetta <[email protected]>
`Instantiator\Exception\InvalidArgumentException#fromSerializationTriggeredException` should not throw, but return

7fd8714cb2e4b963c1b6990b9ce4d85003c2b684 authored over 10 years ago by Marco Pivetta <[email protected]>
Speccing out `Instantiator\Exception\InvalidArgumentException`

ee6a1bb91d10d08f61bdf6a00df4035f412c53f8 authored over 10 years ago by Marco Pivetta <[email protected]>
Introducing `Instantiator\Exception\InvalidArgumentException#fromSerializationTriggeredException()`

7b9a94cdca7ef7a93d456cf8fc6bd372842e61e6 authored over 10 years ago by Marco Pivetta <[email protected]>
Introducing `Instantiator\Exception\InvalidArgumentException`

e80483f6c5dfe9343db392c26c4bbba2db5d4b53 authored over 10 years ago by Marco Pivetta <[email protected]>
Introducing `Instantiator\Exception\ExceptionInterface`

113386d671b683499557692f16a7aa4fe7c4d7b2 authored over 10 years ago by Marco Pivetta <[email protected]>
Removing unused `isInternalClassWithRequiredSerializedString` method

8893a9d4848dc3a3bf76dfdec22cd161f3d87f56 authored over 10 years ago by Marco Pivetta <[email protected]>
Removing abbreviation

48f79e197b568f5a470bf70cf56dcd42be9a8b19 authored over 10 years ago by Marco Pivetta <[email protected]>
Removing unused private `$internalSerializableClasses`

0156c72a8fb24d91f1bbba6ddb2737e81b45ab20 authored over 10 years ago by Marco Pivetta <[email protected]>
Cleaning up code and avoiding hacks using `eval()` for instantiation of internal classes

Also adding constants for the serialization format, as well as comments to clarify about operati...

61f52b9f71b922169bfc73320fedbb541db70827 authored over 10 years ago by Marco Pivetta <[email protected]>
Using the `InstantiatorTestAsset\ArrayObjectAsset` instead of the `PharAsset` in tests

0a9ecd8ea7a229e9c9e0d6f070aecda7e9242c2c authored over 10 years ago by Marco Pivetta <[email protected]>
Introducing an asset extending `ArrayObject`, since `Phar` is internally always un-serialized

787456517a401e49d66779883adfe78c323def58 authored over 10 years ago by Marco Pivetta <[email protected]>
Adding MIT license - fixes #9

d68e3aa8b87f819bde6a06d1fe637117d12d68f0 authored over 10 years ago by Marco Pivetta <[email protected]>
Serializing the default value of a property even when it's not being set

eb95194d8559e59136058ff47b114cb082706f57 authored over 10 years ago by Marco Pivetta <[email protected]>
Revert "Serializing default property values is not required"

This reverts commit dcba7c6e16e2599faa0462d2d399ab3bbba060ff.

Conflicts:
src/Instantiator/Inst...

a522766a496a1e2966b41962fa2609edb5043a6f authored over 10 years ago by Marco Pivetta <[email protected]>
Revert "PHP 5.6 also needs overriding of the serialization format for internal classes"

This reverts commit 1892d737204a60d08148abfedd604870b41fbb1a.

b22e8d45c877aeb344c50d184cd5e00d7e0ab296 authored over 10 years ago by Marco Pivetta <[email protected]>
PHP 5.6 also needs overriding of the serialization format for internal classes

1892d737204a60d08148abfedd604870b41fbb1a authored over 10 years ago by Marco Pivetta <[email protected]>
PHP 5.4.29 and PHP 5.5.13 have broken un-serialization of classes that extend internal classes. Must extend/mock at runtime.

37583ae508d6004ad65c4136dfc8470c1186a1c3 authored over 10 years ago by Marco Pivetta <[email protected]>
Allowing instantiation of internal classes that require particular serialization formats by generating mocks on the fly

74c1dbeba20b503eb14acd314da48981264d44f6 authored over 10 years ago by Marco Pivetta <[email protected]>
`unserialize` is not supposed to be called on `SerializableArrayObjectAsset`

bfa72add7ce66c44cd42e823169d3c09dccbefbc authored over 10 years ago by Marco Pivetta <[email protected]>
`unserialize` is not supposed to be called on simple serializable assets

d0533c36dc1e3ec30b96edcf83ed5edd80b3d175 authored over 10 years ago by Marco Pivetta <[email protected]>
`PharException` should be un-serializable

a62aebc161205de5a91bf44347e0ffa6fc252b78 authored over 10 years ago by Marco Pivetta <[email protected]>
Adding a `PharExceptionAsset` that is actually used to verify that internal classes can be extended and un-serialized

25daeb698ba37ad0bc9c2ee31287e7bebaf3eaf2 authored over 10 years ago by Marco Pivetta <[email protected]>
PHP 5.6.0-rc1 seems to work cleanly with the serialization hacks

60f97456c2efcd601bee864c1a5de0df1f18139f authored over 10 years ago by Marco Pivetta <[email protected]>
Completing note that was left incomplete at Ocramius/Instantiator@5830a162d16383047d0f07d35f97f37e6b172aa2 as per @stof's review

86e562799ceb87316fcb70e151551f47dd215a0f authored over 10 years ago by Marco Pivetta <[email protected]>
Changed old reference to `Instantiator` in CONTRIBUTING.md

cc754c2289ffd4483c319f6ed6ee88ce21676f64 authored over 10 years ago by Marco Pivetta <[email protected]>
Adding notes about `Instantiator\Instantiator#buildFactory()` being public for 5.3.* compat

5830a162d16383047d0f07d35f97f37e6b172aa2 authored over 10 years ago by Marco Pivetta <[email protected]>
Merge pull request #5 from Ocramius/feature/#4-static-cached-instances-map

#4 - static cached instances map

7e9bbf6fcbeef4a95d5a907a03d67b71f0c5cd08 authored over 10 years ago by Marco Pivetta <[email protected]>
#4 - splitting instantiation of the lazy maps into own methods

4bf0f60834225fcb4f0c5f03c99ca2d27af868ec authored over 10 years ago by Marco Pivetta <[email protected]>
#4 - removing references to class warmup

85911c87f27b25e37958cf4e8ac50ad6c36577b6 authored over 10 years ago by Marco Pivetta <[email protected]>
#4 - testing for warmup or not is now useless due to the static cache in the instantiator

29d12d5e03cbcf4e10c650e8774f1a4b3880cd11 authored over 10 years ago by Marco Pivetta <[email protected]>
#4 - Making cached instantiators/cloneables logic cacheable

6f0551e99d36c051d11a21c9aab29172bd5a6a09 authored over 10 years ago by Marco Pivetta <[email protected]>
Splitting check of the PHP version to its own method

f0cedfc017076772894fa5f52e167c7935c097af authored over 10 years ago by Marco Pivetta <[email protected]>
Splitting fetching of the serialization format in its own method

fb64343f7b085a8c09f9bb86178e19c20b136a01 authored over 10 years ago by Marco Pivetta <[email protected]>
Merge pull request #3 from Ocramius/feature/#2-lazy-map-based-instantiation

#2 lazy map based instantiation

56df0387f77869764b23fc67727e9ff2f7d48f5e authored over 10 years ago by Marco Pivetta <[email protected]>
#2 - fixed type-hint on `buildFactory`

8eae560f9c4fb9ba1531774e966fdbf4acfa3ebe authored over 10 years ago by Marco Pivetta <[email protected]>
Fixed performance events groups

99a81fd3f3f4b88084681e452a8105f617a256c5 authored over 10 years ago by Marco Pivetta <[email protected]>
Instantiator now implements the `InstantiatorInterface`

d96416b0fce9b37781ad56a5673fdadb0bae5562 authored over 10 years ago by Marco Pivetta <[email protected]>
Making the instantiator final - no need for extending it or customizing it

f99a25a2f7431b068011282012244b71f18b79a0 authored over 10 years ago by Marco Pivetta <[email protected]>
Adding base instantiator interface to allow userland implementations of the instantiator logic

98ec336fca6c2d8fdc6e4f5160a641bd255f1151 authored over 10 years ago by Marco Pivetta <[email protected]>
#2 - Performance tests for un-cloneable assets

77ee25513b406149008a53e3e481c489ed8dc43b authored over 10 years ago by Marco Pivetta <[email protected]>
#2 - Experimental implementation that uses `LazyMap` to instantiate objects instead of an array-cache

6ada6ba45b9faa8f95c84a009406f85c06fb9488 authored over 10 years ago by Marco Pivetta <[email protected]>
#2 - requiring LazyMap

f8d28b094a78a9ba902a5cb3b5537673b2fc85d2 authored over 10 years ago by Marco Pivetta <[email protected]>
Simpler/more clear PHP version checks

8707fb3cbfaeb26c30de24e6b8cad31d7762415a authored over 10 years ago by Marco Pivetta <[email protected]>
Segregating instance creation logic in own method

60809b7f94d17ee53b5e4e3098c7b5a6bd2d7461 authored over 10 years ago by Marco Pivetta <[email protected]>
Performance optimization: cloning instances when possible

d860fe3f102ae351ca4383488dc93cbd51941e76 authored over 10 years ago by Marco Pivetta <[email protected]>
Verifying that the UnCloneable asset's `__invoke()` method is never called

d5f49f60b0703f80ec7a7f95cc077b0131897d5f authored over 10 years ago by Marco Pivetta <[email protected]>
Removed unused imports, fixed description

3e35e28de3340310b84cd6eaa0cb69136aeb1432 authored over 10 years ago by Marco Pivetta <[email protected]>
Adding test asset to verify that cloning is not called when not allowed

4dadbf183cee38440c0d2f168b38754fa8730b59 authored over 10 years ago by Marco Pivetta <[email protected]>
Project headline changed

d74a3cbace80e25ecd459728e703ab123c0fe89d authored over 10 years ago by Marco Pivetta <[email protected]>
Allowing failures on PHP 5.6 for now

575ee85b457b967fd577924698298faf482075e8 authored over 10 years ago by Marco Pivetta <[email protected]>
Wrong comparison operators used in `.travis.yml`

169aad68ec1a011ffbeb349e3f9ce2b298a0d711 authored over 10 years ago by Marco Pivetta <[email protected]>
Installer should pick up dev autoloader also in 5.3.3

00b0e7b70a4a072110cf51889fea657cd47e07c3 authored over 10 years ago by Marco Pivetta <[email protected]>
Skipping PHPCS and athletic for PHP 5.3.3

a33ec9b276a4f409352c47d2751abb8b767d3c75 authored over 10 years ago by Marco Pivetta <[email protected]>
Installation should skip dev dependencies for 5.3.3

e3c28a61b552bfb698c8c88e30465998723053fc authored over 10 years ago by Marco Pivetta <[email protected]>
Adding basic README with some information about the repository

01a6505adf922ad9cfe08d8de8469caba37f37ce authored over 10 years ago by Marco Pivetta <[email protected]>
Fixed name of design rules to `Instantiator rules`

d7f37408f174c5a068ca6e3413392938f727a4fd authored over 10 years ago by Marco Pivetta <[email protected]>
Adding default PHPMD design rules from ProxyManager

79ebc5f4b1ce1cc661606db79e782def7161a896 authored over 10 years ago by Marco Pivetta <[email protected]>
CS (`use` statements spacing)

00168262e5dc69b5eb3c288987848b3619a57b3b authored over 10 years ago by Marco Pivetta <[email protected]>
Serializing default property values is not required

dcba7c6e16e2599faa0462d2d399ab3bbba060ff authored over 10 years ago by Marco Pivetta <[email protected]>
Passing default values in serialized strings

5554094a3361c75e69d9b5d3e948ebdaa0eddf5b authored over 10 years ago by Marco Pivetta <[email protected]>
Adding athletic run to test runner

84224c7cd3bed730b7c7f39468983ab70203bcc4 authored over 10 years ago by Marco Pivetta <[email protected]>
Base performance test for the different instantiable class types

314489394a417e17298186ef16805eb716b09c8c authored over 10 years ago by Marco Pivetta <[email protected]>
Requiring athletic for performance tests setup

ee07cf4528c523075caa99d549e5dee501c7b69a authored over 10 years ago by Marco Pivetta <[email protected]>
Using `newInstanceWithoutConstructor` where possible, caching instantiators locally

f5f0f680d4d41a1e853a3a74a6b5f8a816ea9e52 authored over 10 years ago by Marco Pivetta <[email protected]>
Verifying that the instantiator produces different (equivalent) instances on subsequent calls

01f8a9a5919bf3c9f2a0f34609fc0161dabc16de authored over 10 years ago by Marco Pivetta <[email protected]>
Verifying that internal test class that is serializable can be instantiated

a3e670e52999eaded404e99a80dffc1e72ce2e7c authored over 10 years ago by Marco Pivetta <[email protected]>
Adding a serializable test asset that also extends an internal PHP class

dfc9bbcb1aab4e3543e14c8214a21f2496e6cbaa authored over 10 years ago by Marco Pivetta <[email protected]>
Renamed `PharExtended` -> `PharAsset`

4e2c9deb3d9914d21344dc4d8d1ea68b2c224508 authored over 10 years ago by Marco Pivetta <[email protected]>
Verifying that the extended Phar class can be instantiated

a23751a0fcc1e54f5e27e6281422f5122417551a authored over 10 years ago by Marco Pivetta <[email protected]>
Classes extending internal classes should be instantiable

491bd52957c9dc5ba22f7608f3bf7333ba0ea6c2 authored over 10 years ago by Marco Pivetta <[email protected]>
Constructor should not be called

e387c2e734b6f987871597b52a2d516485ce6234 authored over 10 years ago by Marco Pivetta <[email protected]>
Verifying instantiation of the `SimpleSerializableAsset`

6fdb8fe2ab15b7b5cfc6165e8b7d7fe36d345725 authored over 10 years ago by Marco Pivetta <[email protected]>
Adding simple serializable asset

de6216c614d1905df6bc6264150fe95d47855d22 authored over 10 years ago by Marco Pivetta <[email protected]>
`ArrayObject` should be instantiable

e17a0028fa917dca637098323ab01a078772e703 authored over 10 years ago by Marco Pivetta <[email protected]>
Naive implementation of the instantiator logic

8aff0cb6e01fe722fed4aac1bba908ffb0c83e5c authored over 10 years ago by Marco Pivetta <[email protected]>
Base tests for the `Instantiator` class

35f1b2eccff023867cae0443c0bb4cc9ddb2e5c2 authored over 10 years ago by Marco Pivetta <[email protected]>
Base `.gitignore` definitions

71ad9f02e1416498a9ce34a3d9b98d9a7587040f authored over 10 years ago by Marco Pivetta <[email protected]>
Fixed dependency to PHPCS

6472459f39cf9235f0bc7e60f2b153dcd7baed76 authored over 10 years ago by Marco Pivetta <[email protected]>
Using dev-dependency phpunit

d7d1a03fbb5ae3c2877799c9c236dbad8535ef5c authored over 10 years ago by Marco Pivetta <[email protected]>
Removing non-existing dirs

008b388e278d397cca8cc59847492b8fd3269f90 authored over 10 years ago by Marco Pivetta <[email protected]>
Base scrutinizer-ci configuration

a62b8d46e0cfe19437bd29f52b30851bb74bf680 authored over 10 years ago by Marco Pivetta <[email protected]>
Not expecting hhvm to fail

6269bab1243d84f36371e5643afd30dca7b3edb4 authored over 10 years ago by Marco Pivetta <[email protected]>
Adding base `.travis.yml`

4d7c3258571215a4c962a35ae49ef9f22c66f431 authored over 10 years ago by Marco Pivetta <[email protected]>
Porting travis installer from `ProxyManager`

add1c6d0ef669931d8b77e8005391fc29e9ca4f4 authored over 10 years ago by Marco Pivetta <[email protected]>
Adding instantiator test suite configuration

f92ef55d4d7080730e167dec29ae67f039597abb authored over 10 years ago by Marco Pivetta <[email protected]>
Porting contribution notes from `ProxyManager`

82c7b039d3e7110b26962c71fc4f47829813555a authored over 10 years ago by Marco Pivetta <[email protected]>
Importing base `composer.json` and project name

771e4ffae7203b4b44a6fff1610fe59f85d3752b authored over 10 years ago by Marco Pivetta <[email protected]>