Skip to content

Commit 372fa1e

Browse files
committed
Fix CS
1) Tests/EventListener/BodyListenerTest.php (phpdoc_scalar, phpdoc_short_description, phpdoc_params) 2) Tests/EventListener/MimeTypeListenerTest.php (phpdoc_short_description) 3) Tests/EventListener/ParamFetcherListenerTest.php (phpdoc_short_description) 4) Tests/EventListener/AccessDeniedListenerTest.php (phpdoc_short_description, phpdoc_separation, unalign_double_arrow) 5) Tests/EventListener/ViewResponseListenerTest.php (phpdoc_short_description) 6) Tests/EventListener/FormatListenerTest.php (single_array_no_trailing_comma, phpdoc_short_description, trim_array_spaces, function_call_space) 7) Tests/Decoder/JsonToFormDecoderTest.php (phpdoc_short_description) 8) Tests/Fixtures/Controller/AnnotatedUsersController.php (single_line_after_imports, phpdoc_trim, braces) 9) Tests/Fixtures/Controller/OrdersController.php (braces) 10) Tests/Fixtures/Controller/MediaController.php (braces) 11) Tests/Fixtures/Controller/AnnotatedConditionalUsersController.php (single_line_after_imports, phpdoc_trim, braces) 12) Tests/Fixtures/Controller/ArticleController.php (braces) 13) Tests/Fixtures/Controller/AnnotatedPrefixedController.php (single_line_after_imports, braces) 14) Tests/Fixtures/Controller/UserTopicCommentsController.php (braces) 15) Tests/Fixtures/Controller/ReportController.php (phpdoc_no_package, phpdoc_short_description, no_blank_lines_after_class_opening, phpdoc_trim) 16) Tests/Fixtures/Controller/UsersController.php (braces) 17) Tests/Fixtures/Controller/UserTopicsController.php (braces) 18) Tests/Fixtures/Controller/InformationController.php (braces) 19) Tests/Fixtures/Controller/ParamFetcherController.php (phpdoc_short_description, header_comment, braces) 20) Tests/View/ViewTest.php (phpdoc_short_description, multiline_array_trailing_comma, function_declaration) 21) Tests/View/ViewHandlerTest.php (single_quote, phpdoc_short_description, phpdoc_separation, return, multiline_array_trailing_comma, unalign_double_arrow, function_declaration, braces) 22) Tests/View/JsonpHandlerTest.php (phpdoc_short_description, unalign_double_arrow) 23) Tests/Routing/Loader/RestRouteLoaderTest.php (phpdoc_short_description, unalign_equals, method_argument_space, braces) 24) Tests/Routing/Loader/RestYamlCollectionLoaderTest.php (unalign_equals, unalign_double_arrow) 25) Tests/Routing/Loader/LoaderTest.php (phpdoc_short_description) 26) Tests/Routing/Loader/RestXmlCollectionLoaderTest.php (unalign_equals, unalign_double_arrow) 27) Tests/Request/ParamFetcherTest.php (single_quote, phpdoc_short_description, phpdoc_separation, unalign_equals, multiline_array_trailing_comma, method_argument_space, braces) 28) Tests/Controller/Annotations/QueryParamTest.php (phpdoc_short_description, braces, eof_ending) 29) Tests/Controller/Annotations/RequestParamTest.php (phpdoc_short_description) 30) Tests/DependencyInjection/Compiler/FormatListenerRulesPassTest.php (parenthesis) 31) Tests/DependencyInjection/Compiler/SerializerConfigurationPassTest.php (phpdoc_short_description, multiline_array_trailing_comma, extra_empty_lines) 32) Tests/DependencyInjection/Compiler/ConfigurationCheckPassTest.php (phpdoc_short_description) 33) Tests/DependencyInjection/FOSRestExtensionTest.php (unalign_equals, multiline_array_trailing_comma, unalign_double_arrow) 34) Tests/Util/ViolationFormatterTest.php (single_quote) 35) Tests/bootstrap.php (single_line_after_imports) 36) Tests/FOSRestBundleTest.php (phpdoc_short_description) 37) Tests/Functional/app/JMSSerializer/bundles.php (multiline_array_trailing_comma, header_comment) 38) Tests/Functional/app/Serializer/bundles.php (multiline_array_trailing_comma, header_comment) 39) Tests/Functional/app/RequestBodyParamConverter/bundles.php (header_comment) 40) Tests/Functional/app/AppKernel.php (header_comment) 41) Tests/Functional/WebTestCase.php (header_comment) 42) Tests/Functional/SerializerErrorTest.php (return, header_comment) 43) Tests/Functional/Bundle/TestBundle/Controller/SerializerErrorController.php (multiline_array_trailing_comma) 44) EventListener/BodyListener.php (phpdoc_short_description, phpdoc_separation) 45) EventListener/AccessDeniedListener.php (phpdoc_short_description) 46) EventListener/MimeTypeListener.php (phpdoc_short_description) 47) EventListener/FormatListener.php (single_quote, phpdoc_short_description, braces) 48) EventListener/AllowedMethodsListener.php (phpdoc_short_description, braces) 49) EventListener/ParamFetcherListener.php (return) 50) Decoder/JsonToFormDecoder.php (phpdoc_short_description, header_comment) 51) Decoder/DecoderProviderInterface.php (phpdoc_short_description, header_comment) 52) Decoder/XmlDecoder.php (empty_return, header_comment) 53) Decoder/JsonDecoder.php (header_comment) 54) Decoder/DecoderInterface.php (phpdoc_short_description, header_comment) 55) View/ViewHandlerInterface.php (phpdoc_short_description) 56) View/JsonpHandler.php (phpdoc_short_description, unalign_equals) 57) View/ConfigurableViewHandlerInterface.php (phpdoc_short_description) 58) View/View.php (phpdoc_short_description, phpdoc_params) 59) View/ViewHandler.php (phpdoc_short_description, unalign_double_arrow, braces) 60) Normalizer/CamelKeysNormalizer.php (header_comment) 61) Normalizer/ArrayNormalizerInterface.php (header_comment) 62) Normalizer/Exception/NormalizationException.php (header_comment) 63) Routing/RestRouteCollection.php (unary_operators_spaces, parenthesis, braces) 64) Routing/Loader/RestYamlCollectionLoader.php (single_quote, unalign_equals, phpdoc_params, braces) 65) Routing/Loader/Reader/RestActionReader.php (single_quote, operators_spaces, unalign_equals, multiline_array_trailing_comma, parenthesis, braces) 66) Routing/Loader/Reader/RestControllerReader.php (unalign_equals) 67) Routing/Loader/RestRouteLoader.php (pre_increment, unalign_equals, list_commas) 68) Routing/Loader/RestXmlCollectionLoader.php (pre_increment, phpdoc_inline_tag, unalign_equals) 69) Request/RequestBodyParamConverter.php (phpdoc_inline_tag) 70) Request/ParamReaderInterface.php (phpdoc_short_description, phpdoc_trim) 71) Request/ParamFetcherInterface.php (phpdoc_no_empty_return, phpdoc_trim) 72) Request/AbstractRequestBodyParamConverter.php (phpdoc_params, eof_ending) 73) Request/ParamFetcher.php (single_quote, phpdoc_short_description, phpdoc_inline_tag, return, unalign_equals, multiline_array_trailing_comma, phpdoc_params, braces) 74) Request/RequestBodyParamConverter20.php (phpdoc_short_description, phpdoc_inline_tag) 75) Request/ParamReader.php (phpdoc_short_description, phpdoc_inline_tag, phpdoc_trim) 76) Controller/Annotations/Link.php (phpdoc_separation) 77) Controller/Annotations/NoRoute.php (phpdoc_short_description, phpdoc_separation) 78) Controller/Annotations/Prefix.php (phpdoc_separation) 79) Controller/Annotations/Post.php (phpdoc_separation) 80) Controller/Annotations/RouteResource.php (phpdoc_separation) 81) Controller/Annotations/Patch.php (phpdoc_separation) 82) Controller/Annotations/Route.php (empty_return, phpdoc_separation) 83) Controller/Annotations/Delete.php (phpdoc_separation) 84) Controller/Annotations/Options.php (phpdoc_separation) 85) Controller/Annotations/RequestParam.php (phpdoc_separation) 86) Controller/Annotations/Put.php (phpdoc_separation) 87) Controller/Annotations/QueryParam.php (phpdoc_separation) 88) Controller/Annotations/Head.php (phpdoc_separation) 89) Controller/Annotations/View.php (phpdoc_var_without_name, phpdoc_separation) 90) Controller/Annotations/NamePrefix.php (phpdoc_separation) 91) Controller/Annotations/Get.php (phpdoc_separation) 92) Controller/Annotations/Unlink.php (phpdoc_separation) 93) Controller/ExceptionController.php (phpdoc_to_comment, single_quote, phpdoc_short_description, unalign_equals) 94) Form/Transformer/EntityToIdObjectTransformer.php (single_quote, phpdoc_short_description, empty_return, phpdoc_separation, no_blank_lines_after_class_opening, phpdoc_params, braces) 95) Form/Extension/DisableCSRFExtension.php (phpdoc_short_description) 96) Response/AllowedMethodsLoader/AllowedMethodsLoaderInterface.php (phpdoc_short_description) 97) Response/AllowedMethodsLoader/AllowedMethodsRouterLoader.php (phpdoc_short_description, unalign_equals, unalign_double_arrow, braces) 98) DependencyInjection/Compiler/CsrfExtensionPass.php (braces) 99) DependencyInjection/Compiler/TwigExceptionPass.php (phpdoc_short_description) 100) DependencyInjection/FOSRestExtension.php (phpdoc_short_description, phpdoc_inline_tag, braces) 101) DependencyInjection/Configuration.php (trailing_spaces, phpdoc_short_description, return, function_declaration, braces) 102) Resources/doc/examples/RssHandler.php (single_quote, phpdoc_separation, unalign_double_arrow, header_comment, parenthesis) 103) Util/ViolationFormatter.php (header_comment, braces) 104) Util/FormatNegotiatorInterface.php (header_comment) 105) Util/ViolationFormatterInterface.php (phpdoc_short_description, header_comment) 106) Util/StopFormatListenerException.php (phpdoc_short_description, header_comment) 107) Util/FormatNegotiator.php (empty_return, header_comment) 108) Util/MediaTypeNegotiatorInterface.php (header_comment) 109) Util/Inflector/DoctrineInflector.php (phpdoc_short_description, header_comment) 110) Util/Inflector/InflectorInterface.php (phpdoc_short_description, header_comment) 111) Util/Codes.php (header_comment)
1 parent e3c71a4 commit 372fa1e

