Showing 41 of 44 files from the diff.
Other files ignored by Codecov

@@ -21,6 +21,8 @@
Loading
21 21
use Phing\Io\File;
22 22
use Phing\Project;
23 23
use Phing\Task;
24 +
use Phing\Type\Element\DirSetAware;
25 +
use Phing\Type\Element\FileSetAware;
24 26
25 27
/**
26 28
 * Task that changes the permissions on a file/directory.

@@ -17,6 +17,8 @@
Loading
17 17
use Phing\Io\File;
18 18
use Phing\Project;
19 19
use Phing\Task;
20 +
use Phing\Type\Element\FileSetAware;
21 +
use Phing\Type\Element\FilterChainAware;
20 22
use Phing\Type\Mapper;
21 23
22 24
/**

@@ -24,6 +24,7 @@
Loading
24 24
use Phing\Parser\ProjectConfigurator;
25 25
use Phing\Project;
26 26
use Phing\Task;
27 +
use Phing\Type\Element\ResourceAware;
27 28
use Phing\Type\FileSet;
28 29
29 30
/**

@@ -20,6 +20,7 @@
Loading
20 20
use Phing\Exception\BuildException;
21 21
use Phing\Io\File;
22 22
use Phing\Task;
23 +
use Phing\Type\Element\FileSetAware;
23 24
use Phing\Util\StringHelper;
24 25
25 26
/**

@@ -21,6 +21,7 @@
Loading
21 21
use Phing\Io\File;
22 22
use Phing\Project;
23 23
use Phing\Task;
24 +
use Phing\Type\Element\ResourceAware;
24 25
25 26
/**
26 27
 * Deletes a file or directory, or set of files defined by a fileset.

@@ -27,6 +27,8 @@
Loading
27 27
use Phing\Mapper\IdentityMapper;
28 28
use Phing\Project;
29 29
use Phing\Task;
30 +
use Phing\Type\Element\FilterChainAware;
31 +
use Phing\Type\Element\ResourceAware;
30 32
use Phing\Type\Mapper;
31 33
use Phing\Util\RegisterSlot;
32 34

@@ -19,6 +19,8 @@
Loading
19 19
20 20
use Phing\Project;
21 21
use Phing\Task;
22 +
use Phing\Type\Element\DirSetAware;
23 +
use Phing\Type\Element\FileSetAware;
22 24
23 25
/**
24 26
 * Echos a message to the logging system or to a file

@@ -20,6 +20,7 @@
Loading
20 20
use Phing\Exception\BuildException;
21 21
use Phing\Io\File;
22 22
use Phing\Task;
23 +
use Phing\Type\Element\FileSetAware;
23 24
use Phing\Util\DataStore;
24 25
25 26
/**

@@ -21,6 +21,7 @@
Loading
21 21
use Phing\Phing;
22 22
use Phing\Project;
23 23
use Phing\Task;
24 +
use Phing\Type\Element\ClasspathAware;
24 25
25 26
/**
26 27
 * Adds a normalized path to the PHP include_path.

@@ -1,7 +1,4 @@
Loading
1 1
<?php
2 -
3 -
use Phing\Type\FileList;
4 -
5 2
/**
6 3
 * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
7 4
 * "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
@@ -20,6 +17,10 @@
Loading
20 17
 * <http://phing.info>.
21 18
 */
