File tree Expand file tree Collapse file tree 4 files changed +9
-5
lines changed
Expand file tree Collapse file tree 4 files changed +9
-5
lines changed Original file line number Diff line number Diff line change 2727 NunoMaduro \PhpInsights \Domain \Insights \ForbiddenTraits::class,
2828 PHP_CodeSniffer \Standards \Generic \Sniffs \Commenting \TodoSniff::class,
2929 PHP_CodeSniffer \Standards \Generic \Sniffs \Files \LineLengthSniff::class,
30+ PHP_CodeSniffer \Standards \Squiz \Sniffs \WhiteSpace \ScopeClosingBraceSniff::class,
31+ PHP_CodeSniffer \Standards \PEAR \Sniffs \WhiteSpace \ScopeClosingBraceSniff::class,
32+ PHP_CodeSniffer \Standards \PSR12 \Sniffs \Classes \ClassInstantiationSniff::class,
33+ PhpCsFixer \Fixer \Basic \BracesFixer::class,
34+ PhpCsFixer \Fixer \ClassNotation \ClassDefinitionFixer::class,
3035 PhpCsFixer \Fixer \ClassNotation \OrderedClassElementsFixer::class,
36+ PhpCsFixer \Fixer \Operator \NewWithBracesFixer::class,
3137 ],
3238 'config ' => [
3339 // ExampleInsight::class => [
Original file line number Diff line number Diff line change 66
77use RuntimeException ;
88
9- class HookFailException extends RuntimeException
10- {
11- }
9+ class HookFailException extends RuntimeException {}
Original file line number Diff line number Diff line change @@ -39,6 +39,6 @@ public function register(): void
3939 // Automatically apply the package configuration
4040 $ this ->mergeConfigFrom (__DIR__ .'/../config/git-hooks.php ' , 'laravel-git-hooks ' );
4141
42- $ this ->app ->singleton ('laravel-git-hooks ' , fn () => new GitHooks () );
42+ $ this ->app ->singleton ('laravel-git-hooks ' , fn () => new GitHooks );
4343 }
4444}
Original file line number Diff line number Diff line change @@ -12,7 +12,7 @@ protected function markPipelineFailed(): void
1212 {
1313 $ tmpFile = $ this ->getPipelineFailedTempFile ();
1414 if (touch ($ tmpFile ) === false ) {
15- throw new HookFailException () ;
15+ throw new HookFailException ;
1616 }
1717 }
1818
You can’t perform that action at this time.
0 commit comments