You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
One would expect this to run the main task twice, but on the second handle() we get a class already exists error. Removing the "path" argument fixes this, but we should be using a require_once (or Zephir equivalent).
Details
Phalcon version: 4.0.x
PHP Version: 7.2.13
Operating System: nanobox
The text was updated successfully, but these errors were encountered:
…into npfedwards-phalcon-4.0.x
* 'phalcon-4.0.x' of https://github.com/npfedwards/cphalcon:
Add to changelog and split out tests
Fix for #13724
Update docblocks
Fix most of the issues
PHPCS fixes
Final Cli Console tests
__get() test and Set Argument test working. Still to do HandleCest
Getting there on Cli\Console tests.
* npfedwards-phalcon-4.0.x:
Add to changelog and split out tests
Fix for #13724
Update docblocks
Fix most of the issues
PHPCS fixes
Final Cli Console tests
__get() test and Set Argument test working. Still to do HandleCest
Getting there on Cli\Console tests.
Expected and Actual Behavior
This is very much an edge case and may only ever show up in testing, however, it does appear to be a bug.
Consider the following code (assuming we have the appropriate Main tasks set up)
One would expect this to run the main task twice, but on the second
handle()
we get a class already exists error. Removing the "path" argument fixes this, but we should be using a require_once (or Zephir equivalent).Details
The text was updated successfully, but these errors were encountered: