Skip to content

Commit

Permalink
Merge pull request #36 from rectorphp/tv-bump-deps-2
Browse files Browse the repository at this point in the history
  • Loading branch information
TomasVotruba committed Aug 13, 2023
2 parents 202bb96 + d590c07 commit c8bb62a
Show file tree
Hide file tree
Showing 4 changed files with 11 additions and 3 deletions.
4 changes: 3 additions & 1 deletion composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,9 @@
"phpstan/phpstan-webmozart-assert": "^1.2",
"tracy/tracy": "^2.10",
"symplify/easy-ci": "^11.3",
"symplify/easy-testing": "^11.1"
"symplify/easy-testing": "^11.1",
"tomasvotruba/class-leak": "0.1.1.72",
"tomasvotruba/unused-public": "0.3.2.72"
},
"autoload": {
"psr-4": {
Expand Down
4 changes: 2 additions & 2 deletions src/Generator/FileGenerator.php
Original file line number Diff line number Diff line change
Expand Up @@ -17,13 +17,13 @@ final class FileGenerator
* @var string
* @see https://regex101.com/r/RVbPEX/1
*/
public const RECTOR_UTILS_REGEX = '#Rector\\\\Utils#';
private const RECTOR_UTILS_REGEX = '#Rector\\\\Utils#';

/**
* @var string
* @see https://regex101.com/r/RVbPEX/1
*/
public const RECTOR_UTILS_TESTS_REGEX = '#Rector\\\\Tests\\\\Utils#';
private const RECTOR_UTILS_TESTS_REGEX = '#Rector\\\\Tests\\\\Utils#';

public function __construct(
private readonly Filesystem $filesystem,
Expand Down
3 changes: 3 additions & 0 deletions tests/RectorGenerator/Source/StaticRectorRecipeFactory.php
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,9 @@
use Rector\RectorGenerator\Exception\ShouldNotHappenException;
use Rector\RectorGenerator\ValueObject\RectorRecipe;

/**
* @api used in tests
*/
final class StaticRectorRecipeFactory
{
public static function createRectorRecipe(string $setFilePath, bool $isRectorRepository): RectorRecipe
Expand Down
3 changes: 3 additions & 0 deletions tests/Source/Set/DummySetList.php
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,9 @@

namespace Rector\RectorGenerator\Tests\Source\Set;

/**
* @api for tests
*/
final class DummySetList
{
/**
Expand Down

0 comments on commit c8bb62a

Please sign in to comment.