Ecosyste.ms: OpenCollective

An open API service for software projects hosted on Open Collective.

Infection PHP

Mutation Testing for PHP. Helps writing better code and tests.
Collective - Host: opensource - https://opencollective.com/infection - Website: https://infection.github.io/ - Code: https://github.com/infection

Improve PregQuote check (#384)

If the node is anything other than the direct function call we can't
determine what it is, so w...

github.com/infection/infection - 0117d7487be1a0351eb9f76ab77d1dbc66928a23 authored over 6 years ago
Account for statements spanning multiple lines (#375)

* MutationsCollectorVisitor: account for statements spanning multiple lines

* Test case for #...

github.com/infection/infection - 9caf4836381381e2c1f30ca325d22a694657d6dd authored over 6 years ago
Fix incorrecy path after renaming .travis -> .ci

github.com/infection/infection - 8103f1278336a3daf012abfb9de493ae53f990e6 authored over 6 years ago
Use the word "both" in the PHPUnit --coverage docs (#43)

By inserting the word "both" it should be more clear that both report types are required for inf...

github.com/infection/site - 3b73c2b70060d61e5f300ac7e9c0177904ea45e8 authored over 6 years ago
Look for .bat on all platforms (#374)

* Not looking for .bat twice

* For Phpunit_Bat_Wrapper we have to look for .bat on all platforms

github.com/infection/infection - 2499d3d71af0ce4c683f88c47e7c1419488d2e50 authored over 6 years ago
Only add xdebug if we dont have it set already on appveyor (#362)

github.com/infection/infection - 25aa61e6fff24d3667bfeaf48f70d7baf6c77491 authored over 6 years ago
Allow easy Docker testing on Mac OS (#373)

* Parameters_Coverage/composer.json: require PHP 7.0.x

* Let the tests proceed without `flock...

github.com/infection/infection - 8c7d5b33e75467090e339e7139c3bfcb68e4faeb authored over 6 years ago
Run a unit test in a separate process (#370)

If tests are ran in another order this would cause the exception not to
be thrown, as the inter...

github.com/infection/infection - 3518545a6bab661f33a47750809dfd8d487ed7b4 authored over 6 years ago
Add native function invocation fixer (#372)

github.com/infection/infection - 0b7f96014dc0b1651c245863306246885986fd40 authored over 6 years ago
Bump min MSI and Covered MSI

Tests have improved lately, but min msi and covered msi dont yet reflect that

github.com/infection/infection - 967c6a218d5921704a42739541322da1fc9db77a authored over 6 years ago
Run unit tests on PHP 7.0 on pre-push (#367)

github.com/infection/infection - 95827b871a8058ca4a036702a34b9f1c94bfb3d2 authored over 6 years ago
Makefile updated to optionally run without a .phar (#376)

* infection.phar should be rebuild if any of our source files change

* It should be possible ...

github.com/infection/infection - 42af1e3415585b2ab14ac080c042dc4c4ae7f5a0 authored over 6 years ago
Do not decrement integer 0 when it is being compared with the result of count() (#365)

* Do not decrement integer 0 when it is being compared with the result of count()

* Do not mu...

github.com/infection/infection - b84fd10359249b911ba044861dd9fb46be1187ae authored over 6 years ago
Run cs fixer (#371)

github.com/infection/infection - 7bdc340f3c73b565deddfd483c04534a0d7122e6 authored over 6 years ago
Add sanmai to the list of authors

github.com/infection/infection - 6f42ac2021cfbba8d0ee62b71d4294205d4dfea2 authored over 6 years ago
Add some unit tests and add a named constructor to exception (#369)

github.com/infection/infection - 7d5567fbb608b05a9a5f81c8e412babbf7453424 authored over 6 years ago
Stop mutation of abstract methods default parameters (#361)

These are never covered by tests, so they never result in a killed
mutant.

github.com/infection/infection - 2e24f03a5a04745d11f9e92572968a6be532d983 authored over 6 years ago
Clean up after Mutation testing has been finished (#357)

* Clean up after Mutation testing has been finished

* Remove check on mutated file already ex...

github.com/infection/infection - 638e06296271fdb10193159cec0a8139af1ce9d8 authored over 6 years ago
Add --debug option (#42)

github.com/infection/site - e090b72e2120c6d141d32b0edd96c522e3198b2c authored over 6 years ago
Add/Update/Improve unit tests (#359)

* Add/Update/Improve unit tests

* Test the Mutant class

* Add more tests for certain edge ...

github.com/infection/infection - 5eb6945e0196beb463e6fa659758a0b90e706e13 authored over 6 years ago
Run some E2E tests on Windows (#358)

* Bump PHPUnit version requirement up to 6.5

That's the version that uses phpunit.bat on Wind...

github.com/infection/infection - c320267346435285df5783c8c3832aecbc4bfe0c authored over 6 years ago
Add a test to check whether classes are unit tested (#360)

github.com/infection/infection - 90629078c9e17451004eb0681bc119281e57b0fa authored over 6 years ago
Look for .bat on Windows first (#355)

github.com/infection/infection - ad0629934c5c676bff3845ccfc619f5f4b8334b3 authored over 6 years ago
Update travis config to deploy PHAR and pubkey on releases (#353)

* Update travis config to deploy PHAR and pubkey on releases

* Add a new line on the end of t...

github.com/infection/infection - 2276560c4886c79fd6b7175a6039f5c6650d8a93 authored almost 7 years ago
Collect coverage from appveyor (#350)

* Run infection on appveyor and upload code coverage

* Improve error message of BuildConfigYm...

github.com/infection/infection - 26c457a53737f010fc3a5759cb4df99df534f4c9 authored almost 7 years ago
Run a test framework executable as it is (#343)

* TestFrameworkFinder now looks for framework-name.bat

* E2E test for phpunit.bat wrapper

...

github.com/infection/infection - 3ab25501c81db214ecacacb388c6dcdfd36783e5 authored almost 7 years ago
Add multiple unit tests (#349)

* Add multiple unit tests

* Add multiple unit tests

* Remove wrong comment

github.com/infection/infection - 526b556a0abbe0899b15de6f82fb24166c11941a authored almost 7 years ago
Create prefixed PHAR and run it for e2e tests (#342)

* Automatically prefix PHAR when it is being created by Box.

* Use PHAR for e2e tests

* Ad...

github.com/infection/infection - 28b73091d677c2d3e0cdc614bb8c1370d738e1bd authored almost 7 years ago
Add a per mutator logging option (#346)

* Add a per mutator logging option

* Add timed mutations to logger

* Make fs variable priv...

github.com/infection/infection - 696fd164898229d227858b8d3aafa7176bd64826 authored almost 7 years ago
Add documentation of per-mutator logging option (#40)

* Add documentation of per-mutator logging option

* Change to camel case

* Markdown is one...

github.com/infection/site - 552ed48a4132d4f780d23c4b28d0bf8f780743e7 authored almost 7 years ago
Replace the nickname with the real name

github.com/infection/infection - 89646dece86538171524ed3cf803e8aad86ccb70 authored almost 7 years ago
Use our own Docker images for all testing (#304)

* Use our own Docker images for all testing

- Install expect because it is needed to e2e test...

github.com/infection/infection - 9a46be3885429c649d5747e2dd5105e2b1dea013 authored almost 7 years ago
Add php unit cs fixer rules (#347)

* Add some more php unit cs fixer rules

Adding these rules will cut down the number of incons...

github.com/infection/infection - a605b307ca336bed2af57c001fa314822399abad authored almost 7 years ago
Simplify the EventDispatcher (#348)

* Simplify the EventDispatcher

Most of its public functions were not being used within the co...

github.com/infection/infection - 9f405ad704f67d0387733c362b09c278d143d2ca authored almost 7 years ago
Update mutator doc blocks (#345)

* Add doc-blocks where missing
* Fix typos
* Remove trailing .

github.com/infection/infection - cd64a94af37c397d03eb023de39062dd68d16acc authored almost 7 years ago
Xdebug/phpdbg check should be later in the infection process (#330)

* Allow to run --help, --version, list commands without debugger

* rename methods, move error...

github.com/infection/infection - 894075280f5a8f239180c45ff02bedf6c0a81fb3 authored almost 7 years ago
Use a transparent xdebug-free environment for all but the initial test process (#329)

* Got back PhpExecutableFinderTest

* Use a default Xdebug-free environment for all subprocess...

github.com/infection/infection - 9fedd2f6b17a5760df9319293bfafaf4db75d0e2 authored almost 7 years ago
Enhacement: AutoReview tests (#339)

* Implement AutoReview tests

* These tests check for things like classes being final etc.
* ...

github.com/infection/infection - 74cfa3fe34789e6804458a82260e975b97b374e8 authored almost 7 years ago
Use our own ConsoleOutput class over SymfonyStyle (#337)

* Use our own ConsoleOutput class over SymfonyStyle

Extracted the SymfonyStyle references int...

github.com/infection/infection - 03bcf8dfe28b0486e3a5c3a5c3f635eb6c664ee0 authored almost 7 years ago
Apply max level phpstan to src folder (#335)

phpstan.neon has been moved to the devTools folder and it has
been split into two, one for src ...

github.com/infection/infection - b3e6924befc6e95aac8e64ddda1ff8f1392c8ac5 authored almost 7 years ago
Fix for Makefile to restore functionality to build the PHAR. Upgrade Box to alpha-5 (#336)

github.com/infection/infection - ff423314d021621cb7664ea8e56bfea93b23fcf3 authored almost 7 years ago
Add infection favicons (#38)

github.com/infection/site - 6d035b29fee3b0361f4eca062e96a5689e578820 authored almost 7 years ago
Update Custom.md

github.com/infection/infection - 243cb88dd4a0fa278f3c14931d92491cb865f612 authored almost 7 years ago
Update issue templates

github.com/infection/infection - 8834f2712a9c386d8a920f04e3db612b72a75ff2 authored almost 7 years ago
Enforce declare strict_types everywhere (#334)

We hadn't used it, and #277 made that more explicit. The reason for
not using it first was that...

github.com/infection/infection - d995f99638f77dbd319377282eeb65656f00a31b authored almost 7 years ago
Add the first regex mutator (#333)

* Add the first regex mutator PregQuote

This mutator removes preg_quote calls. the function c...

github.com/infection/infection - 2fa95083404f3d8aa3ff91c37a26bc6f2afee951 authored almost 7 years ago
Add information on the Regex mutator(s) (#37)

Also add the `@cast` mutator to the profiles list

github.com/infection/site - 6073b77c965052083232a9796db65b19b38f6987 authored almost 7 years ago
Replace mock creation function from getMockBuilder by createMock where it possible (#331)

github.com/infection/infection - 629087e3de74e373f73504357200d58e30ba59c1 authored almost 7 years ago
Add info about how to use custom autoloader/bootstrap file (#36)

github.com/infection/site - 40c8aa6abb894b965c57d09bd0408ae676920d7a authored almost 7 years ago
Use project's bootstrap file in PHPUnit sub-processes rather than hardcoded `vendor/autoload.php` (#323)

* Use project's bootstrap file in PHPUnit sub-processes rather than hardcoded `vendor/autoload.p...

github.com/infection/infection - 9c751c69f2621104b7ba71150a203859b5bf2e0f authored almost 7 years ago
Cache the results of the getHash function (#328)

This is called 3 times per mutation, might aswell reuse the results.

github.com/infection/infection - f02a3deaf7600991aabae22ad399adfb706052cb authored almost 7 years ago
Move bootstrap logic into infection file (#327)

* Move bootstrap logic into infection file

Now that bootstrap.php has become much smaller its...

github.com/infection/infection - 3c23934a4f288da9b3799a8c8c971ecdb302032e authored almost 7 years ago
Error on faulty configuration (#326)

* Error when custom configuration file does not exist

A custom configuration file may be comp...

github.com/infection/infection - b8aa12e6fef2175c658251237f17a055fc7585e4 authored almost 7 years ago
Replace custom XdebugHandler by composer/xdebug-handler package (#263)

github.com/infection/infection - 7df66c324c6981b0709daa4a4e9e21d0f1217244 authored almost 7 years ago
Make the directory the name instead of a parameter (#319)

By doing it like this we still get the message of what directory gave us
a failure, but we don'...

github.com/infection/infection - 85cad10ed91177e10541ac6781bb8c6626c3b348 authored almost 7 years ago
If PATH is not set, continue infection execution with fallback (#313)

* If PATH is not set, continue infection execution with fallback

If PATH/Path is not set, fal...

github.com/infection/infection - fe7914103f5f1f944409c91d32a18d24eb48c560 authored almost 7 years ago
Add vendor and temporary files to e2e gitignore (#316)

We do not want to commit these files to the repo, so it makes sense to ignore them.
This was no...

github.com/infection/infection - 655374a3a0aac83865b983687858fb8a5d1f4dea authored almost 7 years ago
Add cast mutators to default profile (#317)

github.com/infection/infection - 1877c573dad37b5014004d9638397c3e691f546a authored almost 7 years ago
Build PHAR with Humbug Box (#312)

* Build PHAR with Humbug Box

* Address comments

github.com/infection/infection - a8ec070d661e5f5e9268735f082f399afe3092fc authored almost 7 years ago
Use https for downloading phars (#314)

github.com/infection/infection - 79c66201ff9f4bdf7d67143c393e15b62a125f25 authored almost 7 years ago
Memory_Limit reliability fixes (#311)

- PHP must be able to load other .ini files
- Memory limit cannot be enforced from our custom p...

github.com/infection/infection - 4d67b96c29e36026f8127dfd1cd0d43baaa813e7 authored almost 7 years ago
Add documentation for new verbosity options (#34)

* Add documentation for new verbosity options

* Remove extra word

github.com/infection/site - 2cfa6aab1e3d3f41e2d97d55c852d0f1fb10b532 authored almost 7 years ago
Use textual version of log verbosity (#265)

* Use textual version of log verbosity

This makes it more easily extendable.

We now also n...

github.com/infection/infection - 9eb6caef257fd0b935cb538cf2ea92aeabcad543 authored almost 7 years ago
ParallelProcessRunner: use a common procedure for new processes (#309)

* ParallelProcessRunner: use a common procedure for new processes

* ParallelProcessRunnerTest

github.com/infection/infection - a48aadbf3ed753ce223e03d83ef4c07ac542d8aa authored almost 7 years ago
Run standard E2E tests from within PHPUnit (#285)

* Profiles_Ignore_Combination/expected-output.txt - removed extra new line

* Commands made `@...

github.com/infection/infection - 16ee8f935e35bc6439106e70b5e63da3cbd028d7 authored almost 7 years ago
[Mutator] Remove type cast operators (#297)

* Add CastInt mutator the removes `(int)` type cast

* Add CastFloat mutator the removes `(flo...

github.com/infection/infection - 8fc6cf2efcd5a5bbfe9afc5b6f2fe98b7f299cd2 authored almost 7 years ago
Add documentation for Type Casting mutators

github.com/infection/site - 02b017c01cbd780a43f6ebf49d8b013c634ed5dc authored almost 7 years ago
Ensure mutated code is always valid (#301)

* Ensure mutated code is always valid

* Use piping instead of creating a file for `php -l` li...

github.com/infection/infection - b0a34c208fbac5fa5e9d4a29efab0184d0c47269 authored almost 7 years ago
Bootstrapping refactored into InfectionContainer (#303)

* InfectionCommand: do not try to set memory limit if no temp .ini present

* Bootstrapping re...

github.com/infection/infection - 663f6a5a7c5700556617e84d19f4d86d47573a98 authored almost 7 years ago
IdenticalEqual and NotIdenticalNotEqual mutators (#298)

* IdenticalEqual mutator

Replaces "===" with "=="

* NotIdenticalNotEqual mutator

Replac...

github.com/infection/infection - 1acf6866c4846cabea4fce91ee7165e1bf6022cb authored almost 7 years ago
Merge pull request #35 from sanmai/patch-6

Update mutators.md

github.com/infection/site - 15a03acae1caf8180b5bad034fc4e667cf3f99eb authored almost 7 years ago
Fix for IncludeInterceptorTest (#302)

github.com/infection/infection - de425a6327fc4d1d0581a11e437e7ec849af3739 authored almost 7 years ago
Problem with a custom PATH (#296)

* Test case for the issue with a custom PATH

* Let initial run sub-process inherit environment

github.com/infection/infection - ee3aedd08dc945f6063a4963e4b5ccae848efe3b authored almost 7 years ago
Update mutators.md

https://github.com/infection/infection/pull/298

github.com/infection/site - d59638b35b078bec8a2b6203bc1b825963b09509 authored almost 7 years ago
Enhancement: test in multiple environments (#255)

* Add a makefile to test against different versions

Use docker to test against different php ...

github.com/infection/infection - ea68cce9872f5c26d5bfc263d480ec4b8ebc1bdc authored almost 7 years ago
Add a debug version of infection (#275)

github.com/infection/infection - 131118b349d98e663652111e36f33dfc31c14ddf authored almost 7 years ago
Create file for mutant creator test during test run (#266)

* Create file for mutant creator test during test run

* Make use of filename instead of hard ...

github.com/infection/infection - 43e3c61ffaab8e1b6350bf6b3e7eb9c45e5ad39e authored almost 7 years ago
Added IncludeInterceptorTest (#292)

We mainly interested in methods, essential to interception:

* stream_close
* stream_eof
...

github.com/infection/infection - 3db16f996903fc03d2415a6cd3570d4942cd4216 authored almost 7 years ago
Add test to prove non inherited functions still get mutated (#293)

github.com/infection/infection - 3fbc399f6a415d9fb02af97de6119cd57cd6f607 authored almost 7 years ago
TestFrameworkConfigPathProvider needs strings for all inputs, not nulls (#289)

* TestFrameworkConfigPathProvider needs strings for all inputs, not nulls

E2E test added for ...

github.com/infection/infection - 190388acdda9b0fb9bfe75b6c7fd7093dd737967 authored almost 7 years ago
E2E test for ConfigureCommand in a non-interactive mode (#287)

Fixes #286

github.com/infection/infection - 28d1166f0cee7dd10445be0d691cd841c7cc1335 authored almost 7 years ago
Function Scope Attribute Not Found (#280)

* Function Scope Attribute Not Found

* Removing Obsolete Class (Per Discussions In PR#280)
A...

github.com/infection/infection - c0dd8db5ea71d4f1b49a762c2f63322370ad6cc2 authored almost 7 years ago
Making all non-extended classes final (#283)

* Made all non-extended classes final

Script used:

for file in $(find src/ -type f -name \...

github.com/infection/infection - 5bfd1be14bd3762a573717e118f6115a3426d77f authored almost 7 years ago
Master config updates (#281)

* Adding Testing Framework In Configuration

* Adding Testing For Config

* Adding Bootstrap...

github.com/infection/infection - f9bb8730af3d8267d7480746c93751f80f8d9553 authored almost 7 years ago
DX: PHP CS Fixer - groom usage (#277)

* DX: sort rules in .php_cs.dist

* DX: PHP CS Fixer - add more rulesets

* DX: PHP CS Fixer...

github.com/infection/infection - b9720726770ea29465c44edb3f3d2fe1fe2a8b1f authored almost 7 years ago
Merge pull request #33 from twistersfury/master-config-updates

Adding Docs For New Config Params

github.com/infection/site - 38bbd6ab3e18767572b365f8b359d7a81cf508fa authored almost 7 years ago
Test that .travis.yml is valid (#282)

* Test that .travis.yml is valid

* Deliberately breaking .travis.yml

* Revert "Deliberatel...

github.com/infection/infection - f33645915f8ca92b78168dd3ac007483eb7e537f authored almost 7 years ago
Adding Docs For New Config Params

github.com/infection/site - 14b0d2eda3dd1fbdd70f946b9a50be75a140874e authored almost 7 years ago
Updating Dist Config File Locator (#269)

* Adding Alternative Config

* Updating Testing

* Updating To Use LocatorException
Using A...

github.com/infection/infection - 1876224baa650ce84a06261010efd0bc3924ddda authored almost 7 years ago
Made e2e Memory_Limit test fixture to timeout later; should be more stable during CI (#273)

github.com/infection/infection - 2abf272d1e9ed20ec3089430e2889b52f5eca904 authored almost 7 years ago
Do not remove finally block when there are no any catch blocks (#272)

* Do not remove finally block when there are no any catch blocks

* Fix grammar typo

github.com/infection/infection - 892af99a622c8f4776d1ecacc3ac771be581541f authored almost 7 years ago
If a stock composer failed for because of a PHP error (broken plugins...), a fallback wasn't used. (#267)

github.com/infection/infection - fbd2861e1708dd6d87635f600b2c71512b88f5a3 authored almost 7 years ago
Updated the PHP CS Fixer config (#270)

* Made PHP-CS-Fixer to enforce the established rules: constant and public vars go first.

* It...

github.com/infection/infection - 67ccfd4fff36e513d19f0f82118c7699d0ef2635 authored almost 7 years ago
Heuristics to set memory limit for mutants running with PHPUnit (#258)

* PhpUnitAdapter can now get amount memory used by PHPUnit

* Heuristics to set memory limit f...

github.com/infection/infection - b7eb40467bb7d04b027242e475ef59cf1a988626 authored almost 7 years ago
Remove `isIgnored` from the public API of Mutator class. Make methods final (#259)

* Remove `isIgnored` from the public API of Mutator class. Make methods final

* Get the last ...

github.com/infection/infection - 168b438482f350aa2bab07a3b1f6661191c21fbc authored almost 7 years ago
Add maintainers to composer.json, add note for contributors to the Readme

github.com/infection/infection - 3aa9392bf0406034a802d8e71e1e892cb668e6f1 authored almost 7 years ago
Add Finally mutator to the doc

github.com/infection/site - c5d549b677bf768608f7be143805b24d32911a04 authored almost 7 years ago
Update LICENSE (#264)

- Updated years
- GitHub now should recognize it as a valid BSD 3-Clause License

[skip ci]

github.com/infection/infection - e778dc15a0db5495e33753f21079749c44fb4ab9 authored almost 7 years ago
Add mutator that remove finally {} block (#261)

github.com/infection/infection - 85ca245272a70db7ecd8e6db0de73fd3b3ec5a19 authored almost 7 years ago
Do not generate file logs on CI (#260)

github.com/infection/infection - 52e523e27adf24b8443d2d975f9d1cb96c73c88b authored almost 7 years ago