Skip to content

Commit

Permalink
Rename CoverageLineData to TestLocation (#1)
Browse files Browse the repository at this point in the history
As part of #1164, for more information see the TODOs in https://github.com/infection/infection/blob/4ce9b86d0f6eeabab6d9ea991b62858ba2e3736c/src/TestFramework/Coverage/TestLocations.php

BC breaks:

- Rename `CoverageLineData` to `TestLocation`
- Rename `CoverageLineData::withMethod()` to `TestLocation::forMethod()`
- Remove `CoverageLineData::with()` in favour of `TestLocation::__construct()`
- Make the properties of `CoverageLineData` private and provide public accessors instead
- Remove `TestFrameworkAdapter::JUNIT_FILE_NAME`
  • Loading branch information
theofidry authored Mar 14, 2020
1 parent 5235ec7 commit f3ec6fc
Show file tree
Hide file tree
Showing 7 changed files with 1,714 additions and 35 deletions.
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -2,3 +2,4 @@
/.idea
/.php_cs.cache
/vendor/
/.composer.lock
19 changes: 14 additions & 5 deletions composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -10,15 +10,24 @@
}
],
"config": {
"platform": {
"php": "7.2.9"
"sort-packages": true
},
"sort-packages": true
},

"autoload": {
"psr-4": {
"Infection\\AbstractTestFramework\\": "src/"
}
},
"require": {}
"autoload-dev": {
"psr-4": {
"Infection\\AbstractTestFramework\\": "tests/"
}
},

"require": {
"php": "^7.3"
},
"require-dev": {
"phpunit/phpunit": "^9.0"
}
}
Loading

0 comments on commit f3ec6fc

Please sign in to comment.