com presentations: Tweaks: singapore18.html slides/intro/phan _2018.xml
| From: | Rasmus Lerdorf | Date: | Sun, 16 Sep 2018 22:55:43 +0000 |
| Subject: | com presentations: Tweaks: singapore18.html slides/intro/phan _2018.xml | ||
| Groups: | php.pres | ||
| Request: | Send a blank email to pres+get-2300@lists.php.net to get a copy of this message | ||
Commit: 8b0ec087325c885e188fac1fba2e3288f92caf38
Author: Rasmus Lerdorf <rasmus@php.net> Sun, 16 Sep 2018 15:55:43 -0700
Parents: 72dfa76ccd7c2f8685fac34a8891dc06dc530a71
Branches: master
Link: http://git.php.net/?p=presentations.git;a=commitdiff;h=8b0ec087325c885e188fac1fba2e3288f92caf38
Log:
Tweaks
Changed paths:
M singapore18.html
M slides/intro/phan_2018.xml
Diff:
diff --git a/singapore18.html b/singapore18.html
index 5524ad0..920991d 100644
--- a/singapore18.html
+++ b/singapore18.html
@@ -666,9 +666,20 @@ C::fn("test", [1,2,3], ['max'=>10]);
</section>
<section id="phan4">
<p class="p" style="font-size:2em;text-align:left;">Daemon
mode</p>
- <pre><code class="shell nohighlight" data-trim
style="font-size:1em;" >$ phan --daemonize-tcp-port default
&</code></pre>
+ <pre><code class="shell nohighlight" data-trim
style="font-size:1em;" >$ phan --daemonize-tcp-port default &
+[1] 28610
+Listening for Phan analysis requests at tcp://127.0.0.1:4846
+Awaiting analysis requests for directory '/home/rasmus/phan_demo'
+
+$ vi src/script.php</code></pre>
+ <pre><code class="shell nohighlight" data-trim
style="font-size:1em;" >$ phan_client -l src/script.php
+Phan error: TypeError: PhanTypeMismatchArgument: Argument 1 (union) is array{0:1} but \C::fn()
takes int|string defined at src/script.php:8 in src/script.php on line 14
+Phan error: TypeError: PhanTypeMismatchArgument: Argument 3 (shaped) is array{max:10} but \C::fn()
takes array{mode:string,max:int} defined at src/script.php:8 in src/script.php on line
16</code></pre>
+ </section>
+<section id="phan5">
+ <p class="p" style="font-size:1.5em;text-align:left;">vim
integration</p>
<div id="container">
- <video id='video' controls="controls" preload='none'
+ <video id='video' controls="controls" preload='none'
onclick='this.paused ? this.play() : this.pause();'
width="1848" >
<source id='mp4' src="presentations/slides/intro/phanvid.mp4"
type='video/mp4'/>
<p>Your user agent does not support the HTML5 Video element.</p>
diff --git a/slides/intro/phan_2018.xml b/slides/intro/phan_2018.xml
index 6673a22..1475c1b 100644
--- a/slides/intro/phan_2018.xml
+++ b/slides/intro/phan_2018.xml
@@ -80,7 +80,19 @@ C::fn("test", [1,2,3], ['max'=>10]);
<blurb fontsize="2em" align="left">Daemon mode</blurb>
<example fontsize="1em" result='0' title="" type="shell
nohighlight"><![CDATA[
$ phan --daemonize-tcp-port default &
+[1] 28610
+Listening for Phan analysis requests at tcp://127.0.0.1:4846
+Awaiting analysis requests for directory '/home/rasmus/phan_demo'
+
+$ vi src/script.php
+]]></example>
+<example fontsize="1em" result='0' title="" type="shell
nohighlight"><![CDATA[
+$ phan_client -l src/script.php
+Phan error: TypeError: PhanTypeMismatchArgument: Argument 1 (union) is array{0:1} but \C::fn()
takes int|string defined at src/script.php:8 in src/script.php on line 14
+Phan error: TypeError: PhanTypeMismatchArgument: Argument 3 (shaped) is array{max:10} but \C::fn()
takes array{mode:string,max:int} defined at src/script.php:8 in src/script.php on line 16
]]></example>
+<break lines="1" section="phan5"/>
+<blurb fontsize="1.5em" align="left">vim integration</blurb>
<movie filename="phanvid.mp4" align="center" width="1848"
height="1008" autoplay="false" replay="0"/>
</slide>