Skip to content

Commit 38a72fe

Browse files
committed
Automatic deployment Sat Oct 29 21:01:57 UTC 2016
1 parent 49a86fb commit 38a72fe

File tree

7 files changed

+20
-27
lines changed

7 files changed

+20
-27
lines changed

atom.xml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -3,13 +3,13 @@
33
<title><![CDATA[sabre.io]]></title>
44
<link href="http://sabre.io/atom.xml" rel="self"/>
55
<link href="http://sabre.io/"/>
6-
<updated>2016-10-23T19:24:29+00:00</updated>
6+
<updated>2016-10-29T21:01:56+00:00</updated>
77
<id>http://sabre.io/</id>
88
<generator uri="http://sculpin.io/">Sculpin</generator>
99
<entry>
1010
<title type="html"><![CDATA[sabre/event 5 released]]></title>
1111
<link href="http://sabre.io/blog/2016/sabre-event-5.0.0-release"/>
12-
<updated>2016-10-24T02:42:15+00:00</updated>
12+
<updated>2016-10-23T19:24:04+00:00</updated>
1313
<id>http://sabre.io/blog/2016/sabre-event-5.0.0-release</id>
1414
<content type="html"><![CDATA[<p>We just released sabre/event 5.0.0. This is only a month after the last major
1515
release, but it's for a good reason.</p>
@@ -29,13 +29,13 @@ anything like this:</p>
2929
<p>To work with this limitation in coroutines, we treated the last value that
3030
was passed with <code>yield</code> as the "returned value".</p>
3131
32-
<p>Since PHP 7 it is possible to use return and the PHP Generator object has a
32+
<p>Since PHP 7 it is possible to use <code>return</code> and the PHP Generator object has a
3333
<code>getReturn()</code> method to access it.</p>
3434
3535
<p>We missed this in sabre/event 4, but it was quickly pointed out by Felix
3636
Becker.</p>
3737
38-
<p>Using return makes so much sense now we can, it was worth making a BC break
38+
<p>Using <code>return</code> makes so much sense now we can, it was worth making a BC break
3939
for and releasing sabre/event 5 with the more sane behavior for PHP 7.</p>
4040
4141
<p>So today there's a sabre/event 5, and the only change is that if the previous

blog/2016/sabre-event-5.0.0-release/index.html

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -42,7 +42,7 @@
4242
<main>
4343
<article>
4444
<article class="blog-entry">
45-
<time>October 24th, 2016</time>
45+
<time>October 23rd, 2016</time>
4646
<h1>sabre/event 5 released</h1>
4747
<div>
4848
<p>We just released sabre/event 5.0.0. This is only a month after the last major
@@ -63,13 +63,13 @@ <h1>sabre/event 5 released</h1>
6363
<p>To work with this limitation in coroutines, we treated the last value that
6464
was passed with <code>yield</code> as the "returned value".</p>
6565

66-
<p>Since PHP 7 it is possible to use return and the PHP Generator object has a
66+
<p>Since PHP 7 it is possible to use <code>return</code> and the PHP Generator object has a
6767
<code>getReturn()</code> method to access it.</p>
6868

6969
<p>We missed this in sabre/event 4, but it was quickly pointed out by Felix
7070
Becker.</p>
7171

72-
<p>Using return makes so much sense now we can, it was worth making a BC break
72+
<p>Using <code>return</code> makes so much sense now we can, it was worth making a BC break
7373
for and releasing sabre/event 5 with the more sane behavior for PHP 7.</p>
7474

7575
<p>So today there's a sabre/event 5, and the only change is that if the previous

blog/index.html

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -45,7 +45,7 @@ <h1>Blog</h1>
4545
<p></p>
4646

4747
<article class="blog-entry">
48-
<time>October 24th, 2016</time>
48+
<time>October 23rd, 2016</time>
4949
<h1><a href="http://sabre.io/blog/2016/sabre-event-5.0.0-release">sabre/event 5 released</a></h1>
5050
<p>We just released sabre/event 5.0.0. This is only a month after the last major
5151
release, but it's for a good reason.</p>
@@ -65,13 +65,13 @@ <h1><a href="http://sabre.io/blog/2016/sabre-event-5.0.0-release">sabre/event 5
6565
<p>To work with this limitation in coroutines, we treated the last value that
6666
was passed with <code>yield</code> as the "returned value".</p>
6767

68-
<p>Since PHP 7 it is possible to use return and the PHP Generator object has a
68+
<p>Since PHP 7 it is possible to use <code>return</code> and the PHP Generator object has a
6969
<code>getReturn()</code> method to access it.</p>
7070

7171
<p>We missed this in sabre/event 4, but it was quickly pointed out by Felix
7272
Becker.</p>
7373

74-
<p>Using return makes so much sense now we can, it was worth making a BC break
74+
<p>Using <code>return</code> makes so much sense now we can, it was worth making a BC break
7575
for and releasing sabre/event 5 with the more sane behavior for PHP 7.</p>
7676

7777
<p>So today there's a sabre/event 5, and the only change is that if the previous

dav/standards-support/index.html

Lines changed: 7 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -152,12 +152,12 @@ <h1>Standards Support</h1>
152152
</tr>
153153
<tr>
154154
<td><a href="http://tools.ietf.org/html/rfc2518">rfc2518</a></td>
155-
<td>Obsolete WebDAV specification</td>
155+
<td>WebDAV specification (obsolete)</td>
156156
<td>Implemented.</td>
157157
</tr>
158158
<tr>
159159
<td><a href="http://tools.ietf.org/html/rfc2617">rfc2617</a></td>
160-
<td>HTTP Basic/Digest auth</td>
160+
<td>HTTP Basic/Digest auth (obsolete)</td>
161161
<td><a href="/dav/authentication/">Authentication plugin</a>.</td>
162162
</tr>
163163
<tr>
@@ -335,6 +335,11 @@ <h1>Standards Support</h1>
335335
<td>Prefer Header for HTTP</td>
336336
<td>Parsed by <a href="/http/">sabre/http</a>, supported in core.</td>
337337
</tr>
338+
<tr>
339+
<td><a href="https://tools.ietf.org/html/rfc7617" title="The 'Basic' HTTP Authentication Scheme">rfc7617</a></td>
340+
<td>'Basic' HTTP Authentication</td>
341+
<td><a href="/dav/authentication/">Authentication plugin</a>.</td>
342+
</tr>
338343
</tbody>
339344
</table>
340345

event/coroutines/index.html

Lines changed: 1 addition & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -138,8 +138,7 @@ <h2 id="after">After</h2>
138138
<h2 id="tips-and-tricks">Tips and tricks</h2>
139139

140140
<p>The coroutines itself also returns a promise. This promise will resolve with
141-
the last yielded value or promise. It will reject if there was an uncaught
142-
exception.</p>
141+
the value you returned from the coroutine.</p>
143142

144143
<p>This allows you to for example call <code>wait()</code> to turn a large asynchronous
145144
process into a blocking one:</p>
@@ -158,17 +157,6 @@ <h2 id="tips-and-tricks">Tips and tricks</h2>
158157

159158
<pre><code>use Sabre\Event;
160159

161-
Event\coroutine(function() {
162-
163-
yield Event\coroutine($anotherGenerator);
164-
165-
});
166-
</code></pre>
167-
168-
<p>In PHP7 this becomes even easier:</p>
169-
170-
<pre><code>use Sabre\Event;
171-
172160
Event\coroutine(function() {
173161

174162
yield from $anotherGenerator;

event/install/index.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -89,7 +89,7 @@ <h2 id="installing-with-composer">Installing with composer</h2>
8989

9090
<p>From your project directory, the easiest is then to simply call:</p>
9191

92-
<pre><code>composer require sabre/event ~4
92+
<pre><code>composer require sabre/event ~5
9393
</code></pre>
9494

9595
<p>This rule ensures that you install the latest event package in the 1.0 range

index.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -139,7 +139,7 @@ <h3>We provide:</h3>
139139
<section class="box box--news">
140140
<h1>News</h1>
141141
<article class="blog-entry">
142-
<time>Oct. 24th, 2016</time>
142+
<time>Oct. 23rd, 2016</time>
143143
<h1><a href="http://sabre.io/blog/2016/sabre-event-5.0.0-release">sabre/event 5 released</a></h1>
144144
<p>We just released sabre/event 5.0.0. This is only a month after the last major
145145
release, but it's for a good reason.</article>

0 commit comments

Comments
 (0)