<feed xmlns='http://www.w3.org/2005/Atom'>
<title>delta/php-git.git/ext/reflection/php_reflection.stub.php, branch php-8.0.0beta1</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>Add a few missing parameter types in stubs</title>
<updated>2020-07-30T12:26:45+00:00</updated>
<author>
<name>Máté Kocsis</name>
<email>kocsismate@woohoolabs.com</email>
</author>
<published>2020-07-28T21:00:44+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/php-git.git/commit/?id=0d330e1a022d536de8a679d11dc8ec6f9fd64be3'/>
<id>0d330e1a022d536de8a679d11dc8ec6f9fd64be3</id>
<content type='text'>
Related to GH-5627
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Related to GH-5627
</pre>
</div>
</content>
</entry>
<entry>
<title>Cleanup argument handling in ext/reflection</title>
<updated>2020-07-24T15:47:42+00:00</updated>
<author>
<name>Máté Kocsis</name>
<email>kocsismate@woohoolabs.com</email>
</author>
<published>2020-07-24T08:46:37+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/php-git.git/commit/?id=8664ff7ae174c610769c36a712eeea80cc3ad933'/>
<id>8664ff7ae174c610769c36a712eeea80cc3ad933</id>
<content type='text'>
Closes GH-5850
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Closes GH-5850
</pre>
</div>
</content>
</entry>
<entry>
<title>Make ReflectionGenerator final</title>
<updated>2020-07-21T09:53:00+00:00</updated>
<author>
<name>Nikita Popov</name>
<email>nikita.ppv@gmail.com</email>
</author>
<published>2020-07-21T09:53:00+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/php-git.git/commit/?id=b3ea6ce720b3811e0c98ba4bdcf9107553d8967a'/>
<id>b3ea6ce720b3811e0c98ba4bdcf9107553d8967a</id>
<content type='text'>
This class is not safe against malicious extension / instantiation.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
This class is not safe against malicious extension / instantiation.
</pre>
</div>
</content>
</entry>
<entry>
<title>ReflectionMethod::invoke() object is not optional</title>
<updated>2020-07-06T09:53:57+00:00</updated>
<author>
<name>Nikita Popov</name>
<email>nikita.ppv@gmail.com</email>
</author>
<published>2020-07-06T09:53:57+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/php-git.git/commit/?id=a4b253c40bd2329e66ce12a35b5cabf9c244e652'/>
<id>a4b253c40bd2329e66ce12a35b5cabf9c244e652</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>Implement Attribute Amendments.</title>
<updated>2020-06-29T08:45:51+00:00</updated>
<author>
<name>Martin Schröder</name>
<email>m.schroeder2007@gmail.com</email>
</author>
<published>2020-06-28T17:16:33+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/php-git.git/commit/?id=053ef28b8d0c1e2af2cc5151cfe2bd4369ddde34'/>
<id>053ef28b8d0c1e2af2cc5151cfe2bd4369ddde34</id>
<content type='text'>
RFC: https://wiki.php.net/rfc/attribute_amendments

Support for attribute grouping is left out, because the short
attribute syntax RFC will likely make it obsolete.

Closes GH-5751.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
RFC: https://wiki.php.net/rfc/attribute_amendments

Support for attribute grouping is left out, because the short
attribute syntax RFC will likely make it obsolete.

