Skip to content

Commit

Permalink
wip
Browse files Browse the repository at this point in the history
Signed-off-by: Mior Muhammad Zaki <[email protected]>
  • Loading branch information
crynobone committed Aug 21, 2023
1 parent ad99c02 commit e6d0cb6
Show file tree
Hide file tree
Showing 3 changed files with 10 additions and 1 deletion.
7 changes: 6 additions & 1 deletion composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -55,7 +55,12 @@
"post-autoload-dump": "@prepare",
"prepare": "@php vendor/bin/testbench package:discover --ansi",
"lint": "@php vendor/bin/phpstan analyse",
"test": "@php vendor/bin/phpunit -c ./ --color"
"test": "@php vendor/bin/phpunit -c ./ --color",
"ci": [
"@prepare",
"@lint",
"@test"
]
},
"minimum-stability": "dev"
}
2 changes: 2 additions & 0 deletions src/Commands/Generator.php
Original file line number Diff line number Diff line change
Expand Up @@ -106,6 +106,8 @@ public function codeHasBeenGenerated(string $className): int

/**
* Run after code successfully generated.
*
* @return void
*/
public function afterCodeHasBeenGenerated(string $className, string $path)
{
Expand Down
2 changes: 2 additions & 0 deletions src/Contracts/GeneratesCodeListener.php
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,8 @@ public function codeHasBeenGenerated(string $className);

/**
* Run after code successfully generated.
*
* @return void
*/
public function afterCodeHasBeenGenerated(string $className, string $path);

Expand Down

0 comments on commit e6d0cb6

Please sign in to comment.