File tree Expand file tree Collapse file tree 2 files changed +10
-11
lines changed
datastore/api/src/functions Expand file tree Collapse file tree 2 files changed +10
-11
lines changed Original file line number Diff line number Diff line change 1
1
2
2
3
- $ finder = Symfony \ CS \ Finder \DefaultFinder ::create ()
3
+ $ finder = PhpCsFixer \ Finder::create ()
4
4
->in (__DIR__ )
5
+ ->notPath ('appengine/wordpress/src/files/flexible/wp-config.php ' )
6
+ ->notPath ('appengine/wordpress/src/files/standard/wp-config.php ' )
5
7
;
6
8
7
- return Symfony \CS \Config \Config::create ()
8
- ->level (Symfony \CS \FixerInterface::PSR2_LEVEL )
9
- ->fixers ([
10
- 'concat_with_spaces ' ,
11
- 'unused_use ' ,
12
- 'trailing_spaces ' ,
13
- 'indentation ' ,
14
- '-psr0 '
9
+ return PhpCsFixer \Config::create ()
10
+ ->setRules ([
11
+ '@PSR2 ' => true ,
12
+ 'concat_with_spaces ' => true ,
13
+ 'no_unused_imports ' => true ,
15
14
])
16
- ->finder ($ finder )
15
+ ->setFinder ($ finder )
17
16
;
Original file line number Diff line number Diff line change @@ -733,7 +733,7 @@ function unindexed_property_query(DatastoreClient $datastore)
733
733
// [START unindexed_property_query]
734
734
$ query = $ datastore ->query ()
735
735
->kind ('Task ' )
736
- ->filter ('description ' , '= ' , 'A task description. ' );
736
+ ->filter ('description ' , '= ' , 'A task description. ' );
737
737
// [END unindexed_property_query]
738
738
return $ query ;
739
739
}
You can’t perform that action at this time.
0 commit comments