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

3.x cleanup #22

Merged
merged 7 commits into from
Apr 10, 2018
Merged

3.x cleanup #22

merged 7 commits into from
Apr 10, 2018

Conversation

xificurk
Copy link
Contributor

@xificurk xificurk commented Apr 5, 2018

  • Drobná dočištění související s odstraněním podpory pro PHP <5.6 a Nette <2.4.
  • typehinty

@fmasa
Copy link
Member

fmasa commented Apr 6, 2018

Nestálo by za to zbavit se duplicitních phpdoců v místech, kde je typehint?

@JindrichPilar JindrichPilar self-requested a review April 9, 2018 11:56
Copy link
Member

@JindrichPilar JindrichPilar left a comment

Choose a reason for hiding this comment

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

Zda se ok.
Souhlasim s @fmasa, duplicitni phpdocs nejsou potreba. Ale nechal bych to u poli @return array => @return string[]

@fmasa
Copy link
Member

fmasa commented Apr 10, 2018

Jen je potřeba brát v potaz, že přidávání typehintů je minor BC break.

Protože ty třídy, kde se tak děje, nejsou final nebo aspoň internal, takže můžou v projektech tyhle třídy dědit a přetěžovat metody, což jim nebude fungovat.

@xificurk
Copy link
Contributor Author

@fmasa tohle cílí 3.x větev, která zatím nemá release, takže BC breaky nevadí.

@xificurk xificurk merged commit 9e12a76 into skaut:3.x Apr 10, 2018
@xificurk xificurk deleted the 3.x-cleanup branch April 10, 2018 10:43
@fmasa
Copy link
Member

fmasa commented Apr 10, 2018

🤦‍♂️ Jsem myslel, že jsem na #21

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