Skip to content

Commit b1c392c

Browse files
committed
Ran php-cs-fixer to fix linting issues
1 parent 79c0ced commit b1c392c

9 files changed

+8
-17
lines changed

language/api/language.php

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,6 @@
2222
use Symfony\Component\Console\Input\InputArgument;
2323
use Symfony\Component\Console\Input\InputOption;
2424
use Symfony\Component\Console\Input\InputDefinition;
25-
use Symfony\Component\Yaml\Yaml;
2625

2726
# Includes the autoloader for libraries installed with composer
2827
require __DIR__ . '/vendor/autoload.php';

language/api/src/analyze_all.php

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,6 @@
2525
namespace Google\Cloud\Samples\Language;
2626

2727
use Google\Cloud\Language\LanguageClient;
28-
use Google\Cloud\Language\Annotation;
2928

3029
/**
3130
* Find the everything in text.
@@ -67,8 +66,8 @@ function analyze_all($text, $projectId = null)
6766
printf(' Content: %s' . PHP_EOL, $mention['text']['content']);
6867
printf(' Mention Type: %s' . PHP_EOL, $mention['type']);
6968
printf(PHP_EOL);
70-
}
71-
printf(PHP_EOL);
69+
}
70+
printf(PHP_EOL);
7271
}
7372

7473
// Print document and sentence sentiment information

language/api/src/analyze_all_from_file.php

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,6 @@
2525
namespace Google\Cloud\Samples\Language;
2626

2727
use Google\Cloud\Language\LanguageClient;
28-
use Google\Cloud\Language\Annotation;
2928
use Google\Cloud\Storage\StorageClient;
3029

3130
/**
@@ -74,8 +73,8 @@ function analyze_all_from_file($bucketName, $objectName, $projectId = null)
7473
printf(' Content: %s' . PHP_EOL, $mention['text']['content']);
7574
printf(' Mention Type: %s' . PHP_EOL, $mention['type']);
7675
printf(PHP_EOL);
77-
}
78-
printf(PHP_EOL);
76+
}
77+
printf(PHP_EOL);
7978
}
8079

8180
// Print document and sentence sentiment information

language/api/src/analyze_entities.php

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,6 @@
2525
namespace Google\Cloud\Samples\Language;
2626

2727
use Google\Cloud\Language\LanguageClient;
28-
use Google\Cloud\Language\Annotation;
2928

3029
/**
3130
* Find the entities in text.
@@ -65,8 +64,8 @@ function analyze_entities($text, $projectId = null)
6564
printf(' Content: %s' . PHP_EOL, $mention['text']['content']);
6665
printf(' Mention Type: %s' . PHP_EOL, $mention['type']);
6766
printf(PHP_EOL);
68-
}
69-
printf(PHP_EOL);
67+
}
68+
printf(PHP_EOL);
7069
}
7170
}
7271
# [END analyze_entities]

language/api/src/analyze_entities_from_file.php

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,6 @@
2525
namespace Google\Cloud\Samples\Language;
2626

2727
use Google\Cloud\Language\LanguageClient;
28-
use Google\Cloud\Language\Annotation;
2928
use Google\Cloud\Storage\StorageClient;
3029

3130
/**
@@ -72,8 +71,8 @@ function analyze_entities_from_file($bucketName, $objectName, $projectId = null)
7271
printf(' Content: %s' . PHP_EOL, $mention['text']['content']);
7372
printf(' Mention Type: %s' . PHP_EOL, $mention['type']);
7473
printf(PHP_EOL);
75-
}
76-
printf(PHP_EOL);
74+
}
75+
printf(PHP_EOL);
7776
}
7877
}
7978
# [END analyze_entities_from_file]

language/api/src/analyze_sentiment.php

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,6 @@
2525
namespace Google\Cloud\Samples\Language;
2626

2727
use Google\Cloud\Language\LanguageClient;
28-
use Google\Cloud\Language\Annotation;
2928

3029
/**
3130
* Find the sentiment in text.

language/api/src/analyze_sentiment_from_file.php

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,6 @@
2525
namespace Google\Cloud\Samples\Language;
2626

2727
use Google\Cloud\Language\LanguageClient;
28-
use Google\Cloud\Language\Annotation;
2928
use Google\Cloud\Storage\StorageClient;
3029

3130
/**

language/api/src/analyze_syntax.php

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,6 @@
2525
namespace Google\Cloud\Samples\Language;
2626

2727
use Google\Cloud\Language\LanguageClient;
28-
use Google\Cloud\Language\Annotation;
2928

3029
/**
3130
* Find the syntax in text.

language/api/src/analyze_syntax_from_file.php

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,6 @@
2525
namespace Google\Cloud\Samples\Language;
2626

2727
use Google\Cloud\Language\LanguageClient;
28-
use Google\Cloud\Language\Annotation;
2928
use Google\Cloud\Storage\StorageClient;
3029

3130
/**

0 commit comments

Comments
 (0)