Phpunit: Replace "whitelist" for coverage

Created on 7 Jun 2020  路  11Comments  路  Source: sebastianbergmann/phpunit

There are better ways to express the notion of whitelisting, without using this outdated, offensive terminology. Currently, has to write something like this, to use this PHPUnit functionality:

    <filter>
        <whitelist processUncoveredFilesFromWhitelist="true">
            <directory suffix=".php">./src</directory>
        </whitelist>
    </filter>

Can we provide an alternative mechanism and deprecate the original?

// cc @ciaranmcnulty, @leah

typenhancement

All 11 comments

The historical origins of the word from hundreds of years ago are not relevant. The connotations in the modern word are unacceptable, and that's all that matters.

So we come to this, a white boy to tell what I should be offended by? it is just words and means nothing else that blacklist (in the dark side), whitelist(in the good side)

what is next, unable to have variables named $owner because you know is unacceptable.

Since we all know what tends to happen to such "discussions", just a friendly reminder beforehand that https://github.com/sebastianbergmann/phpunit/blob/master/.github/CODE_OF_CONDUCT.md exists.

Everyone just take a deep breath and think about if this is really the battle you want to pick, no matter what side your opinions falls on. It is already being worked on so maybe you shouldn't invest too much energy into this?

@bastianschwarz Thanks for that, I did take a deep breath :)

There is nothing we can do at the moment since it is something already happening, but I wanted to clear out that it is not an issue for most of the world and most people do not support this, because programming has nothing to do with race, culture. we are a big team and someone has to point out when were are going into odd ways.

Imagine vigorously defending racist terminology.

https://tools.ietf.org/id/draft-knodel-terminology-00.html#rfc.section.1.2

@codemasher that is based on culture. in my culture it means good and evil, god and devil, nothing to do with race. making changes like this is telling me your culture is better just because reasons?

"I don't feel oppressed by it therefore it's not offensive" is not how it works.

is literally how it is working: "those words oppressed/offend me, remove it"

To be honest, this isn't really up for discussion. It has already been implemented in v9. I'd recommend @sebastianbergmann locks this thread because further comments are not required.

Was this page helpful?
0 / 5 - 0 ratings

Related issues

rentalhost picture rentalhost  路  4Comments

joubertredrat picture joubertredrat  路  4Comments

dkarlovi picture dkarlovi  路  3Comments

greg0ire picture greg0ire  路  4Comments

stephen-leavitt-sonyatv-com picture stephen-leavitt-sonyatv-com  路  4Comments