Skip to content

Commit

Permalink
updates php-cs-fixer for 2.0
Browse files Browse the repository at this point in the history
  • Loading branch information
bshaffer committed Dec 6, 2016
1 parent c3c8202 commit d20ff1c
Show file tree
Hide file tree
Showing 3 changed files with 17 additions and 18 deletions.
17 changes: 0 additions & 17 deletions .php_cs

This file was deleted.

16 changes: 16 additions & 0 deletions .php_cs.dist
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
<?php

$finder = PhpCsFixer\Finder::create()
->notPath('appengine/wordpress/src/files/flexible/wp-config.php')
->notPath('appengine/wordpress/src/files/standard/wp-config.php')
->in(__DIR__)
;

return PhpCsFixer\Config::create()
->setRules([
'@PSR2' => true,
'concat_space' => ['spacing' => 'one'],
'no_unused_imports' => true,
])
->setFinder($finder)
;
2 changes: 1 addition & 1 deletion datastore/api/src/functions/concepts.php
Original file line number Diff line number Diff line change
Expand Up @@ -733,7 +733,7 @@ function unindexed_property_query(DatastoreClient $datastore)
// [START unindexed_property_query]
$query = $datastore->query()
->kind('Task')
->filter('description', '=', 'A task description.');
->filter('description', '=', 'A task description.');
// [END unindexed_property_query]
return $query;
}
Expand Down

0 comments on commit d20ff1c

Please sign in to comment.