Upgrade to Pro — share decks privately, control downloads, hide ads and more …

PHP Inspections EA Extended/Ultimate: Keep away the blues

wernerkrauss
September 21, 2018

PHP Inspections EA Extended/Ultimate: Keep away the blues

Lightning talk at http://2018.stripecon.eu

wernerkrauss

September 21, 2018
Tweet

More Decks by wernerkrauss

Other Decks in Technology

Transcript

  1. What‘s that? • Static code analyser • Plugin for PhpStorm

    / IntelliJ Ultimate • Complains about bad code • Complains a lot • Configurable – should not complain about unused static variables in SilverStripe 21.09.2018 www.silverstrip.es 2
  2. Why should I use it? • It‘s EA: extremely awsome

    • EA: Enterprise Applications • Another useful tool for better code • Makes you an even better developer • Can fix code for you 21.09.2018 www.silverstrip.es 3
  3. Too Bad… • architecture related issues • weak types control

    and possible code construct simplifications • performance issues • non-optimal, duplicate and suspicious "if" conditions • validation of magic methods usage • regular expressions 21.09.2018 www.silverstrip.es 4
  4. Even Worse…? • validation of exception handling workflow • compatibility

    issues • variety of time-consuming bugs • PhpUnit API usage • security issues 21.09.2018 www.silverstrip.es 5
  5. Extended • Free to use (OSS) • Should cover 90%

    of all Open source project‘s needs 21.09.2018 www.silverstrip.es 7
  6. Ultimate • Professional, commercial version • Different licences available (private,

    commercial, supporter) • Complains even more • More security and performance related checks 21.09.2018 www.silverstrip.es 8