File tree

112 files changed

+894
-491
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

112 files changed

+894
-491
lines changed

.php_cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
<?php
22

3-
require_once './vendor/autoload.php';
3+
require_once __DIR__.'/vendor/autoload.php';
44

55
use SLLH\StyleCIBridge\ConfigBridge;
66
use Symfony\CS\Fixer\Contrib\HeaderCommentFixer;

Controller/Annotations/Delete.php

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,7 @@
1313

1414
/**
1515
* DELETE Route annotation class.
16+
*
1617
* @Annotation
1718
* @Target("METHOD")
1819
*/

Controller/Annotations/Get.php

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,7 @@
1313

1414
/**
1515
* GET Route annotation class.
16+
*
1617
* @Annotation
1718
* @Target("METHOD")
1819
*/

Controller/Annotations/Head.php

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,7 @@
1313

1414
/**
1515
* HEAD Route annotation class.
16+
*
1617
* @Annotation
1718
* @Target("METHOD")
1819
*/

Controller/Annotations/Link.php

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,7 @@
1313

1414
/**
1515
* LINK Route annotation class.
16+
*
1617
* @Annotation
1718
* @Target("METHOD")
1819
*/

Controller/Annotations/NamePrefix.php

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,7 @@
1515

1616
/**
1717
* NamePrefix Route annotation class.
18+
*
1819
* @Annotation
1920
* @Target("CLASS")
2021
*/

Controller/Annotations/NoRoute.php

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,8 @@
1212
namespace FOS\RestBundle\Controller\Annotations;
1313

1414
/**
15-
* No Route annotation class
15+
* No Route annotation class.
16+
*
1617
* @Annotation
1718
* @Target({"METHOD","CLASS"})
1819
*/

Controller/Annotations/Options.php

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,7 @@
1313

1414
/**
1515
* OPTIONS Route annotation class.
16+
*
1617
* @Annotation
1718
* @Target("METHOD")
1819
*/

Controller/Annotations/Patch.php

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,7 @@
1313

1414
/**
1515
* PATCH Route annotation class.
16+
*
1617
* @Annotation
1718
* @Target("METHOD")
1819
*/

Controller/Annotations/Post.php

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,7 @@
1313

1414
/**
1515
* POST Route annotation class.
16+
*
1617
* @Annotation
1718
* @Target("METHOD")
1819
*/

0 commit comments

Comments
 (0)