<feed xmlns='http://www.w3.org/2005/Atom'>
<title>delta/php-git.git/ext/fileinfo, branch master</title>
<subtitle>git.php.net: repository/php-src.git
</subtitle>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/php-git.git/'/>
<entry>
<title>Improve class entry generation</title>
<updated>2021-02-16T12:09:56+00:00</updated>
<author>
<name>Máté Kocsis</name>
<email>kocsismate@woohoolabs.com</email>
</author>
<published>2021-02-15T21:14:36+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/php-git.git/commit/?id=bf0f6aaf18895c979dcf61ecb26bdd58a238a69b'/>
<id>bf0f6aaf18895c979dcf61ecb26bdd58a238a69b</id>
<content type='text'>
Related to GH-6701
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Related to GH-6701
</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://git.baserock.org/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>Merge branch 'PHP-8.0'</title>
<updated>2021-02-10T11:21:15+00:00</updated>
<author>
<name>Nikita Popov</name>
<email>nikita.ppv@gmail.com</email>
</author>
<published>2021-02-10T11:21:15+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/php-git.git/commit/?id=89c55afeb570acaed6c07c404379aed58ca498ed'/>
<id>89c55afeb570acaed6c07c404379aed58ca498ed</id>
<content type='text'>
* PHP-8.0:
  Make finfo_open() $magic_database nullable
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
* PHP-8.0:
  Make finfo_open() $magic_database nullable
</pre>
</div>
</content>
</entry>
<entry>
<title>Make finfo_open() $magic_database nullable</title>
<updated>2021-02-10T11:18:42+00:00</updated>
<author>
<name>Nikita Popov</name>
<email>nikita.ppv@gmail.com</email>
</author>
<published>2021-02-10T11:18:42+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/php-git.git/commit/?id=fd5ff37db77b52b39d97c5749dcbbf4b09c10d9d'/>
<id>fd5ff37db77b52b39d97c5749dcbbf4b09c10d9d</id>
<content type='text'>
Empty string was interpreted as a special value here, which indicates
that the default magic database should be used. It makes more sense
to use null for this purpose.

The documentation also explicitly mentions that null can be used.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Empty string was interpreted as a special value here, which indicates
that the default magic database should be used. It makes more sense
to use null for this purpose.

The documentation also explicitly mentions that null can be used.
</pre>
</div>
</content>
</entry>
<entry>
<title>Implicitly enable function entry generation when class entry generation is enabled</title>
<updated>2021-02-09T12:37:24+00:00</updated>
<author>
<name>Máté Kocsis</name>
<email>kocsismate@woohoolabs.com</email>
</author>
<published>2021-02-08T19:08:11+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/php-git.git/commit/?id=99b08ac2817672c108149a65509c79baf261e819'/>
<id>99b08ac2817672c108149a65509c79baf261e819</id>
<content type='text'>
Closes GH-6675
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Closes GH-6675
</pre>
</div>
</content>
</entry>
<entry>
<title>Generate class entries from stubs for another batch of extensions</title>
<updated>2021-02-08T18:53:55+00:00</updated>
<author>
<name>Máté Kocsis</name>
<email>kocsismate@woohoolabs.com</email>
</author>
<published>2021-02-05T12:46:46+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/php-git.git/commit/?id=98fb565c7448cd455b8d24df5f6be8fcf9330fd7'/>
<id>98fb565c7448cd455b8d24df5f6be8fcf9330fd7</id>
<content type='text'>
Closes GH-6669
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Closes GH-6669
</pre>
</div>
</content>
</entry>
<entry>
<title>Convert file_info resources to objects</title>
<updated>2020-12-20T17:19:22+00:00</updated>
<author>
<name>Christoph M. Becker</name>
<email>cmbecker69@gmx.de</email>
</author>
<published>2020-12-18T18:10:53+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/php-git.git/commit/?id=b85f0d1cd0cc49ad339b8129c3d45181b56eff24'/>
<id>b85f0d1cd0cc49ad339b8129c3d45181b56eff24</id>
<content type='text'>
Besides our general desire to get rid of the legacy resource types,
this is particularly appealing for fileinfo, because there are already
respective objects.

Closes GH-5987.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Besides our general desire to get rid of the legacy resource types,
this is particularly appealing for fileinfo, because there are already
respective objects.

Closes GH-5987.
</pre>
</div>
</content>
</entry>
<entry>
<title>Merge branch 'PHP-7.4' into PHP-8.0</title>
<updated>2020-11-24T13:06:53+00:00</updated>
<author>
<name>Christoph M. Becker</name>
<email>cmbecker69@gmx.de</email>
</author>
<published>2020-11-24T13:06:19+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/php-git.git/commit/?id=e589609b4c08209fb414ffd189dfd2b49cc145ca'/>
<id>e589609b4c08209fb414ffd189dfd2b49cc145ca</id>
<content type='text'>
* PHP-7.4:
  Fix #77961: finfo_open crafted magic parsing SIGABRT
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
* PHP-7.4:
  Fix #77961: finfo_open crafted magic parsing SIGABRT
</pre>
</div>
</content>
</entry>
<entry>
<title>Fix #77961: finfo_open crafted magic parsing SIGABRT</title>
<updated>2020-11-24T13:01:15+00:00</updated>
<author>
<name>Christoph M. Becker</name>
<email>cmbecker69@gmx.de</email>
</author>
<published>2020-11-23T16:12:46+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/php-git.git/commit/?id=39f95f56144d595b9af7828726c3e28c313fb2b7'/>
<id>39f95f56144d595b9af7828726c3e28c313fb2b7</id>
<content type='text'>
libmagic may abort the running process, which is not desirable for PHP;
we raise a fatal error instead.

Closes GH-6437.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
libmagic may abort the running process, which is not desirable for PHP;
we raise a fatal error instead.

Closes GH-6437.
</pre>
</div>
</content>
</entry>
<entry>
<title>[ci skip] Update generate_patch.sh</title>
<updated>2020-11-24T12:38:31+00:00</updated>
<author>
<name>Christoph M. Becker</name>
<email>cmbecker69@gmx.de</email>
</author>
<published>2020-11-24T12:35:15+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/php-git.git/commit/?id=337031abbde89758724f3d7583f2ea607b9491e3'/>
<id>337031abbde89758724f3d7583f2ea607b9491e3</id>
<content type='text'>
This has apparently been forgotten when updating to libmagic 5.39.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
This has apparently been forgotten when updating to libmagic 5.39.
</pre>
</div>
</content>
</entry>
</feed>
