This file contains hidden or 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 Acme\Company\Mvc\Routing; | |
use TYPO3\Flow\Annotations as Flow; | |
use TYPO3\Flow\Utility\Arrays; | |
/** | |
* @Flow\Scope("singleton") | |
*/ | |
class UriBuilder extends \TYPO3\Flow\Mvc\Routing\UriBuilder { |
This file contains hidden or 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
$pluginSignature = str_replace('_','',$_EXTKEY) . '_list'; | |
$TCA['tt_content']['types']['list']['subtypes_addlist'][$pluginSignature] = 'pi_flexform'; | |
t3lib_extMgm::addPiFlexFormValue($pluginSignature, 'FILE:EXT:' . $_EXTKEY . '/Configuration/FlexForms/flexform_list.xml'); |
This file contains hidden or 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
$availableControllerActions = array( | |
'News' => 'latest,mostPopular,list,breadcrumb', | |
'Product' => 'list', | |
'Event' => 'list', | |
'Training' => 'list' | |
); | |
Tx_Extbase_Utility_Extension::configurePlugin( | |
$_EXTKEY, | |
'List', |
This file contains hidden or 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
use TYPO3\Flow\Annotations as Flow; | |
/** | |
* Trait which can be used to add automatic storage of | |
* unknown class properties into a related CouchDB document. | |
*/ | |
trait EntityWithDocumentTrait { | |
/** | |
* @var string |
This file contains hidden or 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
repositories: [ | |
{ | |
"type": "git", | |
"url": "git://github.com/radmiraal/Radmiraal.CouchDB.git" | |
} | |
] | |
.... | |
This file contains hidden or 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
Domain model config: | |
Domain object settings > Extend existing model class: \TYPO3\CMS\Extbase\Domain\Model\FrontendUser |
This file contains hidden or 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
FILE: ...amework/TYPO3.Flow/Classes/TYPO3/Flow/Aop/Builder/ProxyClassBuilder.php | |
-------------------------------------------------------------------------------- | |
FOUND 7 ERROR(S) AND 4 WARNING(S) AFFECTING 11 LINE(S) | |
-------------------------------------------------------------------------------- | |
258 | WARNING | Code after THROW statement cannot be executed | |
259 | WARNING | Code after THROW statement cannot be executed | |
260 | WARNING | Code after THROW statement cannot be executed | |
261 | WARNING | Code after THROW statement cannot be executed | |
479 | ERROR | Whitespace must be added after single asteriks expected "* |
This file contains hidden or 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
#!/bin/bash -e | |
if [[ "$GERRIT_CHANGE_SUBJECT" =~ ^(\[!!!\])?\[WIP\] ]]; then | |
echo 'WIP changes should not be merged'; | |
exit 1; | |
fi | |
composer install --dev --no-interaction | |
mkdir -p Build/Reports/ | |
#!/bin/bash |
This file contains hidden or 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
{ | |
"name": "phpcs/example", | |
"repositories": [ | |
{ | |
"type": "git", | |
"url": "git://github.com/radmiraal/TYPO3Flow.git" | |
}, | |
{ | |
"type": "git", | |
"url": "git://github.com/radmiraal/TYPO3SniffPool.git" |
This file contains hidden or 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
#!/usr/bin/php | |
<?php | |
error_reporting(E_ALL ^ E_STRICT); | |
ini_set('display_errors', 1); | |
define('FLOW_PATH_ROOT', __DIR__ . DIRECTORY_SEPARATOR); | |
define('FLOW_PATH_PACKAGES', FLOW_PATH_ROOT . 'Packages' . DIRECTORY_SEPARATOR); | |
class Gerrit { |