When creating proxy classes, we do not copy the docblock, but generate one, using the parsed annotations of the original class. Thus we need to render them out to string form. This is what we currently use for that purpose...
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
declare(ENCODING = 'utf-8'); | |
namespace F3\FLOW3\Log\Backend; | |
/* * | |
* 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 as published by the * | |
* Free Software Foundation, either version 3 of the License, or (at your * |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
* PHP 5.3.3, APC 3.1.5-dev, igbinary 1.0.2 | |
* All data shown is from the second run. | |
* Apache has been restarted for each sequence | |
* Caches were cleared and primed for each sequence | |
sudo /opt/local/etc/LaunchDaemons/org.macports.apache2/apache2.wrapper restart | |
sudo rm -rf Data/Temporary/* | |
curl http://flow3.kmac/flow3/welcome | |
siege -c 5 -t 1m http://flow3.kmac/flow3/welcome > /dev/null | |
siege -c 5 -t 1m http://flow3.kmac/flow3/welcome |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?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. * | |
* * |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
karsten@kmac:apc $ php -v | |
PHP 5.3.8 (cli) (built: Oct 15 2011 19:48:39) | |
Copyright (c) 1997-2011 The PHP Group | |
Zend Engine v2.3.0, Copyright (c) 1998-2011 Zend Technologies | |
with Xdebug v2.2.0-dev, Copyright (c) 2002-2011, by Derick Rethans | |
karsten@kmac:apc $ php ~/phpt55156.php | |
string(11) "/** test */" | |
string(12) "/** test1 */" | |
string(12) "/** test2 */" | |
bool(false) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
diff --git a/Classes/Persistence/Doctrine/Mapping/Driver/Flow3AnnotationDriver.php b/Classes/Persistence/Doctrine/Mapping/Driver/Flow3AnnotationDriver.php | |
index f91669a..cea545a 100644 | |
--- a/Classes/Persistence/Doctrine/Mapping/Driver/Flow3AnnotationDriver.php | |
+++ b/Classes/Persistence/Doctrine/Mapping/Driver/Flow3AnnotationDriver.php | |
@@ -144,16 +144,10 @@ class Flow3AnnotationDriver implements \Doctrine\ORM\Mapping\Driver\Driver, \TYP | |
} | |
} | |
} | |
- | |
if (!isset($primaryTable['name'])) { |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
From cf0a2c479c8da4cc039215299dfe6fdf2a68432a Mon Sep 17 00:00:00 2001 | |
From: Karsten Dambekalns <karsten@typo3.org> | |
Date: Thu, 3 May 2012 16:07:42 +0200 | |
Subject: [PATCH 1/3] [TASK] Apply migration TYPO3.FLOW3-201201261636 | |
This commit contains the result of applying migration | |
TYPO3.FLOW3-201201261636. | |
to this package. | |
Change-Id: I6db86b7c776208907079a43218991619fe9d097b |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
class AddGroupsSignedCla < ActiveRecord::Migration | |
def self.up | |
add_column :groups, :signed_cla, :boolean | |
end | |
def self.down | |
remove_column :groups, :signed_cla | |
end | |
end |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
$className = 'FLOW3_Foo_Bar_Original'; | |
for ($i = 0 ; $i < 1000000; $i++) { | |
substr($className, -9) === '_Original'; | |
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
diff --git a/Classes/Command/DoctrineCommandController.php b/Classes/Command/DoctrineCommandController.php | |
index 9ce9c72..7b2e599 100644 | |
--- a/Classes/Command/DoctrineCommandController.php | |
+++ b/Classes/Command/DoctrineCommandController.php | |
@@ -132,13 +132,15 @@ class DoctrineCommandController extends \TYPO3\FLOW3\MVC\Controller\CommandContr | |
* Show the current status of entities and mappings | |
* | |
* Shows basic information about which entities exist and possibly if their | |
- * mapping information contains errors or not. To run a full validation, use | |
- * the validate command. |
OlderNewer