phpDocumentor

phpDocumentor

Member Since 9 years ago

Experience Points
0
follower
Lessons Completed
0
follow
Best Reply Awards
32
repos
Jun
23
9 hours ago
started
started time in 50 minutes ago
Activity icon
issue

daiwai issue phpDocumentor/phpDocumentor

daiwai
daiwai

Encoding error in reStructuredText multiline table cells

If you create a table cell with reStructuredText in the guide that goes over more than one line and in the second or one of the following lines a non-ASCII Unicode character is used, such as the German umlaut "ö". This character will be encoded incorrectly during rendering.

Expected behavior

non-ASCII UTF-8 encoded characters should be rendered correctly in reST tables

Actual behavior

non-ASCII UTF-8 encoed characters, that appear in the second or any subsequent line of a multi line table cell are not encoded correctly during rendering.

Steps to reproduce the problem

Here is a fairly minimal example of the reST markup that triggers the problem

+---+---+
| A | B |
|   | ö |
+---+---+

This is rendered as

           
AB ö
<table>
    <tbody>
        <tr>
            <td>A</td>
            <td>B ö</td>
        </tr>
    </tbody>
</table>

instead of

           
AB ö

The following examples, on the other hand, do not have that problem and are both rendered correctly:

+---+---+
| A | ö |
+---+---+

+---+---+
| A |   |
|   | ö |
+---+---+

Your environment

  • Version used: a570609
  • Install method: phar
  • PHP version: 8.0.7
  • Operating system and version: Ubuntu 20.04.2 LTS
started
started time in 2 hours ago
Jun
22
1 day ago
started
started time in 19 hours ago
started
started time in 19 hours ago
pull request

francescolaffi pull request phpDocumentor/ReflectionCommon

francescolaffi
francescolaffi

fix typo in Fqsen (quallified)

noticed a typo while checking the source

started
started time in 23 hours ago
Activity icon
fork

francescolaffi forked phpDocumentor/ReflectionCommon

francescolaffi MIT License Updated
fork time in 23 hours ago
Jun
21
2 days ago
Activity icon
issue

ThaDaVos issue comment phpDocumentor/phpDocumentor

ThaDaVos
ThaDaVos

Local file support in @see and @link

It would be great if I could link to local (e.g. Markdown) files, which would get included into the documentation.

For example inside package, classes and methods I could use something like

@link Documentation/Guide/How-to-use-lala.md Guide on using lala

I think I can remember that it was supported in phpDoc 1.x, but it seems to be gone in 2.x.

ThaDaVos
ThaDaVos

Any progress on this? Looking to do the same by linking to PlantUML files (As I have multiple for a single function to show the code flow based on the inputs)

Activity icon
issue

ThaDaVos issue comment phpDocumentor/phpDocumentor

ThaDaVos
ThaDaVos

Block diagram feature

Some parts of complex projects need to be documented in block diagrams. It would be great if phpDocumentor had such feature.

So, if we document code like this...

/* @block-diaram start */

/* @block-diaram action Prepare storage */
Storage::prepare();
/* @block-diaram action end */

/* @block-diaram condition start Is user active? */
if (User::active) {
    /* @block-diaram condition yes */
    /* @block-diaram action Get data */
    User::getData();
    /* @block-diaram action end */
    /* @block-diaram action Success message */
    Message::ok();
    /* @block-diaram action end */
} else {
    /* @block-diaram condition no */
    /* @block-diaram action Error message */
    Message::error();
    /* @block-diaram action end */
}
/* @block-diaram condition end */

/* @block-diaram end */

... we'll get an image in report.

2017-04-21 15-44-08

I hope you understand this idea.

ThaDaVos
ThaDaVos
push

dependabot-preview[bot] push phpDocumentor/phpstan-ga

dependabot-preview[bot]
dependabot-preview[bot]

Bump phpstan/phpstan from 0.12.89 to 0.12.90

Bumps phpstan/phpstan from 0.12.89 to 0.12.90.

Signed-off-by: dependabot-preview[bot] support@dependabot.com

commit sha: 5e873241f523642ecd6d6637a4e7f86ed5438e49

push time in 2 days ago
Activity icon
delete

