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 | |
/** | |
* Shopware 5 | |
* Copyright (c) shopware AG | |
* | |
* According to our dual licensing model, this program can be used either | |
* under the terms of the GNU Affero General Public License, version 3, | |
* or under a proprietary license. | |
* | |
* The texts of the GNU Affero General Public License with an additional |
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 My\Commands; | |
use Doctrine\ORM\EntityManager; | |
use Error; | |
use Shopware\Commands\ShopwareCommand; | |
use Shopware\Models\Category\Category; | |
use Shopware\Models\Category\Repository; | |
use Shopware\Models\Snippet\Snippet; |
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
#!/bin/bash | |
shopt -s extglob | |
# generated from util-linux source: libmount/src/utils.c | |
declare -A pseudofs_types=([anon_inodefs]=1 | |
[autofs]=1 | |
[bdev]=1 | |
[bpf]=1 | |
[binfmt_misc]=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
/** | |
* Converts a value to a string appropriate for entry into a CSV table. E.g., a string value will be surrounded by quotes. | |
* @param {string|number|object} theValue | |
*/ | |
function toCsvValue(theValue) { | |
let t = typeof theValue, | |
output | |
let sDelimiter = '"' |