Skip to content

Instantly share code, notes, and snippets.

View JoelMarcey's full-sized avatar

Joel Marcey JoelMarcey

View GitHub Profile
@JoelMarcey
JoelMarcey / gist:b29da001971396a5011b
Created October 10, 2014 18:00
Update ini get expectf
array(195) {
["hhvm.server.graceful_shutdown_wait"]=>
array(3) {
["global_value"]=>
string(1) "0"
["local_value"]=>
string(1) "0"
["access"]=>
int(4)
}
<?php
$file = new CurlFile(__DIR__. '/curl_testdata1.txt');
$ch = curl_init();
curl_setopt($ch, CURLOPT_POSTFIELDS, array("file" => $file));
curl_exec($ch);
var_dump($file->name);
var_dump($file->postname);
@JoelMarcey
JoelMarcey / gist:6ea4fbc1f811afc48ad5
Created November 12, 2014 05:28
issue 2116 output
<!DOCTYPE html>
<html lang="en" class="">
<head prefix="og: http://ogp.me/ns# fb: http://ogp.me/ns/fb# object: http://ogp.me/ns/object# article: http://ogp.me/ns/article# profile: http://ogp.me/ns/profile#">
<meta charset='utf-8'>
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta http-equiv="Content-Language" content="en">
<title>symfony/ProjectWithXsdExtensionInPhar.phar at master · symfony/symfony · GitHub</title>
<link rel="search" type="application/opensearchdescription+xml" href="/opensearch.xml" title="GitHub">
flux/examples/flux-chat/js/actions/ChatMessageActionCreators.js:24:27,30: parameter text
Missing annotation
flux/examples/flux-chat/js/actions/ChatServerActionCreators.js:22:24,34: parameter rawMessages
Missing annotation
flux/examples/flux-chat/js/actions/ChatServerActionCreators.js:29:35,48: parameter createdMessage
Missing annotation
flux/examples/flux-chat/js/actions/ChatThreadActionCreators.js:22:25,32: parameter threadID
flow/js/actions/ChatMessageActionCreators.js:25:27,30: parameter text
Missing annotation
flow/js/actions/ChatServerActionCreators.js:23:24,34: parameter rawMessages
Missing annotation
flow/js/actions/ChatServerActionCreators.js:30:35,48: parameter createdMessage
Missing annotation
flow/js/actions/ChatThreadActionCreators.js:23:25,32: parameter threadID
flow/js/components/MessageSection.react.js:79:49,70: property name
Property cannot be accessed on possibly null or undefined value
flow/js/components/MessageSection.react.js:39:12,17: ?Thread
flow/js/components/MessageSection.react.js:88:23,90:3: function
Too few arguments (expected default/rest parameters in function)
/tmp/flow_joelm/flowlib_29899c85/lib/react.js:35:5,93: function type
flow/js/stores/ThreadStore.js:63:21,40: property lastTimestamp
Property not found in
flow/js/actions/ChatMessageActionCreators.js:31:5,42: call of method createMessage
Too few arguments (expected default/rest parameters in function)
flow/js/utils/ChatWebAPIUtils.js:41:18,62:3: function
flow/js/components/MessageListItem.react.js:30:46,63: property authorName
Property cannot be accessed on possibly null or undefined value
flow/js/components/MessageListItem.react.js:23:14,34: ?any
flow/js/components/MessageListItem.react.js:32:12,23: property date
Property cannot be accessed on possibly null or undefined value
flow/js/actions/ChatMessageActionCreators.js:31:5,42: call of method createMessage
Too few arguments (expected default/rest parameters in function)
flow/js/utils/ChatWebAPIUtils.js:41:18,62:3: function
flow/js/components/MessageListItem.react.js:30:46,63: property authorName
Property cannot be accessed on possibly null or undefined value
flow/js/components/MessageListItem.react.js:23:14,34: ?any
flow/js/components/MessageListItem.react.js:32:12,23: property date
Property cannot be accessed on possibly null or undefined value
js/actions/ChatMessageActionCreators.js:25:27,30: parameter text
Missing annotation
js/actions/ChatServerActionCreators.js:23:24,34: parameter rawMessages
Missing annotation
js/actions/ChatServerActionCreators.js:30:35,48: parameter createdMessage
Missing annotation
js/actions/ChatThreadActionCreators.js:23:25,32: parameter threadID