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/vendor/codeception/codeception/src/Codeception/Lib/Parser.php b/vendor/codeception/codeception/src/Codeception/Lib/Parser.php | |
index 7e6987a..543b155 100644 | |
--- a/vendor/codeception/codeception/src/Codeception/Lib/Parser.php | |
+++ b/vendor/codeception/codeception/src/Codeception/Lib/Parser.php | |
@@ -126,7 +126,7 @@ protected function addCommentStep($comment) | |
public static function validate($file) | |
{ | |
- exec("php -l $file 2>&1", $output, $code); | |
+ exec("php -l '$file' 2>&1", $output, $code); |
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 SampleTest extends CakeTestCase | |
{ | |
public function testSomething() | |
{ | |
$this->// ここで補完 | |
} | |
} |
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/src/de/foopara/phpcsmd/exec/pdepend/Pdepend.java b/src/de/foopara/phpcsmd/exec/pdepend/Pdepend.java | |
index ebb3d7b..339cf96 100644 | |
--- a/src/de/foopara/phpcsmd/exec/pdepend/Pdepend.java | |
+++ b/src/de/foopara/phpcsmd/exec/pdepend/Pdepend.java | |
@@ -13,6 +13,8 @@ import de.foopara.phpcsmd.generics.GenericOutputReader; | |
import de.foopara.phpcsmd.generics.GenericProcess; | |
import de.foopara.phpcsmd.option.PdependOptions; | |
import de.foopara.phpcsmd.ui.reports.PdependReportTopComponent; | |
+import java.util.ArrayList; | |
+import java.util.List; |
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
class_name: FunctionalTester | |
namespace: App\Test\Functional | |
modules: | |
enabled: | |
- Cake\Codeception\Helper | |
- WebDriver | |
- App\TestSuite\Codeception\FunctionalHelper | |
config: | |
WebDriver: | |
url: 'http://localhost/' |
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/Cake/Utility/Inflector.php b/lib/Cake/Utility/Inflector.php | |
index 61a63c2..48b9fa1 100644 | |
--- a/lib/Cake/Utility/Inflector.php | |
+++ b/lib/Cake/Utility/Inflector.php | |
@@ -497,7 +497,7 @@ class Inflector { | |
public static function humanize($lowerCaseAndUnderscoredWord) { | |
if (!($result = self::_cache(__FUNCTION__, $lowerCaseAndUnderscoredWord))) { | |
$lowerCaseAndUnderscoredWord = self::underscore($lowerCaseAndUnderscoredWord); | |
- $result = explode(' ', str_replace('_', ' ', $lowerCaseAndUnderscoredWord)); | |
+ $result = explode(' ', str_replace(['_', '.'], [' ', '. '], $lowerCaseAndUnderscoredWord)); |
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 | |
/** | |
* | |
* Copyright 2015 ELASTIC Consultants Inc. | |
* | |
*/ | |
namespace App\Routing\Filter; |
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
#!/usr/bin/env bash | |
## | |
# Custom PHPUnit script for Remote test on NetBaeans 8.0 | |
## | |
# | |
# Change these settings to your env | |
# | |
REMOTE_PKEY=~/.vagrant.d/insecure_private_key | |
[email protected] |
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/env bash | |
## | |
# CVE-2015-0235 restart all services that using `glibc` | |
# | |
# original code: | |
# http://ma.ttias.be/critical-glibc-update-cve-2015-0235-gethostbyname-calls/#comment-10890 | |
## | |
servicelist=""; | |
for problemservice in `/usr/sbin/lsof 2> /dev/null | grep libc | awk '{print $1}' | sort -u`; do |
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
#!/usr/bin/env bash | |
TMP="/var/tmp/php-build" | |
PHP="/usr/bin/env php" | |
download_timecop() { | |
local timecop_url="$1" | |
if [ -z "$timecop_url" ]; then | |
timecop_url="https://github.com/hnw/php-timecop.git" |
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 | |
/** | |
* This file read before Configure::load('app') | |
*/ | |
use Dotenv; | |
/** | |
* required setting | |
*/ |