mirror of
https://github.com/pestphp/pest.git
synced 2026-03-06 07:47:22 +01:00
chore: bumps deps
This commit is contained in:
@ -18,12 +18,12 @@
|
||||
],
|
||||
"require": {
|
||||
"php": "^7.3",
|
||||
"nunomaduro/collision": "^5.0.0-BETA3",
|
||||
"pestphp/pest-plugin": "^0.2",
|
||||
"pestphp/pest-plugin-coverage": "^0.2",
|
||||
"pestphp/pest-plugin-init": "^0.2",
|
||||
"phpunit/phpunit": "^9.1.4",
|
||||
"sebastian/environment": "^5.1"
|
||||
"nunomaduro/collision": "^5.0.0-BETA4",
|
||||
"pestphp/pest-plugin": "^0.3",
|
||||
"pestphp/pest-plugin-coverage": "^0.3",
|
||||
"pestphp/pest-plugin-init": "^0.3",
|
||||
"phpunit/phpunit": "^9.2.6",
|
||||
"sebastian/environment": "^5.1.2"
|
||||
},
|
||||
"autoload": {
|
||||
"psr-4": {
|
||||
@ -43,16 +43,10 @@
|
||||
]
|
||||
},
|
||||
"require-dev": {
|
||||
"ergebnis/phpstan-rules": "^0.15.0",
|
||||
"friendsofphp/php-cs-fixer": "^2.16.3",
|
||||
"illuminate/console": "^7.16.1",
|
||||
"illuminate/support": "^7.16.1",
|
||||
"mockery/mockery": "^1.4.0",
|
||||
"phpstan/phpstan": "^0.12.30",
|
||||
"phpstan/phpstan-strict-rules": "^0.12.2",
|
||||
"rector/rector": "^0.7.37",
|
||||
"symfony/var-dumper": "^5.1.2",
|
||||
"thecodingmachine/phpstan-strict-rules": "^0.12.0"
|
||||
"pestphp/pest-dev-tools": "dev-master"
|
||||
},
|
||||
"minimum-stability": "dev",
|
||||
"prefer-stable": true,
|
||||
@ -79,7 +73,7 @@
|
||||
},
|
||||
"extra": {
|
||||
"branch-alias": {
|
||||
"dev-master": "0.2.x-dev"
|
||||
"dev-master": "0.3.x-dev"
|
||||
},
|
||||
"pest": {
|
||||
"plugins": [
|
||||
|
||||
@ -4,11 +4,9 @@ parameters:
|
||||
- 'action-injection-to-constructor-injection'
|
||||
- 'array-str-functions-to-static-call'
|
||||
- 'celebrity'
|
||||
- 'doctrine'
|
||||
- 'phpstan'
|
||||
- 'phpunit-code-quality'
|
||||
- 'solid'
|
||||
- 'early-return'
|
||||
- 'doctrine-code-quality'
|
||||
- 'code-quality'
|
||||
- 'php71'
|
||||
|
||||
@ -61,7 +61,8 @@ final class PestDatasetCommand extends Command
|
||||
$element = Str::singular($name);
|
||||
$contents = str_replace('{dataset_element}', $element, $contents);
|
||||
File::put($target, str_replace('{dataset_name}', $name, $contents));
|
||||
$message = sprintf('`%s` created successfully.', $relativePath);
|
||||
|
||||
$this->output->success(sprintf('`%s` created successfully.', $relativePath));
|
||||
$this->output->success($message);
|
||||
}
|
||||
}
|
||||
|
||||
@ -64,7 +64,8 @@ final class PestTestCommand extends Command
|
||||
$name = Str::endsWith($name, 'test') ? mb_substr($name, 0, -4) : $name;
|
||||
|
||||
File::put($target, str_replace('{name}', $name, $contents));
|
||||
$message = sprintf('`%s` created successfully.', $relativePath);
|
||||
|
||||
$this->output->success(sprintf('`%s` created successfully.', $relativePath));
|
||||
$this->output->success($message);
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user