Commit 32879bbb authored by catch's avatar catch

Issue #2901779 by mfernea, ccjjmartin: Fix 'Generic.PHP.LowerCaseKeyword' coding standard

parent f47a9ed9
......@@ -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 instanceOf FieldStorageConfigInterface) {
if ($storage_definition instanceof FieldStorageConfigInterface) {
return $storage_definition->isDeleted();
}
// For non configurable fields check whether they are still in the last
......
......@@ -2,7 +2,7 @@
namespace Drupal\Tests\migrate\Kernel\Plugin;
Use Drupal\Component\Render\FormattableMarkup;
use Drupal\Component\Render\FormattableMarkup;
use Drupal\KernelTests\FileSystemModuleDiscoveryDataProviderTrait;
use Drupal\Tests\migrate_drupal\Kernel\MigrateDrupalTestBase;
......
......@@ -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"/>
......
......@@ -94,7 +94,7 @@ public function providerInvalidArgumentsUrlConversion() {
*
* @dataProvider providerGetConnectionInfoAsUrl
*/
public function testGetConnectionInfoAsUrl(Array $info, $expected_url) {
public function testGetConnectionInfoAsUrl(array $info, $expected_url) {
Database::addConnectionInfo('default', 'default', $info);
$url = Database::getConnectionInfoAsUrl();
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment