Julien Dubois<p>Sortie de PER Code style 3 pour les standards de code PHP (remplaçant de PSR12) > <a href="https://phpc.social/@phpfig/114856062775635072" rel="nofollow noopener" translate="no" target="_blank"><span class="invisible">https://</span><span class="ellipsis">phpc.social/@phpfig/1148560627</span><span class="invisible">75635072</span></a></p><p>Je ne comprends pas les choix divergents sur le placement de l'accolade ouvrante entre la déclaration d'une classe/fonction (retour à la ligne obligatoire) VS un property hook (retour à la ligne interdit). <br>Je ne comprends pas non plus le choix de devoir mettre sur la même ligne l'enchaînement elseif / else. <br>Des idées de pourquoi ce choix ? <a href="https://piaille.fr/tags/php" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>php</span></a> <a href="https://piaille.fr/tags/codingstandard" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>codingstandard</span></a></p>