Skip to content

Commit

Permalink
test: Use PHPUnit mocks instead of prophecy
Browse files Browse the repository at this point in the history
  • Loading branch information
siketyan committed Dec 3, 2023
1 parent d2cf933 commit 45276a8
Show file tree
Hide file tree
Showing 37 changed files with 689 additions and 1,359 deletions.
8 changes: 0 additions & 8 deletions .idea/loxcan.iml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

55 changes: 46 additions & 9 deletions .idea/php.xml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

1 change: 1 addition & 0 deletions .php-cs-fixer.dist.php
Original file line number Diff line number Diff line change
Expand Up @@ -17,5 +17,6 @@
'php_unit_data_provider_return_type' => false,
'static_lambda' => false,
])
->configure(useRiskyRules: true)
->setFinder($finder)
;
2 changes: 0 additions & 2 deletions composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -26,8 +26,6 @@
},
"require-dev": {
"friendsofphp/php-cs-fixer": "^3.22",
"jangregor/phpstan-prophecy": "^1.0",
"phpspec/prophecy-phpunit": "^2.0",
"phpunit/php-code-coverage": "^9.2",
"phpunit/phpunit": "^9.5",
"psr/cache": "^3",
Expand Down
Loading

0 comments on commit 45276a8

Please sign in to comment.