PHP Insights - リファクタリングが100倍楽しくなるツール -

akki
June 20, 2019
1.8k

PHP Insights - リファクタリングが100倍楽しくなるツール -

akki

June 20, 2019

Annual Pro sale · Save $30

Have presentations of your own?

Share with private links, password protection, and more control over your work.

Transcript

41 slides
  1. PHP Insights Forbidden public property: Do not use public properties.

    Use method access instead プロパティがPublicになってるから、カプセル化して
  2. PHP Insights Having `classes` with more than 5 cyclomatic complexity

    is prohibited - Consider refactoring: 循環的複雑度(条件分岐やループ多さ)が高いので リファクタリングを検討して