├── VERSION ├── config ├── secrets │ └── prod │ │ └── .gitkeep ├── packages │ ├── prod │ │ ├── framework.yaml │ │ └── monolog.yaml │ ├── dev │ │ ├── routing.yaml │ │ └── monolog.yaml │ ├── test │ │ ├── framework.yaml │ │ └── monolog.yaml │ └── framework.yaml ├── bundles.php └── routes.yaml ├── data ├── templates │ ├── .placeholder │ ├── checkstyle │ │ ├── README │ │ └── template.xml │ ├── clean │ │ ├── file.source.txt.twig │ │ ├── images │ │ │ ├── favicon.ico │ │ │ ├── iviewer │ │ │ │ ├── grab.cur │ │ │ │ ├── hand.cur │ │ │ │ ├── iviewer.zoom_in.png │ │ │ │ ├── iviewer.zoom_fit.png │ │ │ │ ├── iviewer.zoom_out.png │ │ │ │ ├── iviewer.zoom_zero.png │ │ │ │ ├── iviewer.rotate_left.png │ │ │ │ └── iviewer.rotate_right.png │ │ │ ├── apple-touch-icon.png │ │ │ ├── hierarchy-item.png │ │ │ ├── icon-class-13x13.png │ │ │ ├── icon-trait-13x13.png │ │ │ ├── icon-interface-13x13.png │ │ │ ├── apple-touch-icon-72x72.png │ │ │ └── apple-touch-icon-114x114.png │ │ ├── font │ │ │ ├── FontAwesome.otf │ │ │ ├── fontawesome-webfont.eot │ │ │ ├── fontawesome-webfont.ttf │ │ │ └── fontawesome-webfont.woff │ │ ├── htaccess.dist │ │ └── css │ │ │ └── phpdocumentor-clean-icons │ │ │ ├── fonts │ │ │ ├── phpdocumentor-clean-icons.eot │ │ │ ├── phpdocumentor-clean-icons.ttf │ │ │ └── phpdocumentor-clean-icons.woff │ │ │ ├── Read Me.txt │ │ │ └── lte-ie7.js │ ├── default │ │ ├── base.html.twig │ │ ├── js │ │ │ ├── template.js.twig │ │ │ └── searchIndex.js.twig │ │ ├── components │ │ │ ├── summary.css.twig │ │ │ ├── file-title.html.twig │ │ │ ├── description.css.twig │ │ │ ├── summary.html.twig │ │ │ ├── namespace-title.html.twig │ │ │ ├── back-to-top.html.twig │ │ │ ├── header-title.html.twig │ │ │ ├── tag-list.css.twig │ │ │ ├── description.html.twig │ │ │ ├── class-graph.css.twig │ │ │ ├── element-header.html.twig │ │ │ ├── breadcrumbs.html.twig │ │ │ ├── content.css.twig │ │ │ ├── back-to-top.css.twig │ │ │ ├── trait-title.html.twig │ │ │ ├── method-response.html.twig │ │ │ ├── enum-cases.html.twig │ │ │ ├── functions.html.twig │ │ │ ├── header.html.twig │ │ │ ├── methods.html.twig │ │ │ ├── on-this-page.js.twig │ │ │ ├── signature.css.twig │ │ │ ├── constants.html.twig │ │ │ ├── properties.html.twig │ │ │ ├── breadcrumbs.css.twig │ │ │ ├── element-found-in.html.twig │ │ │ ├── constant-signature.html.twig │ │ │ ├── search-results.html.twig │ │ │ ├── search.html.twig │ │ │ ├── property-signature.html.twig │ │ │ ├── menu.html.twig │ │ │ ├── enum-case.html.twig │ │ │ ├── table-of-contents-entry.html.twig │ │ │ ├── admonition.css.twig │ │ │ ├── interface-title.html.twig │ │ │ ├── constant.html.twig │ │ │ └── topnav.html.twig │ │ ├── objects │ │ │ ├── paragraph.css.twig │ │ │ ├── links.css.twig │ │ │ ├── line.css.twig │ │ │ ├── images.css.twig │ │ │ ├── blockquote.css.twig │ │ │ ├── labels.css.twig │ │ │ ├── section.css.twig │ │ │ ├── tables.css.twig │ │ │ └── code.css.twig │ │ ├── css │ │ │ ├── custom.css.twig │ │ │ ├── utilities.css.twig │ │ │ ├── template.css.twig │ │ │ └── macros │ │ │ │ └── colours.macro.twig │ │ ├── icons │ │ │ ├── method.svg.twig │ │ │ ├── constant.svg.twig │ │ │ ├── private.svg.twig │ │ │ ├── protected.svg.twig │ │ │ └── source.svg.twig │ │ ├── guides │ │ │ └── document.html.twig │ │ ├── graphs │ │ │ └── class.html.twig │ │ ├── index.html.twig │ │ └── indices │ │ │ └── files.html.twig │ ├── responsive-twig │ │ ├── img │ │ │ ├── loader.gif │ │ │ ├── favicon.ico │ │ │ ├── icons │ │ │ │ ├── ok.png │ │ │ │ ├── class.png │ │ │ │ ├── file.gif │ │ │ │ ├── constant.png │ │ │ │ ├── favicon.ico │ │ │ │ ├── file-php.png │ │ │ │ ├── folder.gif │ │ │ │ ├── function.png │ │ │ │ ├── method.png │ │ │ │ ├── property.png │ │ │ │ ├── search.gif │ │ │ │ ├── variable.png │ │ │ │ ├── arrow_down.png │ │ │ │ ├── interface.png │ │ │ │ ├── arrow_right.png │ │ │ │ ├── icon-th-big.png │ │ │ │ ├── view_source.png │ │ │ │ ├── visibility_private.png │ │ │ │ ├── visibility_public.png │ │ │ │ ├── icon-folder-open-big.png │ │ │ │ └── visibility_protected.png │ │ │ ├── iviewer │ │ │ │ ├── grab.cur │ │ │ │ ├── hand.cur │ │ │ │ ├── iviewer.zoom_fit.png │ │ │ │ ├── iviewer.zoom_in.png │ │ │ │ ├── iviewer.zoom_in2.gif │ │ │ │ ├── iviewer.zoom_out.png │ │ │ │ ├── iviewer.zoom_fit2.gif │ │ │ │ ├── iviewer.zoom_out2.gif │ │ │ │ ├── iviewer.zoom_zero.png │ │ │ │ ├── iviewer.zoom_zero2.gif │ │ │ │ ├── iviewer.rotate_left.png │ │ │ │ └── iviewer.rotate_right.png │ │ │ ├── apple-touch-icon.png │ │ │ ├── glyphicons-halflings.png │ │ │ ├── apple-touch-icon-114x114.png │ │ │ ├── apple-touch-icon-72x72.png │ │ │ └── glyphicons-halflings-white.png │ │ ├── base │ │ │ └── sidebar.html.twig │ │ ├── js │ │ │ ├── prettify │ │ │ │ ├── lang-go.js │ │ │ │ ├── lang-tex.js │ │ │ │ ├── lang-proto.js │ │ │ │ ├── lang-yaml.js │ │ │ │ ├── lang-wiki.js │ │ │ │ ├── lang-lua.js │ │ │ │ ├── lang-hs.js │ │ │ │ ├── lang-lisp.js │ │ │ │ └── lang-css.js │ │ │ ├── jqplot │ │ │ │ └── plugins │ │ │ │ │ └── jqplot.ciParser.min.js │ │ │ └── menu.js │ │ ├── css │ │ │ └── prettify.css │ │ └── graphs │ │ │ └── class.html.twig │ └── xml │ │ ├── argument.xml.twig │ │ ├── template.xml │ │ ├── constant.xml.twig │ │ ├── namespace_tree.xml.twig │ │ ├── property.xml.twig │ │ └── method.xml.twig ├── examples │ └── MariosPizzeria │ │ ├── tests │ │ └── PizzeriaTest.php │ │ ├── src │ │ ├── Pizza │ │ │ ├── Sauce.php │ │ │ ├── Toppings │ │ │ │ └── Pepperoni.php │ │ │ ├── Base.php │ │ │ └── Topping.php │ │ ├── constants.php │ │ ├── Oven.php │ │ ├── functions.php │ │ ├── Delivery.php │ │ ├── SharedTrait.php │ │ └── Product.php │ │ └── phpdoc.xml └── asset-builder │ ├── package-lock.json │ └── package.json ├── bin ├── php-parse ├── yaml-lint ├── phpcbf ├── phpcs ├── phpdoc.bat ├── phpdoc.php ├── githubaction └── utils │ └── mem.sh ├── incubator ├── guides │ ├── resources │ │ └── template │ │ │ ├── guides │ │ │ ├── meta.tex.twig │ │ │ ├── nbsp.tex.twig │ │ │ ├── br.html.twig │ │ │ ├── nbsp.html.twig │ │ │ ├── br.tex.twig │ │ │ ├── separator.html.twig │ │ │ ├── separator.tex.twig │ │ │ ├── section-end.html.twig │ │ │ ├── list-item.tex.twig │ │ │ ├── anchor.html.twig │ │ │ ├── emphasis.html.twig │ │ │ ├── literal.tex.twig │ │ │ ├── title.html.twig │ │ │ ├── literal.html.twig │ │ │ ├── anchor.tex.twig │ │ │ ├── emphasis.tex.twig │ │ │ ├── strong-emphasis.html.twig │ │ │ ├── directives │ │ │ │ ├── literal-block.html.twig │ │ │ │ ├── topic.html.twig │ │ │ │ ├── container.html.twig │ │ │ │ └── sidebar.html.twig │ │ │ ├── image.tex.twig │ │ │ ├── strong-emphasis.tex.twig │ │ │ ├── favicon.html.twig │ │ │ ├── javascript.html.twig │ │ │ ├── meta.html.twig │ │ │ ├── section-begin.html.twig │ │ │ ├── title.tex.twig │ │ │ ├── list-item.html.twig │ │ │ ├── quote.tex.twig │ │ │ ├── stylesheet-link.html.twig │ │ │ ├── header-title.html.twig │ │ │ ├── toc.tex.twig │ │ │ ├── code.tex.twig │ │ │ ├── link.html.twig │ │ │ ├── quote.html.twig │ │ │ ├── toc.html.twig │ │ │ ├── link.tex.twig │ │ │ ├── paragraph.tex.twig │ │ │ ├── toc-level.html.twig │ │ │ ├── paragraph.html.twig │ │ │ ├── list.tex.twig │ │ │ ├── toc-item.html.twig │ │ │ ├── document.html.twig │ │ │ ├── code.html.twig │ │ │ ├── list.html.twig │ │ │ ├── uml.html.twig │ │ │ ├── image.html.twig │ │ │ ├── document.tex.twig │ │ │ └── figure.html.twig │ │ │ └── layout.html.twig │ ├── src │ │ ├── Nodes │ │ │ ├── LiteralBlockNode.php │ │ │ ├── Metadata │ │ │ │ ├── DocumentTitleNode.php │ │ │ │ ├── MetadataNode.php │ │ │ │ └── MetaNode.php │ │ │ ├── MainNode.php │ │ │ ├── RawNode.php │ │ │ ├── ImageNode.php │ │ │ ├── QuoteNode.php │ │ │ ├── AnchorNode.php │ │ │ ├── ParagraphNode.php │ │ │ ├── UmlNode.php │ │ │ ├── BlockNode.php │ │ │ ├── Links │ │ │ │ ├── InvalidLink.php │ │ │ │ └── Link.php │ │ │ ├── SeparatorNode.php │ │ │ ├── SectionEndNode.php │ │ │ ├── SectionBeginNode.php │ │ │ ├── TemplatedNode.php │ │ │ ├── DefinitionLists │ │ │ │ └── DefinitionList.php │ │ │ ├── DefinitionListNode.php │ │ │ └── SpanNode.php │ │ ├── Twig │ │ │ ├── Templates.php │ │ │ └── EnvironmentBuilder.php │ │ ├── Configuration.php │ │ ├── Formats │ │ │ └── OutputFormat.php │ │ ├── Span │ │ │ └── LiteralToken.php │ │ ├── NodeRenderers │ │ │ ├── NodeRendererFactory.php │ │ │ ├── NodeRendererFactoryAware.php │ │ │ ├── FullDocumentNodeRenderer.php │ │ │ ├── NodeRenderer.php │ │ │ └── LazyNodeRendererFactory.php │ │ ├── References │ │ │ └── Resolver │ │ │ │ └── Resolver.php │ │ ├── Event │ │ │ └── PostParseDocument.php │ │ ├── MarkupLanguageParser.php │ │ └── Handlers │ │ │ ├── RenderDocumentHandler.php │ │ │ └── RenderDocumentCommand.php │ ├── EXPERIMENTAL.md │ ├── tests │ │ └── unit │ │ │ ├── NodeRenderers │ │ │ └── Html │ │ │ │ └── TocNodeRenderer.php │ │ │ ├── InvalidLinkTest.php │ │ │ └── Nodes │ │ │ ├── RawNodeTest.php │ │ │ ├── MainNodeTest.php │ │ │ ├── AnchorNodeTest.php │ │ │ ├── QuoteNodeTest.php │ │ │ ├── Metadata │ │ │ └── MetaNodeTest.php │ │ │ ├── ParagraphNodeTest.php │ │ │ └── FigureNodeTest.php │ └── docs │ │ └── references.rst ├── guides-restructured-text │ ├── src │ │ └── RestructuredText │ │ │ ├── Exception │ │ │ └── InvalidTableStructure.php │ │ │ ├── Directives │ │ │ ├── Code.php │ │ │ ├── RoleDirective.php │ │ │ ├── IndexDirective.php │ │ │ ├── TipDirective.php │ │ │ ├── HintDirective.php │ │ │ ├── NoteDirective.php │ │ │ ├── CautionDirective.php │ │ │ ├── SeeAlsoDirective.php │ │ │ ├── WarningDirective.php │ │ │ ├── AdmonitionDirective.php │ │ │ ├── ImportantDirective.php │ │ │ ├── BestPracticeDirective.php │ │ │ ├── Wrap.php │ │ │ └── LaTeXMain.php │ │ │ ├── Nodes │ │ │ ├── ContainerNode.php │ │ │ ├── TopicNode.php │ │ │ └── SidebarNode.php │ │ │ ├── OutputFormat.php │ │ │ └── Parser │ │ │ ├── DirectiveOption.php │ │ │ └── LineChecker.php │ ├── tests │ │ └── unit │ │ │ └── RestructuredText │ │ │ └── Twig │ │ │ └── AssetsExtensionTest.php │ └── composer.json ├── guides-markdown │ ├── src │ │ └── Markdown │ │ │ ├── Parsers │ │ │ ├── AbstractBlock.php │ │ │ └── ThematicBreak.php │ │ │ └── ParserInterface.php │ └── composer.json └── json-path │ ├── src │ ├── AST │ │ ├── Wildcard.php │ │ ├── PathNode.php │ │ ├── Expression.php │ │ ├── CurrentNode.php │ │ ├── RootNode.php │ │ ├── FieldName.php │ │ ├── QueryNode.php │ │ ├── FieldAccess.php │ │ └── Value.php │ └── Query.php │ └── tests │ └── unit │ └── Fixtures │ ├── Commic.php │ ├── Book.php │ └── Store.php ├── tools ├── behat └── box.phar ├── docker-compose.yml ├── cypress └── integration │ ├── default │ └── helpers │ │ ├── pages.lib.js │ │ ├── search.lib.js │ │ ├── elements.lib.js │ │ ├── tableOfContents.lib.js │ │ ├── sidebar.lib.js │ │ └── onThisPage.lib.js │ └── clean │ └── frontpage.spec.js ├── src └── phpDocumentor │ ├── Descriptor │ ├── Filter │ │ ├── FilterInterface.php │ │ ├── StripIgnoredTags.php │ │ ├── FilterPayload.php │ │ └── Filterable.php │ ├── Interfaces │ │ ├── EnumCaseInterface.php │ │ ├── TypeInterface.php │ │ ├── InheritsFromElement.php │ │ ├── PackageInterface.php │ │ ├── TracksErrors.php │ │ ├── VisibilityInterface.php │ │ └── NamespaceInterface.php │ ├── ValueObjects │ │ └── Equals.php │ ├── Tag │ │ ├── VarDescriptor.php │ │ ├── ReturnDescriptor.php │ │ ├── ParamDescriptor.php │ │ ├── PropertyDescriptor.php │ │ ├── AuthorDescriptor.php │ │ ├── ThrowsDescriptor.php │ │ └── BaseTypes │ │ │ └── TypedAbstract.php │ ├── Exception │ │ └── MissingDependencyException.php │ ├── PackageDescriptor.php │ ├── Traits │ │ ├── HasVisibility.php │ │ ├── CanHaveADefaultValue.php │ │ ├── CanBeFinal.php │ │ ├── CanBeAbstract.php │ │ └── HasName.php │ ├── Query │ │ └── Engine.php │ ├── ProjectDescriptor │ │ └── WithCustomSettings.php │ └── Builder │ │ ├── AssemblerReducer.php │ │ └── Reflector │ │ └── Tags │ │ ├── GenericTagAssembler.php │ │ └── BaseTagAssembler.php │ ├── Configuration │ ├── Definition │ │ └── Normalizable.php │ ├── Exception │ │ ├── InvalidConfigPathException.php │ │ └── UpgradeFailedException.php │ └── MiddlewareInterface.php │ ├── Transformer │ ├── Exception.php │ ├── Writer │ │ ├── Twig │ │ │ ├── ExtensionInterface.php │ │ │ └── CommonMarkFactory.php │ │ ├── Graph │ │ │ └── Generator.php │ │ ├── Exception │ │ │ └── RequirementMissing.php │ │ └── Initializable.php │ ├── Template │ │ └── TemplateNotFound.php │ └── Event │ │ └── PostTransformationEvent.php │ ├── Parser │ ├── Exception │ │ └── FilesNotFoundException.php │ ├── FileSystemFactory.php │ └── FileCollector.php │ └── Pipeline │ ├── Stage │ └── Parser │ │ └── TransformToParserPayload.php │ └── PipelineFactory.php ├── .github ├── ISSUE_TEMPLATE │ ├── Feature_request.md │ └── Template_report.md ├── workflows │ ├── docker.yml │ ├── issues.yml │ └── broken-link-check.yml └── dependabot.yml ├── .dockerignore ├── cypress.config.js ├── phive.xml ├── action.yml ├── .env ├── .env.dist ├── composer-require-config.json └── .phpdoc └── template └── base.html.twig /VERSION: -------------------------------------------------------------------------------- 1 | 3.2.1 2 | -------------------------------------------------------------------------------- /config/secrets/prod/.gitkeep: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /data/templates/.placeholder: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /data/templates/checkstyle/README: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /bin/php-parse: -------------------------------------------------------------------------------- 1 | ../vendor/nikic/php-parser/bin/php-parse -------------------------------------------------------------------------------- /incubator/guides/resources/template/guides/meta.tex.twig: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /bin/yaml-lint: -------------------------------------------------------------------------------- 1 | ../vendor/symfony/yaml/Resources/bin/yaml-lint -------------------------------------------------------------------------------- /incubator/guides/resources/template/guides/nbsp.tex.twig: -------------------------------------------------------------------------------- 1 | ~ 2 | -------------------------------------------------------------------------------- /data/templates/clean/file.source.txt.twig: -------------------------------------------------------------------------------- 1 | {{ node.source|raw }} 2 | -------------------------------------------------------------------------------- /incubator/guides/resources/template/guides/br.html.twig: -------------------------------------------------------------------------------- 1 |
2 | -------------------------------------------------------------------------------- /incubator/guides/resources/template/guides/nbsp.html.twig: -------------------------------------------------------------------------------- 1 |   2 | -------------------------------------------------------------------------------- /incubator/guides/resources/template/guides/br.tex.twig: -------------------------------------------------------------------------------- 1 | \\\\\\\\\n 2 | -------------------------------------------------------------------------------- /incubator/guides/resources/template/guides/separator.html.twig: -------------------------------------------------------------------------------- 1 |
2 | -------------------------------------------------------------------------------- /incubator/guides/resources/template/guides/separator.tex.twig: -------------------------------------------------------------------------------- 1 | \ \ 2 | -------------------------------------------------------------------------------- /config/packages/prod/framework.yaml: -------------------------------------------------------------------------------- 1 | framework: 2 | secret: 'foobar' 3 | -------------------------------------------------------------------------------- /data/templates/default/base.html.twig: -------------------------------------------------------------------------------- 1 | {% extends 'layout.html.twig' %} 2 | -------------------------------------------------------------------------------- /incubator/guides/resources/template/guides/section-end.html.twig: -------------------------------------------------------------------------------- 1 | 2 | -------------------------------------------------------------------------------- /tools/behat: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mvriel/phpDocumentor2/HEAD/tools/behat -------------------------------------------------------------------------------- /incubator/guides/resources/template/guides/list-item.tex.twig: -------------------------------------------------------------------------------- 1 | \item {{ text|raw }} 2 | -------------------------------------------------------------------------------- /tools/box.phar: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mvriel/phpDocumentor2/HEAD/tools/box.phar -------------------------------------------------------------------------------- /incubator/guides/resources/template/guides/anchor.html.twig: -------------------------------------------------------------------------------- 1 | 2 | -------------------------------------------------------------------------------- /incubator/guides/resources/template/guides/emphasis.html.twig: -------------------------------------------------------------------------------- 1 | {{ text|raw }} 2 | -------------------------------------------------------------------------------- /incubator/guides/resources/template/guides/literal.tex.twig: -------------------------------------------------------------------------------- 1 | \verb|{{ node.value|raw }}| 2 | -------------------------------------------------------------------------------- /incubator/guides/resources/template/guides/title.html.twig: -------------------------------------------------------------------------------- 1 | {{ title }} 2 | -------------------------------------------------------------------------------- /data/templates/default/js/template.js.twig: -------------------------------------------------------------------------------- 1 | {% include 'components/on-this-page.js.twig' %} 2 | -------------------------------------------------------------------------------- /incubator/guides/resources/template/guides/literal.html.twig: -------------------------------------------------------------------------------- 1 | {{ node.value }} 2 | -------------------------------------------------------------------------------- /config/packages/dev/routing.yaml: -------------------------------------------------------------------------------- 1 | framework: 2 | router: 3 | strict_requirements: true 4 | -------------------------------------------------------------------------------- /incubator/guides/resources/template/guides/anchor.tex.twig: -------------------------------------------------------------------------------- 1 | \label{{ '{' }}{{ node.value }}{{ '}' }} 2 | -------------------------------------------------------------------------------- /incubator/guides/resources/template/guides/emphasis.tex.twig: -------------------------------------------------------------------------------- 1 | \textit{{ '{' }}{{ text|raw }}{{ '}' }} 2 | -------------------------------------------------------------------------------- /incubator/guides/resources/template/guides/strong-emphasis.html.twig: -------------------------------------------------------------------------------- 1 | {{ text|raw }} 2 | -------------------------------------------------------------------------------- /data/templates/default/components/summary.css.twig: -------------------------------------------------------------------------------- 1 | .phpdocumentor-summary { 2 | font-style: italic; 3 | } 4 | -------------------------------------------------------------------------------- /incubator/guides/resources/template/guides/directives/literal-block.html.twig: -------------------------------------------------------------------------------- 1 |
{{ node.value|raw }}
2 | -------------------------------------------------------------------------------- /incubator/guides/resources/template/guides/image.tex.twig: -------------------------------------------------------------------------------- 1 | \includegraphics{{ '{' }}{{ node.url }}{{ '}' }} 2 | -------------------------------------------------------------------------------- /incubator/guides/resources/template/guides/strong-emphasis.tex.twig: -------------------------------------------------------------------------------- 1 | \textbf{{ '{' }}{{ text|raw }}{{ '}' }} 2 | -------------------------------------------------------------------------------- /data/templates/default/components/file-title.html.twig: -------------------------------------------------------------------------------- 1 |

