Skip to content
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

Convert FTP connection resource to an opaque object #5945

Closed
wants to merge 1 commit into from

Conversation

sgolemon
Copy link
Contributor

@sgolemon sgolemon commented Aug 5, 2020

No description provided.

@sgolemon
Copy link
Contributor Author

sgolemon commented Aug 5, 2020

Parking this here as part of php/php-tasks#6

ext/ftp/php_ftp.c Outdated Show resolved Hide resolved
ext/ftp/php_ftp.c Show resolved Hide resolved
@sgolemon sgolemon force-pushed the sgolemon.conversion.ftp branch 2 times, most recently from 3724367 to 6dadf6d Compare August 5, 2020 20:37
ext/ftp/ftp.stub.php Outdated Show resolved Hide resolved
@sgolemon sgolemon force-pushed the sgolemon.conversion.ftp branch 3 times, most recently from 94031c1 to ec1e27f Compare August 6, 2020 12:54
ext/ftp/php_ftp.c Outdated Show resolved Hide resolved
@nikic
Copy link
Member

nikic commented Aug 7, 2020

The failure on Travis looks legitimate.

@sgolemon
Copy link
Contributor Author

sgolemon commented Aug 7, 2020

The failure on Travis looks legitimate.

Legit, but slightly unrelated. I noticed this while writing the test and should have done something about it (and will do now that it's in my way).

The test server that's spawned out in another process is also producing output under happy-path conditions which is able to interleave with the actual test's output in a non-deterministic ways.

I'll look for (or add) a silencer for it.

@sgolemon
Copy link
Contributor Author

sgolemon commented Aug 7, 2020

The reason it was noisy is that our mock server doesn't like a disconnect without auth. Silly test servers.

@carusogabriel carusogabriel added this to the PHP 8.0 milestone Aug 12, 2020
@kocsismate kocsismate modified the milestones: PHP 8.0, PHP 8.1 Aug 12, 2020
@sgolemon
Copy link
Contributor Author

Merged as b4503fb

@sgolemon sgolemon closed this Oct 21, 2020
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.

None yet

5 participants