| <?xml version="1.0" encoding="UTF-8"?> | |
| <!-- | |
| Licensed to the Apache Software Foundation (ASF) under one | |
| or more contributor license agreements. See the NOTICE file | |
| distributed with this work for additional information | |
| regarding copyright ownership. The ASF licenses this file | |
| to you under the Apache License, Version 2.0 (the | |
| "License"); you may not use this file except in compliance | |
| with the License. You may obtain a copy of the License at | |
| http://www.apache.org/licenses/LICENSE-2.0 | |
| Unless required by applicable law or agreed to in writing, | |
| software distributed under the License is distributed on an | |
| "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY | |
| KIND, either express or implied. See the License for the | |
| specific language governing permissions and limitations | |
| under the License. | |
| --> | |
| <files> | |
| <file id="1" name="Baz.php"> | |
| <applied_fixers> | |
| <applied_fixer name="phpdoc_short_description"/> | |
| <applied_fixer name="blankline_after_open_tag"/> | |
| <applied_fixer name="phpdoc_trim"/> | |
| <applied_fixer name="psr0"/> | |
| <applied_fixer name="line_after_namespace"/> | |
| <applied_fixer name="braces"/> | |
| </applied_fixers> | |
| <diff><![CDATA[ --- Original | |
| +++ New | |
| @@ @@ | |
| <?php | |
| + | |
| @@ @@ | |
| namespace Foo\Bar; | |
| + | |
| /** | |
| - * Description of Baz | |
| - * | |
| + * Description of Baz. | |
| */ | |
| -class Baz2 { | |
| +class Baz | |
| +{ | |
| } | |
| ]]></diff> | |
| </file> | |
| <file id="2" name="Qux.php"> | |
| <applied_fixers> | |
| <applied_fixer name="phpdoc_short_description"/> | |
| <applied_fixer name="blankline_after_open_tag"/> | |
| <applied_fixer name="whitespacy_lines"/> | |
| <applied_fixer name="phpdoc_trim"/> | |
| <applied_fixer name="braces"/> | |
| </applied_fixers> | |
| <diff><![CDATA[ --- Original | |
| +++ New | |
| @@ @@ | |
| <?php | |
| + | |
| @@ @@ | |
| /** | |
| - * Description of Qux | |
| - * | |
| + * Description of Qux. | |
| */ | |
| -class Qux { | |
| - public function some($param) { | |
| - if (true) | |
| - { | |
| - | |
| +class Qux | |
| +{ | |
| + public function some($param) | |
| + { | |
| + if (true) { | |
| } | |
| } | |
| } | |
| ]]></diff> | |
| </file> | |
| </files> |