Closed georgringer closed 3 years ago
By using defined('TYPO3_MODE') or die(); this makes makes phpstan more happy as it reports Right side of || is always false.
defined('TYPO3_MODE') or die();
Right side of || is always false.
Hi @georgringer,
I prefer to use '||' and '&&' over 'and' and 'or' and as I'm not using PHPStan this doesn't concern me.
By using
defined('TYPO3_MODE') or die();
this makes makes phpstan more happy as it reportsRight side of || is always false.