Skip to content

Commit

Permalink
refactor(rector): Update namespace for rector classes
Browse files Browse the repository at this point in the history
- Update namespace for HasHttpClientDocCommentRector, HasOptionsDocCommentRector, and ToInternalExceptionRector classes
- Move classes from Support namespace to Rectors namespace
  • Loading branch information
guanguans committed Mar 10, 2024
1 parent 3424916 commit 56e2f4c
Show file tree
Hide file tree
Showing 5 changed files with 7 additions and 6 deletions.
1 change: 1 addition & 0 deletions phpunit.xml.dist
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,7 @@
<directory suffix=".php">src/</directory>
</include>
<exclude>
<directory>src/Foundation/Rectors</directory>
<directory>src/Foundation/Support</directory>
<file>src/Skeleton.php</file>
</exclude>
Expand Down
6 changes: 3 additions & 3 deletions rector.php
Original file line number Diff line number Diff line change
Expand Up @@ -13,9 +13,9 @@

use Guanguans\Notify\Foundation\Concerns\AsJson;
use Guanguans\Notify\Foundation\Concerns\AsPost;
use Guanguans\Notify\Foundation\Support\Rectors\HasHttpClientDocCommentRector;
use Guanguans\Notify\Foundation\Support\Rectors\HasOptionsDocCommentRector;
use Guanguans\Notify\Foundation\Support\Rectors\ToInternalExceptionRector;
use Guanguans\Notify\Foundation\Rectors\HasHttpClientDocCommentRector;
use Guanguans\Notify\Foundation\Rectors\HasOptionsDocCommentRector;
use Guanguans\Notify\Foundation\Rectors\ToInternalExceptionRector;
use GuzzleHttp\RequestOptions;
use Rector\CodeQuality\Rector\FuncCall\CompactToVariablesRector;
use Rector\CodeQuality\Rector\If_\ExplicitBoolCompareRector;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@
* @see https://github.com/guanguans/notify
*/

namespace Guanguans\Notify\Foundation\Support\Rectors;
namespace Guanguans\Notify\Foundation\Rectors;

use Guanguans\Notify\Foundation\Client;
use Guanguans\Notify\Foundation\Concerns\HasHttpClient;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@
* @see https://github.com/guanguans/notify
*/

namespace Guanguans\Notify\Foundation\Support\Rectors;
namespace Guanguans\Notify\Foundation\Rectors;

use Guanguans\Notify\Foundation\Concerns\HasOptions;
use Guanguans\Notify\Foundation\Exceptions\InvalidArgumentException;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@
* @see https://github.com/guanguans/notify
*/

namespace Guanguans\Notify\Foundation\Support\Rectors;
namespace Guanguans\Notify\Foundation\Rectors;

use Guanguans\Notify\Foundation\Support\Str;
use PhpParser\Node;
Expand Down

0 comments on commit 56e2f4c

Please sign in to comment.