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 | |
/** | |
* @cli | |
*/ | |
public function addl18noriguidToDatasetsCommand() | |
{ | |
$column = 'l10n_origuid'; | |
$startPath = 'typo3/sysext/core/Tests/Functional/DataHandling/Regular/'; | |
$absStartPath = PATH_site . $startPath; | |
$Directory = new \RecursiveDirectoryIterator($absStartPath); |
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
#this makes local domain being available for crawling from within docker web container | |
#see https://github.com/drud/ddev/issues/842 | |
version: '3' | |
services: | |
web: | |
extra_hosts: | |
- "${DDEV_SITENAME}.ddev.local:127.0.0.1" |
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 | |
$data = array( | |
'AddThis_SharingTool_Block_Share' => 'app/code/community/AddThis/SharingTool/Block/Share.php', | |
'AddThis_SharingTool_Model_Observer' => 'app/code/community/AddThis/SharingTool/Model/Observer.php', | |
'Amasty_Base_Model_Feed' => 'app/code/local/Amasty/Base/Model/Feed.php', | |
'Amasty_Promo_Helper_Data' => 'app/code/local/Amasty/Promo/Helper/Data.php', | |
'Amasty_Promo_Model_Observer' => 'app/code/local/Amasty/Promo/Model/Observer.php', | |
'Amasty_Rules_Block_Adminhtml_Promo_Quote_Edit' => 'app/code/local/Amasty/Rules/Block/Adminhtml/Promo/Quote/Edit.php', | |
'Amasty_Rules_Block_Checkout_Discount' => 'app/code/local/Amasty/Rules/Block/Checkout/Discount.php', |
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 -v | |
PHP 7.2.7-0ubuntu0.18.04.2 | |
Opcache cli enabled: | |
php test.php | |
JSON serializing: 4.27 | |
2339.52req/s | |
content size: 141230 | |
JSON unserializing: 7.39 | |
1352.93req/s | |
Native serializing: 0.59 |
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 | |
$folderToScan = '.modman/3rdParty'; | |
$directories = scandir($folderToScan); | |
foreach ($directories as $directory) { | |
if ($directory === '.' || $directory === '..' || $directory === '3rdParty') { | |
continue; | |
} | |
if (!file_exists($folderToScan . '/' . $directory . '/modman') | |
|| file_exists($folderToScan . '/' . $directory . '/composer.json') |
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
editor: | |
config: | |
extraAllowedContent: | |
- "iframe(*){*}[*]" | |
allowTags: | |
- iframe | |
processing: | |
allowTags: | |
- iframe | |
allowTagsOutside: |
OlderNewer