graphp / graph

GraPHP is the mathematical graph/network library written in PHP.
MIT License
694 stars 74 forks source link

Automated native_function_invocation fixes #184

Closed draco2003 closed 5 years ago

draco2003 commented 5 years ago

Reproduce with: php php-cs-fixer --rules=native_function_invocation fix src --allow-risky=yes (php-cs-fixer from : https://cs.symfony.com/)

Details: https://veewee.github.io/blog/optimizing-php-performance-by-fq-function-calls/

clue commented 5 years ago

@draco2003 Thanks for looking into this, changes LGTM! :+1:

clue commented 5 years ago

By the way, I see you've also filed https://github.com/graphp/algorithms/pull/37, do you also plan to apply this to the other repos in this project? :shipit: