1 | <?php |
||
15 | abstract class UpdateSettingsAbstract extends Migration |
||
|
|||
16 | { |
||
17 | protected static $PREVIOUS_FONTAWESOME_LINK = ''; |
||
18 | protected static $PREVIOUS_FONTAWESOME_LINK_ATTRIBUTES = []; |
||
19 | |||
20 | protected static $NEW_FONTAWESOME_LINK = ''; |
||
21 | protected static $NEW_FONTAWESOME_LINK_ATTRIBUTES = []; |
||
22 | |||
23 | /** |
||
24 | * Execute migrations |
||
25 | */ |
||
26 | public function up() |
||
30 | |||
31 | /** |
||
32 | * Rollback migrations |
||
33 | */ |
||
34 | public function down() |
||
38 | |||
39 | /** |
||
40 | * @param string $link |
||
41 | * @param array $attributes |
||
42 | */ |
||
43 | private function updateOrInsertSettings(string $link, array $attributes) |
||
64 | } |
||
65 |
This check examines a number of code elements and verifies that they conform to the given naming conventions.
You can set conventions for local variables, abstract classes, utility classes, constant, properties, methods, parameters, interfaces, classes, exceptions and special methods.