Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Updated PHP list of keywrods with PHP 7.4 'fn' keyword #2858

Merged
merged 2 commits into from Apr 14, 2021

Conversation

danon
Copy link
Contributor

@danon danon commented Apr 14, 2021

In PHP 7.4 there comes a new keyword, 'fn'.

I added it to the theme, I checked, and it works correctly:

  • As a lambda (checked)
  • As a function declaration (checked)
  • As a function call (checked)
  • As a classname (checked)
  • As a namespace (checked)

@github-actions
Copy link

github-actions bot commented Apr 14, 2021

JS File Size Changes (gzipped)

A total of 1 files have changed, with a combined diff of +3 B (+0.2%).

file master pull size diff % diff
components/prism-php.min.js 1.94 KB 1.95 KB +3 B +0.2%

Generated by 🚫 dangerJS against 81e7d72

@RunDevelopment
Copy link
Member

Please rebuild Prism by running npm run build.

Apart from that, this PR is gtg.

@RunDevelopment RunDevelopment merged commit e0ee93f into PrismJS:master Apr 14, 2021
@RunDevelopment
Copy link
Member

Thank you for contributing @danon!

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.

None yet

2 participants