-
-
Notifications
You must be signed in to change notification settings - Fork 1.4k
feature: support for PHP 7.4 (typehint, return types) #2566
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
Merged
RunDevelopment
merged 11 commits into
PrismJS:master
from
TomPavelec:feature/support_for_php_7_4
Oct 13, 2020
Merged
Changes from 1 commit
Commits
Show all changes
11 commits
Select commit
Hold shift + click to select a range
3e078d2
feature: support for PHP 7.4 (typehint, return types)
TomPavelec cd9d38b
fix: !0 changed to true
TomPavelec a18e8a2
fix: non-capturing groups in patterns
TomPavelec a0b8ce7
fix: nice name pattern supports more names separated by spaces
TomPavelec 39b2eaf
fix: simple mistakes in patterns
TomPavelec 5fe7b7e
refactor: removed extension of clike language (everything from clike …
TomPavelec 49a0b3d
fix: forgotten minified code
TomPavelec 253dfad
fix: tests
TomPavelec 9a61d81
feat: classname in type declaration
TomPavelec 39bbd69
rebase
TomPavelec 2f0b21e
fix: test
TomPavelec File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
fix: !0 changed to true
feature: class name / namespace (package) can not begin with number feature: added binary and underscore number format feature: added operators `::`, `->`, `=>`, `<=>`, `...`, and some assignment operators fix: moved `.` from punctuation to operators (concatenation operator) feature: for `type` added subtypes `type-casting`, `type-hint`, `return-type` feature: added backtick string quoted string (shell exec) feature: for keywords `parent`, `self` and `static` added subtype `static-context` when a static prop/const/method accessed on them feature: for class name added subtype `class-name-fully-qualified` when class name is fully qualified feature: for class name added subtype `static-context` when a static prop/const/method accessed on it
- Loading branch information
commit cd9d38b3b506296063f2371236184df674e3510d
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Uh oh!
There was an error while loading. Please reload this page.