Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
What's new
7
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Open sidebar
project
drupal
Commits
2c02bb9a
Unverified
Commit
2c02bb9a
authored
May 29, 2020
by
alexpott
1
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Issue
#3123065
by jungle, daffie: Fix 'Drupal.NamingConventions.ValidClassName' coding standard
parent
ea668bd2
Changes
4
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
5 additions
and
4 deletions
+5
-4
core/modules/field/tests/src/Functional/ReEnableModuleFieldTest.php
...es/field/tests/src/Functional/ReEnableModuleFieldTest.php
+1
-1
core/phpcs.xml.dist
core/phpcs.xml.dist
+1
-0
core/tests/Drupal/Tests/Core/DependencyInjection/ContainerBuilderTest.php
...l/Tests/Core/DependencyInjection/ContainerBuilderTest.php
+2
-2
core/tests/Drupal/Tests/Core/DrupalKernel/DrupalKernelTest.php
...tests/Drupal/Tests/Core/DrupalKernel/DrupalKernelTest.php
+1
-1
No files found.
core/modules/field/tests/src/Functional/
r
eEnableModuleFieldTest.php
→
core/modules/field/tests/src/Functional/
R
eEnableModuleFieldTest.php
View file @
2c02bb9a
...
@@ -12,7 +12,7 @@
...
@@ -12,7 +12,7 @@
*
*
* @group field
* @group field
*/
*/
class
r
eEnableModuleFieldTest
extends
BrowserTestBase
{
class
R
eEnableModuleFieldTest
extends
BrowserTestBase
{
use
CronRunTrait
;
use
CronRunTrait
;
...
...
core/phpcs.xml.dist
View file @
2c02bb9a
...
@@ -158,6 +158,7 @@
...
@@ -158,6 +158,7 @@
<property
name=
"checkClosures"
value=
"true"
/>
<property
name=
"checkClosures"
value=
"true"
/>
</properties>
</properties>
</rule>
</rule>
<rule
ref=
"Drupal.NamingConventions.ValidClassName"
/>
<rule
ref=
"Generic.NamingConventions.ConstructorName"
/>
<rule
ref=
"Generic.NamingConventions.ConstructorName"
/>
<rule
ref=
"Generic.NamingConventions.UpperCaseConstantName"
/>
<rule
ref=
"Generic.NamingConventions.UpperCaseConstantName"
/>
<rule
ref=
"Generic.PHP.DeprecatedFunctions"
/>
<rule
ref=
"Generic.PHP.DeprecatedFunctions"
/>
...
...
core/tests/Drupal/Tests/Core/DependencyInjection/ContainerBuilderTest.php
View file @
2c02bb9a
...
@@ -131,7 +131,7 @@ public function testSerialize() {
...
@@ -131,7 +131,7 @@ public function testSerialize() {
* @preserveGlobalState disabled
* @preserveGlobalState disabled
*/
*/
public
function
testConstructor
()
{
public
function
testConstructor
()
{
class_alias
(
t
estInterface
::
class
,
'Symfony\Component\Config\Resource\ResourceInterface'
);
class_alias
(
T
estInterface
::
class
,
'Symfony\Component\Config\Resource\ResourceInterface'
);
$container
=
new
ContainerBuilder
();
$container
=
new
ContainerBuilder
();
$this
->
assertFalse
(
$container
->
isTrackingResources
());
$this
->
assertFalse
(
$container
->
isTrackingResources
());
}
}
...
@@ -143,5 +143,5 @@ class_alias(testInterface::class, 'Symfony\Component\Config\Resource\ResourceInt
...
@@ -143,5 +143,5 @@ class_alias(testInterface::class, 'Symfony\Component\Config\Resource\ResourceInt
*
*
* @see \Drupal\Tests\Core\DependencyInjection\ContainerBuilderTest::testConstructor()
* @see \Drupal\Tests\Core\DependencyInjection\ContainerBuilderTest::testConstructor()
*/
*/
interface
t
estInterface
{
interface
T
estInterface
{
}
}
core/tests/Drupal/Tests/Core/DrupalKernel/DrupalKernelTest.php
View file @
2c02bb9a
...
@@ -141,7 +141,7 @@ public function testFindSitePath() {
...
@@ -141,7 +141,7 @@ public function testFindSitePath() {
/**
/**
* A fake autoloader for testing
* A fake autoloader for testing
*/
*/
class
f
akeAutoloader
{
class
F
akeAutoloader
{
/**
/**
* Registers this instance as an autoloader.
* Registers this instance as an autoloader.
...
...
alexpott
@alexpott
mentioned in commit
cc28bd2d
·
May 29, 2020
mentioned in commit
cc28bd2d
mentioned in commit cc28bd2da65c6d93fa221ae0bd985e8eddbb7139
Toggle commit list
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment