Skip to content

Commit f1ae71d

Browse files
committed
CS updates adding rules with properties to phpcs.xml.dist.
1 parent 5f392cb commit f1ae71d

File tree

19 files changed

+71
-34
lines changed

19 files changed

+71
-34
lines changed

block_example/src/Controller/BlockExampleController.php

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,7 @@
33
namespace Drupal\block_example\Controller;
44

55
use Drupal\examples\Utility\DescriptionTemplateTrait;
6+
67
/**
78
* Controller routines for block example routes.
89
*/

cache_example/src/Form/CacheExampleForm.php

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,6 @@
1111
use Symfony\Component\DependencyInjection\ContainerInterface;
1212
use Symfony\Component\HttpFoundation\RequestStack;
1313

14-
1514
/**
1615
* Form with examples on how to use cache.
1716
*/

content_entity_example/src/Form/ContactSettingsForm.php

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,7 @@
1111
* @ingroup content_entity_example
1212
*/
1313
class ContactSettingsForm extends FormBase {
14+
1415
/**
1516
* Returns a unique string identifying the form.
1617
*

email_example/tests/src/Functional/EmailExampleTest.php

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,6 @@
55
use Drupal\Core\Test\AssertMailTrait;
66
use Drupal\Tests\examples\Functional\ExamplesBrowserTestBase;
77

8-
98
/**
109
* Tests for the email_example module.
1110
*

field_example/src/Plugin/Field/FieldType/RgbItem.php

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -19,6 +19,7 @@
1919
* )
2020
*/
2121
class RgbItem extends FieldItemBase {
22+
2223
/**
2324
* {@inheritdoc}
2425
*/

field_example/tests/src/Functional/FieldExampleMenuTest.php

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,6 @@
22

33
namespace Drupal\Tests\field_example\Functional;
44

5-
65
/**
76
* Test the user-facing menus in Field Example.
87
*

field_permission_example/css/field_permission_example.css

Lines changed: 14 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -3,18 +3,18 @@
33
* CSS for Field Example.
44
*/
55
.stickynote {
6-
background: #fefabc;
7-
padding: 0.8em;
8-
font-family: cursive;
9-
font-size: 1.1em;
10-
color: #def9ff;
11-
width: 15em;
12-
-moz-transform: rotate(2deg);
13-
-webkit-transform: rotate(2deg);
14-
-o-transform: rotate(2deg);
15-
-ms-transform: rotate(2deg);
16-
transform: rotate(2deg);
17-
-moz-box-shadow: 0 4px 6px #333;
18-
-webkit-box-shadow: 0 4px 6px #333;
19-
box-shadow: 0 4px 6px #333;
6+
background: #fefabc;
7+
padding: 0.8em;
8+
font-family: cursive;
9+
font-size: 1.1em;
10+
color: #def9ff;
11+
width: 15em;
12+
-moz-transform: rotate(2deg);
13+
-webkit-transform: rotate(2deg);
14+
-o-transform: rotate(2deg);
15+
-ms-transform: rotate(2deg);
16+
transform: rotate(2deg);
17+
-moz-box-shadow: 0 4px 6px #333;
18+
-webkit-box-shadow: 0 4px 6px #333;
19+
box-shadow: 0 4px 6px #333;
2020
}

field_permission_example/field_permission_example.module

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -153,7 +153,6 @@ function field_permission_example_entity_field_access($operation, FieldDefinitio
153153
return AccessResult::forbidden();
154154
}
155155

156-
157156
/**
158157
* Implements hook_ENTITY_TYPE_access().
159158
*
@@ -176,6 +175,7 @@ function field_permission_example_entity_test_access(EntityInterface $entity, $o
176175
}
177176
return AccessResult::neutral();
178177
}
178+
179179
/**
180180
* @} End of "defgroup field_permission_example".
181181
*/

field_permission_example/src/Controller/FieldPermissionExampleController.php

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,7 @@
44

55
use Drupal\Core\Controller\ControllerBase;
66
use Drupal\Core\Link;
7+
78
/**
89
* Controller routines for field permission example routes.
910
*/

field_permission_example/src/Plugin/Field/FieldType/FieldNote.php

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -19,6 +19,7 @@
1919
* )
2020
*/
2121
class FieldNote extends FieldItemBase {
22+
2223
/**
2324
* {@inheritdoc}
2425
*/

0 commit comments

Comments
 (0)