Skip to content
GitLab
Menu
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
Open sidebar
project
drupal
Commits
6ca61afd
Commit
6ca61afd
authored
Feb 10, 2017
by
xjm
Browse files
Issue
#2851510
by klausi: Fix phpcs regressions by running phpcbf
parent
91736cad
Changes
9
Hide whitespace changes
Inline
Side-by-side
core/modules/book/src/Tests/BookInstallTest.php
View file @
6ca61afd
...
...
@@ -39,7 +39,8 @@ public function testBookInstallWithPreexistingContentType() {
// Install the Book module.
try
{
$this
->
container
->
get
(
'module_installer'
)
->
install
([
'book'
]);
}
catch
(
PreExistingConfigException
$e
)
{
}
catch
(
PreExistingConfigException
$e
)
{
$this
->
fail
(
"Expected exception thrown trying to install Book module: "
.
$e
->
getMessage
());
}
}
...
...
core/modules/node/src/Plugin/migrate/source/d7/Node.php
View file @
6ca61afd
...
...
@@ -167,4 +167,5 @@ protected function handleTranslations(SelectInterface $query) {
$query
->
where
(
'n.tnid <> 0 AND n.tnid <> n.nid'
);
}
}
}
core/modules/node/src/Tests/NodeCreationTest.php
View file @
6ca61afd
...
...
@@ -77,7 +77,7 @@ function testNodeCreation() {
$admin_user
=
$this
->
drupalCreateUser
(
array
(
'administer nodes'
,
'create page content'
));
$this
->
drupalLogin
(
$admin_user
);
$this
->
drupalGet
(
'node/add/page'
);
$this
->
assertNoFieldById
(
'edit-revision'
,
NULL
,
'The revision checkbox is not present.'
);
$this
->
assertNoFieldById
(
'edit-revision'
,
NULL
,
'The revision checkbox is not present.'
);
}
/**
...
...
core/modules/rest/src/Tests/Views/ExcludedFieldTokenTest.php
View file @
6ca61afd
...
...
@@ -84,5 +84,4 @@ public function testExcludedTitleTokenDisplay() {
$this
->
assertIdentical
(
$actual_json
,
json_encode
(
$expected
));
}
}
core/modules/system/tests/modules/entity_test/src/Plugin/Field/FieldWidget/ShapeOnlyColorEditableWidget.php
View file @
6ca61afd
...
...
@@ -17,7 +17,7 @@
* },
* )
*/
class
ShapeOnlyColorEditableWidget
extends
WidgetBase
{
class
ShapeOnlyColorEditableWidget
extends
WidgetBase
{
/**
* {@inheritdoc}
...
...
core/modules/taxonomy/src/Plugin/migrate/D7TaxonomyTermDeriver.php
View file @
6ca61afd
...
...
@@ -7,7 +7,6 @@
use
Drupal\Core\Database\DatabaseExceptionWrapper
;
use
Drupal\Core\Plugin\Discovery\ContainerDeriverInterface
;
use
Drupal\migrate\Exception\RequirementsException
;
use
Drupal\migrate\Plugin\Migration
;
use
Drupal\migrate\Plugin\MigrationDeriverTrait
;
use
Drupal\migrate_drupal
\
Plugin\MigrateCckFieldPluginManagerInterface
;
use
Symfony\Component\DependencyInjection\ContainerInterface
;
...
...
core/modules/views/src/Tests/Plugin/FilterTest.php
View file @
6ca61afd
...
...
@@ -162,4 +162,5 @@ public function testInOperatorSelectAllOptions() {
$this
->
drupalPostForm
(
NULL
,
[],
t
(
'Update preview'
));
$this
->
assertNoText
(
'An illegal choice has been detected.'
);
}
}
core/tests/Drupal/FunctionalTests/Entity/ContentEntityFormCorrectUserInputMappingOnFieldDeltaElementsTest.php
View file @
6ca61afd
...
...
@@ -2,8 +2,6 @@
namespace
Drupal\FunctionalTests\Entity
;
use
Drupal\Core\Entity\ContentEntityInterface
;
use
Drupal\Core\Entity\ContentEntityStorageInterface
;
use
Drupal\Core\Field\FieldStorageDefinitionInterface
;
use
Drupal\field\Entity\FieldConfig
;
use
Drupal\field\Entity\FieldStorageConfig
;
...
...
@@ -14,7 +12,7 @@
*
* @group Entity
*/
class
ContentEntityFormCorrectUserInputMappingOnFieldDeltaElementsTest
extends
BrowserTestBase
{
class
ContentEntityFormCorrectUserInputMappingOnFieldDeltaElementsTest
extends
BrowserTestBase
{
/**
* The ID of the type of the entity under test.
...
...
core/tests/Drupal/Tests/Core/Entity/EntityAccessCheckTest.php
View file @
6ca61afd
...
...
@@ -121,4 +121,5 @@ private function createRouteMatchForObject(\stdClass $object) {
$route_match
->
getParameters
()
->
willReturn
(
new
ParameterBag
([
'entity_type'
=>
'node'
,
'var_name'
=>
$object
]));
return
$route_match
->
reveal
();
}
}
Write
Preview
Supports
Markdown
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