PHPLIB-1689 Make the Atlas Search exception more specific #3435
coding-standards.yml
on: pull_request
phpcs
2m 11s
Rector
2m 17s
Annotations
11 errors
|
phpcs:
tests/Collection/CollectionFunctionalTest.php#L16
Type MongoDB\Exception\AtlasSearchNotSupportedException is not used in this file.
|
|
phpcs:
tests/Collection/CollectionFunctionalTest.php#L16
Use statements should be sorted alphabetically. The first wrong one is MongoDB\Exception\AtlasSearchNotSupportedException.
|
|
phpcs:
tests/Exception/AtlasSearchNotSupportedExceptionTest.php#L62
Expected 1 newline at end of file; 0 found
|
|
phpcs:
src/Operation/Aggregate.php#L31
Use statements should be sorted alphabetically. The first wrong one is MongoDB\Exception\AtlasSearchNotSupportedException.
|
|
phpcs:
src/Exception/AtlasSearchNotSupportedException.php#L37
Function str_contains() should not be referenced via a fallback global name, but via a use statement.
|
|
phpcs:
src/Exception/AtlasSearchNotSupportedException.php#L35
Function str_contains() should not be referenced via a fallback global name, but via a use statement.
|
|
phpcs:
src/Exception/AtlasSearchNotSupportedException.php#L27
Expected 1 space after MATCH keyword; 0 found
|
|
phpcs:
src/Exception/AtlasSearchNotSupportedException.php#L8
Type in_array is not used in this file.
|
|
phpcs:
tests/ExamplesTest.php#L11
Type getenv is not used in this file.
|
|
phpcs:
src/Operation/CreateSearchIndexes.php#L25
Use statements should be sorted alphabetically. The first wrong one is MongoDB\Exception\AtlasSearchNotSupportedException.
|
|
Rector
Process completed with exit code 2.
|