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
--- | |
:backends: | |
- 'yaml' | |
:hierarchy: | |
- "%{::hostname}" | |
- "%{::hiera}" | |
- 'xhprof' | |
- 'php' | |
- 'apache' |
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
collectd::core_plugins: | |
'apache': | |
'apache80': | |
'URL': 'http://localhost/server-status?auto' |
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
company::sysctl::sysctls: | |
'net.ipv4.tcp_keepalive_time': | |
value: "30" | |
'net.ipv4.tcp_keepalive_probes': | |
value: "5" | |
'net.ipv6.bindv6only': | |
value: "0" | |
'net.core.wmem_max': | |
value: "16777216" | |
'net.core.rmem_max': |
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
# VCL configuration file for Varnish | |
# Define which IP addresses or hosts have access to files that are | |
# blocked from the public internet | |
acl internal | |
{ | |
"localhost"; | |
"10.0.2.15"; | |
"192.168.56.1"; | |
"<%= @hostname %>"; |
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 | |
class TabRepository | |
{ | |
private $mapping; | |
public function __construct(/*...*/, TabMapping $mapping) | |
{ | |
$this->mapping = $mapping; | |
} |
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 | |
class Event | |
{ | |
public $type; | |
public $data = null; | |
public $stopPropagation = 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/lib/Doctrine/ORM/Internal/Hydration/AbstractHydrator.php b/lib/Doctrine/ORM/Internal/Hydration/AbstractHydrator.php | |
index c49b978..eb70f3b 100644 | |
--- a/lib/Doctrine/ORM/Internal/Hydration/AbstractHydrator.php | |
+++ b/lib/Doctrine/ORM/Internal/Hydration/AbstractHydrator.php | |
@@ -263,7 +263,7 @@ abstract class AbstractHydrator | |
$cache[$key]['isIdentifier'] = $classMetadata->isIdentifier($fieldName); | |
$cache[$key]['dqlAlias'] = $this->_rsm->columnOwnerMap[$key]; | |
break; | |
- | |
+ |
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
+---------+----------+-----------+ | |
| root_id | toone_id | tomany_id | | |
+---------+----------+-----------+ | |
| 1 | 1 | 1 | | |
| 1 | 1 | 2 | | |
| 2 | 1 | 3 | | |
| 2 | 1 | 1 | | |
| 2 | 1 | 2 | | |
| 1 | 1 | 3 | | |
+---------+----------+-----------+ |
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 Doctrine\Cache; | |
use Doctrine\Cache\CacheEntry; | |
use Doctrine\Cache\Transaction; | |
class Cache extends \ArrayAccess | |
{ | |
/** |
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
/vendor/doctrine/dbal/lib/Doctrine/DBAL/Platforms/SqlitePlatform.php | |
you should update _getCommonIntegerTypeDeclarationSQL function and make it look like | |
=== | |
protected function _getCommonIntegerTypeDeclarationSQL(array $columnDef) | |
{ | |
if ( ! empty($columnDef['autoincrement'])) { | |
return ''; | |
} |