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