You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
@kitsunetbrought up the question on our rules regarding copyright doc blocks in our classes.
We agreed to the positioning of such block: If we follow PSR-12 it would be the first thing in every class, even before any declare directives.
we want to keep our "This file is part of the [...] package" version
introduce a reduced version without any dynamic parts
get rid of the per-file copyright doc blocks (legally they aren't required)
That means a php file would start with
<?php/* * (c) Contributors of the Neos Project - www.neos.io * Please see the LICENSE file which was distributed with this source code. */declare(strict_types=1);
namespaceNeos\ContentRepository\Core;
useNeos\Utility\Arrays;
Not only do we want to use this pattern for new files, but the goal would be to adjust all current files as well lint against these rules in ci.
The text was updated successfully, but these errors were encountered:
Subtask of #4478
@kitsunet brought up the question on our rules regarding copyright doc blocks in our classes.
We agreed to the positioning of such block: If we follow PSR-12 it would be the first thing in every class, even before any
declare
directives.On slack we voted for option 2:
That means a php file would start with
Not only do we want to use this pattern for new files, but the goal would be to adjust all current files as well lint against these rules in ci.
The text was updated successfully, but these errors were encountered: