zendframework / zend-di

Di component from Zend Framework
BSD 3-Clause "New" or "Revised" License
46 stars 29 forks source link

Declare strict types #45

Closed tux-rampage closed 5 years ago

tux-rampage commented 5 years ago

All source files should declare strict types.

See Issue #41

Ocramius commented 5 years ago

Before going here: are we on PHPStan level 7?

On Fri, 16 Nov 2018, 21:24 Axel H. <notifications@github.com wrote:

@tux-rampage https://github.com/tux-rampage requested your review on:

45 https://github.com/zendframework/zend-di/pull/45 Declare strict

types.

— You are receiving this because your review was requested. Reply to this email directly, view it on GitHub https://github.com/zendframework/zend-di/pull/45#event-1972162911, or mute the thread https://github.com/notifications/unsubscribe-auth/AAJakHyCigVtotD0HPPwZ9z4KPpWfR5eks5uvx77gaJpZM4Ym6Pi .

tux-rampage commented 5 years ago

Definitly a goal. Should I add it in this PR or another one?

Ocramius commented 5 years ago

Another one, and we can apply this patch afterwards

On Sat, 17 Nov 2018, 10:02 Axel H. <notifications@github.com wrote:

Definitly a goal. Should I add it in this PR or another one?

— You are receiving this because your review was requested. Reply to this email directly, view it on GitHub https://github.com/zendframework/zend-di/pull/45#issuecomment-439602029, or mute the thread https://github.com/notifications/unsubscribe-auth/AAJakKgKhmRC5fK2WsoSHBLxrDkBhTL7ks5uv9CwgaJpZM4Ym6Pi .

Ocramius commented 5 years ago

Now this can be rebased 👌

Can you try and check which level of PHPStan works in the test suite?

tux-rampage commented 5 years ago

Sure will look at it later, maybe tomorrow. Thanks.

tux-rampage commented 5 years ago

@Ocramius rebase is complete. I also changed the target branch from master to develop (idk why I didn't do that when opening this PR).