Permalink
Commits on Jan 2, 2017
Commits on Dec 3, 2016
  1. Merge pull request #752 from doctrine/fix/#751-non-optional-type-hint…

    …ed-parameters-pre-7.1-support
    
    
    Fix #751: non optional type hinted parameters pre 7.1 support
    Ocramius committed on GitHub Dec 3, 2016
  2. Merge pull request #753 from doctrine/fix/#751-non-optional-type-hint…

    …ed-parameters-pre-7.1-support-2.7
    
    
    Fix #751 - backport #752 - proxy generation broken on non-optional parameters with default value
    Ocramius committed on GitHub Dec 3, 2016
  3. #751 adjusting test case: `foo(?string $bar = null, $baz)` is equival…

    …ent to `foo(string $bar = null, $baz)`, so no need to be too strict
    Ocramius committed Dec 3, 2016
  4. #751 checking signature of proxies of PHP 7.1-style nullable paramete…

    …rs with default value, yet not optional (not in last position in the signature)
    Ocramius committed Dec 3, 2016
  5. #751 test asset - PHP 7.1-style nullable parameter with default value…

    …, yet not optional (not in last position in the signature)
    Ocramius committed Dec 3, 2016
  6. #751 using `@requires` instead of a `PHP_VERSION_ID` comparison in te…

    …sts that need skipping
    Ocramius committed Dec 2, 2016
  7. #751 mid-signature parameters with a default parameters should not be…

    … considered nullable by default
    Ocramius committed Dec 2, 2016
  8. #751 fix - using `isDefaultValueAvailable` instead of `isOptional` co…

    …rrectly reports the type of the parameter
    Ocramius committed Dec 2, 2016
  9. #751 test case: nullable non-optional parameters (pre-7.1 style) gene…

    …rate 7.0 incompatible code
    Ocramius committed Dec 2, 2016
  10. #751 nullable non-optional parameters (pre-7.1 style) seem to break t…

    …he proxy generation - test asset to demonstrate that
    Ocramius committed Dec 2, 2016
  11. #751 adjusting test case: `foo(?string $bar = null, $baz)` is equival…

    …ent to `foo(string $bar = null, $baz)`, so no need to be too strict
    Ocramius committed Dec 3, 2016
  12. #751 checking signature of proxies of PHP 7.1-style nullable paramete…

    …rs with default value, yet not optional (not in last position in the signature)
    Ocramius committed Dec 3, 2016
  13. #751 test asset - PHP 7.1-style nullable parameter with default value…

    …, yet not optional (not in last position in the signature)
    Ocramius committed Dec 3, 2016
Commits on Dec 2, 2016
  1. #751 corrected skipped test requirements (`void` requires PHP 7.1)

    Ocramius committed Dec 2, 2016
  2. #751 using `@requires` instead of a `PHP_VERSION_ID` comparison in te…

    …sts that need skipping
    Ocramius committed Dec 2, 2016
  3. #751 mid-signature parameters with a default parameters should not be…

    … considered nullable by default
    Ocramius committed Dec 2, 2016
  4. #751 fix - using `isDefaultValueAvailable` instead of `isOptional` co…

    …rrectly reports the type of the parameter
    Ocramius committed Dec 2, 2016
  5. #751 test case: nullable non-optional parameters (pre-7.1 style) gene…

    …rate 7.0 incompatible code
    Ocramius committed Dec 2, 2016
  6. #751 nullable non-optional parameters (pre-7.1 style) seem to break t…

    …he proxy generation - test asset to demonstrate that
    Ocramius committed Dec 2, 2016
Commits on Nov 30, 2016
  1. Test coverage for issue #717

    Ocramius committed Nov 30, 2016
  2. Don't fail if the cached type is not ClassMetadata

    This is a random error and I didn't found yet how to reproduce it. It may related with Zend OPCache as usuallly is thrown while hot deploy new versions
    
    PHP Fatal error:  Uncaught TypeError: Argument 1 passed to Doctrine\\ORM\\Mapping\\ClassMetadataFactory::wakeupReflection() must implement interface Doctrine\\Common\\Persistence\\Mapping\\ClassMetadata, array given,
    called in /v2/vendor/doctrine/common/lib/Doctrine/Common/Persistence/Mapping/AbstractClassMetadataFactory.php on line 214 and defined in /v2/vendor/doctrine/orm/lib/Doctrine/ORM/Mapping/ClassMetadataFactory.php:718
    Stack trace:
    #0 /v2/vendor/doctrine/common/lib/Doctrine/Common/Persistence/Mapping/AbstractClassMetadataFactory.php(214): Doctrine\\ORM\\Mapping\\ClassMetadataFactory->wakeupReflection(Array, Object(Doctrine\\Common\\Persistence\\Mapping\\RuntimeReflectionService))
    #1 /v2/vendor/doctrine/orm/lib/Doctrine/ORM/EntityManager.php(281): Doctrine\\Common\\Persistence\\Mapping\\AbstractClassMetadataFactory->getMetadataFor('Model\\\\...')
    #2 /v2/vendor/doctrine/orm/lib/Doctrine/ORM/Repository/DefaultRepositoryFactory.php(44): Doctrine\\ORM\\EntityManager->getClassMetadata('Model\\\\...')
    #3 /v2/vendor/doctrine/orm/ in /v2/vendor/doctrine/orm/lib/Doctrine/ORM/Mapping/ClassMetadataFactory.php on line 718
    Maks3w committed with Ocramius May 10, 2016
Commits on Oct 6, 2016
  1. Merge pull request #743 from Majkl578/proxygenerator-fix-interface-ty…

    …pehints
    
    Fix parameter/return type validation for interfaces (introduced in #734)
    Ocramius committed on GitHub Oct 6, 2016
  2. Merge pull request #734 from Majkl578/proxygenerator-php7.1

    ProxyGenerator: Added support for PHP 7.1 features
    Ocramius committed on GitHub Oct 6, 2016
Commits on Oct 5, 2016
  1. ProxyGenerator: Support for PHP 7.1: nullable types, void return type…

    …, iterable pseudotype
    Majkl578 committed Sep 30, 2016
Commits on Sep 30, 2016
  1. Enable PHP 7.1 on Travis

    Majkl578 committed Aug 16, 2016
Commits on Jul 20, 2016
  1. Merge pull request #729 from Slamdunk/debug-patch

    Util\Debug: export parent class private attributes and DateTimeImmutable
    Ocramius committed on GitHub Jul 20, 2016