• Home
  • Features
  • Pricing
  • Docs
  • Announcements
  • Sign In

keradus / PHP-CS-Fixer / 930 / 1
85%
1.11: 82%

Build:
Build:
LAST BUILD BRANCH: master
DEFAULT BRANCH: 1.11
Ran 15 Sep 2015 05:11PM UTC
Files 131
Run time 12min
Badge
Embed ▾
README BADGES
x

If you need to use a raster PNG badge, change the '.svg' to '.png' in the link

Markdown

Textile

RDoc

HTML

Rst

15 Sep 2015 05:09PM UTC coverage: 84.451% (+0.4%) from 84.009%
930.1

push

travis-ci

Dariusz Ruminski
bug #1369 Fix not well-formed XML output (junichi11)

This PR was submitted for the 1.11 branch but it was merged into the 1.10 branch instead (closes #1369).

Discussion
----------

Fix not well-formed XML output

PR for #1363

Remove time and memory tags.

#### Command
`php-cs-fixer fix --no-ansi --verbose --dry-run --diff --format=xml --no-interaction /home/junichi11/Some.php`

#### PHP File
Some.php
```php
<?php
namespace Foo\Bar;
/**
 * Description of Some
 *
 * @author junichi11
 */
class Some2 {
}

```

#### Before
```xml
<?xml version="1.0" encoding="UTF-8"?>
<files>
  <file id="1" name="/home/junichi11/Some.php">
    <applied_fixers>
      <applied_fixer name="phpdoc_short_description"/>
      <applied_fixer name="blankline_after_open_tag"/>
      <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 Some
      + * Description of Some.
        *
        * @author junichi11
        */
      -class Some2 {
      +class Some
      +{
       }

      ]]></diff>
  </file>
</files>
<time unit="s">
  <total value="0.092"/>
</time>
<memory value="3.75" unit="MB"/>
```
#### After
```xml
<?xml version="1.0" encoding="UTF-8"?>
<files>
  <file id="1" name="/home/junichi11/NetBeansProjects/issue-254585/Some.php">
    <applied_fixers>
      <applied_fixer name="phpdoc_short_description"/>
      <applied_fixer name="blankline_after_open_tag"/>
      <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 Some
      + * Description of Some.
        *
        * @author junichi11
        */
      -class Some2 {
      +class Some
      +{
       }

      ]]></diff>
  </file>
</files>
```

Thanks.

Commits
-------

64780b6 Fix not well-formed XML output

3878 of 4592 relevant lines covered (84.45%)

66.04 hits per line

Source Files on job 930.1
  • Tree
  • List 0
  • Changed 2
  • Source Changed 2
  • Coverage Changed 2
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Build 930
  • Travis Job 930.1
  • e27f97f0 on github
  • Prev Job for on 1.10 (#813.1)
  • Next Job for on 1.10 (#972.6)
STATUS · Troubleshooting · Open an Issue · Sales · Support · CAREERS · ENTERPRISE · START FREE · SCHEDULE DEMO
ANNOUNCEMENTS · TWITTER · TOS & SLA · Supported CI Services · What's a CI service? · Automated Testing

© 2026 Coveralls, Inc