Run these commands as root to create a 512 megabyte swap.
fallocate -l 512m /media/state/512MiB.swap
chmod 600 /media/state/512MiB.swap
mkswap /media/state/512MiB.swap
<?php | |
require_once dirname(__DIR__).'/../../../../app/AppKernel.php'; | |
/** | |
* Test case class helpful with Entity tests requiring the database interaction. | |
* For regular entity tests it's better to extend standard \PHPUnit_Framework_TestCase instead. | |
*/ | |
abstract class KernelAwareTest extends \PHPUnit_Framework_TestCase | |
{ |
<?php | |
namespace My\Package\Service; | |
use TYPO3\Flow\Annotations as Flow; | |
/** | |
* @Flow\Scope("singleton") | |
*/ | |
class EmailService { |
<?php | |
namespace Acme\JobQueueTest; | |
/* * | |
* This script belongs to the TYPO3 Flow package "Acme.JobQueueTest". * | |
* * | |
* */ | |
use TYPO3\Flow\Annotations as Flow; | |
use TYPO3\Flow\Utility\Files; |
git config --global url."https://git.typo3.org".insteadOf git://git.typo3.org |
<?php | |
$workflow = new \TYPO3\Surf\Domain\Model\SimpleWorkflow(); | |
$workflow->setEnableRollback(FALSE); | |
$workflow->addTask('typo3.surf:typo3:flow:setfilepermissions', | |
array( | |
'username' => 'jenkins', | |
'webserverUsername' => 'www-data', | |
'webserverGroupname' => 'www-data' | |
) |
prototype(Acme.Donate:Donate) < prototype(TYPO3.Neos:Plugin) { | |
package = 'Venstre.VenstreDk' | |
controller = 'Donate' | |
node = ${node} | |
} |