/* Title: 草稿 Author: nojimage */
- 佐賀県に樋渡啓祐は必要ありません
--- a/src/Phake/ClassGenerator/MockClass.php | |
+++ b/src/Phake/ClassGenerator/MockClass.php | |
@@ -230,9 +230,15 @@ class {$newClassName} {$extends} | |
{ | |
\$args = array(); | |
{$this->copyMethodParameters($method)} | |
- | |
- \$answer = \$this->__PHAKE_handlerChain->invoke(\$this, '{$method->getName()}', func_get_args(), \$args); | |
- | |
+ |
Host docker | |
Hostname 192.168.59.103 | |
User docker | |
IdentityFile ~/.ssh/id_boot2docker |
description "gitlab service runner" | |
start on filesystem and started docker.io | |
stop on runlevel [!2345] | |
kill signal CONT | |
normal exit 0 CONT | |
respawn | |
setuid manager |
<?php | |
namespace App\Service\Exception; | |
use Cake\Core\Exception\Exception; | |
class MissingServiceException extends Exception { | |
protected $_messageTemplate = 'Service class %s could not be found.'; |
diff --git a/app/code/core/Mage/GiftMessage/Block/Adminhtml/Sales/Order/Create/Items.php b/app/code/core/Mage/GiftMessage/Block/Adminhtml/Sales/Order/Create/Items.php | |
index 2f7bb8e..0909a7c 100644 | |
--- a/app/code/core/Mage/GiftMessage/Block/Adminhtml/Sales/Order/Create/Items.php | |
+++ b/app/code/core/Mage/GiftMessage/Block/Adminhtml/Sales/Order/Create/Items.php | |
@@ -66,7 +66,7 @@ class Mage_GiftMessage_Block_Adminhtml_Sales_Order_Create_Items extends Mage_Adm | |
*/ | |
public function getFormHtml() | |
{ | |
- return $this->getLayout()->createBlock('adminhtml/sales_order_create_giftmessage_form') | |
+ return $this->getLayout()->createBlock('giftmessage/adminhtml_sales_order_create_form') |
<?php | |
// snip .. | |
// ログのパーミッションはデフォルトで0644なので、cli経由、web経由でファイル名変えとく。 | |
$logFile = PHP_SAPI . '.log'; | |
Log::useFiles(storage_path('logs/debug-' . $logFile)); // こっちは全部のログレベルを書き込むログ | |
Log::useFiles(storage_path('logs/error-' . $logFile), 'warning'); // こっちはwarning以上を書き込むログ |
diff --git a/app/Tygh/Bootstrap.php b/app/Tygh/Bootstrap.php | |
index d25b071..87f007a 100644 | |
--- a/app/Tygh/Bootstrap.php | |
+++ b/app/Tygh/Bootstrap.php | |
@@ -47,7 +47,7 @@ class Bootstrap | |
public static function setConfigOptions($dir_root) | |
{ | |
ini_set('magic_quotes_sybase', 0); | |
- ini_set('include_path', $dir_root . '/app/lib/pear/' . ini_get('include_path')); | |
+ ini_set('include_path', $dir_root . '/app/lib/pear/' . PATH_SEPARATOR . ini_get('include_path')); |
#!/usr/bin/env bash | |
## | |
# | |
# Custom PHPUnit script for CakePHP on NetBaeans 8.0 | |
# | |
# @author Takashi Nojima [http://php-tips.com] | |
# @copyright 2014 Takashi Nojima | |
## | |
PROJECT_ROOT=$(cd "$(dirname "$(dirname "$0")")" && pwd) |
for v in $(phpenv versions | cut -c 3-8); | |
do | |
phpenv local $v && php --ri timecop || (phpize && make clean && ./configure && make && make install) | |
if [ -f $(php-config --extension-dir)/timecop.so ] ; then | |
inifile=$(php --ini | grep "Scan for additional .ini files" | cut -d : -f 2)/timecop.ini | |
test -f $inifile || echo "extension=timecop.so" > $inifile | |
fi | |
done |