-
-
Notifications
You must be signed in to change notification settings - Fork 166
Comparing changes
Open a pull request
base repository: infection/infection
base: 0.28.1
head repository: infection/infection
compare: 0.29.0
- 18 commits
- 436 files changed
- 7 contributors
Commits on Mar 29, 2024
-
Configuration menu - View commit details
-
Copy full SHA for 906684a - Browse repository at this point
Copy the full SHA 906684aView commit details
Commits on Apr 3, 2024
-
Configuration menu - View commit details
-
Copy full SHA for 684085b - Browse repository at this point
Copy the full SHA 684085bView commit details
Commits on Apr 12, 2024
-
test: Force mutators to include remedies (#1954)
This PR is a rebased version of #1907. It currently skips all but one mutator to set a baseline. Existing mutators should no longer be skipped in the future and this check ensures that new mutators will require a remedy to be documented. There is more to do with remedies to, for example some ideas of #1907 (comment), but I think it is vastly out of scope of this PR and should be considered at a later time. Closes #1907. --------- Co-authored-by: Tom de Wit <tdewit@gainsight.com>
Configuration menu - View commit details
-
Copy full SHA for 7bd2ce3 - Browse repository at this point
Copy the full SHA 7bd2ce3View commit details
Commits on May 4, 2024
-
Use the latest composer 2 to prevent issue with incompatibility for B…
…ox and composer 2.1 (#1957)
Configuration menu - View commit details
-
Copy full SHA for 9978ac6 - Browse repository at this point
Copy the full SHA 9978ac6View commit details
Commits on May 5, 2024
-
Use the latest v1 test checker action (#1960)
* Use the latest v1 test checker action * Trigger a change to check if it works * Use v1.0.2 * Revert "Trigger a change to check if it works" This reverts commit a0df176.
Configuration menu - View commit details
-
Copy full SHA for 4a06906 - Browse repository at this point
Copy the full SHA 4a06906View commit details -
Make
Mutator::getDefinition
return type non-nullable (#1958)We are going to extract `Mutator` interface to a separate package, so other developers can require `infection/mutator` and use only that small package with interface(s) to write their custom mutators. And we 100% must require write definitions for their mutators. If we allow null, developers will simply return null which we are not interested in. For example Rector does the same - Rector requires providing description / diff / docs for their "rectors". It's a win-win - immediately clear what class is going to do. The same is for us. Later, even Remedies (3rd parameter will be non-nullable), but this is another story.
8000 Configuration menu - View commit details
-
Copy full SHA for a3dfe76 - Browse repository at this point
Copy the full SHA a3dfe76View commit details
Commits on May 14, 2024
-
Upgrade Rector and fix new issues (#1961)
* Upgrade Rector and fix new issues * Revert removed PHPDocs and skip `MixedTypeRector` as it seems there is a bug See rectorphp/rector#8633 * Update lock file
Configuration menu - View commit details
-
Copy full SHA for df56e28 - Browse repository at this point
Copy the full SHA df56e28View commit details -
Enable Rector's
AddCoversClassAttributeRector
rule (#1962)* Upgrade Rector and fix new issues * Enable Rector's `AddCoversClassAttributeRector` rule - https://github.com/rectorphp/rector-phpunit/blob/main/docs/rector_rules_overview.md#addcoversclassattributerector - see my explanation why it's needed rectorphp/rector-phpunit#319 (comment)
Configuration menu - View commit details
-
Copy full SHA for 97818a8 - Browse repository at this point
Copy the full SHA 97818a8View commit details -
Support custom mutators (#1686)
* Support custom mutators * Add e2e test to make sure Custom Mutator works as expected - exclude Mutator, Definition, MutatorCategory from being prefixes by Box/Scoper * Update expectations of e2e test * Play with exposing/excluding extension points to work with bot `bin/infection` and `infection.phar` * Allow custom mutators only as `RooNamespace\SubNamespace\Class` Invalid FQCN are forbidden * Replace `exclude-namespaces` with `expose-namespaces` for scoper config as per comments * Revert "Replace `exclude-namespaces` with `expose-namespaces` for scoper config as per comments" This reverts commit 809d8f2. --------- Co-authored-by: Stanislav Vozhov <svozhov@plesk.com> Co-authored-by: maks-rafalko <b0rn@list.ru>
Configuration menu - View commit details
-
Copy full SHA for 0d5fd7e - Browse repository at this point
Copy the full SHA 0d5fd7eView commit details
Commits on May 15, 2024
-
Move
Infection\Mutator\Mutator
to a separate package (#1963)* Move `Infection\Mutator\Mutator` to a separate package * Upgrade `infection/mutator` * Fix `psalm` issues * Fix `phpstan` errors * Update e2e test to require `infection/mutator`. Bot, you were right * Add `TNode` template param to `IgnoreMutator`
Configuration menu - View commit details
-
Copy full SHA for 18a92e9 - Browse repository at this point
Copy the full SHA 18a92e9View commit details
Commits on May 16, 2024
-
Configuration menu - View commit details
-
Copy full SHA for 154822a - Browse repository at this point
Copy the full SHA 154822aView commit details
Commits on May 18, 2024
-
Configuration menu - View commit details
-
Copy full SHA for 8bafcfc - Browse repository at this point
Copy the full SHA 8bafcfcView commit details -
Remove our own customer FQCN visitor as we already use php-parser's `…
…NameResolver` visitor (#1967)
Configuration menu - View commit details
-
Copy full SHA for cb4ceba - Browse repository at this point
Copy the full SHA cb4cebaView commit details -
Replace deprecated constant `NodeTraverser::DONT_TRAVERSE_CURRENT_AND…
…_CHILDREN` with `NodeVisitor::DONT_TRAVERSE_CURRENT_AND_CHILDREN` (#1968)
Configuration menu - View commit details
-
Copy full SHA for 80a1579 - Browse repository at this point
Copy the full SHA 80a1579View commit details
Commits on May 22, 2024
-
Configuration menu - View commit details
-
Copy full SHA for 0a47b7b - Browse repository at this point
Copy the full SHA 0a47b7bView commit details
Commits on May 27, 2024
-
Custom mutator generator (#1969)
* Add custom mutator command * Move `BaseMutatorTestCase` to Infection\Testing namespace * Update failure message for BaseMutatorTestCase * Fix autoreview analysis * Fix type * Exclude template files from mutating * Rename `$mutator` to `$mutatorName` * Fix typo * Move asking mutator name to separate private function * Use hardcoded paths instead of Finder * Use static methods * Create helper method to dump templates to project to improve readability * Fix type * Reword info message * Move `getDefinition()` to the top of the mutator class * Inline `Mutator` property type * Rename base test method * Remove outdated TODOs * Inline mutator node type * Fix phpstan issues * Rename command to `make:custom-mutator` * Create interact() method for new command, add tests * Rename command to `make:mutator` * Fix typo * Allow custom mutator to be used in `--mutators=X,Y,Z` option
Configuration menu - View commit details
-
Copy full SHA for 0b13941 - Browse repository at this point
Copy the full SHA 0b13941View commit details -
When IgnoreMutator decorator class is used, work with underlying clas…
…s of mutator to get its definition (#1972) * When IgnoreMutator decorator class is used, work with underlying class of mutator to get its definition Fixes: ``` DomainException: The class "Infection\Mutator\IgnoreMutator" does not have a definition ``` on StrykerHtmlReportBuilder.php Bug has been introduced in https://github.com/infection/infection/pull/1686/files#diff-01143bfb1cd8c30fa7f368e58fa5b9bebf3f35de2a4bc509123ed81358b59ff8R249 * Fix phpstan type error
Configuration menu - View commit details
-
Copy full SHA for e2200ae - Browse repository at this point
Copy the full SHA e2200aeView commit details -
Configuration menu - View commit details
-
Copy full SHA for 02159e8 - Browse repository at this point
Copy the full SHA 02159e8View commit details
This comparison is taking too long to generate.
Unfortunately it looks like we can’t render this comparison for you right now. It might be too big, or there might be something weird with your repository.
You can try running this command locally to see the comparison on your machine:
git diff 0.28.1...0.29.0