@@ -85,8 +85,12 @@ we ask the same of all community contributions as well:
8585 will be released under that license. For substantial contributions, we may
8686 ask you to sign a [ Contributor License Agreement (CLA)] [ cla ] .
87872 . We follow all of the relevant PSR recommendations from the [ PHP Framework
88- Interop Group] [ php-fig ] . Please submit code that follows these standards.
89- The [ PHP CS Fixer] [ cs-fixer ] tool can be helpful for formatting your code.
88+ Interop Group] [ php-fig ] . Please submit code that follows the
89+ [ PSR-12 standard] ( php-fig-psr12 ) .
90+ The [ PHP CS Fixer] [ cs-fixer ] tool can be helpful for formatting your code.
91+ You can install the currently used version of PHP CS Fixer using
92+ ` composer install --working-dir=tools/php-cs-fixer ` and automatically format
93+ your code by running ` tools/php-cs-fixer/vendor/bin/php-cs-fixer fix --verbose ` .
90943 . We maintain a high percentage of code coverage in our unit tests. If you make
9195 changes to the code, please add, update, and/or remove tests as appropriate.
9296 Tests are run via ` make test ` command.
@@ -152,7 +156,8 @@ category field should exist with the value set to an empty string `""`.
152156[ pull-requests ] : https://github.com/aws/aws-sdk-php/pulls
153157[ license ] : http://aws.amazon.com/apache2.0/
154158[ cla ] : https://github.com/aws/aws-cla/blob/master/amazon-single-contribution-license.txt
155- [ php-fig ] : http://php-fig.org
159+ [ php-fig ] : https://www.php-fig.org/
160+ [ php-fig-psr12 ] : https://www.php-fig.org/psr/psr-12/
156161[ cs-fixer ] : http://cs.sensiolabs.org/
157162[ phpstan ] : https://github.com/phpstan/phpstan
158163[ sphinx ] : http://sphinx-doc.org/
0 commit comments