22 19
20 +
namespace Phing\Type\Element;
21 +
22 +
use Phing\Type\FileList;
23 +
23 24
trait FileListAware
24 25
{
25 26
    /**
26 27
imilarity index 97%
27 28
ename from classes/phing/types/element/FileSetAware.php
28 29
ename to src/Phing/Type/Element/FileSetAware.php

@@ -22,6 +22,7 @@
Loading
22 22
use Phing\Io\File;
23 23
use Phing\Project;
24 24
use Phing\Task;
25 +
use Phing\Type\Element\FileSetAware;
25 26
use Phing\Util\DataStore;
26 27
27 28
/**

@@ -18,6 +18,8 @@
Loading
18 18
 */
19 19
20 20
use Phing\Project;
21 +
use Phing\Type\Element\ClasspathAware;
22 +
use Phing\Type\Element\FileSetAware;
21 23
22 24
/**
23 25
 * Scans a list of files given by the fileset attribute, extracts valid test cases

@@ -21,6 +21,8 @@
Loading
21 21
use Phing\Io\File;
22 22
use Phing\Project;
23 23
use Phing\Task;
24 +
use Phing\Type\Element\DirSetAware;
25 +
use Phing\Type\Element\FileSetAware;
24 26
25 27
/**
26 28
 * Task that changes the permissions on a file/directory.

@@ -24,6 +24,7 @@
Loading
24 24
use Phing\Io\File;
25 25
use Phing\Project;
26 26
use Phing\Task;
27 +
use Phing\Type\Element\ResourceAware;
27 28
use Phing\Type\Mapper;
28 29
use Phing\Type\Path;
29 30

@@ -29,6 +29,7 @@
Loading
29 29
use Phing\Project;
30 30
use Phing\PropertyHelper;
31 31
use Phing\Task;
32 +
use Phing\Type\Element\FilterChainAware;
32 33
use Phing\Type\Reference;
33 34
use Phing\Util\Properties;
34 35
use Phing\Util\StringHelper;

@@ -22,6 +22,7 @@
Loading
22 22
use Phing\Io\File;
23 23
use Phing\Project;
24 24
use Phing\Task;
25 +
use Phing\Type\Element\FileSetAware;
25 26
use Phing\Util\DataStore;
26 27
use Phing\Util\StringHelper;
27 28

@@ -19,6 +19,7 @@
Loading
19 19
20 20
use Phing\Exception\BuildException;
21 21
use Phing\Task;
22 +
use Phing\Type\Element\FileSetAware;
22 23
23 24
/**
24 25
 * Send an e-mail message

@@ -241,7 +241,7 @@
Loading
241 241
        }
242 242
    }
243 243
244 -
    private function getReplacement(): Phing\UnknownElement
244 +
    private function getReplacement(): UnknownElement
245 245
    {
246 246
        if ($this->replacement === null) {
247 247
            $this->replacement = new UnknownElement($this->taskType);
248 248
imilarity index 98%
249 249
ename from classes/phing/types/element/ClasspathAware.php
250 250
ename to src/Phing/Type/Element/ClasspathAware.php

@@ -24,6 +24,7 @@
Loading
24 24
use Phing\Io\File;
25 25
use Phing\Project;
26 26
use Phing\Task;
27 +
use Phing\Type\Element\FilterChainAware;
27 28
28 29
/**
29 30
 * LoadFileTask

@@ -19,6 +19,7 @@
Loading
19 19
20 20
use Phing\Exception\BuildException;
21 21
use Phing\Task;
22 +
use Phing\Type\Element\ClasspathAware;
22 23
23 24
/**
24 25
 * Register a datatype for use within a buildfile.

@@ -20,6 +20,7 @@
Loading
20 20
use Phing\Exception\BuildException;
21 21
use Phing\Project;
22 22
use Phing\Task;
23 +
use Phing\Type\Element\FileSetAware;
23 24
24 25
/**
25 26
 * Generate SQL script for db using dbdeploy schema version table

@@ -24,6 +24,8 @@
Loading
24 24
use Phing\Phing;
25 25
use Phing\Project;
26 26
use Phing\Task;
27 +
use Phing\Type\Element\FileListAware;
28 +
use Phing\Type\Element\FileSetAware;
27 29
use Phing\Type\Mapper;
28 30
29 31
/**

@@ -29,6 +29,7 @@
Loading
29 29
use Phing\Type\Commandline;
30 30
use Phing\Type\CommandlineMarker;
31 31
use Phing\Type\DirSet;
32 +
use Phing\Type\Element\ResourceAware;
32 33
use Phing\Type\FileList;
33 34
use Phing\Type\Mapper;
34 35

@@ -21,6 +21,7 @@
Loading
21 21
use Phing\Io\FileSystem;
22 22
use Phing\Io\File;
23 23
use Phing\Project;
24 +
use Phing\Type\Element\FileSetAware;
24 25
25 26
/**
26 27
 * Base class for extracting tasks such as Unzip and Untar.

@@ -1,7 +1,4 @@
Loading
1 1
<?php
2 -
3 -
use Phing\Type\FilterChain;
4 -
5 2
/**
6 3
 * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
7 4
 * "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
@@ -20,6 +17,10 @@
Loading
20 17
 * <http://phing.info>.
21 18
 */
22 19
20 +
namespace Phing\Type\Element;
21 +
22 +
use Phing\Type\FilterChain;
23 +
23 24
trait FilterChainAware
24 25
{
25 26
    /**
26 27
imilarity index 97%
27 28
ename from classes/phing/types/element/ResourceAware.php
28 29
ename to src/Phing/Type/Element/ResourceAware.php

@@ -20,27 +20,10 @@
Loading
20 20
use Phing\Exception\BuildException;
21 21
use Phing\Io\File;
22 22
use Phing\Task;
23 +
use Phing\Type\Element\FileSetAware;
23 24
use SebastianBergmann\PHPCPD\Detector\Strategy\DefaultStrategy;
24 25
use Composer\Autoload\ClassLoader;
25 26
26 -
/**
27 -
 * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
28 -
 * "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
29 -
 * LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR
30 -
 * A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT
31 -
 * OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
32 -
 * SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT
33 -
 * LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
34 -
 * DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
35 -
 * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
36 -
 * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
37 -
 * OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
38 -
 *
39 -
 * This software consists of voluntary contributions made by many individuals
40 -
 * and is licensed under the LGPL. For more information please see
41 -
 * <http://phing.info>.
42 -
 */
43 -
44 27
/**
45 28
 * Runs PHP Copy & Paste Detector. Checking PHP files for duplicated code.
46 29
 * Refactored original PhpCpdTask provided by

@@ -1,7 +1,4 @@
Loading
1 1
<?php
2 -
3 -
use Phing\Type\FileSet;
4 -
5 2
/**
6 3
 * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
7 4
 * "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
@@ -20,6 +17,10 @@
Loading
20 17
 * <http://phing.info>.
21 18
 */
22 19
20 +
namespace Phing\Type\Element;
21 +
22 +
use Phing\Type\FileSet;
23 +
23 24
trait FileSetAware
24 25
{
25 26
    /**
26 27
imilarity index 97%
27 28
ename from classes/phing/types/element/FilterChainAware.php
28 29
ename to src/Phing/Type/Element/FilterChainAware.php

@@ -22,6 +22,7 @@
Loading
22 22
use Phing\Io\File;
23 23
use Phing\Project;
24 24
use Phing\Task;
25 +
use Phing\Type\Element\ClasspathAware;
25 26
use Phing\Util\Properties;
26 27
27 28
/**

@@ -20,6 +20,7 @@
Loading
20 20
use Phing\Exception\BuildException;
21 21
use Phing\Io\File;
22 22
use Phing\Task;
23 +
use Phing\Type\Element\FileSetAware;
23 24
use Phing\Util\StringHelper;
24 25
25 26
/**

@@ -23,6 +23,8 @@
Loading
23 23
use Phing\Mapper\MergeMapper;
24 24
use Phing\Project;
25 25
use Phing\Task;
26 +
use Phing\Type\Element\FileListAware;
27 +
use Phing\Type\Element\FileSetAware;
26 28
use Phing\Type\Mapper;
27 29
28 30
/**

@@ -29,6 +29,7 @@
Loading
29 29
use Phing\ProjectComponent;
30 30
use Phing\Target;
31 31
use Phing\Task;
32 +
use Phing\Type\Element\FileSetAware;
32 33
use Phing\Type\Reference;
33 34
34 35
/**

@@ -1,7 +1,4 @@
Loading
1 1
<?php
2 -
3 -
use Phing\Type\DirSet;
4 -
5 2
/**
6 3
 * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
7 4
 * "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
@@ -20,6 +17,10 @@
Loading
20 17
 * <http://phing.info>.
21 18
 */
22 19
20 +
namespace Phing\Type\Element;
21 +
22 +
use Phing\Type\DirSet;
23 +
23 24
trait DirSetAware
24 25
{
25 26
    /**
26 27
imilarity index 97%
27 28
ename from classes/phing/types/element/FileListAware.php
28 29
ename to src/Phing/Type/Element/FileListAware.php

@@ -21,6 +21,7 @@
Loading
21 21
use Phing\Io\File;
22 22
use Phing\Task;
23 23
use Phing\Type\Commandline;
24 +
use Phing\Type\Element\FileSetAware;
24 25
25 26
/**
26 27
 * A PHP code sniffer task. Checking the style of one or more PHP source files.

@@ -21,6 +21,7 @@
Loading
21 21
use Phing\Io\File;
22 22
use Phing\Project;
23 23
use Phing\Task;
24 +
use Phing\Type\Element\FileSetAware;
24 25
25 26
/**
26 27
 * A XML lint task. Checking syntax of one or more XML files against an XML Schema using the DOM extension.

@@ -21,6 +21,7 @@
Loading
21 21
22 22
use Phing\Task;
23 23
use Phing\Type\Commandline;
24 +
use Phing\Type\Element\FileSetAware;
24 25
25 26
class PHPStanTask extends Task
26 27
{

@@ -1,9 +1,4 @@
Loading
1 1
<?php
2 -
3 -
use Phing\Exception\BuildException;
4 -
use Phing\Type\Path;
5 -
use Phing\Type\Reference;
6 -
7 2
/**
8 3
 * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
9 4
 * "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
@@ -22,6 +17,12 @@
Loading
22 17
 * <http://phing.info>.
23 18
 */
24 19
20 +
namespace Phing\Type\Element;
21 +
22 +
use Phing\Exception\BuildException;
23 +
use Phing\Type\Path;
24 +
use Phing\Type\Reference;
25 +
25 26
trait ClasspathAware
26 27
{
27 28
    /**
28 29
imilarity index 97%
29 30
ename from classes/phing/types/element/DirSetAware.php
30 31
ename to src/Phing/Type/Element/DirSetAware.php

@@ -30,6 +30,9 @@
Loading
30 30
use Phing\Io\Writer;
31 31
use Phing\Project;
32 32
use Phing\Task;
33 +
use Phing\Type\Element\FileListAware;
34 +
use Phing\Type\Element\FileSetAware;
35 +
use Phing\Type\Element\FilterChainAware;
33 36
use Phing\Type\FileSet;
34 37
use Phing\Type\Path;
35 38
use Phing\Util\Register;

@@ -24,6 +24,8 @@
Loading
24 24
use Phing\Io\File;
25 25
use Phing\Project;
26 26
use Phing\Task;
27 +
use Phing\Type\Element\FileSetAware;
28 +
use Phing\Type\Element\FilterChainAware;
27 29
28 30
/**
29 31
 * This task is for using filter chains to make changes to files and overwrite the original files.

@@ -25,6 +25,7 @@
Loading
25 25
use Phing\Io\File;
26 26
use Phing\Project;
27 27
use Phing\Task;
28 +
use Phing\Type\Element\FileSetAware;
28 29
use Phing\Type\FilterChain;
29 30
use Phing\Type\RegularExpression;
30 31

@@ -5,6 +5,7 @@
Loading
5 5
use Phing\Project;
6 6
use Phing\Target;
7 7
use Phing\Task;
8 +
use Phing\Type\Element\FileSetAware;
8 9
use Phing\Type\Path;
9 10
use Phing\Type\PathElement;
10 11
use Phing\Type\Reference;

@@ -21,6 +21,7 @@
Loading
21 21
use Phing\Io\File;
22 22
use Phing\Project;
23 23
use Phing\Task;
24 +
use Phing\Type\Element\FileSetAware;
24 25
25 26
/**
26 27
 * ManifestTask
Files Complexity Coverage
classes/phing/tasks 4,732 50.46%
src/Phing 3,883 55.73%
Project Totals (447 files) 8615 52.84%
1
ignore:
2
- "docs"
3
- "etc"
4
- "vendor"
5
coverage:
6
  status:
7
    patch: off
8
    project:
9
      default:
10
        threshold: 2
Sunburst
The inner-most circle is the entire project, moving away from the center are folders then, finally, a single file. The size and color of each slice is representing the number of statements and the coverage, respectively.
Icicle
The top section represents the entire project. Proceeding with folders and finally individual files. The size and color of each slice is representing the number of statements and the coverage, respectively.
Grid
Each block represents a single file in the project. The size and color of each block is represented by the number of statements and the coverage, respectively.
Loading