Comments (5)
Come on.. you report issue on dev version of something which doesn't have Alpha version..
from codeigniter4.
To be honest - I've been waiting until a final PHP 7 is released to build a proper box. My current box doesn't have debug installed so haven't had a chance to test that yet. It will all happen in time. :)
from codeigniter4.
This error is because of processUncoveredFilesFromWhitelist="true"
, which is noted:
Please note that the loading of sourcecode files that is performed when processUncoveredFilesFromWhitelist="true" is set can cause problems when a sourcecode file contains code outside the scope of a class or function, for instance.
https://phpunit.de/manual/current/en/code-coverage-analysis.html#code-coverage-analysis.whitelisting-files
from codeigniter4.
I don't think we need processUncoveredFilesFromWhitelist="true"
.
See http://stackoverflow.com/questions/29041254/phpunit-coverage-what-is-the-difference-between-adduncoveredfilesfromwhitelist
We can get Code Coverage with the following diff:
--- a/phpunit.xml
+++ b/phpunit.xml
@@ -15,7 +15,7 @@
</testsuites>
<filter>
- <whitelist processUncoveredFilesFromWhitelist="true">
+ <whitelist addUncoveredFilesFromWhitelist="true">
<directory suffix=".php">./system</directory>
</whitelist>
</filter>
The default value of addUncoveredFilesFromWhitelist
is true
. So it is the same as just <whitelist>
.
from codeigniter4.
Actually, that stackoverflow comment makes it sound like leaving it to the default processUncoveredFilesFromWhitelist=false
is a faster method that is just as accurate when the answer is 0
. So, it seems we can just do the whitelist
tag without any attributes here.
Thanks. Will push a change.
from codeigniter4.
Related Issues (20)
- Bug: validation level dont work as expected HOT 6
- Bug: Class 'file' not found in SYSTEMPATH\Config\Services.php on line 686. HOT 5
- Bug: `spark phpini:check` TypeError HOT 4
- Bug: ENVIRONMENT is not updated when changed via .ENV ( 4.5.3) HOT 5
- [Feat] Routing: Support to PHP Attributes HOT 4
- Bug: routes not work in ci 4.3.5 HOT 2
- Bug: debug bar content not show with daisyUI ver 4.12.10 HOT 4
- Bug: TypeError in pg_ping() HOT 7
- Add to $filters except urls like in globals HOT 1
- Bug: Module/Config/Registrar.php cause infinite loop in codeigniter4\framework\system\Autoloader\FileLocator.php on line 226
- Bug: Boot Order HOT 3
- Bug: Routing groups and in-group routes use filters that are only effective within the group. HOT 1
- [Registrar] Duplicate entries leads to duplicate config properties which leads to duplicated items in the debug toolbar. HOT 6
- DB BaseBuilder Join() - RawSql as table HOT 1
- Bug: speed bug HOT 5
- Bug: Time loses microseconds HOT 8
- ContentSecurityPolicy::setReportURI() shoud accept null values HOT 3
- Bug: valid_email is not working with permit_empty rules HOT 2
- Bug: Validation rule `differs` or `matches` fails if rule applied on array data HOT 3
- Bug: Preload issues HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from codeigniter4.