Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
Open sidebar
project
drupal
Commits
32879bbb
Commit
32879bbb
authored
Sep 06, 2017
by
Nathaniel Catchpole
Browse files
Issue
#2901779
by mfernea, ccjjmartin: Fix 'Generic.PHP.LowerCaseKeyword' coding standard
parent
f47a9ed9
Changes
4
Hide whitespace changes
Inline
Side-by-side
core/lib/Drupal/Core/Entity/Sql/SqlContentEntityStorage.php
View file @
32879bbb
...
...
@@ -1727,7 +1727,7 @@ public function countFieldData($storage_definition, $as_bool = FALSE) {
*/
protected
function
storageDefinitionIsDeleted
(
FieldStorageDefinitionInterface
$storage_definition
)
{
// Configurable fields are marked for deletion.
if
(
$storage_definition
instance
O
f
FieldStorageConfigInterface
)
{
if
(
$storage_definition
instance
o
f
FieldStorageConfigInterface
)
{
return
$storage_definition
->
isDeleted
();
}
// For non configurable fields check whether they are still in the last
...
...
core/modules/migrate/tests/src/Kernel/Plugin/MigrationProvidersExistTest.php
View file @
32879bbb
...
...
@@ -2,7 +2,7 @@
namespace
Drupal\Tests\migrate\Kernel\Plugin
;
U
se
Drupal\Component\Render\FormattableMarkup
;
u
se
Drupal\Component\Render\FormattableMarkup
;
use
Drupal\KernelTests\FileSystemModuleDiscoveryDataProviderTrait
;
use
Drupal\Tests\migrate_drupal
\
Kernel\MigrateDrupalTestBase
;
...
...
core/phpcs.xml.dist
View file @
32879bbb
...
...
@@ -114,6 +114,7 @@
<rule
ref=
"Generic.NamingConventions.UpperCaseConstantName"
/>
<rule
ref=
"Generic.PHP.DeprecatedFunctions"
/>
<rule
ref=
"Generic.PHP.DisallowShortOpenTag"
/>
<rule
ref=
"Generic.PHP.LowerCaseKeyword"
/>
<rule
ref=
"Generic.PHP.UpperCaseConstant"
/>
<rule
ref=
"Generic.WhiteSpace.DisallowTabIndent"
/>
...
...
core/tests/Drupal/Tests/Core/Database/UrlConversionTest.php
View file @
32879bbb
...
...
@@ -94,7 +94,7 @@ public function providerInvalidArgumentsUrlConversion() {
*
* @dataProvider providerGetConnectionInfoAsUrl
*/
public
function
testGetConnectionInfoAsUrl
(
A
rray
$info
,
$expected_url
)
{
public
function
testGetConnectionInfoAsUrl
(
a
rray
$info
,
$expected_url
)
{
Database
::
addConnectionInfo
(
'default'
,
'default'
,
$info
);
$url
=
Database
::
getConnectionInfoAsUrl
();
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new 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