Skip to content

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%).

Details
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.

2 participants