-
-
Notifications
You must be signed in to change notification settings - Fork 173
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 phpjs #445
Updated phpjs #445
Conversation
import strlen from 'locutus/php/strings/strlen'; | ||
import array_diff from 'locutus/php/array/array_diff'; | ||
import strtotime from 'locutus/php/datetime/strtotime'; | ||
import is_numeric from 'locutus/php/var/is_numeric'; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
'import' is only available in ES6 (use 'esversion: 6').
Identifier 'is_numeric' is not in camel case.
@@ -9,6 +9,11 @@ | |||
* Released under the MIT license | |||
*/ | |||
|
|||
import strlen from 'locutus/php/strings/strlen'; | |||
import array_diff from 'locutus/php/array/array_diff'; | |||
import strtotime from 'locutus/php/datetime/strtotime'; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
'import' is only available in ES6 (use 'esversion: 6').
@@ -9,6 +9,11 @@ | |||
* Released under the MIT license | |||
*/ | |||
|
|||
import strlen from 'locutus/php/strings/strlen'; | |||
import array_diff from 'locutus/php/array/array_diff'; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
'import' is only available in ES6 (use 'esversion: 6').
Identifier 'array_diff' is not in camel case.
@@ -9,6 +9,11 @@ | |||
* Released under the MIT license | |||
*/ | |||
|
|||
import strlen from 'locutus/php/strings/strlen'; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
'import' is only available in ES6 (use 'esversion: 6').
ES6 is permitted in these sources though does not appear to currently exist. Need to transpile to ES5. |
Seems it's not necessary.
|
Description
Updates
phpjs
to the latest version.