Skip to content

Instantly share code, notes, and snippets.

diff --git a/src/Phan/Language/UnionTypeBuilder.php b/src/Phan/Language/UnionTypeBuilder.php
index 98c3587a..f0d0c13d 100644
--- a/src/Phan/Language/UnionTypeBuilder.php
+++ b/src/Phan/Language/UnionTypeBuilder.php
@@ -2,6 +2,8 @@
namespace Phan\Language;
+use Phan\Library\Set;
+
diff --git a/src/Phan/Analysis.php b/src/Phan/Analysis.php
index 22b9f1e9..8bdf558b 100644
--- a/src/Phan/Analysis.php
+++ b/src/Phan/Analysis.php
@@ -341,7 +341,14 @@ class Analysis
public static function loadMethodPlugins(CodeBase $code_base) : void
{
$plugin_set = ConfigPluginSet::instance();
- foreach ($plugin_set->getReturnTypeOverrides($code_base) as $fqsen_string => $closure) {
+ $methods_by_defining_fqsen = null;
@dasl-
dasl- / -
Created November 10, 2019 04:23
# A sample configuration for dhcpcd.
# See dhcpcd.conf(5) for details.
# Allow users of this group to interact with dhcpcd via the control socket.
#controlgroup wheel
# Inform the DHCP server of our hostname for DDNS.
hostname
# Use the hardware address of the interface for the Client ID.
#include "ofApp.h"
void ofApp::setup(){
ofDisableArbTex();
ofEnableSmoothing();
ofEnableAlphaBlending();
_video.initGrabber(640, 480);
_currentFilter = 0;
int myWidth = ofGetWindowWidth();//_video.getWidth();;
diff --git a/DoGExample/DoGExample.xcodeproj/project.xcworkspace/xcuserdata/dleibovic.xcuserdatad/UserInterfaceState.xcuserstate b/DoGExample/DoGExample.xcodeproj/project.xcworkspace/xcuserdata/dleibovic.xcuserdatad/UserInterfaceState.xcuserstate
new file mode 100644
index 0000000..7ceffd3
Binary files /dev/null and b/DoGExample/DoGExample.xcodeproj/project.xcworkspace/xcuserdata/dleibovic.xcuserdatad/UserInterfaceState.xcuserstate differ
diff --git a/DoGExample/DoGExample.xcodeproj/xcuserdata/dleibovic.xcuserdatad/xcschemes/xcschememanagement.plist b/DoGExample/DoGExample.xcodeproj/xcuserdata/dleibovic.xcuserdatad/xcschemes/xcschememanagement.plist
new file mode 100644
index 0000000..2958b10
--- /dev/null
+++ b/DoGExample/DoGExample.xcodeproj/xcuserdata/dleibovic.xcuserdatad/xcschemes/xcschememanagement.plist
@@ -0,0 +1,19 @@
<?php declare(strict_types=1);
use ast\Node;
use Phan\CodeBase;
use Phan\Language\Element\Clazz;
use Phan\Language\UnionType;
use Phan\Language\Element\Method;
use Phan\PluginV3;
use Phan\PluginV3\AnalyzeFunctionCapability;
use Phan\PluginV3\AnalyzeMethodCapability;
<?php declare(strict_types=1);
use ast\Node;
use ast\AST_METHOD_CALL;
use Phan\Analysis\BlockExitStatusChecker;
use Phan\CodeBase;
use Phan\Language\Element\Clazz;
use Phan\Language\UnionType;
use Phan\Language\Element\Method;
use Phan\PluginV3;
@dasl-
dasl- / test.php
Last active November 21, 2019 18:47
<?php declare(strict_types=1);
class MyData implements IteratorAggregate {
public $property1;
public $property2;
public $property3;
public function __construct() {
$this->property1 = new C();
# raspberry pi static IP:
interface wlan0
static ip_address=192.168.1.100/24
static routers=192.168.1.1
diff --git a/src/main/java/com/etsy/pushbot/PushTrain.java b/src/main/java/com/etsy/pushbot/PushTrain.java
index 27d10c6..7ccef75 100644
--- a/src/main/java/com/etsy/pushbot/PushTrain.java
+++ b/src/main/java/com/etsy/pushbot/PushTrain.java
@@ -120,7 +120,9 @@ public class PushTrain extends LinkedList<PushToken>
pushBot.log(exception.getMessage());
}
- tryChecker.init();
+ boolean isWebTrain = pushBot.getWebChannel().equals(channel);