inc/Abilities/Instagram/InstagramPublishAbility.php |
Repeated literal shape ['status' => ] appears 286 time(s); top files: inc/Abilities/Instagram/InstagramPublishAbility.php (28), inc/Abilities/Instagram/InstagramReadAbility.php (15), inc/Abilities/Twitter/TwitterUpdateAbility.php (13); estimated LOC reduction: ~852 |
Extract a helper (e.g. build_status(...)) that returns this shape and replace the 286 inline literals with calls |
inc/Abilities/Instagram/InstagramReadAbility.php |
Repeated literal shape ['success' => , 'data' => ] appears 41 time(s); top files: inc/Abilities/Instagram/InstagramReadAbility.php (5), inc/Abilities/Twitter/TwitterUpdateAbility.php (5), inc/Abilities/Facebook/FacebookUpdateAbility.php (3); estimated LOC reduction: ~117 |
Extract a helper (e.g. success_envelope(...)) that returns this shape and replace the 41 inline literals with calls |
inc/Abilities/Pinterest/PinterestBoardsAbility.php |
Repeated literal shape ['label' => , 'description' => , 'category' => , 'input_schema' => , 'output_schema' => , 'execute_callback' => , 'permission_callback' => , 'meta' => ] appears 43 time(s); top files: inc/Abilities/Pinterest/PinterestBoardsAbility.php (3), inc/Abilities/Bluesky/BlueskyPublishAbility.php (2), inc/Abilities/Facebook/FacebookPublishAbility.php (2); estimated LOC reduction: ~123 |
Extract a helper (e.g. build_label_description_category(...)) that returns this shape and replace the 43 inline literals with calls |
inc/Chat/Tools/DeleteBluesky.php |
Repeated literal shape ['class' => , 'method' => , 'description' => , 'parameters' => ] appears 35 time(s); top files: inc/Chat/Tools/DeleteBluesky.php (1), inc/Chat/Tools/DeleteFacebook.php (1), inc/Chat/Tools/DeleteInstagram.php (1); estimated LOC reduction: ~99 |
Extract a helper (e.g. build_class_method_description(...)) that returns this shape and replace the 35 inline literals with calls |
inc/Chat/Tools/DeleteLinkedIn.php |
Repeated literal shape ['action' => , 'message' => , 'tool_hint' => ] appears 46 time(s); top files: inc/Chat/Tools/DeleteLinkedIn.php (2), inc/Chat/Tools/FetchReddit.php (2), inc/Chat/Tools/PublishBluesky.php (2); estimated LOC reduction: ~132 |
Extract a helper (e.g. build_action_message_tool_hint(...)) that returns this shape and replace the 46 inline literals with calls |
inc/Chat/Tools/FetchReddit.php |
Repeated literal shape ['provider' => , 'status' => ] appears 61 time(s); top files: inc/Chat/Tools/FetchReddit.php (3), inc/Chat/Tools/ReplyReddit.php (3), inc/Chat/Tools/SubmitReddit.php (3); estimated LOC reduction: ~177 |
Extract a helper (e.g. build_provider_status(...)) that returns this shape and replace the 61 inline literals with calls |
inc/Handlers/Instagram/InstagramAuth.php |
Repeated literal shape ['context' => ] appears 21 time(s); top files: inc/Handlers/Instagram/InstagramAuth.php (5), inc/Abilities/Instagram/InstagramReadAbility.php (4), inc/Abilities/Facebook/FacebookReadAbility.php (3); estimated LOC reduction: ~57 |
Extract a helper (e.g. build_context(...)) that returns this shape and replace the 21 inline literals with calls |
inc/RestApi.php |
Repeated literal shape ['success' => , 'error' => ] appears 23 time(s); top files: inc/RestApi.php (22), inc/Handlers/LinkedIn/LinkedInAuth.php (1); estimated LOC reduction: ~63 |
Extract a helper (e.g. error_envelope(...)) that returns this shape and replace the 23 inline literals with calls |
Audit: repeated literal shape
Component:
data-machine-socialsCount: 8 findings
Last run: https://github.com/Extra-Chill/data-machine-socials/actions/runs/25457375911
Updated: 2026-05-06T19:49:00Z
Homeboy:
homeboy 0.157.1+c961a026d| Action:Extra-Chill/homeboy-action@v2Findings
inc/Abilities/Instagram/InstagramPublishAbility.phpbuild_status(...)) that returns this shape and replace the 286 inline literals with callsinc/Abilities/Instagram/InstagramReadAbility.phpsuccess_envelope(...)) that returns this shape and replace the 41 inline literals with callsinc/Abilities/Pinterest/PinterestBoardsAbility.phpbuild_label_description_category(...)) that returns this shape and replace the 43 inline literals with callsinc/Chat/Tools/DeleteBluesky.phpbuild_class_method_description(...)) that returns this shape and replace the 35 inline literals with callsinc/Chat/Tools/DeleteLinkedIn.phpbuild_action_message_tool_hint(...)) that returns this shape and replace the 46 inline literals with callsinc/Chat/Tools/FetchReddit.phpbuild_provider_status(...)) that returns this shape and replace the 61 inline literals with callsinc/Handlers/Instagram/InstagramAuth.phpbuild_context(...)) that returns this shape and replace the 21 inline literals with callsinc/RestApi.phperror_envelope(...)) that returns this shape and replace the 23 inline literals with callsAutofix status
❌ No fixer available for
repeated_literal_shapeMaintained automatically by Homeboy Action on each CI run until resolved.