{"id":17291907,"url":"https://github.com/veewee/pipe-plugin","last_synced_at":"2025-03-26T19:16:00.260Z","repository":{"id":145901230,"uuid":"442800910","full_name":"veewee/pipe-plugin","owner":"veewee","description":null,"archived":false,"fork":false,"pushed_at":"2022-01-22T14:50:57.000Z","size":49,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":3,"default_branch":"main","last_synced_at":"2025-02-01T00:57:43.590Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"PHP","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/veewee.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null},"funding":{"github":["veewee"],"patreon":null,"open_collective":null,"ko_fi":null,"tidelift":null,"community_bridge":null,"liberapay":null,"issuehunt":null,"otechie":null,"lfx_crowdfunding":null,"custom":null}},"created_at":"2021-12-29T14:40:48.000Z","updated_at":"2022-10-16T20:57:10.000Z","dependencies_parsed_at":null,"dependency_job_id":"9ee7c69c-db52-40f0-aaab-26d9d0630bfa","html_url":"https://github.com/veewee/pipe-plugin","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/veewee%2Fpipe-plugin","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/veewee%2Fpipe-plugin/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/veewee%2Fpipe-plugin/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/veewee%2Fpipe-plugin/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/veewee","download_url":"https://codeload.github.com/veewee/pipe-plugin/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":245718785,"owners_count":20661161,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2024-10-15T10:42:13.450Z","updated_at":"2025-03-26T19:16:00.237Z","avatar_url":"https://github.com/veewee.png","language":"PHP","funding_links":["https://github.com/sponsors/veewee"],"categories":[],"sub_categories":[],"readme":"# Installation\n\n```shell\ngit clone https://github.com/veewee/pipe-plugin.git\ncomposer install\n```\n\n# Where to find what?\n\n- [pipe](https://github.com/veewee/pipe-plugin/blob/main/src/pipe.php)\n- [Plugin](https://github.com/veewee/pipe-plugin/blob/main/src/Psalm/Plugin.php)\n- [Plugin listener](https://github.com/veewee/pipe-plugin/blob/main/src/Psalm/PipeArgumentsProvider.php)\n\n## Run analysis\n\n### Plugin issue detections\n\nThe plugin validates if the types inside the stages of the pipe combinator line up.\nIt also validates the amount of arguments!\n\n```shell\n./vendor/bin/psalm --no-cache tests/invalid-stages.php\n./vendor/bin/psalm --no-cache tests/argument-issues.php\n```\n\n### Empty pipe\n\nSee https://github.com/vimeo/psalm/issues/7244\nCurrently, templated arguments are not being resolved in closures / callables\nFor now, we fall back to the built-in types.\n\n```shell\nphp tests/empty-pipe.php\nphp tests/empty-pipe2.php\n\n./vendor/bin/psalm --no-cache tests/empty-pipe.php\n./vendor/bin/psalm --no-cache tests/empty-pipe2.php\n```\n\n### Other function-likes:\n\n```\nphp ./vendor/bin/psalm --no-cache tests/functionlike.php\n```","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fveewee%2Fpipe-plugin","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fveewee%2Fpipe-plugin","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fveewee%2Fpipe-plugin/lists"}