Uploaded image for project: 'Doctrine Common'
  1. Doctrine Common
  2. DCOM-103

Debug::toString issue with swapped parameters

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 2.4
    • Component/s: None
    • Security Level: All
    • Labels:
      None

      Description

      Debug::toString has an issue with swapped parameters:

      method_exists('__toString', $obj)
      

      should be

      method_exists($obj, '__toString')
      

        Activity

        deatheriam Oleg Namaka created issue -
        ocramius Marco Pivetta made changes -
        Field Original Value New Value
        Assignee Benjamin Eberlei [ beberlei ] Marco Pivetta [ ocramius ]
        deatheriam Oleg Namaka made changes -
        Summary Debug::export issue with swapped parameters Debug::toString issue with swapped parameters
        Description Debug::export has an issue with swapped parameters:
        {code}
        method_exists('__toString', $obj)
        {code}

        should be

        {code}
        method_exists($obj, '__toString')
        {code}
        Debug::toString has an issue with swapped parameters:
        {code}
        method_exists('__toString', $obj)
        {code}

        should be

        {code}
        method_exists($obj, '__toString')
        {code}
        Show
        ocramius Marco Pivetta added a comment - Fixed in master @ https://github.com/doctrine/common/commit/301228e3a52d5259a341423daf75b25366895f17
        ocramius Marco Pivetta made changes -
        Status Open [ 1 ] Resolved [ 5 ]
        Resolution Fixed [ 1 ]
        beberlei Benjamin Eberlei made changes -
        Fix Version/s 2.4 [ 10327 ]

        This list may be incomplete, as errors occurred whilst retrieving source from linked applications:

        • Request to http://www.doctrine-project.org/fisheye/ failed: Error in remote call to 'FishEye 0 (http://www.doctrine-project.org/fisheye/)' (http://www.doctrine-project.org/fisheye) [AbstractRestCommand{path='/rest-service-fe/search-v1/crossRepositoryQuery', params={expand=changesets[0:20].revisions[0:29],reviews, query=DCOM-103}, methodType=GET}] : Received status code 503 (Service Temporarily Unavailable)

          People

          • Assignee:
            ocramius Marco Pivetta
            Reporter:
            deatheriam Oleg Namaka
          • Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved: