Skip to content

Convert IMAPConnection to IMAP\Connection #6925

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
May 5, 2021

Conversation

Girgias
Copy link
Member

@Girgias Girgias commented Apr 28, 2021

As this a newly introduced class in PHP 8.1 and the "Namespaces in bundled PHP extensions" RFC is passing, it makes sense to introduce the IMAP namespace for it.

@kocsismate
Copy link
Member

I agree! And we can also do the same with FTPConnection and LDAPConnection

Copy link
Member

@nikic nikic left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

RFC has been accepted, I mentioned this particular example in https://externals.io/message/114070#114261 and I don't see any usages in https://beta.grep.app/search?q=namespace%20IMAP%5Cs%2A%5B%7B%3B%5D&regexp=true, so this should be good to go.

@Girgias Girgias merged commit 27d40da into php:master May 5, 2021
@Girgias Girgias deleted the imap-connection-use-namespace branch May 5, 2021 13:22
Ayesh added a commit to Ayesh/php-src that referenced this pull request May 6, 2021
Followed by the bundled extension namespace RFC, php#6925 updated the `IMAPConnection` class to `IMAP\Connection`.

This updates the UPGRADING file to reflect that change.
Ayesh added a commit to Ayesh/php-src that referenced this pull request May 6, 2021
Followed by the bundled extension namespace RFC, php#6925 updated the `IMAPConnection` class to `IMAP\Connection`.

This updates the UPGRADING file to reflect that change.
Girgias pushed a commit that referenced this pull request May 6, 2021
Followed by the bundled extension namespace RFC, #6925 updated the `IMAPConnection` class to `IMAP\Connection`.

This updates the UPGRADING file to reflect that change.
Ayesh added a commit to Ayesh/php-src that referenced this pull request May 8, 2021
With the [namespaces in bundled extensions RFC](https://wiki.php.net/rfc/namespaces_in_bundled_extensions] passed, it is possible to rename the new `\FTPConnection` to `\FTP` namespace.

Related: php#6925, php#5945
Ayesh added a commit to Ayesh/php-src that referenced this pull request May 8, 2021
With the [namespaces in bundled extensions RFC](https://wiki.php.net/rfc/namespaces_in_bundled_extensions) passed, it is possible to rename the new `\FTPConnection` to `\FTP` namespace.
This also adds the entry to `./UPGRADING` file.

Related: php#6925, php#5945
Ayesh added a commit to Ayesh/php-src that referenced this pull request May 8, 2021
With the [namespaces in bundled extensions RFC](https://wiki.php.net/rfc/namespaces_in_bundled_extensions) passed, it is possible to rename the new `\FTPConnection` class to `\FTP` namespace.
This also adds the entry to `./UPGRADING` file.

Related: php#6925, php#5945
Ayesh added a commit to Ayesh/php-src that referenced this pull request May 8, 2021
With the [namespaces in bundled extensions RFC](https://wiki.php.net/rfc/namespaces_in_bundled_extensions) passed, renaming the new `\FTPConnection` class to `\FTP\Connection`.
This also adds an entry to `./UPGRADING` file.

Related: php#6925, php#5945
nikic pushed a commit that referenced this pull request May 8, 2021
With the [namespaces in bundled extensions RFC](https://wiki.php.net/rfc/namespaces_in_bundled_extensions) passed, renaming the new `\FTPConnection` class to `\FTP\Connection`.
This also adds an entry to `./UPGRADING` file.

Related: #6925, #5945
Ayesh added a commit to Ayesh/php-src that referenced this pull request May 8, 2021
Another change as per accepted [namespaces in bundled extensions RFC](https://wiki.php.net/rfc/namespaces_in_bundled_extensions) RFC.

Related: php#6925, php#5945, php#6960
Ayesh added a commit to Ayesh/php-src that referenced this pull request May 8, 2021
Ayesh added a commit to Ayesh/php-src that referenced this pull request May 8, 2021
Ayesh added a commit to Ayesh/php-src that referenced this pull request May 8, 2021
Ayesh added a commit to Ayesh/php-src that referenced this pull request May 8, 2021
nikic pushed a commit that referenced this pull request May 9, 2021
Another change as per accepted [namespaces in bundled extensions RFC](https://wiki.php.net/rfc/namespaces_in_bundled_extensions).

Related: #6925, #5945, #6960
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants