-
Notifications
You must be signed in to change notification settings - Fork 7
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Kompatibilita s PHP 7.2 #20
Conversation
7e65f7f
to
141786e
Compare
Tohle reálně znamená dropnutí podpory pro Nette <2.4, tzn. bude potřeba bumpnout minimální verze composer.json, odstranit testy proti starším verzím Nette a odstranit kód, který zajišťoval kompatibilitu mezi všemi verzemi Nette (lze se inspirovat, příp. cherry-pickovat z #17 ). |
Spíše dropnutí |
Ale jsem pro drop nižších verzí 👍 |
dd316b9
to
af1c3e7
Compare
af1c3e7
to
83e814b
Compare
Rebasnuto, @xificurk můžeš na to mrknout? |
@xificurk Můžeš mrknout a případně mergnout? |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Skvělá práce, jen prosím ještě dvě drobnosti.
src/Tracy/Panel.php
Outdated
@@ -54,7 +33,7 @@ public function register(WsdlManager $wsdlManager) | |||
{ | |||
$wsdlManager->addWebServiceListener(WebService::EVENT_SUCCESS, array($this, 'logEvent')); | |||
$wsdlManager->addWebServiceListener(WebService::EVENT_FAILURE, array($this, 'logEvent')); | |||
call_user_func(array($this->debuggerClass, 'getBar'))->addPanel($this); | |||
call_user_func([Tracy\Debugger::class, 'getBar'])->addPanel($this); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Použij tu prosím přímé volání statické metody místo call_user_func
src/Tracy/Panel.php
Outdated
@@ -136,7 +115,7 @@ protected function prepareTrace(array $trace) | |||
*/ | |||
protected function dump($object) | |||
{ | |||
return call_user_func(array($this->debuggerClass, 'dump'), $object, TRUE); | |||
return call_user_func([Tracy\Debugger::class, 'dump'], $object, TRUE); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Použij tu prosím přímé volání statické metody místo call_user_func
@xificurk Upravil jsem |
No description provided.