Skip to content

Commit

Permalink
Merge branch '7.x' into 8.x
Browse files Browse the repository at this point in the history
  • Loading branch information
crynobone committed Feb 28, 2025
2 parents 6cbfe3d + 8acded0 commit 199dc8e
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 7 deletions.
6 changes: 3 additions & 3 deletions src/Concerns/CreatesApplication.php
Original file line number Diff line number Diff line change
Expand Up @@ -217,7 +217,7 @@ protected function getPackageProviders($app)
/**
* Resolve the application's base path.
*
* @api
* @internal
*
* @return string
*/
Expand All @@ -233,11 +233,11 @@ protected function getApplicationBasePath()
*
* @return string|null
*
* @deprecated 6.22.0 Use `getApplicationBasePath()` instead.
* @deprecated 6.22.0 Use `applicationBasePath()` static method instead.
*/
protected function getBasePath()
{
trigger_deprecation('orchestra/testbench-core', '6.22.0', 'Use `%s` instead.', 'getApplicationBasePath()');
trigger_deprecation('orchestra/testbench-core', '6.22.0', 'Use `%s` static method instead.', 'applicationBasePath()');

return static::applicationBasePath();
}
Expand Down
5 changes: 3 additions & 2 deletions src/Foundation/Console/TestCommand.php
Original file line number Diff line number Diff line change
Expand Up @@ -42,9 +42,10 @@ class TestCommand extends Command
protected $description = 'Run the package tests';

/** {@inheritDoc} */
public function __construct()
#[\Override]
public function configure()
{
parent::__construct();
parent::configure();

if (! \defined('TESTBENCH_CORE')) {
$this->setHidden(true);
Expand Down
5 changes: 3 additions & 2 deletions src/Foundation/Console/TestFallbackCommand.php
Original file line number Diff line number Diff line change
Expand Up @@ -44,9 +44,10 @@ class TestFallbackCommand extends Command
protected $description = 'Run the package tests';

/** {@inheritDoc} */
public function __construct()
#[\Override]
public function configure()
{
parent::__construct();
parent::configure();

if (! \defined('TESTBENCH_CORE')) {
$this->setHidden(true);
Expand Down

0 comments on commit 199dc8e

Please sign in to comment.