projects
/
yaffs-website
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Updated Drupal to 8.6. This goes with the following updates because it's possible...
[yaffs-website]
/
vendor
/
psy
/
psysh
/
test
/
CodeCleaner
/
LegacyEmptyPassTest.php
diff --git
a/vendor/psy/psysh/test/CodeCleaner/LegacyEmptyPassTest.php
b/vendor/psy/psysh/test/CodeCleaner/LegacyEmptyPassTest.php
index 5afb5759151ac6b99532d4975016c164b1c1bf20..5c4c7b0590a0fb9d4048e3da3e44a3de7c3f8d11 100644
(file)
--- a/
vendor/psy/psysh/test/CodeCleaner/LegacyEmptyPassTest.php
+++ b/
vendor/psy/psysh/test/CodeCleaner/LegacyEmptyPassTest.php
@@
-31,7
+31,7
@@
class LegacyEmptyPassTest extends CodeCleanerTestCase
public function invalidStatements()
{
public function invalidStatements()
{
- if (version_compare(PHP_VERSION, '5.5', '>=')) {
+ if (
\
version_compare(PHP_VERSION, '5.5', '>=')) {
return [
['empty()'],
];
return [
['empty()'],
];
@@
-58,7
+58,7
@@
class LegacyEmptyPassTest extends CodeCleanerTestCase
public function validStatements()
{
public function validStatements()
{
- if (version_compare(PHP_VERSION, '5.5', '<')) {
+ if (
\
version_compare(PHP_VERSION, '5.5', '<')) {
return [
['empty($foo)'],
];
return [
['empty($foo)'],
];