Skip to content

Commit

Permalink
Merge branch 1.6.x into main (#1295)
Browse files Browse the repository at this point in the history
  • Loading branch information
ghostwriter committed Jul 14, 2023
2 parents c322a33 + bfe6376 commit 8df0842
Show file tree
Hide file tree
Showing 100 changed files with 110 additions and 111 deletions.
2 changes: 1 addition & 1 deletion .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
build/
composer.phar
docs/api
library/Hamcrest/*
src/Hamcrest/*
pearfarm.spec
phpDocumentor.phar*
phpunit.xml
Expand Down
4 changes: 2 additions & 2 deletions .php-cs-fixer.dist.php
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@

if (class_exists('PhpCsFixer\Finder')) { // PHP-CS-Fixer 2.x
$finder = PhpCsFixer\Finder::create()->in([
'library',
'src',
'tests',
]);

Expand All @@ -21,7 +21,7 @@

$finder = DefaultFinder::create()->in(
[
'library',
'src',
'tests',
]);

Expand Down
4 changes: 2 additions & 2 deletions .php_cs
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ use Symfony\CS\Finder\DefaultFinder;

if (class_exists('PhpCsFixer\Finder')) { // PHP-CS-Fixer 2.x
$finder = PhpCsFixer\Finder::create()->in([
'library',
'src',
'tests',
]);

Expand All @@ -20,7 +20,7 @@ if (class_exists('PhpCsFixer\Finder')) { // PHP-CS-Fixer 2.x

$finder = DefaultFinder::create()->in(
[
'library',
'src',
'tests',
]);

Expand Down
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -39,10 +39,10 @@ The current version can be seen at [docs.mockery.io](http://docs.mockery.io).
## PHPUnit Integration

Mockery ships with some helpers if you are using PHPUnit. You can extend the
[`Mockery\Adapter\Phpunit\MockeryTestCase`](library/Mockery/Adapter/Phpunit/MockeryTestCase.php)
[`Mockery\Adapter\Phpunit\MockeryTestCase`](src/Mockery/Adapter/Phpunit/MockeryTestCase.php)
class instead of `PHPUnit\Framework\TestCase`, or if you are already using a
custom base class for your tests, take a look at the traits available in the
[`Mockery\Adapter\Phpunit`](library/Mockery/Adapter/Phpunit) namespace.
[`Mockery\Adapter\Phpunit`](src/Mockery/Adapter/Phpunit) namespace.

## Test Doubles

Expand Down
10 changes: 5 additions & 5 deletions composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@
],
"homepage": "https://github.com/mockery/mockery",
"require": {
"php": "^7.4 || ^8.0",
"php": ">=7.4,<8.3",
"lib-pcre": ">=7.0",
"hamcrest/hamcrest-php": "^2.0.1"
},
Expand All @@ -42,11 +42,11 @@
},
"autoload": {
"psr-4": {
"Mockery\\": "library/Mockery"
"Mockery\\": "src/Mockery"
},
"files": [
"library/helpers.php",
"library/Mockery.php"
"src/helpers.php",
"src/Mockery.php"
]
},
"autoload-dev": {
Expand All @@ -73,7 +73,7 @@
"@composer validate",
"@test"
],
"docs": "vendor/bin/phpdoc -d library -t docs/api",
"docs": "vendor/bin/phpdoc -d src -t docs/api",
"phpunit": "vendor/bin/phpunit --colors=always --testdox --stop-on-failure",
"phpunit:coverage": "vendor/bin/phpunit --colors=always --testdox --stop-on-failure --coverage-clover=coverage.xml",
"psalm": [
Expand Down
4 changes: 2 additions & 2 deletions composer.lock

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

0 comments on commit 8df0842

Please sign in to comment.