Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
D
drupal-3485117
Manage
Activity
Members
Labels
Plan
Custom issue tracker
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Locked files
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Model registry
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Code review analytics
Insights
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Terms and privacy
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Issue forks
drupal-3485117
Commits
26277d20
Commit
26277d20
authored
12 years ago
by
Tim Plunkett
Browse files
Options
Downloads
Patches
Plain Diff
Add use statement for stdClass.
parent
e3b1e123
No related branches found
Branches containing commit
No related tags found
Tags containing commit
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
lib/Drupal/views/Tests/HandlersTest.php
+4
-2
4 additions, 2 deletions
lib/Drupal/views/Tests/HandlersTest.php
with
4 additions
and
2 deletions
lib/Drupal/views/Tests/HandlersTest.php
+
4
−
2
View file @
26277d20
...
...
@@ -7,6 +7,8 @@
namespace
Drupal\views\Tests
;
use
stdClass
;
/**
* Tests abstract handlers of views.
*/
...
...
@@ -41,7 +43,7 @@ function testFilterInOperatorUi() {
* Tests views_break_phrase_string function.
*/
function
test_views_break_phrase_string
()
{
$empty_stdclass
=
new
\
StdClass
();
$empty_stdclass
=
new
StdClass
();
$empty_stdclass
->
operator
=
'or'
;
$empty_stdclass
->
value
=
array
();
...
...
@@ -96,7 +98,7 @@ function test_views_break_phrase_string() {
* Tests views_break_phrase function.
*/
function
test_views_break_phrase
()
{
$empty_stdclass
=
new
\
StdClass
();
$empty_stdclass
=
new
StdClass
();
$empty_stdclass
->
operator
=
'or'
;
$empty_stdclass
->
value
=
array
();
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
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!
Save comment
Cancel
Please
register
or
sign in
to comment