Recently I’ve downloaded Zend Studio 7 Final to try new features they promised for PHP 5.3. OMG.It seems I caught early alpha, not final by accident…
- CodeAssist doesn’t show completion variants for variables
- PHPUnit always tries to generate test files near testing .php file (but it seems, it’s a general behavior which I don’t like)
- PHPUnit cannot handle namespaced classes! This is the code it generated for one of my classes:
<?php require_once 'System\Core\Autoload\StructuredAutoloader.php'; require_once 'PHPUnit\Framework\TestCase.php'; /** * Core\Autoload test case. */ class AutoloadTest extends PHPUnit_Framework_TestCase { /** * @var Core\Autoload */ private $Core \Autoload; /** * Prepares the environment before running a test. */ protected function setUp() { parent::setUp(); // TODO Auto-generated AutoloadTest::setUp() $this->Core\Autoload = new Core\Autoload(/* parameters */); } /** * Cleans up the environment after running a test. */ protected function tearDown() { // TODO Auto-generated AutoloadTest::tearDown() $this->Core\Autoload = null; parent::tearDown(); } /** * Constructs the test case. */ public function __construct() { // TODO Auto-generated constructor } }
I am publishing it as-is. The whole code is broken as if Zend Studio doesn’t know about 5.3 namespacing at all! My god… And this is a final release… No, better I will go PDT… Why paying money for non-working things?
- After saving a file it sometimes drops “An error has occurred. See error log for more details. Widget is disposed” message.
- Analyzer hung on analyzing Smarty.php class file from 2.6.x.
require_once ‘System\Core\Autoload\StructuredAutoloader.php’;
require_once ‘PHPUnit\Framework\TestCase.php’;
/**
* Core\Autoload test case.
*/
class AutoloadTest extends PHPUnit_Framework_TestCase
{
/**
* @var Core\Autoload
*/
private $Core
\Autoload;
/**
* Prepares the environment before running a test.
*/
protected function setUp()
{
parent::setUp();
// TODO Auto-generated AutoloadTest::setUp()
$this->Core\Autoload = new Core\Autoload(/* parameters */);
}
/**
* Cleans up the environment after running a test.
*/
protected function tearDown()
{
// TODO Auto-generated AutoloadTest::tearDown()
$this->Core\Autoload = null;
parent::tearDown();
}
/**
* Constructs the test case.
*/
public function __construct()
{
// TODO Auto-generated constructor
}
}




