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

Enable void_return fixer #3288

Closed
sebastianbergmann opened this issue Sep 8, 2018 · 0 comments
Closed

Enable void_return fixer #3288

sebastianbergmann opened this issue Sep 8, 2018 · 0 comments
Assignees
Labels
type/backward-compatibility Something will be/is intentionally broken
Milestone

Comments

@sebastianbergmann
Copy link
Owner

sebastianbergmann commented Sep 8, 2018

This is a backward compatibility break that was announced in the "Looking Forward" section of the PHPUnit 7 Release Announcement.

@sebastianbergmann sebastianbergmann added the type/backward-compatibility Something will be/is intentionally broken label Sep 8, 2018
@sebastianbergmann sebastianbergmann added this to the PHPUnit 8.0 milestone Sep 8, 2018
@sebastianbergmann sebastianbergmann self-assigned this Sep 8, 2018
sj-i added a commit to sj-i/php-database that referenced this issue Jan 27, 2021
…ions.

# method signatures
- sync signatures of PDO methods with PHP8
	- PHP8 has named parameters, so also names of parameters should be compatible with parent
- change Exception thrown to sync with PHP8

# phpunit
- at() was deprecated as of phpunit9.3, so added a polyfill to avoid warnings for now. sebastianbergmann/phpunit#4297
- assertInternalType() was removed in phpunit9. sebastianbergmann/phpunit#3370
- setUp() and tearDown() have return type declaration of void as of phpunit8. sebastianbergmann/phpunit#3288
- @ExpectedException was removed in phpunit9. sebastianbergmann/phpunit#3333
sj-i added a commit to sj-i/php-database that referenced this issue Jan 27, 2021
…ions.

# method signatures
- sync signatures of PDO methods with PHP8
	- PHP8 has named parameters, so also names of parameters should be compatible with parent
- change Exception thrown to sync with PHP8

# phpunit
- at() was deprecated as of phpunit9.3, so added a polyfill to avoid warnings for now. sebastianbergmann/phpunit#4297
- assertInternalType() was removed in phpunit9. sebastianbergmann/phpunit#3370
- setUp() and tearDown() have return type declaration of void as of phpunit8. sebastianbergmann/phpunit#3288
- @ExpectedException was removed in phpunit9. sebastianbergmann/phpunit#3333
sj-i added a commit to sj-i/php-database that referenced this issue Jan 27, 2021
…ions.

# method signatures
- sync signatures of PDO methods with PHP8
	- PHP8 has named parameters, so also names of parameters should be compatible with parent
- change Exception thrown to sync with PHP8

# phpunit
- at() was deprecated as of phpunit9.3, so added a polyfill to avoid warnings for now. sebastianbergmann/phpunit#4297
- assertInternalType() was removed in phpunit9. sebastianbergmann/phpunit#3370
- setUp() and tearDown() have return type declaration of void as of phpunit8. sebastianbergmann/phpunit#3288
- @ExpectedException was removed in phpunit9. sebastianbergmann/phpunit#3333
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
type/backward-compatibility Something will be/is intentionally broken
Projects
None yet
Development

No branches or pull requests

1 participant