History log of /php-src/ext/phar/phar_object.stub.php (Results 1 – 25 of 32)
Revision (<<< Hide revision tags) (Show revision tags >>>) Date Author Comments
(<<< Hide modified files)
(Show modified files >>>)
# b06c95b6 16-Mar-2024 Máté Kocsis

Declare the missing true return types (#13709)


# 577db994 13-Mar-2024 Máté Kocsis

Verify stub aliases in CI (#13682)

In the same time, let's not verify implementation aliases since they may now legitimately differ from their aliased function/method counterparts (think abo

Verify stub aliases in CI (#13682)

In the same time, let's not verify implementation aliases since they may now legitimately differ from their aliased function/method counterparts (think about the ext/dom refactoring where e.g. many return type declarations have changed). Additionally, unnecessary `@no-verify` tags are cleaned up.

show more ...


# 1887f02b 21-Aug-2023 Ayesh Karunaratne

Add class constant types to Phar extension (#11826)


Revision tags: php-8.2.0RC1, php-8.1.10, php-8.0.23, php-8.0.23RC1, php-8.1.10RC1, php-8.2.0beta3, php-8.2.0beta2, php-8.1.9, php-8.0.22
# 6ab897c8 22-Jul-2022 Máté Kocsis

Declare ext/phar constants in stubs (#9094)

Revision tags: php-8.1.9RC1, php-8.2.0beta1, php-8.0.22RC1, php-8.0.21, php-8.1.8, php-8.2.0alpha3, php-8.1.8RC1, php-8.2.0alpha2, php-8.0.21RC1, php-8.0.20, php-8.1.7, php-8.2.0alpha1, php-7.4.30, php-8.1.7RC1, php-8.0.20RC1, php-8.1.6, php-8.0.19, php-8.1.6RC1, php-8.0.19RC1, php-8.0.18, php-8.1.5, php-7.4.29, php-8.1.5RC1, php-8.0.18RC1, php-8.1.4, php-8.0.17, php-8.1.4RC1, php-8.0.17RC1, php-8.1.3, php-8.0.16, php-7.4.28, php-8.1.3RC1, php-8.0.16RC1, php-8.1.2, php-8.0.15, php-8.1.2RC1, php-8.0.15RC1, php-8.0.14, php-8.1.1, php-7.4.27, php-8.1.1RC1, php-8.0.14RC1, php-7.4.27RC1, php-8.1.0, php-8.0.13, php-7.4.26, php-7.3.33, php-8.1.0RC6, php-7.4.26RC1, php-8.0.13RC1, php-8.1.0RC5, php-7.3.32, php-7.4.25, php-8.0.12, php-8.1.0RC4, php-8.0.12RC1, php-7.4.25RC1, php-8.1.0RC3, php-8.0.11, php-7.4.24, php-7.3.31, php-8.1.0RC2
# be2500f2 08-Sep-2021 George Peter Banyard

Merge branch 'PHP-8.0' into PHP-8.1

* PHP-8.0:
Fix param name order for Phar::copy()


# 0d0c9aca 07-Sep-2021 George Peter Banyard

Fix param name order for Phar::copy()

Revision tags: php-7.4.24RC1, php-8.0.11RC1, php-8.1.0RC1, php-7.4.23, php-8.0.10, php-7.3.30, php-8.1.0beta3, php-8.0.10RC1, php-7.4.23RC1, php-8.1.0beta2, php-8.0.9, php-7.4.22, php-8.1.0beta1
# edb6b375 16-Jul-2021 Nikita Popov

Don't return bool from Phar::offsetUnset()

This violates the ArrayAccess interface. Use offsetExists() to
check if an entry exists.

Revision tags: php-7.4.22RC1, php-8.0.9RC1
# 3fc3cfba 13-Jul-2021 Nikita Popov

Fix Phar::offsetGet() return type

It's possible to change the returned type using setFileClass(),
which unfortunately only enforces that it's a subtype of
SplFileInfo, not PharFileIn

Fix Phar::offsetGet() return type

It's possible to change the returned type using setFileClass(),
which unfortunately only enforces that it's a subtype of
SplFileInfo, not PharFileInfo.

show more ...

Revision tags: php-8.1.0alpha3, php-7.4.21, php-7.3.29, php-8.0.8, php-8.1.0alpha2, php-7.4.21RC1, php-8.0.8RC1, php-8.1.0alpha1, php-8.0.7, php-7.4.20
# 83916e83 28-May-2021 Máté Kocsis

Declare tentative return types for ext/phar (#7052)

# 0224cc83 27-May-2021 Máté Kocsis

Merge branch 'PHP-8.0'

* Add a few missing RETURN_THROWS();
* Fix a few ext/phar return types


# 9bba9f68 27-May-2021 Máté Kocsis

Fix a few ext/phar return types

Revision tags: php-8.0.7RC1, php-7.4.20RC1, php-8.0.6, php-7.4.19, php-7.4.18, php-7.3.28, php-8.0.5, php-8.0.5RC1, php-7.4.18RC1, php-8.0.4RC1, php-7.4.17RC1, php-8.0.3, php-7.4.16, php-8.0.3RC1, php-7.4.16RC1
# 5b5bfd6b 14-Feb-2021 Máté Kocsis

Generate class entries from stubs for phar, posix, pspell, readline, reflection, session, shmop

Closes GH-6692

# ccc70ec5 09-Feb-2021 Nikita Popov

Merge branch 'PHP-8.0'

* PHP-8.0:
Make Phar $fileNotFoundScript nullable


# 44192ce8 09-Feb-2021 Nikita Popov

Make Phar $fileNotFoundScript nullable

While "" is already treated the same way as absence, null is the
logically correct default here. Making this one argument non-nullable
is parti

Make Phar $fileNotFoundScript nullable

While "" is already treated the same way as absence, null is the
logically correct default here. Making this one argument non-nullable
is particularly pecular when considering that the preceding $alias
and $index arguments are both nullable.

show more ...

Revision tags: php-8.0.2, php-7.4.15, php-7.3.27, php-8.0.2RC1, php-7.4.15RC2, php-7.4.15RC1
# a9efcb15 18-Jan-2021 Nikita Popov

gen_stub: Also verify implementation-alias

This makes --verify also check @implementation-alias. Failures are
ignored using @no-verify instead. Some mistakes have been made that
woul

gen_stub: Also verify implementation-alias

This makes --verify also check @implementation-alias. Failures are
ignored using @no-verify instead. Some mistakes have been made that
would have been caught by this...

Closes GH-6615.

show more ...

# 48e2e532 18-Jan-2021 Nikita Popov

Fix parameter name of PharData::getMetadata()

The name should be the same as for Phar::getMetadata().

# 0aad7741 12-Jan-2021 Dylan K. Taylor

Fix stub for Phar::setStub()

This fixes multiple issues:
* The first parameter may be resource|string.
* It's an overloaded signature. The second parameter cannot be
passed

Fix stub for Phar::setStub()

This fixes multiple issues:
* The first parameter may be resource|string.
* It's an overloaded signature. The second parameter cannot be
passed if the first one is a string. Use UNKNOWN default
value for that reason.
* Make parameter names in PharData::setStub() match those in
Phar.

Closes GH-6596.

show more ...

Revision tags: php-8.0.1, php-7.4.14, php-7.3.26, php-7.4.14RC1, php-8.0.1RC1, php-7.3.26RC1, php-8.0.0, php-7.3.25, php-7.4.13, php-8.0.0RC5, php-7.4.13RC1, php-8.0.0RC4, php-7.3.25RC1, php-7.4.12, php-8.0.0RC3, php-7.3.24, php-8.0.0RC2, php-7.4.12RC1, php-7.3.24RC1
# 82d46e35 07-Oct-2020 Nikita Popov

Update ext/phar parameter names

Closes GH-6307.

# ad7e231e 08-Oct-2020 Nikita Popov

Make compression_type nullable in a few more places

Missed that this was also used elsewhere...

# 9719d6ca 08-Oct-2020 Nikita Popov

Make Phar $format and $compression arguments nullable

Rather than using Greg's birthday, use null to indicate that the
existing format/compression should be retained. For the format

Make Phar $format and $compression arguments nullable

Rather than using Greg's birthday, use null to indicate that the
existing format/compression should be retained. For the format
simply using zero would be sufficient, but as the documentation
explicitly says that NULL is allowed here, we may as well make
that the truth.

show more ...

Revision tags: php-7.2.34, php-8.0.0rc1, php-7.4.11, php-7.3.23
# 64af12d1 19-Sep-2020 Máté Kocsis

Add support for `@implementation-alias` in stubs

Closes GH-6170

Revision tags: php-8.0.0beta4, php-7.4.11RC1, php-7.3.23RC1
# 628db3f3 04-Sep-2020 Máté Kocsis

Fix UNKNOWN default values in various extensions

Closes GH-6075

Revision tags: php-8.0.0beta3, php-7.4.10, php-7.3.22, php-8.0.0beta2, php-7.3.22RC1, php-7.4.10RC1
# f7fbc633 14-Aug-2020 Máté Kocsis

Add more precise type info for stubs

Closes GH-6005

# be5ba201 18-Aug-2020 Máté Kocsis

Promote warnings to exceptions in ext/phar

Closes GH-6008

# 046cc5e4 07-Aug-2020 Máté Kocsis

Add another round of missing parameter types to stubs

Closes GH-5950

12