{{ node.name }}

2 | -------------------------------------------------------------------------------- /incubator/guides/resources/template/guides/favicon.html.twig: -------------------------------------------------------------------------------- 1 | 2 | -------------------------------------------------------------------------------- /incubator/guides/resources/template/guides/javascript.html.twig: -------------------------------------------------------------------------------- 1 | 2 | -------------------------------------------------------------------------------- /incubator/guides/resources/template/guides/meta.html.twig: -------------------------------------------------------------------------------- 1 | 2 | -------------------------------------------------------------------------------- /incubator/guides/resources/template/guides/section-begin.html.twig: -------------------------------------------------------------------------------- 1 |
2 | -------------------------------------------------------------------------------- /incubator/guides/resources/template/guides/title.tex.twig: -------------------------------------------------------------------------------- 1 | \{{ type }}{{ '{' }}{{ renderNode(titleNode.value) }}{{ '}' }} 2 | -------------------------------------------------------------------------------- /incubator/guides/resources/template/guides/list-item.html.twig: -------------------------------------------------------------------------------- 1 | {{ text|raw }} 2 | -------------------------------------------------------------------------------- /incubator/guides/resources/template/guides/quote.tex.twig: -------------------------------------------------------------------------------- 1 | \begin{quotation} 2 | {{ renderNode(node.value) }} 3 | \end{quotation} 4 | -------------------------------------------------------------------------------- /incubator/guides/resources/template/guides/stylesheet-link.html.twig: -------------------------------------------------------------------------------- 1 | 2 | -------------------------------------------------------------------------------- /data/templates/clean/images/favicon.ico: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mvriel/phpDocumentor2/HEAD/data/templates/clean/images/favicon.ico -------------------------------------------------------------------------------- /data/templates/default/components/description.css.twig: -------------------------------------------------------------------------------- 1 | .phpdocumentor-description { 2 | margin-bottom: var(--spacing-md); 3 | } 4 | -------------------------------------------------------------------------------- /incubator/guides/resources/template/guides/header-title.html.twig: -------------------------------------------------------------------------------- 1 | {{ renderNode(node.value) }} 2 | -------------------------------------------------------------------------------- /data/templates/clean/font/FontAwesome.otf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mvriel/phpDocumentor2/HEAD/data/templates/clean/font/FontAwesome.otf -------------------------------------------------------------------------------- /data/templates/default/objects/paragraph.css.twig: -------------------------------------------------------------------------------- 1 | .phpdocumentor p { 2 | margin-top: 0; 3 | margin-bottom: var(--spacing-md); 4 | } 5 | -------------------------------------------------------------------------------- /data/templates/clean/images/iviewer/grab.cur: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mvriel/phpDocumentor2/HEAD/data/templates/clean/images/iviewer/grab.cur -------------------------------------------------------------------------------- /data/templates/clean/images/iviewer/hand.cur: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mvriel/phpDocumentor2/HEAD/data/templates/clean/images/iviewer/hand.cur -------------------------------------------------------------------------------- /data/templates/responsive-twig/img/loader.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mvriel/phpDocumentor2/HEAD/data/templates/responsive-twig/img/loader.gif -------------------------------------------------------------------------------- /data/templates/clean/images/apple-touch-icon.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mvriel/phpDocumentor2/HEAD/data/templates/clean/images/apple-touch-icon.png -------------------------------------------------------------------------------- /data/templates/clean/images/hierarchy-item.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mvriel/phpDocumentor2/HEAD/data/templates/clean/images/hierarchy-item.png -------------------------------------------------------------------------------- /data/templates/clean/images/icon-class-13x13.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mvriel/phpDocumentor2/HEAD/data/templates/clean/images/icon-class-13x13.png -------------------------------------------------------------------------------- /data/templates/clean/images/icon-trait-13x13.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mvriel/phpDocumentor2/HEAD/data/templates/clean/images/icon-trait-13x13.png -------------------------------------------------------------------------------- /data/templates/responsive-twig/img/favicon.ico: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mvriel/phpDocumentor2/HEAD/data/templates/responsive-twig/img/favicon.ico -------------------------------------------------------------------------------- /data/templates/responsive-twig/img/icons/ok.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mvriel/phpDocumentor2/HEAD/data/templates/responsive-twig/img/icons/ok.png -------------------------------------------------------------------------------- /data/templates/clean/font/fontawesome-webfont.eot: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mvriel/phpDocumentor2/HEAD/data/templates/clean/font/fontawesome-webfont.eot -------------------------------------------------------------------------------- /data/templates/clean/font/fontawesome-webfont.ttf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mvriel/phpDocumentor2/HEAD/data/templates/clean/font/fontawesome-webfont.ttf -------------------------------------------------------------------------------- /data/templates/clean/font/fontawesome-webfont.woff: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mvriel/phpDocumentor2/HEAD/data/templates/clean/font/fontawesome-webfont.woff -------------------------------------------------------------------------------- /data/templates/default/components/summary.html.twig: -------------------------------------------------------------------------------- 1 | {% if node.summary %} 2 |

