<feed xmlns='http://www.w3.org/2005/Atom'>
<title>delta/php-git.git/ext/xmlwriter, branch master</title>
<subtitle>git.php.net: repository/php-src.git
</subtitle>
<link rel='alternate' type='text/html' href='http://91.123.203.49/cgit/delta/php-git.git/'/>
<entry>
<title>Generate class entries from stubs for com, standard, xmlreader, xmlwriter, xsl, zip, Zend</title>
<updated>2021-02-22T14:24:03+00:00</updated>
<author>
<name>Máté Kocsis</name>
<email>kocsismate@woohoolabs.com</email>
</author>
<published>2021-02-17T12:42:42+00:00</published>
<link rel='alternate' type='text/html' href='http://91.123.203.49/cgit/delta/php-git.git/commit/?id=4c6533c257cfabd5dd78988bb277f410b2778140'/>
<id>4c6533c257cfabd5dd78988bb277f410b2778140</id>
<content type='text'>
Closes GH-6706
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Closes GH-6706
</pre>
</div>
</content>
</entry>
<entry>
<title>Deprecate passing null to non-nullable arg of internal function</title>
<updated>2021-02-11T20:46:13+00:00</updated>
<author>
<name>Nikita Popov</name>
<email>nikita.ppv@gmail.com</email>
</author>
<published>2020-11-30T15:45:48+00:00</published>
<link rel='alternate' type='text/html' href='http://91.123.203.49/cgit/delta/php-git.git/commit/?id=b10416a652d26577a22fe0b183b2258b20c8bb86'/>
<id>b10416a652d26577a22fe0b183b2258b20c8bb86</id>
<content type='text'>
This deprecates passing null to non-nullable scale arguments of
internal functions, with the eventual goal of making the behavior
consistent with userland functions, where null is never accepted
for non-nullable arguments.

This change is expected to cause quite a lot of fallout. In most
cases, calling code should be adjusted to avoid passing null. In
some cases, PHP should be adjusted to make some function arguments
nullable. I have already fixed a number of functions before landing
this, but feel free to file a bug if you encounter a function that
doesn't accept null, but probably should. (The rule of thumb for
this to be applicable is that the function must have special behavior
for 0 or "", which is distinct from the natural behavior of the
parameter.)

RFC: https://wiki.php.net/rfc/deprecate_null_to_scalar_internal_arg

Closes GH-6475.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
This deprecates passing null to non-nullable scale arguments of
internal functions, with the eventual goal of making the behavior
consistent with userland functions, where null is never accepted
for non-nullable arguments.

This change is expected to cause quite a lot of fallout. In most
cases, calling code should be adjusted to avoid passing null. In
some cases, PHP should be adjusted to make some function arguments
nullable. I have already fixed a number of functions before landing
this, but feel free to file a bug if you encounter a function that
doesn't accept null, but probably should. (The rule of thumb for
this to be applicable is that the function must have special behavior
for 0 or "", which is distinct from the natural behavior of the
parameter.)

RFC: https://wiki.php.net/rfc/deprecate_null_to_scalar_internal_arg

Closes GH-6475.
</pre>
</div>
</content>
</entry>
<entry>
<title>Replace zend_bool uses with bool</title>
<updated>2021-01-15T11:33:06+00:00</updated>
<author>
<name>Nikita Popov</name>
<email>nikita.ppv@gmail.com</email>
</author>
<published>2021-01-15T11:30:54+00:00</published>
<link rel='alternate' type='text/html' href='http://91.123.203.49/cgit/delta/php-git.git/commit/?id=3e01f5afb1b52fe26a956190296de0192eedeec1'/>
<id>3e01f5afb1b52fe26a956190296de0192eedeec1</id>
<content type='text'>
We're starting to see a mix between uses of zend_bool and bool.
Replace all usages with the standard bool type everywhere.

Of course, zend_bool is retained as an alias.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
We're starting to see a mix between uses of zend_bool and bool.
Replace all usages with the standard bool type everywhere.

Of course, zend_bool is retained as an alias.
</pre>
</div>
</content>
</entry>
<entry>
<title>Verify parameter names of function aliases</title>
<updated>2020-10-16T08:56:33+00:00</updated>
<author>
<name>Máté Kocsis</name>
<email>kocsismate@woohoolabs.com</email>
</author>
<published>2020-10-13T18:03:00+00:00</published>
<link rel='alternate' type='text/html' href='http://91.123.203.49/cgit/delta/php-git.git/commit/?id=d6264b09665c20ee73d7a1017db0730f9a7c7973'/>
<id>d6264b09665c20ee73d7a1017db0730f9a7c7973</id>
<content type='text'>
Closes GH-6335
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Closes GH-6335
</pre>
</div>
</content>
</entry>
<entry>
<title>Remove return types from XMLWriter stubs</title>
<updated>2020-10-11T16:22:59+00:00</updated>
<author>
<name>Christoph M. Becker</name>
<email>cmbecker69@gmx.de</email>
</author>
<published>2020-10-11T14:36:19+00:00</published>
<link rel='alternate' type='text/html' href='http://91.123.203.49/cgit/delta/php-git.git/commit/?id=d72c648015b022d13da8caaaa84f061c6372f885'/>
<id>d72c648015b022d13da8caaaa84f061c6372f885</id>
<content type='text'>
These break BC, and as such we have to stick with docblock annotations.

