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
diff --git a/library/Mockery/Container.php b/library/Mockery/Container.php | |
index 0d7bdf2..a5db81f 100644 | |
--- a/library/Mockery/Container.php | |
+++ b/library/Mockery/Container.php | |
@@ -200,6 +200,10 @@ class Container | |
$constructorArgs = array(); | |
} | |
+ if (empty($partialMethods)) { | |
+ $builder->addBlackListedMethod("__destruct"); |
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
diff --git a/library/Mockery/Container.php b/library/Mockery/Container.php | |
index 0d7bdf2..f412c5b 100644 | |
--- a/library/Mockery/Container.php | |
+++ b/library/Mockery/Container.php | |
@@ -193,7 +193,7 @@ class Container | |
$builder->addBlackListedMethods($blocks); | |
if (!is_null($constructorArgs)) { | |
- $builder->addBlackListedMethod("__construct"); // we need to pass through | |
+ $builder->addBlackListedMethods(array("__construct", "__destruct")); // we need to pass through |
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
{ | |
"require": { | |
"mach/silex-rest": "dev-master" | |
}, | |
"autoload": { | |
"psr-0": { "": "src/" } | |
} | |
} |
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\DBAL\Platforms; | |
use Doctrine\DBAL\Platforms\PostgreSqlPlatform as DoctrinePostgreSqlPlatform; | |
class PostgreSqlPlatform extends DoctrinePostgreSqlPlatform | |
{ | |
public function getTruncateTableSQL($tableName, $cascade = false) | |
{ |
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 | |
function mbank_zakoduj_haslo($haslo) | |
{ | |
$mapa = array( | |
'a' => 'n', | |
'b' => 'o', | |
'c' => 'p', | |
'd' => 'q', | |
'e' => 'r', |
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 | |
/* | |
* This file is part of the Symfony package. | |
* | |
* (c) Fabien Potencier <[email protected]> | |
* | |
* For the full copyright and license information, please view the LICENSE | |
* file that was distributed with this source code. | |
*/ |
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 Symfony\Component\DependencyInjection; | |
interface ParameterBagContainerInterface | |
{ | |
public function getParameterBag(); | |
public function isFrozen(); | |
} |
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
<link rel="stylesheet" href="//cdn.oesmith.co.uk/morris-0.4.1.min.css"> | |
<script src="//ajax.googleapis.com/ajax/libs/jquery/1.9.0/jquery.min.js"></script> | |
<script src="//cdnjs.cloudflare.com/ajax/libs/raphael/2.1.0/raphael-min.js"></script> | |
<script src="//cdn.oesmith.co.uk/morris-0.4.1.min.js"></script> | |
<h1>Doctors by Specialisations</h1> | |
<br><br> | |
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 | |
OUT=`git log -n 1 --oneline | grep [CI]` | |
if [ $OUT = "" ]; then | |
# Do not build a test! | |
else | |
# Do build a test! | |
fi |
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
class Morris.Gauge extends Morris.EventEmitter | |
defaults: | |
stroke: "#f39d11" | |
strokeWidth: 28 | |
duration: 500 | |
easing: "<" | |
maxValue: 100 | |
initialValue: 0 | |
constructor: (options) -> |
NewerOlder