Skip to content

Conversation

greg0ire
Copy link
Contributor

If we do not do that, SA tools like PHPStan ask that the type be
documented more precisely in implementations.

If we do not do that, SA tools like PHPStan ask that the type be
documented more precisely in implementations.
greg0ire added a commit to greg0ire/migrations that referenced this pull request Mar 22, 2020
Just replacing the whole phpdoc with what's written in the interface
leads to phpcs no longer seeing that there is inheritance, and
forcefully adding a string type declaration in the signature, which
makes it incompatible with the interface.
A PR has been opened to fix the interface:
php-fig/log#70
greg0ire added a commit to greg0ire/migrations that referenced this pull request Mar 22, 2020
Just replacing the whole phpdoc with what's written in the interface
leads to phpcs no longer seeing that there is inheritance, and
forcefully adding a string type declaration in the signature, which
makes it incompatible with the interface.
A PR has been opened to fix the interface:
php-fig/log#70
greg0ire added a commit to greg0ire/migrations that referenced this pull request Mar 22, 2020
Just replacing the whole phpdoc with what's written in the interface
leads to phpcs no longer seeing that there is inheritance, and
forcefully adding a string type declaration in the signature, which
makes it incompatible with the interface.
A PR has been opened to fix the interface:
php-fig/log#70
greg0ire added a commit to greg0ire/migrations that referenced this pull request Mar 22, 2020
Just replacing the whole phpdoc with what's written in the interface
leads to phpcs no longer seeing that there is inheritance, and
forcefully adding a string type declaration in the signature, which
makes it incompatible with the interface.
A PR has been opened to fix the interface:
php-fig/log#70
greg0ire added a commit to doctrine/migrations that referenced this pull request Mar 22, 2020
Just replacing the whole phpdoc with what's written in the interface
leads to phpcs no longer seeing that there is inheritance, and
forcefully adding a string type declaration in the signature, which
makes it incompatible with the interface.
A PR has been opened to fix the interface:
php-fig/log#70
Copy link
Member

@Jean85 Jean85 left a comment

Choose a reason for hiding this comment

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

LGTM 👍 but we need the editor's approval here

@Jean85 Jean85 requested a review from Seldaek March 23, 2020 09:07
@Seldaek Seldaek merged commit 0f73288 into php-fig:master Mar 23, 2020
@greg0ire greg0ire deleted the better-typehints branch March 23, 2020 10:06
@greg0ire
Copy link
Contributor Author

Thanks! When can I expect a release?

@Seldaek
Copy link
Collaborator

Seldaek commented Mar 24, 2020

Now

@greg0ire
Copy link
Contributor Author

Thanks @Seldaek !

greg0ire added a commit to greg0ire/migrations that referenced this pull request Mar 24, 2020
This reverts commit c63446d.
The issue has been fixed upstream in psr/log, and the fix released as
1.1.3
See php-fig/log#70
greg0ire added a commit to doctrine/migrations that referenced this pull request Mar 24, 2020
This reverts commit c63446d.
The issue has been fixed upstream in psr/log, and the fix released as
1.1.3
See php-fig/log#70
@uuf6429 uuf6429 mentioned this pull request Apr 1, 2024
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