Closes GH-6319.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
These break BC, and as such we have to stick with docblock annotations.

Closes GH-6319.
</pre>
</div>
</content>
</entry>
<entry>
<title>Update ext/xsl parameter names</title>
<updated>2020-10-08T08:28:50+00:00</updated>
<author>
<name>Nikita Popov</name>
<email>nikita.ppv@gmail.com</email>
</author>
<published>2020-10-07T15:55:46+00:00</published>
<link rel='alternate' type='text/html' href='http://91.123.203.49/cgit/delta/php-git.git/commit/?id=1fba22072596c34b32fa09986107bde3b4ab946d'/>
<id>1fba22072596c34b32fa09986107bde3b4ab946d</id>
<content type='text'>
Additionally normalize to using $namespace rather than $uri for
namespace parameters, including in XMLReader and XMLWriter. I went
with that one as it is currently used by DOM, SimpleXML and XSL --
and our DOM parameter names follow the DOM specification.

Closes GH-6295.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Additionally normalize to using $namespace rather than $uri for
namespace parameters, including in XMLReader and XMLWriter. I went
with that one as it is currently used by DOM, SimpleXML and XSL --
and our DOM parameter names follow the DOM specification.

Closes GH-6295.
</pre>
</div>
</content>
</entry>
<entry>
<title>Improve parameter names in ext/xmlwriter</title>
<updated>2020-10-01T12:15:27+00:00</updated>
<author>
<name>Dik Takken</name>
<email>d.h.j.takken@freedom.nl</email>
</author>
<published>2020-09-24T10:06:06+00:00</published>
<link rel='alternate' type='text/html' href='http://91.123.203.49/cgit/delta/php-git.git/commit/?id=0a84fba0deb1c1b75770a436c4236dc56e6d0463'/>
<id>0a84fba0deb1c1b75770a436c4236dc56e6d0463</id>
<content type='text'>
Closes GH-6202.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Closes GH-6202.
</pre>
</div>
</content>
</entry>
<entry>
<title>Warning promotion: Throw on writing invalid XML tag names</title>
<updated>2020-09-29T14:52:47+00:00</updated>
<author>
<name>Dik Takken</name>
<email>d.h.j.takken@freedom.nl</email>
</author>
<published>2020-09-29T14:00:32+00:00</published>
<link rel='alternate' type='text/html' href='http://91.123.203.49/cgit/delta/php-git.git/commit/?id=6dac6a996e096c251e9c56f67af0bb3942b815b9'/>
<id>6dac6a996e096c251e9c56f67af0bb3942b815b9</id>
<content type='text'>
This change throws a ValueError when an invalid tag name is passed
to XMLWriter.

The rationale is that this indicates a programming error because
tag names typically originate from string literals or application
code generating them. This translates into either a typo or a flaw
in tag generation logic.

Closes GH-6233.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
This change throws a ValueError when an invalid tag name is passed
to XMLWriter.

The rationale is that this indicates a programming error because
tag names typically originate from string literals or application
code generating them. This translates into either a typo or a flaw
in tag generation logic.

Closes GH-6233.
</pre>
</div>
</content>
</entry>
<entry>
<title>Run tidy</title>
<updated>2020-09-18T12:28:32+00:00</updated>
<author>
<name>Nikita Popov</name>
<email>nikita.ppv@gmail.com</email>
</author>
<published>2020-09-18T12:28:32+00:00</published>
<link rel='alternate' type='text/html' href='http://91.123.203.49/cgit/delta/php-git.git/commit/?id=c5401854fcea27ff9aabfd0682ff4d81bbb3c888'/>
<id>c5401854fcea27ff9aabfd0682ff4d81bbb3c888</id>
<content type='text'>
This should fix most of the remaining issues with tabs and spaces
being mixed in tests.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
This should fix most of the remaining issues with tabs and spaces
being mixed in tests.
</pre>
</div>
</content>
</entry>
<entry>
<title>Update the default values of xmlwriter_write_dtd_entity()</title>
<updated>2020-09-18T09:13:27+00:00</updated>
<author>
<name>Máté Kocsis</name>
<email>kocsismate@woohoolabs.com</email>
</author>
<published>2020-09-18T08:43:21+00:00</published>
<link rel='alternate' type='text/html' href='http://91.123.203.49/cgit/delta/php-git.git/commit/?id=d9628b9ca961d634e81e5c4d4fcb218873ae9159'/>
<id>d9628b9ca961d634e81e5c4d4fcb218873ae9159</id>
<content type='text'>
Its default method handling had already been fixed not long ago, but only the stub of its method counterpart was updated.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Its default method handling had already been fixed not long ago, but only the stub of its method counterpart was updated.
</pre>
</div>
</content>
</entry>
</feed>
