Skip to content

Conversation

@adriendupuis
Copy link
Contributor

Question Answer
JIRA Ticket N/A
Versions master, 4.6
Edition All

Upgrade phpDocumentor from 3.5.3 to 3.7.1

  • binary: Fix 3.5.3's PHP Parse error: syntax error, unexpected token ":" in phar:///private/tmp/ibexa-dxp-phpdoc/phpDocumentor.phar/vendor/twig/twig/src/Environment.php(418) : eval()'d code on line 58
  • templates: update template.js and template.css, no side effect found

Checklist

  • Text renders correctly
  • Text has been checked with vale
  • Description metadata is up to date
  • Redirects cover removed/moved pages
  • Code samples are working
  • PHP code samples have been fixed with PHP CS fixer
  • Added link to this PR in relevant JIRA ticket or code PR

Fix `PHP Parse error:  syntax error, unexpected token ":" in phar:///private/tmp/ibexa-dxp-phpdoc/phpDocumentor.phar/vendor/twig/twig/src/Environment.php(418) : eval()'d code on line 58`
@github-actions
Copy link

github-actions bot commented Mar 4, 2025

Preview of modified Markdown: no Markdown change to preview.

Copy link
Contributor

@mnocon mnocon left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

So, no changes in the generated reference? That's a good sign 😄

@adriendupuis adriendupuis merged commit 5af3fd6 into master Mar 5, 2025
6 of 7 checks passed
@adriendupuis adriendupuis deleted the upgrade-phpdocumentor branch March 5, 2025 07:48
adriendupuis added a commit that referenced this pull request Mar 5, 2025
* phpDocumentor 3.5.3 → 3.7.1

Fix `PHP Parse error:  syntax error, unexpected token ":" in phar:///private/tmp/ibexa-dxp-phpdoc/phpDocumentor.phar/vendor/twig/twig/src/Environment.php(418) : eval()'d code on line 58`

* Use phpDocumentor 3.7.1 templates

Only change template.js and template.css (seems to add some SVG diagram support)

(cherry picked from commit 5af3fd6)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants