Giter Club home page Giter Club logo

doctrine-stats's People

Contributors

gemorroj avatar gsdevme avatar steevanb avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar

doctrine-stats's Issues

Hydration time

Love this bundle, but having trouble getting hydration time to show. I think I've got everything installed as per the README. Any advice on how to debug?

Strictly in development environment

Nice library! Helped me a ton in my custom cms. I'm wondering if this would be strictly limited to a development environment if I also wanted to include the hydration statistics. Since I'd have to update my composer file and include all these scripts.

Force return type cause TypeError on SingleScalarResult with 1 column

Hello,
First, thank for your job.

Second, i want to repport a problem :) .

When i have Doctrine Query with HYDRATE_SINGLE_SCALAR, and this contain only 1 column (ex. count), code have return an Type error because \Steevanb\DoctrineStats\Doctrine\ORM\Event\OverloadedHydratorTrait::hydrateAll need to return an array.

We can see \Doctrine\ORM\Internal\Hydration\AbstractHydrator::hydrateAll doesn't have a PHP return type.
So i think we should juste remove PHP return type on \Steevanb\DoctrineStats\Doctrine\ORM\Event\OverloadedHydratorTrait::hydrateAll.

Exemple of query :

$repository->createQueryBuilder('t') ->select('count(t.id)') ->getQuery() ->getSingleScalarResult();

And error returned :

TypeError: Return value of Doctrine\ORM\Internal\Hydration\SingleScalarHydrator::hydrateAll() must be of the type array, string returned

I didn't see CODE OF CONDUCT, or Test on your projet, can you tell me how can help you to fix this ?

Regards.

Symfony 5 and PHP 8

Hello and thank you for your work.

Did you plan the Symfony 5 and PHP 8 compatibility ?

Regards.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.