Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add more tests and allow partly run #49

Merged
merged 33 commits into from
Sep 21, 2020
Merged
Show file tree
Hide file tree
Changes from 27 commits
Commits
Show all changes
33 commits
Select commit Hold shift + click to select a range
3809795
Add more tests and allow partly run
viktorprogger Jul 8, 2020
a52c579
Add CallableJob tests
viktorprogger Jul 8, 2020
fda15e2
Apply fixes from StyleCI
samdark Jul 8, 2020
370dc16
Remove unused use
samdark Jul 10, 2020
b1fdb01
Merge branch 'master' into tests
viktorprogger Aug 3, 2020
1f6c65b
Adjust tests for changes the master branch
viktorprogger Aug 3, 2020
016268b
More tests and bugfixes
viktorprogger Aug 3, 2020
1a72788
Remove debug
viktorprogger Aug 3, 2020
c7ed560
Typed property accessing bugfix
viktorprogger Aug 25, 2020
c66fcfa
Make test classes final
viktorprogger Aug 25, 2020
b34ba53
New event configuration
viktorprogger Aug 25, 2020
9070819
Upgrade infection version
viktorprogger Aug 26, 2020
4e18b3e
Fix more tests with events
viktorprogger Sep 3, 2020
7835cfa
Remove unused
viktorprogger Sep 3, 2020
03112bd
Cover QueueDependentInterface
viktorprogger Sep 3, 2020
f5b0a30
Apply fixes from StyleCI
samdark Sep 3, 2020
49f3db7
Test bugfixes
viktorprogger Sep 10, 2020
6a3476c
Merge branch 'master' into tests
samdark Sep 11, 2020
b4afdc6
Dependency removing is started
viktorprogger Sep 11, 2020
668dd16
Continue with dependency removing
viktorprogger Sep 13, 2020
4d19e28
Apply fixes from StyleCI
samdark Sep 13, 2020
4774175
Continue with dependency removing
viktorprogger Sep 13, 2020
870ccdb
Replace $this->assert with self::assert
viktorprogger Sep 13, 2020
c16f0a9
Remove redundant test
viktorprogger Sep 13, 2020
84ec9b9
Remove unused and fix code style
viktorprogger Sep 13, 2020
66d83ed
Apply fixes from StyleCI
samdark Sep 13, 2020
53a1529
Skip failed tests
viktorprogger Sep 13, 2020
b7ee33c
Update phpunit configuration
viktorprogger Sep 16, 2020
a0a0129
Sort packages in composer.json
viktorprogger Sep 16, 2020
233601e
Rename namespace to fit the convention
viktorprogger Sep 16, 2020
b82e270
Minor fixes
viktorprogger Sep 16, 2020
e564ed0
Make new test class final
viktorprogger Sep 16, 2020
915cde9
Remove infection log file
viktorprogger Sep 17, 2020
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
9 changes: 3 additions & 6 deletions composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -27,16 +27,13 @@
"psr/event-dispatcher": "^1.0",
"psr/log": "^1.1",
"yiisoft/friendly-exception": "^1.0",
"yiisoft/injector": "^1.0",
"yiisoft/serializer": "^3.0@dev"
},
"require-dev": {
"infection/infection": "^0.16.0",
"pda/pheanstalk": "*",
"infection/infection": "^0.17.0",
"phpunit/phpunit": "^9.3",
"yiisoft/composer-config-plugin": "^1.0@dev",
"yiisoft/di": "^3.0@dev",
"yiisoft/log": "^3.0@dev",
"yiisoft/yii-console": "^3.0@dev",
"yiisoft/test-support": "3.0.x-dev",
"phan/phan": "^3.0"
},
"suggest": {
Expand Down
6 changes: 4 additions & 2 deletions config/common.php
Original file line number Diff line number Diff line change
Expand Up @@ -3,9 +3,10 @@
use Psr\Container\ContainerInterface;
use Psr\EventDispatcher\EventDispatcherInterface;
use Psr\EventDispatcher\ListenerProviderInterface;
use Yiisoft\Di\Container;
use Yiisoft\EventDispatcher\Dispatcher\Dispatcher;
use Yiisoft\EventDispatcher\Provider\Provider;
use Yiisoft\Serializer\JsonSerializer;
use Yiisoft\Serializer\SerializerInterface;
use Yiisoft\Factory\Definitions\Reference;
use Yiisoft\Yii\Queue\Cli\LoopInterface;
use Yiisoft\Yii\Queue\Cli\SignalLoop;
Expand All @@ -21,5 +22,6 @@
WorkerInterface::class => Reference::to(QueueWorker::class),
ListenerProviderInterface::class => Provider::class,
ContainerInterface::class => fn (ContainerInterface $container) => $container,
LoopInterface::class => SignalLoop::class
LoopInterface::class => SignalLoop::class,
SerializerInterface::class => JsonSerializer::class,
];
5 changes: 3 additions & 2 deletions infection.json.dist
Original file line number Diff line number Diff line change
Expand Up @@ -5,12 +5,13 @@
]
},
"logs": {
"text": "php:\/\/stderr",
"text": "infection.log",
"badge": {
"branch": "master"
}
},
"mutators": {
"@default": true
"@default": true,
"ProtectedVisibility": false
}
}
Loading