Skip to content

Reformat codebase v2#2869

Closed
dvikan wants to merge 3 commits intoRSS-Bridge:masterfrom
dvikan:reformat-codebase-v2
Closed

Reformat codebase v2#2869
dvikan wants to merge 3 commits intoRSS-Bridge:masterfrom
dvikan:reformat-codebase-v2

Conversation

@dvikan
Copy link
Contributor

@dvikan dvikan commented Jun 30, 2022

Continuation of #2862

The goal is to make the code base more pleasant to work with for maintainers and bridge authors.

This pr reformats the code to PSR12 (similar to PSR2), and converts longform arrays to shorthand arrays. Some modifications to phpcs.xml.

All code changes was automatically generated with this command:

./vendor/bin/phpcbf ./

$ ./vendor/bin/phpcbf --version
PHP_CodeSniffer version 3.6.2 (stable) by Squiz (http://www.squiz.net)

dvikan and others added 3 commits June 30, 2022 23:37
This change was automatically generated by:

./vendor/bin/phpcbf ./

$ ./vendor/bin/phpcbf --version
PHP_CodeSniffer version 3.6.2 (stable) by Squiz (http://www.squiz.net)
@dvikan dvikan mentioned this pull request Jul 1, 2022
@dvikan dvikan closed this Jul 1, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants