<?php
namespace TYPO3\FLOW3\Tests\Functional\Reflection\Fixtures;

/*                                                                        *
 * This script belongs to the FLOW3 framework.                            *
 *                                                                        *
 * It is free software; you can redistribute it and/or modify it under    *
 * the terms of the GNU Lesser General Public License, either version 3   *
 * of the License, or (at your option) any later version.                 *
 *                                                                        *
 * The TYPO3 project - inspiring people to share!                         *
 *                                                                        */


/**
 * A fixture for testing that doctrine proxies can never be reflected.
 *
 * See issue http://forge.typo3.org/issues/29449 for details.
 */
class BrokenClassImplementingDoctrineProxy {
	// This class just exists to satisfy the class loader -- else the compilation
	// run during functional tests will fail. It is NOT used for the testcase.
}


namespace TYPO3\FLOW3\Persistence\Doctrine\Proxies;

/**
 * This is our fake "doctrine proxy class"; which is in the same namespace
 * as all the other doctrine proxies. Trying to reflect this class should
 * result in an exception.
 *
 */
class FakePackageDomainModelBrokenClassProxy implements \Doctrine\ORM\Proxy\Proxy {

}
?>
<?php
namespace TYPO3\FLOW3\Tests\Functional\Reflection\Fixtures;

/*                                                                        *
 * This script belongs to the FLOW3 framework.                            *
 *                                                                        *
 * It is free software; you can redistribute it and/or modify it under    *
 * the terms of the GNU Lesser General Public License, either version 3   *
 * of the License, or (at your option) any later version.                 *
 *                                                                        *
 * The TYPO3 project - inspiring people to share!                         *
 *                                                                        */


/**
 * A fixture for testing that doctrine proxies can never be reflected.
 *
 * See issue http://forge.typo3.org/issues/29449 for details.
 */
class BrokenClassImplementingDoctrineProxy {
	// This class just exists to satisfy the class loader -- else the compilation
	// run during functional tests will fail, as it expects to find a class named
	// like the file. It is NOT used for the testcase.
}


namespace TYPO3\FLOW3\Persistence\Doctrine\Proxies;

/**
 * This is our fake "doctrine proxy class"; which is in the same namespace
 * as all the other doctrine proxies. Trying to reflect this class should
 * result in an exception.
 *
 */
abstract class FakePackageDomainModelBrokenClassProxy implements \Doctrine\ORM\Proxy\Proxy {

}
?>
Adjust test fixture to Doctrine.ORM 2.2.0
[TASK] Adjust test fixture to Doctrine.ORM 2.2.0

The proxy interface in Common is now used, the fixture needs to
be adjusted.

Change-Id: I0ed772ad4d04cf80679f7f726698c9278812b2d9
Related: #32608
Releases: 1.1
Original-Commit-Hash: c2c171d440e60457cbefc8e11ec83bc41b4fc7f9