{{ node.summary }}

3 | {% endif %} 4 | -------------------------------------------------------------------------------- /data/templates/responsive-twig/img/icons/class.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mvriel/phpDocumentor2/HEAD/data/templates/responsive-twig/img/icons/class.png -------------------------------------------------------------------------------- /data/templates/responsive-twig/img/icons/file.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mvriel/phpDocumentor2/HEAD/data/templates/responsive-twig/img/icons/file.gif -------------------------------------------------------------------------------- /data/examples/MariosPizzeria/tests/PizzeriaTest.php: -------------------------------------------------------------------------------- 1 | {{ node.name == '\\' ? 'API Documentation' : node.name }} 2 | -------------------------------------------------------------------------------- /data/templates/responsive-twig/img/apple-touch-icon.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mvriel/phpDocumentor2/HEAD/data/templates/responsive-twig/img/apple-touch-icon.png -------------------------------------------------------------------------------- /data/templates/responsive-twig/img/icons/arrow_down.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mvriel/phpDocumentor2/HEAD/data/templates/responsive-twig/img/icons/arrow_down.png -------------------------------------------------------------------------------- /data/templates/responsive-twig/img/icons/interface.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mvriel/phpDocumentor2/HEAD/data/templates/responsive-twig/img/icons/interface.png -------------------------------------------------------------------------------- /data/templates/clean/images/apple-touch-icon-114x114.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mvriel/phpDocumentor2/HEAD/data/templates/clean/images/apple-touch-icon-114x114.png -------------------------------------------------------------------------------- /data/templates/clean/images/iviewer/iviewer.zoom_fit.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mvriel/phpDocumentor2/HEAD/data/templates/clean/images/iviewer/iviewer.zoom_fit.png -------------------------------------------------------------------------------- /data/templates/clean/images/iviewer/iviewer.zoom_out.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mvriel/phpDocumentor2/HEAD/data/templates/clean/images/iviewer/iviewer.zoom_out.png -------------------------------------------------------------------------------- /data/templates/clean/images/iviewer/iviewer.zoom_zero.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mvriel/phpDocumentor2/HEAD/data/templates/clean/images/iviewer/iviewer.zoom_zero.png -------------------------------------------------------------------------------- /data/templates/default/components/back-to-top.html.twig: -------------------------------------------------------------------------------- 1 | 2 | -------------------------------------------------------------------------------- /data/templates/default/css/custom.css.twig: -------------------------------------------------------------------------------- 1 | {# this file is meant as a catch-all location for consumers to provide overrides without having to override specific parts #} 2 | -------------------------------------------------------------------------------- /data/templates/responsive-twig/img/icons/arrow_right.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mvriel/phpDocumentor2/HEAD/data/templates/responsive-twig/img/icons/arrow_right.png -------------------------------------------------------------------------------- /data/templates/responsive-twig/img/icons/icon-th-big.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mvriel/phpDocumentor2/HEAD/data/templates/responsive-twig/img/icons/icon-th-big.png -------------------------------------------------------------------------------- /data/templates/responsive-twig/img/icons/view_source.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mvriel/phpDocumentor2/HEAD/data/templates/responsive-twig/img/icons/view_source.png -------------------------------------------------------------------------------- /incubator/guides/resources/template/guides/toc.tex.twig: -------------------------------------------------------------------------------- 1 | \tableofcontents 2 | {% for tocItem in tocItems %} 3 | \input{{ '{' }}{{ tocItem.url }}{{ '}' }} 4 | {% endfor %} 5 | -------------------------------------------------------------------------------- /data/templates/clean/images/iviewer/iviewer.rotate_left.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mvriel/phpDocumentor2/HEAD/data/templates/clean/images/iviewer/iviewer.rotate_left.png -------------------------------------------------------------------------------- /data/templates/clean/images/iviewer/iviewer.rotate_right.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mvriel/phpDocumentor2/HEAD/data/templates/clean/images/iviewer/iviewer.rotate_right.png -------------------------------------------------------------------------------- /data/templates/responsive-twig/img/glyphicons-halflings.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mvriel/phpDocumentor2/HEAD/data/templates/responsive-twig/img/glyphicons-halflings.png -------------------------------------------------------------------------------- /incubator/guides/resources/template/guides/code.tex.twig: -------------------------------------------------------------------------------- 1 | \lstset{language={{ node.language }}{{ '}'}} 2 | \begin{lstlisting} 3 | {{ node.value|raw }} 4 | \end{lstlisting} 5 | -------------------------------------------------------------------------------- /incubator/guides/resources/template/guides/link.html.twig: -------------------------------------------------------------------------------- 1 | {{ title|raw }} 2 | -------------------------------------------------------------------------------- /data/examples/MariosPizzeria/src/Pizza/Sauce.php: -------------------------------------------------------------------------------- 1 | {{ project.name }} 2 | -------------------------------------------------------------------------------- /data/templates/responsive-twig/img/apple-touch-icon-114x114.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mvriel/phpDocumentor2/HEAD/data/templates/responsive-twig/img/apple-touch-icon-114x114.png -------------------------------------------------------------------------------- /data/templates/responsive-twig/img/apple-touch-icon-72x72.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mvriel/phpDocumentor2/HEAD/data/templates/responsive-twig/img/apple-touch-icon-72x72.png -------------------------------------------------------------------------------- /data/templates/responsive-twig/img/icons/visibility_private.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mvriel/phpDocumentor2/HEAD/data/templates/responsive-twig/img/icons/visibility_private.png -------------------------------------------------------------------------------- /data/templates/responsive-twig/img/icons/visibility_public.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mvriel/phpDocumentor2/HEAD/data/templates/responsive-twig/img/icons/visibility_public.png -------------------------------------------------------------------------------- /data/templates/responsive-twig/img/iviewer/iviewer.zoom_fit.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mvriel/phpDocumentor2/HEAD/data/templates/responsive-twig/img/iviewer/iviewer.zoom_fit.png -------------------------------------------------------------------------------- /data/templates/responsive-twig/img/iviewer/iviewer.zoom_in.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mvriel/phpDocumentor2/HEAD/data/templates/responsive-twig/img/iviewer/iviewer.zoom_in.png -------------------------------------------------------------------------------- /data/templates/responsive-twig/img/iviewer/iviewer.zoom_in2.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mvriel/phpDocumentor2/HEAD/data/templates/responsive-twig/img/iviewer/iviewer.zoom_in2.gif -------------------------------------------------------------------------------- /data/templates/responsive-twig/img/iviewer/iviewer.zoom_out.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mvriel/phpDocumentor2/HEAD/data/templates/responsive-twig/img/iviewer/iviewer.zoom_out.png -------------------------------------------------------------------------------- /docker-compose.yml: -------------------------------------------------------------------------------- 1 | version: '3' 2 | services: 3 | phpdoc: 4 | build: . 5 | user: ${CURRENT_UID} 6 | volumes: [".:/opt/phpdoc"] 7 | working_dir: "/opt/phpdoc" 8 | -------------------------------------------------------------------------------- /incubator/guides/resources/template/guides/directives/topic.html.twig: -------------------------------------------------------------------------------- 1 |
2 |

{{ name }}

3 | {{ renderNode(node) }} 4 |
5 | -------------------------------------------------------------------------------- /incubator/guides/resources/template/guides/quote.html.twig: -------------------------------------------------------------------------------- 1 | {{ renderNode(node.value) }} 2 | -------------------------------------------------------------------------------- /data/templates/responsive-twig/img/glyphicons-halflings-white.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mvriel/phpDocumentor2/HEAD/data/templates/responsive-twig/img/glyphicons-halflings-white.png -------------------------------------------------------------------------------- /data/templates/responsive-twig/img/icons/icon-folder-open-big.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mvriel/phpDocumentor2/HEAD/data/templates/responsive-twig/img/icons/icon-folder-open-big.png -------------------------------------------------------------------------------- /data/templates/responsive-twig/img/icons/visibility_protected.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mvriel/phpDocumentor2/HEAD/data/templates/responsive-twig/img/icons/visibility_protected.png -------------------------------------------------------------------------------- /data/templates/responsive-twig/img/iviewer/iviewer.zoom_fit2.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mvriel/phpDocumentor2/HEAD/data/templates/responsive-twig/img/iviewer/iviewer.zoom_fit2.gif -------------------------------------------------------------------------------- /data/templates/responsive-twig/img/iviewer/iviewer.zoom_out2.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mvriel/phpDocumentor2/HEAD/data/templates/responsive-twig/img/iviewer/iviewer.zoom_out2.gif -------------------------------------------------------------------------------- /data/templates/responsive-twig/img/iviewer/iviewer.zoom_zero.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mvriel/phpDocumentor2/HEAD/data/templates/responsive-twig/img/iviewer/iviewer.zoom_zero.png -------------------------------------------------------------------------------- /data/templates/responsive-twig/img/iviewer/iviewer.zoom_zero2.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mvriel/phpDocumentor2/HEAD/data/templates/responsive-twig/img/iviewer/iviewer.zoom_zero2.gif -------------------------------------------------------------------------------- /config/packages/test/framework.yaml: -------------------------------------------------------------------------------- 1 | framework: 2 | test: ~ 3 | # Uncomment this section if you're using sessions 4 | #session: 5 | # storage_id: session.storage.mock_file 6 | -------------------------------------------------------------------------------- /data/templates/responsive-twig/img/iviewer/iviewer.rotate_left.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mvriel/phpDocumentor2/HEAD/data/templates/responsive-twig/img/iviewer/iviewer.rotate_left.png -------------------------------------------------------------------------------- /data/templates/responsive-twig/img/iviewer/iviewer.rotate_right.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mvriel/phpDocumentor2/HEAD/data/templates/responsive-twig/img/iviewer/iviewer.rotate_right.png -------------------------------------------------------------------------------- /incubator/guides/resources/template/guides/toc.html.twig: -------------------------------------------------------------------------------- 1 | {% spaceless %} 2 |
3 | {% include "guides/toc-level.html.twig" %} 4 |
5 | {% endspaceless %} 6 | -------------------------------------------------------------------------------- /incubator/guides/resources/template/guides/directives/container.html.twig: -------------------------------------------------------------------------------- 1 |
2 | {{ renderNode(node) }} 3 |
4 | -------------------------------------------------------------------------------- /data/templates/default/components/tag-list.css.twig: -------------------------------------------------------------------------------- 1 | .phpdocumentor-tag-list__definition { 2 | display: flex; 3 | } 4 | 5 | .phpdocumentor-tag-link { 6 | margin-right: var(--spacing-sm); 7 | } 8 | -------------------------------------------------------------------------------- /data/templates/default/objects/links.css.twig: -------------------------------------------------------------------------------- 1 | .phpdocumentor a { 2 | color: var(--link-color-primary); 3 | } 4 | 5 | .phpdocumentor a:hover { 6 | color: var(--link-hover-color-primary); 7 | } 8 | -------------------------------------------------------------------------------- /incubator/guides/src/Nodes/LiteralBlockNode.php: -------------------------------------------------------------------------------- 1 | 3 | RemoveHandler .php 4 | ForceType text/plain 5 | -------------------------------------------------------------------------------- /incubator/guides/resources/template/guides/link.tex.twig: -------------------------------------------------------------------------------- 1 | {% if type == 'ref' %} 2 | \ref{{ '{' }}{{ url }}{{ '}' }} 3 | {% else %} 4 | \href{{ '{' }}{{ url }}{{ '}' }}{{ '{' }}{{ title }}{{ '}' }} 5 | {% endif %} 6 | -------------------------------------------------------------------------------- /incubator/guides/resources/template/guides/paragraph.tex.twig: -------------------------------------------------------------------------------- 1 | {% spaceless %} 2 | {% set text = renderNode(node.value) %} 3 | 4 | {% if text|trim %} 5 | {{ text|raw }} 6 | 7 | {% endif %} 8 | {% endspaceless %} 9 | -------------------------------------------------------------------------------- /cypress/integration/default/helpers/pages.lib.js: -------------------------------------------------------------------------------- 1 | export function shouldVisitPageWithTitle(url, title) { 2 | cy.url().should('include', url); 3 | cy.get('.phpdocumentor-content__title').contains(title); 4 | } 5 | -------------------------------------------------------------------------------- /data/templates/default/objects/line.css.twig: -------------------------------------------------------------------------------- 1 | .phpdocumentor-line { 2 | border-top: 1px solid #E1E1E1; 3 | border-width: 0; 4 | margin-bottom: var(--spacing-xxl); 5 | margin-top: var(--spacing-xxl); 6 | } 7 | -------------------------------------------------------------------------------- /data/templates/default/icons/method.svg.twig: -------------------------------------------------------------------------------- 1 | 2 | -------------------------------------------------------------------------------- /data/templates/clean/css/phpdocumentor-clean-icons/fonts/phpdocumentor-clean-icons.eot: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mvriel/phpDocumentor2/HEAD/data/templates/clean/css/phpdocumentor-clean-icons/fonts/phpdocumentor-clean-icons.eot -------------------------------------------------------------------------------- /data/templates/clean/css/phpdocumentor-clean-icons/fonts/phpdocumentor-clean-icons.ttf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mvriel/phpDocumentor2/HEAD/data/templates/clean/css/phpdocumentor-clean-icons/fonts/phpdocumentor-clean-icons.ttf -------------------------------------------------------------------------------- /data/templates/clean/css/phpdocumentor-clean-icons/fonts/phpdocumentor-clean-icons.woff: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mvriel/phpDocumentor2/HEAD/data/templates/clean/css/phpdocumentor-clean-icons/fonts/phpdocumentor-clean-icons.woff -------------------------------------------------------------------------------- /cypress/integration/default/helpers/search.lib.js: -------------------------------------------------------------------------------- 1 | export function getSearchField() { 2 | cy.get('.phpdocumentor-header').contains("Search"); 3 | 4 | return cy.get('.phpdocumentor-field.phpdocumentor-search__field'); 5 | } 6 | -------------------------------------------------------------------------------- /data/templates/default/components/description.html.twig: -------------------------------------------------------------------------------- 1 | {% if node.description and not node.description.empty %} 2 |
{{ node.description|description|markdown }}
3 | {% endif %} 4 | -------------------------------------------------------------------------------- /data/templates/default/components/class-graph.css.twig: -------------------------------------------------------------------------------- 1 | .phpdocumentor-class-graph { 2 | width: 100%; height: 600px; border:1px solid black; overflow: hidden 3 | } 4 | 5 | .phpdocumentor-class-graph__graph { 6 | width: 100%; 7 | } 8 | -------------------------------------------------------------------------------- /incubator/guides/src/Nodes/Metadata/DocumentTitleNode.php: -------------------------------------------------------------------------------- 1 | 2 |
3 | {{ renderNode(node) }} 4 |
5 |
6 | -------------------------------------------------------------------------------- /cypress/integration/default/helpers/elements.lib.js: -------------------------------------------------------------------------------- 1 | export function getElementWithName(type, name) { 2 | return cy.get(`.phpdocumentor-element.-${type}`) 3 | .find('.phpdocumentor-element__name') 4 | .contains(name) 5 | .parent(); 6 | } 7 | -------------------------------------------------------------------------------- /data/examples/MariosPizzeria/src/constants.php: -------------------------------------------------------------------------------- 1 | ['all' => true], 5 | Symfony\Bundle\MonologBundle\MonologBundle::class => ['all' => true], 6 | League\Tactician\Bundle\TacticianBundle::class => ['all' => true], 7 | ]; 8 | -------------------------------------------------------------------------------- /incubator/guides/resources/template/guides/toc-level.html.twig: -------------------------------------------------------------------------------- 1 | {% spaceless %} 2 | 7 | {% endspaceless %} 8 | -------------------------------------------------------------------------------- /data/templates/default/components/element-header.html.twig: -------------------------------------------------------------------------------- 1 | {{ include('components/summary.html.twig') }} 2 | {{ include('components/description.html.twig') }} 3 | {{ include('components/tags.html.twig', {node: node}) }} 4 | 5 | {{ include ('components/table-of-contents.html.twig') }} 6 | -------------------------------------------------------------------------------- /incubator/guides/resources/template/guides/paragraph.html.twig: -------------------------------------------------------------------------------- 1 | {% apply spaceless %} 2 | {% set text = renderNode(node.value) %} 3 | 4 | {% if text %} 5 | {{ text|raw }}

6 | {% endif %} 7 | {% endapply %} 8 | -------------------------------------------------------------------------------- /.github/ISSUE_TEMPLATE/Feature_request.md: -------------------------------------------------------------------------------- 1 | --- 2 | name: Feature request 🚀 3 | about: I have a suggestion (and may want to implement it 🙂)! 4 | --- 5 | 6 | # Feature request 7 | 8 | 9 | -------------------------------------------------------------------------------- /data/templates/default/icons/constant.svg.twig: -------------------------------------------------------------------------------- 1 | 2 | -------------------------------------------------------------------------------- /incubator/guides-restructured-text/src/RestructuredText/Exception/InvalidTableStructure.php: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | {% block head %} 5 | {% endblock %} 6 | 7 | 8 | {% block body %} 9 | {% endblock %} 10 | 11 | {% block content %} 12 | {% endblock %} 13 | 14 | 15 | -------------------------------------------------------------------------------- /incubator/guides-restructured-text/tests/unit/RestructuredText/Twig/AssetsExtensionTest.php: -------------------------------------------------------------------------------- 1 | 2 | -------------------------------------------------------------------------------- /incubator/guides/EXPERIMENTAL.md: -------------------------------------------------------------------------------- 1 | **EXPERIMENTAL**: Anything regarding Guide generation, in this folder or elsewhere, is to be considered experimental and 2 | prone to be changed or removed without notice or consideration for BC. 3 | 4 | This is a follow-up to an earlier POC and can, at best, seen as an incubator project. 5 | -------------------------------------------------------------------------------- /bin/phpdoc.bat: -------------------------------------------------------------------------------- 1 | @echo off 2 | if "%PHPBIN%" == "" set PHPBIN=php.exe 3 | if not exist "%PHP_PEAR_BIN_DIR%" set PHP_PEAR_BIN_DIR=%~dp0 4 | if not exist "%PHPBIN%" if "%PHP_PEAR_PHP_BIN%" neq "" goto USE_PEAR_PATH 5 | GOTO RUN 6 | :USE_PEAR_PATH 7 | set PHPBIN=%PHP_PEAR_PHP_BIN% 8 | :RUN 9 | "%PHPBIN%" "%PHP_PEAR_BIN_DIR%\phpdoc" %* -------------------------------------------------------------------------------- /config/routes.yaml: -------------------------------------------------------------------------------- 1 | document: 2 | path: /{name}.html 3 | requirements: 4 | name: ".+" 5 | 6 | file: 7 | path: /files/{name}.html 8 | 9 | package: 10 | path: /packages/{name}.html 11 | 12 | namespace: 13 | path: /namespaces/{name}.html 14 | 15 | class: 16 | path: /classes/{name}.html 17 | -------------------------------------------------------------------------------- /data/templates/default/icons/protected.svg.twig: -------------------------------------------------------------------------------- 1 | 2 | -------------------------------------------------------------------------------- /incubator/guides/tests/unit/NodeRenderers/Html/TocNodeRenderer.php: -------------------------------------------------------------------------------- 1 | 3 | {{ argument.name }} 4 | {{ argument.default }} 5 | {{ argument.type }} 6 | 7 | -------------------------------------------------------------------------------- /.dockerignore: -------------------------------------------------------------------------------- 1 | .* 2 | !.git/ 3 | bin/* 4 | !bin/phpdoc 5 | !bin/githubaction 6 | !bin/console 7 | !bin/plantuml 8 | build 9 | docs 10 | features 11 | tests 12 | tools 13 | var 14 | vendor 15 | 16 | *.md 17 | box.json 18 | Makefile 19 | phive.xml 20 | phpcs.xml.dist 21 | phpmd.xml.dist 22 | phpstan.neon 23 | phpunit.xml.dist 24 | symfony.lock 25 | -------------------------------------------------------------------------------- /cypress.config.js: -------------------------------------------------------------------------------- 1 | const { defineConfig } = require('cypress') 2 | 3 | module.exports = defineConfig({ 4 | e2e:{ 5 | projectId: "ifc328", 6 | supportFile: false, 7 | specPattern: "**/*.spec.js", 8 | retries: 2, 9 | videoUploadOnPasses: false, 10 | defaultCommandTimeout: 10000 11 | } 12 | }) 13 | -------------------------------------------------------------------------------- /data/templates/responsive-twig/js/prettify/lang-proto.js: -------------------------------------------------------------------------------- 1 | PR.registerLangHandler(PR.sourceDecorator({keywords:"bytes,default,double,enum,extend,extensions,false,group,import,max,message,option,optional,package,repeated,required,returns,rpc,service,syntax,to,true",types:/^(bool|(double|s?fixed|[su]?int)(32|64)|float|string)\b/,cStyleComments:!0}),["proto"]); 2 | -------------------------------------------------------------------------------- /data/templates/default/components/breadcrumbs.html.twig: -------------------------------------------------------------------------------- 1 | {% set breadcrumbs = usesNamespaces ? breadcrumbs(node) : packages(node) %} 2 | 7 | -------------------------------------------------------------------------------- /data/templates/default/objects/images.css.twig: -------------------------------------------------------------------------------- 1 | .phpdocumentor figure { 2 | margin-bottom: var(--spacing-md); 3 | } 4 | 5 | .phpdocumentor figcaption { 6 | text-align: center; 7 | font-style: italic; 8 | font-size: 80%; 9 | } 10 | 11 | .phpdocumentor-uml-diagram svg { 12 | max-width: 100%; 13 | height: auto !important; 14 | } 15 | -------------------------------------------------------------------------------- /data/templates/default/components/content.css.twig: -------------------------------------------------------------------------------- 1 | .phpdocumentor-content { 2 | position: relative; 3 | display: flex; 4 | gap: var(--spacing-md); 5 | } 6 | .phpdocumentor-content > section:first-of-type { 7 | width: 100%; 8 | flex: 1 1 auto; 9 | } 10 | 11 | .phpdocumentor .phpdocumentor-content__title { 12 | margin-top: 0; 13 | } 14 | -------------------------------------------------------------------------------- /incubator/guides/resources/template/guides/list.tex.twig: -------------------------------------------------------------------------------- 1 | {% set keyword = 'itemize' %} 2 | 3 | {% if node.isOrdered %} 4 | {% set enumerate = 'ol' %} 5 | {% endif %} 6 | 7 | 8 | \begin{{ '{' }}{{ keyword }}{{ '}' }} 9 | {% for item in node.items %} 10 | {{ renderNode(item) }} 11 | {% endfor %} 12 | \end{{ '{' }}{{ keyword }}{{ '}' }} 13 | -------------------------------------------------------------------------------- /src/phpDocumentor/Descriptor/Interfaces/EnumCaseInterface.php: -------------------------------------------------------------------------------- 1 | 2 | {{ tocItem.title|raw }} 3 | 4 | {% if tocItem.children|length %} 5 | {% include "guides/toc-level.html.twig" with { 6 | tocItems:tocItem.children 7 | } %} 8 | {% endif %} 9 | 10 | -------------------------------------------------------------------------------- /bin/phpdoc.php: -------------------------------------------------------------------------------- 1 | #!/usr/bin/env php 2 | $configuration 11 | * 12 | * @return array 13 | */ 14 | public function normalize(array $configuration): array; 15 | } 16 | -------------------------------------------------------------------------------- /data/templates/default/components/back-to-top.css.twig: -------------------------------------------------------------------------------- 1 | .phpdocumentor .phpdocumentor-back-to-top { 2 | position: fixed; 3 | bottom: 2rem; 4 | font-size: 2.5rem; 5 | opacity: .25; 6 | transition: all .3s ease-in-out; 7 | right: 2rem; 8 | } 9 | 10 | .phpdocumentor .phpdocumentor-back-to-top:hover { 11 | color: var(--link-color-primary); 12 | opacity: 1; 13 | } 14 | -------------------------------------------------------------------------------- /data/templates/default/objects/blockquote.css.twig: -------------------------------------------------------------------------------- 1 | .phpdocumentor blockquote { 2 | border-left: 4px solid var(--primary-color-darken); 3 | margin: var(--spacing-md) 0; 4 | padding: var(--spacing-xs) var(--spacing-sm); 5 | color: var(--primary-color-darker); 6 | font-style: italic; 7 | } 8 | 9 | .phpdocumentor blockquote p:last-of-type { 10 | margin-bottom: 0; 11 | } 12 | -------------------------------------------------------------------------------- /incubator/json-path/src/AST/Wildcard.php: -------------------------------------------------------------------------------- 1 | 2 | -------------------------------------------------------------------------------- /data/templates/checkstyle/template.xml: -------------------------------------------------------------------------------- 1 | 2 | 10 | -------------------------------------------------------------------------------- /data/templates/clean/css/phpdocumentor-clean-icons/Read Me.txt: -------------------------------------------------------------------------------- 1 | To modify your generated font, use the *dev.svg* file, located in the *fonts* folder in this package. You can import this dev.svg file to the IcoMoon app. All the tags (class names) and the Unicode points of your glyphs are saved in this file. 2 | 3 | See the documentation for more info on how to use this package: https://icomoon.io/#docs/font-face 4 | -------------------------------------------------------------------------------- /incubator/guides/src/Twig/Templates.php: -------------------------------------------------------------------------------- 1 | 9 | 10 | 11 | -------------------------------------------------------------------------------- /incubator/guides/src/Configuration.php: -------------------------------------------------------------------------------- 1 | , string> */ 12 | public function htmlNodeTemplates(): array 13 | { 14 | return require __DIR__ . '/../resources/config/html.php'; 15 | } 16 | } 17 | -------------------------------------------------------------------------------- /bin/githubaction: -------------------------------------------------------------------------------- 1 | #!/usr/bin/env php 2 | getenv('INPUT_TEMPLATE'), 8 | 'config' => getenv('INPUT_CONFIG'), 9 | 'target' => getenv('INPUT_TARGET'), 10 | ]); 11 | 12 | foreach ($arguments as $flag => $value) { 13 | $_SERVER['argv'][] = sprintf('--%s=%s', $flag, $value); 14 | } 15 | 16 | require_once __DIR__.'/phpdoc'; 17 | -------------------------------------------------------------------------------- /data/templates/default/guides/document.html.twig: -------------------------------------------------------------------------------- 1 | {% extends "layout.html.twig" %} 2 | 3 | {% block head %} 4 | {% for headerNode in node.headerNodes %} 5 | {{ renderNode(headerNode) }} 6 | {% endfor %} 7 | {{ parent() }} 8 | {% endblock %} 9 | 10 | {% block body %} 11 | {{ renderNode(node) }} 12 | {% endblock %} 13 | 14 | {% block content %} 15 | {{ renderNode(node) }} 16 | {% endblock %} 17 | -------------------------------------------------------------------------------- /incubator/guides/src/Nodes/MainNode.php: -------------------------------------------------------------------------------- 1 | 2 | {{ node.name }} 3 | {% if node.usedTraits is not empty %} 4 | 5 | Uses 6 | {% for trait in node.usedTraits %} 7 | {{ trait|route('trait:short') }}{% if not loop.last %}, {% endif %} 8 | {% endfor %} 9 | 10 | {% endif %} 11 | 12 | -------------------------------------------------------------------------------- /data/templates/responsive-twig/js/prettify/lang-yaml.js: -------------------------------------------------------------------------------- 1 | var a=null; 2 | PR.registerLangHandler(PR.createSimpleLexer([["pun",/^[:>?|]+/,a,":|>?"],["dec",/^%(?:YAML|TAG)[^\n\r#]+/,a,"%"],["typ",/^&\S+/,a,"&"],["typ",/^!\S*/,a,"!"],["str",/^"(?:[^"\\]|\\.)*(?:"|$)/,a,'"'],["str",/^'(?:[^']|'')*(?:'|$)/,a,"'"],["com",/^#[^\n\r]*/,a,"#"],["pln",/^\s+/,a," \t\r\n"]],[["dec",/^(?:---|\.\.\.)(?:[\n\r]|$)/],["pun",/^-/],["kwd",/^\w+:[\n\r ]/],["pln",/^\w+/]]),["yaml","yml"]); 3 | -------------------------------------------------------------------------------- /incubator/guides/resources/template/guides/code.html.twig: -------------------------------------------------------------------------------- 1 | {% if node.raw %} 2 | {# see the RawDirective for where this is coming from; a refactor is desired to move this onto its own template / renderer #} 3 | {{ node.value|raw }} 4 | {% else %} 5 |

 8 | {% for item in node.items %}
 9 |     
  • 10 | {% for content in item.contents %} 11 | {{ renderNode(content) }} 12 | {% endfor %} 13 |
  • 14 | {% endfor %} 15 | 16 | -------------------------------------------------------------------------------- /incubator/guides/resources/template/guides/uml.html.twig: -------------------------------------------------------------------------------- 1 | {% apply spaceless %} 2 |
    6 | {{ uml(node.value) }} 7 | {% if node.caption %}
    {{ node.caption }}
    {% endif %} 8 |
    9 | {% endapply %} 10 | -------------------------------------------------------------------------------- /incubator/guides/src/Nodes/UmlNode.php: -------------------------------------------------------------------------------- 1 | caption = $caption; 15 | } 16 | 17 | public function getCaption(): string 18 | { 19 | return $this->caption; 20 | } 21 | } 22 | -------------------------------------------------------------------------------- /phive.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | -------------------------------------------------------------------------------- /data/templates/xml/template.xml: -------------------------------------------------------------------------------- 1 | 2 | 14 | -------------------------------------------------------------------------------- /incubator/guides/src/Formats/OutputFormat.php: -------------------------------------------------------------------------------- 1 | assertSame('name', $invalidLink->getName()); 17 | } 18 | } 19 | -------------------------------------------------------------------------------- /src/phpDocumentor/Descriptor/Interfaces/TypeInterface.php: -------------------------------------------------------------------------------- 1 | 9 | -------------------------------------------------------------------------------- /src/phpDocumentor/Descriptor/Interfaces/InheritsFromElement.php: -------------------------------------------------------------------------------- 1 | Return values 3 | {{ node.response.type|route('class:short')|join('|')|raw }} 4 | {% if node.response %} 5 | — 6 | {{ include('components/description.html.twig', {'node': node.response}) }} 7 | {% endif %} 8 | {% endif %} 9 | -------------------------------------------------------------------------------- /incubator/guides-restructured-text/src/RestructuredText/Directives/Code.php: -------------------------------------------------------------------------------- 1 | value = $value; 14 | parent::__construct(SpanToken::TYPE_LITERAL, $id, []); 15 | } 16 | 17 | public function getValue(): string 18 | { 19 | return $this->value; 20 | } 21 | } 22 | -------------------------------------------------------------------------------- /data/examples/MariosPizzeria/src/SharedTrait.php: -------------------------------------------------------------------------------- 1 | 4 |

    5 | Cases 6 | 7 |

    8 | {% for case in cases %} 9 | {% include 'components/enum-case.html.twig' %} 10 | {% endfor %} 11 | 12 | {% endif %} 13 | -------------------------------------------------------------------------------- /data/templates/default/components/functions.html.twig: -------------------------------------------------------------------------------- 1 | {% if node.functions is not empty %} 2 |
    3 |

    4 | Functions 5 | 6 |

    7 | {% for function in node.functions %} 8 | {% include 'components/function.html.twig' %} 9 | {% endfor %} 10 |
    11 | {% endif %} 12 | -------------------------------------------------------------------------------- /data/templates/default/components/header.html.twig: -------------------------------------------------------------------------------- 1 |
    2 | {% include 'components/header-title.html.twig' %} 3 | 4 | 7 | {{ include('components/search.html.twig') }} 8 | {% include 'components/topnav.html.twig' %} 9 |
    10 | -------------------------------------------------------------------------------- /data/templates/default/js/searchIndex.js.twig: -------------------------------------------------------------------------------- 1 | {% set baseUrl = renderBaseUrlHeader() %} 2 | Search.appendIndex( 3 | [ 4 | {% for element in project.indexes.elements %} 5 | { 6 | "fqsen": "{{ element.fullyQualifiedStructuralElementName|e('js') }}", 7 | "name": "{{ element.name|e('js') }}", 8 | "summary": "{{ element.summary|e('js') }}", 9 | "url": "{{ link(element) }}" 10 | }{% if not loop.last %},{% endif %} 11 | {% endfor %} 12 | ] 13 | ); 14 | -------------------------------------------------------------------------------- /.env: -------------------------------------------------------------------------------- 1 | # This file is a "template" of which env vars need to be defined for your application 2 | # Copy this file to .env file for development, create environment variables when deploying to production 3 | # https://symfony.com/doc/current/best_practices/configuration.html#infrastructure-related-configuration 4 | 5 | ###> symfony/framework-bundle ### 6 | APP_ENV=dev 7 | APP_SECRET=3f48b02b6f8e6ad6e8c07d0b03762d31 8 | #TRUSTED_PROXIES=127.0.0.1,127.0.0.2 9 | #TRUSTED_HOSTS=localhost,example.com 10 | ###< symfony/framework-bundle ### 11 | -------------------------------------------------------------------------------- /incubator/guides-restructured-text/src/RestructuredText/Nodes/ContainerNode.php: -------------------------------------------------------------------------------- 1 | symfony/framework-bundle ### 6 | APP_ENV=dev 7 | APP_SECRET=3f48b02b6f8e6ad6e8c07d0b03762d31 8 | #TRUSTED_PROXIES=127.0.0.1,127.0.0.2 9 | #TRUSTED_HOSTS=localhost,example.com 10 | ###< symfony/framework-bundle ### 11 | -------------------------------------------------------------------------------- /incubator/guides/docs/references.rst: -------------------------------------------------------------------------------- 1 | ########## 2 | References 3 | ########## 4 | 5 | Domain 6 | ====== 7 | 8 | The domain of a reference, specializes the context to search for a specific reference 9 | 10 | .. code::rst 11 | :php:class:`classname` 12 | 13 | Will search the php domain for a class. 14 | 15 | Role 16 | ====== 17 | 18 | Roles are defining the way a litural text should be interpreted. 19 | 20 | .. code::rst 21 | `literal` 22 | 23 | Literal with a role 24 | 25 | .. code::rst 26 | doc:`literal` 27 | 28 | 29 | -------------------------------------------------------------------------------- /data/templates/xml/constant.xml.twig: -------------------------------------------------------------------------------- 1 | {# @var constant phpDocumentor\Descriptor\ConstantDescriptor #} 2 | 3 | {{ constant.name }} 4 | {{ constant.fullyQualifiedStructuralElementName }} 5 | {{ constant.value }} 6 | {% if inherited_from %}{{ inherited_from }}{% endif %} 7 | {{ include('docblock.xml.twig', {descriptor: constant}) }} 8 | 9 | -------------------------------------------------------------------------------- /src/phpDocumentor/Configuration/Exception/InvalidConfigPathException.php: -------------------------------------------------------------------------------- 1 | 0 %} 3 | 4 | {% for child in namespace.children %} 5 | {{ include('namespace_tree.xml.twig', {namespace: child}) }} 6 | {% endfor %} 7 | 8 | {% else %} 9 | 10 | {% endif %} 11 | -------------------------------------------------------------------------------- /incubator/guides-markdown/src/Markdown/ParserInterface.php: -------------------------------------------------------------------------------- 1 | 4 |

    5 | Methods 6 | 7 |

    8 | {% for method in methods %} 9 | {% include 'components/method.html.twig' %} 10 | {% endfor %} 11 | 12 | {% endif %} 13 | -------------------------------------------------------------------------------- /data/templates/xml/property.xml.twig: -------------------------------------------------------------------------------- 1 | {# @var property phpDocumentor\Descriptor\PropertyDescriptor #} 2 | 3 | {{ property.name }} 4 | {{ property.fullyQualifiedStructuralElementName }} 5 | {{ property.default }} 6 | {% if inherited_from %}{{ inherited_from }}{% endif %} 7 | {{ include('docblock.xml.twig', {descriptor: property}) }} 8 | 9 | -------------------------------------------------------------------------------- /incubator/guides/src/NodeRenderers/NodeRendererFactory.php: -------------------------------------------------------------------------------- 1 | { 3 | const el = document.querySelector('.phpdocumentor-on-this-page__content') 4 | if (!el) { 5 | return; 6 | } 7 | 8 | const observer = new IntersectionObserver( 9 | ([e]) => { 10 | e.target.classList.toggle("-stuck", e.intersectionRatio < 1); 11 | }, 12 | {threshold: [1]} 13 | ); 14 | 15 | observer.observe(el); 16 | }) 17 | })(); 18 | -------------------------------------------------------------------------------- /data/templates/default/components/signature.css.twig: -------------------------------------------------------------------------------- 1 | .phpdocumentor .phpdocumentor-signature { 2 | display: block; 3 | font-size: var(--text-sm); 4 | border: 1px solid #f0f0f0; 5 | } 6 | 7 | .phpdocumentor .phpdocumentor-signature.-deprecated .phpdocumentor-signature__name { 8 | text-decoration: line-through; 9 | } 10 | 11 | @media (min-width: {{ breakpoints['md'] }}) { 12 | .phpdocumentor .phpdocumentor-signature { 13 | margin-left: calc(var(--spacing-xl) * -1); 14 | width: calc(100% + var(--spacing-xl)); 15 | } 16 | } 17 | -------------------------------------------------------------------------------- /incubator/guides/src/NodeRenderers/NodeRendererFactoryAware.php: -------------------------------------------------------------------------------- 1 | 5 |

    6 | Constants 7 | 8 |

    9 | {% for constant in constants %} 10 | {% include 'components/constant.html.twig' %} 11 | {% endfor %} 12 | 13 | {% endif %} 14 | -------------------------------------------------------------------------------- /data/templates/responsive-twig/js/prettify/lang-wiki.js: -------------------------------------------------------------------------------- 1 | PR.registerLangHandler(PR.createSimpleLexer([["pln",/^[\d\t a-gi-z\xa0]+/,null,"\t �\xa0abcdefgijklmnopqrstuvwxyz0123456789"],["pun",/^[*=[\]^~]+/,null,"=*~^[]"]],[["lang-wiki.meta",/(?:^^|\r\n?|\n)(#[a-z]+)\b/],["lit",/^[A-Z][a-z][\da-z]+[A-Z][a-z][^\W_]+\b/],["lang-",/^{{{([\S\s]+?)}}}/],["lang-",/^`([^\n\r`]+)`/],["str",/^https?:\/\/[^\s#/?]*(?:\/[^\s#?]*)?(?:\?[^\s#]*)?(?:#\S*)?/i],["pln",/^(?:\r\n|[\S\s])[^\n\r#*=A-[^`h{~]*/]]),["wiki"]); 2 | PR.registerLangHandler(PR.createSimpleLexer([["kwd",/^#[a-z]+/i,null,"#"]],[]),["wiki.meta"]); 3 | -------------------------------------------------------------------------------- /src/phpDocumentor/Transformer/Writer/Graph/Generator.php: -------------------------------------------------------------------------------- 1 | 5 |

    6 | Properties 7 | 8 |

    9 | {% for property in properties %} 10 | {% include 'components/property.html.twig' %} 11 | {% endfor %} 12 | 13 | {% endif %} 14 | -------------------------------------------------------------------------------- /src/phpDocumentor/Descriptor/ValueObjects/Equals.php: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | Marios 5 | build/api-cache 6 | 7 | 8 | build/api 9 | 10 | 11 | . 12 | tests/**/* 13 | build/**/* 14 | 15 | 16 |