File tree Expand file tree Collapse file tree 6 files changed +10
-6
lines changed
Expand file tree Collapse file tree 6 files changed +10
-6
lines changed Original file line number Diff line number Diff line change 2121 ref : ${{ github.head_ref }}
2222
2323 - name : Run PHP-CS-Fixer
24- uses : docker://oskarstark/php-cs-fixer-ga:2.19 .0
24+ uses : docker://oskarstark/php-cs-fixer-ga:3.11 .0
2525
2626 - name : Commit and push back changes
2727 uses : stefanzweifel/git-auto-commit-action@v4
Original file line number Diff line number Diff line change @@ -2,5 +2,5 @@ composer.lock
22vendor /
33phpunit.xml
44.phpunit.result.cache
5- .php_cs .cache
5+ .php-cs-fixer .cache
66tests /Fixtures /cache /
Original file line number Diff line number Diff line change 11<?php
22
3- return PhpCsFixer \Config:: create ( )
3+ return ( new PhpCsFixer \Config () )
44 ->setRules ([
55 '@Symfony ' => true ,
66 '@Symfony:risky ' => true ,
Original file line number Diff line number Diff line change @@ -28,6 +28,7 @@ public function content_without_shortcodes_wont_be_changed(): void
2828
2929 /**
3030 * @test
31+ *
3132 * @dataProvider provideShortcodeNames
3233 */
3334 public function expand_shortcodes_registered_in_different_ways (string $ shortcodeName ): void
@@ -46,6 +47,7 @@ public function provideShortcodeNames(): Generator
4647
4748 /**
4849 * @test
50+ *
4951 * @dataProvider provideEsiShortcodes
5052 */
5153 public function processing_with_esi_fragments (string $ shortcodeName ): void
Original file line number Diff line number Diff line change @@ -33,6 +33,7 @@ public function content_without_shortcodes_wont_be_changed(): void
3333
3434 /**
3535 * @test
36+ *
3637 * @dataProvider provideShortcodeNames
3738 */
3839 public function expand_shortcode_in__twig (string $ shortcodeName ): void
@@ -52,6 +53,7 @@ public function provideShortcodeNames(): Generator
5253
5354 /**
5455 * @test
56+ *
5557 * @dataProvider provideEsiShortcodes
5658 */
5759 public function uses_esi_fragments (string $ shortcodeName ): void
Original file line number Diff line number Diff line change @@ -48,7 +48,7 @@ protected function getRenderedExampleHtml(?array $customParameters = null): stri
4848 /**
4949 * @param array|string|null $customParameters use of strings is deprecated, use array instead.
5050 */
51- protected function crawlRenderedExample (/*array*/ $ customParameters = null ): Crawler
51+ protected function crawlRenderedExample (/* array */ $ customParameters = null ): Crawler
5252 {
5353 $ urlWithRenderedExample = $ this ->getUrlWithRenderedExample ($ customParameters );
5454
@@ -68,7 +68,7 @@ protected function crawlRenderedExample(/*array*/ $customParameters = null): Cra
6868 */
6969 protected function assertHttpStatusCodeWhenCrawlingRenderedExample (
7070 int $ expectedStatusCode ,
71- /*array*/ $ customParameters = null
71+ /* array */ $ customParameters = null
7272 ): Crawler {
7373 $ urlWithRenderedExample = $ this ->getUrlWithRenderedExample ($ customParameters );
7474
@@ -81,7 +81,7 @@ protected function assertHttpStatusCodeWhenCrawlingRenderedExample(
8181 *
8282 * @return Crawler
8383 */
84- private function getUrlWithRenderedExample (/*array*/ $ customParameters = null ): string
84+ private function getUrlWithRenderedExample (/* array */ $ customParameters = null ): string
8585 {
8686 $ urlParameters = ['shortcode ' => $ this ->getShortcodeToTest ()];
8787
You can’t perform that action at this time.
0 commit comments