Coding-standard: New sniff - PHP7 strict types

Created on 16 Oct 2016  Â·  5Comments  Â·  Source: slevomat/coding-standard

Hello,

an idea - check if the files includes declare(strict_types=1);. Maybe I will send PR

Most helpful comment

It's already there 😊 In the dev-2.0 branch. Also see the roadmap for all
PHP7-related changes: https://trello.com/b/kG8wV0Vp/slevomat-coding-standard

On Sunday, 16 October 2016, Václav MakeÅ¡ [email protected] wrote:

Hello,

an idea - check if the files includes declare(strict_types=1);. Maybe I
will send PR

—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
https://github.com/slevomat/coding-standard/issues/61, or mute the
thread
https://github.com/notifications/unsubscribe-auth/AAGZuB7CqVifTx671ryRKlSToX2i3F_Kks5q0fvWgaJpZM4KX8C7
.

Ondřej Mirtes

All 5 comments

It's already there 😊 In the dev-2.0 branch. Also see the roadmap for all
PHP7-related changes: https://trello.com/b/kG8wV0Vp/slevomat-coding-standard

On Sunday, 16 October 2016, Václav MakeÅ¡ [email protected] wrote:

Hello,

an idea - check if the files includes declare(strict_types=1);. Maybe I
will send PR

—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
https://github.com/slevomat/coding-standard/issues/61, or mute the
thread
https://github.com/notifications/unsubscribe-auth/AAGZuB7CqVifTx671ryRKlSToX2i3F_Kks5q0fvWgaJpZM4KX8C7
.

Ondřej Mirtes

Awesome, I look forward to that release :)

So - is in planning merge the branch or cherry-pick commit with sniff? Or you can help with it?

2.0 will be out really soon 😊 I don't want to cp this ito master because
1.x is 5.6-compatible.

On Wed, 9 Nov 2016 at 18:27, Václav MakeÅ¡ [email protected] wrote:

So - is in planning merge the branch or cherry-pick commit with sniff? Or
you can help with it?

—
You are receiving this because you modified the open/close state.

Reply to this email directly, view it on GitHub
https://github.com/slevomat/coding-standard/issues/61#issuecomment-259465995,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AAGZuPN-F3pXjAJorRJ-HnhfSplhcwWjks5q8fvigaJpZM4KX8C7
.

This issue has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs.

Was this page helpful?
0 / 5 - 0 ratings