Closed imakepossible closed 2 years ago
Moving to devtools
Devtools relies on the Phalcon\Version class to check Phalcon's version. This class had some of its methods deprecated and stated it was going to be removed in V5. But the getVersion() method didn't. Thus the class shouldn't have disappeared in V5. This would be a bug in cphalcon, not devtools.
cc: @Jeckerson @niden
The class is under the Support
namespace in v5. We just have to change its instantiation and signature (no longer static methods).
This needs to go back to devtools. Also, the question will be about versioning i.e. devtools for v5
@niden Sorry for the confusion, I thought it was missing functionality being alarmed at seeing the class disappear without first deprecating the class with an alias class. But this would be a major version bump so can't be too picky as breaking changes are expected.
I'll work on implementing this in devtools.
This has been fixed in 4.2.0
i'm having this same issue.
Questions? i have installed Phalcon version 5.0.0alpha3 on window and it is showing in phpinfo and in php --m but when i run 'phalcon' on command line, i am getting error
Describe the bug Fatal error: Uncaught Error: Class 'Phalcon\Version' not found in C:\wamp64\www\phal\vendor\phalcon\devtools\bootstrap\autoload.php:134 Stack trace:
0 C:\wamp64\www\phal\vendor\phalcon\devtools\phalcon(46): require()
phalcon/phalcon#1 {main} thrown in C:\wamp64\www\phal\vendor\phalcon\devtools\bootstrap\autoload.php on line 134