PHP Inspections EA Extended/Ultimate: Keep away the blues

9748d71c4e18135a4f044d5b93af0ee3?s=47 wernerkrauss
September 21, 2018

PHP Inspections EA Extended/Ultimate: Keep away the blues

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

9748d71c4e18135a4f044d5b93af0ee3?s=128

wernerkrauss

September 21, 2018
Tweet

Transcript

  1. 2.

    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. 3.

    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. 4.

    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. 5.

    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. 7.

    Extended • Free to use (OSS) • Should cover 90%

    of all Open source project‘s needs 21.09.2018 www.silverstrip.es 7
  6. 8.

    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