Closes GH-5751.
</pre>
</div>
</content>
</entry>
<entry>
<title>Add $filter parameter for ReflectionClass::(getConstants|getReflectionConstants)</title>
<updated>2020-06-07T13:57:48+00:00</updated>
<author>
<name>Gabriel Caruso</name>
<email>carusogabriel34@gmail.com</email>
</author>
<published>2020-05-30T22:17:31+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/php-git.git/commit/?id=7439941d55ea9cf7e1280b6b30f596e34a56512c'/>
<id>7439941d55ea9cf7e1280b6b30f596e34a56512c</id>
<content type='text'>
This solves [#79628](https://bugs.php.net/79628).

Similar to `ReflectionClass::getMethods()` and `ReflectionClass::getProperties()`,
this new `$filter` argument allows the filtering of constants defined in a class by
their visibility.

For that, we create three new constants for `ReflectionClassConstant`:

  * `IS_PUBLIC`
  * `IS_PROTECTED`
  * `IS_PRIVATE`

Closes GH-5649.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
This solves [#79628](https://bugs.php.net/79628).

Similar to `ReflectionClass::getMethods()` and `ReflectionClass::getProperties()`,
this new `$filter` argument allows the filtering of constants defined in a class by
their visibility.

For that, we create three new constants for `ReflectionClassConstant`:

  * `IS_PUBLIC`
  * `IS_PROTECTED`
  * `IS_PRIVATE`

Closes GH-5649.
</pre>
</div>
</content>
</entry>
<entry>
<title>Implement "Constructor Promotion" RFC</title>
<updated>2020-06-05T13:15:51+00:00</updated>
<author>
<name>Nikita Popov</name>
<email>nikita.ppv@gmail.com</email>
</author>
<published>2020-03-24T12:18:28+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/php-git.git/commit/?id=064b4644484d38e9dce40aef7e8e0e8190e9d863'/>
<id>064b4644484d38e9dce40aef7e8e0e8190e9d863</id>
<content type='text'>
RFC: https://wiki.php.net/rfc/constructor_promotion

Closes GH-5291.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
RFC: https://wiki.php.net/rfc/constructor_promotion

Closes GH-5291.
</pre>
</div>
</content>
</entry>
<entry>
<title>Add Attributes</title>
<updated>2020-06-04T16:19:49+00:00</updated>
<author>
<name>Benjamin Eberlei</name>
<email>kontakt@beberlei.de</email>
</author>
<published>2020-05-24T18:57:00+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/php-git.git/commit/?id=a7908c2d11439a203be92e765b1e000498689e00'/>
<id>a7908c2d11439a203be92e765b1e000498689e00</id>
<content type='text'>
Co-authored-by: Martin Schröder &lt;m.schroeder2007@gmail.com&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Co-authored-by: Martin Schröder &lt;m.schroeder2007@gmail.com&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>Annotate internal functions with the mixed type</title>
<updated>2020-05-25T15:30:57+00:00</updated>
<author>
<name>Máté Kocsis</name>
<email>kocsismate@woohoolabs.com</email>
</author>
<published>2020-05-25T15:30:49+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/php-git.git/commit/?id=b3718430de781647676b5ec2b2b004c310e25e4b'/>
<id>b3718430de781647676b5ec2b2b004c310e25e4b</id>
<content type='text'>
Closes GH-5618
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Closes GH-5618
</pre>
</div>
</content>
</entry>
<entry>
<title>Deprecate old ReflectionParameter type declaration APIs</title>
<updated>2020-05-11T15:01:40+00:00</updated>
<author>
<name>Nikita Popov</name>
<email>nikita.ppv@gmail.com</email>
</author>
<published>2020-02-25T15:21:52+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/php-git.git/commit/?id=28af364d2ae2261addc21f8830f175baa8fa72cf'/>
<id>28af364d2ae2261addc21f8830f175baa8fa72cf</id>
<content type='text'>
This deprecates:

    ReflectionParameter::isArray()
    ReflectionParameter::isCallable()
    ReflectionParameter::getClass()

These APIs have been superseded by ReflectionParameter::getType()
since PHP 7.0. Types introduced since that time are not available
through the old APIs, and their behavior is getting increasingly
confusing. This is how they interact with PHP 8 union types:

 * isArray() will return true if the type is array or ?array,
   but not any other union type
 * Same for isCallable().
 * getClass() will return a class for T|int etc, as long as the
   union only contains a single type. T1|T2 will return null.

This behavior is not particularly reasonable or useful, and will
get more confusing as new type system extensions are added.

Closes GH-5209.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
This deprecates:

    ReflectionParameter::isArray()
    ReflectionParameter::isCallable()
    ReflectionParameter::getClass()

These APIs have been superseded by ReflectionParameter::getType()
since PHP 7.0. Types introduced since that time are not available
through the old APIs, and their behavior is getting increasingly
confusing. This is how they interact with PHP 8 union types:

 * isArray() will return true if the type is array or ?array,
   but not any other union type
 * Same for isCallable().
 * getClass() will return a class for T|int etc, as long as the
   union only contains a single type. T1|T2 will return null.

This behavior is not particularly reasonable or useful, and will
get more confusing as new type system extensions are added.

Closes GH-5209.
</pre>
</div>
</content>
</entry>
</feed>
