mirror of
https://github.com/doctrine/orm.git
synced 2026-03-24 06:52:09 +01:00
Automated type checking of code samples in docs #7380
Reference in New Issue
Block a user
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @SamMousa on GitHub (Jun 11, 2024).
Originally posted by @greg0ire in https://github.com/doctrine/orm/issues/11492#issuecomment-2160922838
I might be able to help set this up.
Started on a proof of concept extractor already.
The idea is simple:
.rstfile crudely extracting PHP code blocks.phpstanto analyse the code.The extractor above also adds a comment to know where we got it from:
I'll look into creating a github action that just does this for all RST files in a directory.
@greg0ire commented on GitHub (Jun 11, 2024):
I think we should have copy/paste friendly docs
@SamMousa commented on GitHub (Jun 12, 2024):
I'm ready to push the PR, what branch should I target?
@greg0ire commented on GitHub (Jun 12, 2024):
2.19.x please.