dependabot-preview[bot] in phpDocumentor/phpstan-ga delete branch dependabot/composer/phpstan/phpstan-0.12.90

deleted time in 2 days ago
pull request

dependabot-preview[bot] pull request phpDocumentor/phpstan-ga

dependabot-preview[bot]
dependabot-preview[bot]

Bump phpstan/phpstan from 0.12.89 to 0.12.90

Bumps phpstan/phpstan from 0.12.89 to 0.12.90.

Release notes

Sourced from phpstan/phpstan's releases.

0.12.90

Improvements 🔧

Bleeding edge 🔪

If you want to see the shape of things to come and adopt bleeding edge features early, you can include this config file in your project's phpstan.neon:

includes:
	- vendor/phpstan/phpstan/conf/bleedingEdge.neon

Of course, there are no backwards compatibility guarantees when you include this file. The behaviour and reported errors can change in minor versions with this file included. Learn more

Bugfixes 🐛

Function signature fixes 🤖

  • Allow null for file_put_contents() $context argument (#558), thanks @​steevanb!
Commits
  • f0e4b56 PHPStan 0.12.90
  • 4b4c1d7 Updated PHPStan to commit 43d286797917a8d9ab7b0e67eaaaee786b4c2762
  • 1d8c653 Updated PHPStan to commit 1434af13de3c09f2e3a3a349b9de39265396f9e8
  • 560ab99 Updated PHPStan to commit c9e4e75b9eba07db80335b324d30bcff0225a491
  • 9f6cedd Update phpdoc-types.md
  • b8c6ce3 Updated PHPStan to commit 79b5ccd4b445ce0c38685d44bb156b01df587ed5
  • b18df60 Updated PHPStan to commit 07d78b21b3a39324b312505f7f5b130282013d43
  • 296a0fe Updated PHPStan to commit 498b86837dd60f89a780340ffe64516409e1c2e0
  • c781d16 Updated PHPStan to commit 93f509e3fa292bf31efafcef7de248906805c5f7
  • f0de8c4 Updated PHPStan to commit 346444ad37777bb1508411e7920a18baf75d5e97
  • Additional commits viewable in compare view

Dependabot compatibility score

Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase.

If all status checks pass Dependabot will automatically merge this pull request.


Dependabot commands and options

You can trigger Dependabot actions by commenting on this PR:

  • @dependabot rebase will rebase this PR
  • @dependabot recreate will recreate this PR, overwriting any edits that have been made to it
  • @dependabot merge will merge this PR after your CI passes on it
  • @dependabot squash and merge will squash and merge this PR after your CI passes on it
  • @dependabot cancel merge will cancel a previously requested merge and block automerging
  • @dependabot reopen will reopen this PR if it is closed
  • @dependabot close will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually
  • @dependabot ignore this major version will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)
  • @dependabot ignore this minor version will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)
  • @dependabot ignore this dependency will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)
  • @dependabot badge me will comment on this PR with code to add a "Dependabot enabled" badge to your readme

Additionally, you can set the following in the .dependabot/config.yml file in this repo:

  • Update frequency
  • Automerge options (never/patch/minor, and dev/runtime dependencies)
  • Out-of-range updates (receive only lockfile updates, if desired)
  • Security updates (receive only security updates, if desired)
push

dependabot-preview[bot] push phpDocumentor/phpstan-ga

dependabot-preview[bot]
dependabot-preview[bot]

Bump phpstan/phpstan-phpunit from 0.12.19 to 0.12.20

Bumps phpstan/phpstan-phpunit from 0.12.19 to 0.12.20.

Signed-off-by: dependabot-preview[bot] support@dependabot.com

dependabot-preview[bot]
dependabot-preview[bot]

Bump phpstan/phpstan from 0.12.89 to 0.12.90

Bumps phpstan/phpstan from 0.12.89 to 0.12.90.

Signed-off-by: dependabot-preview[bot] support@dependabot.com

commit sha: 5d272c8df298b02961a518f1918eab87aebc145b

push time in 2 days ago
Activity icon
delete

dependabot-preview[bot] in phpDocumentor/phpstan-ga delete branch dependabot/composer/phpstan/phpstan-phpunit-0.12.20

deleted time in 2 days ago