Skip to content
Permalink
Browse files

tested against PHP 7.4

  • Loading branch information...
dg committed Aug 6, 2019
1 parent e44550d commit 74c206bd6310bf0f9f8bd27064228cc0528d5334
Showing with 6 additions and 1 deletion.
  1. +2 −0 .travis.yml
  2. +3 −0 src/Utils/Arrays.php
  3. +1 −1 tests/Utils/fixtures.reflection/expandClass.nonClassUse.php
@@ -3,6 +3,7 @@ php:
- 7.1
- 7.2
- 7.3
- 7.4snapshot

before_install:
# turn off XDebug
@@ -54,6 +55,7 @@ jobs:
allow_failures:
- stage: Static Analysis (informative)
- stage: Code Coverage
- php: 7.4snapshot


sudo: false
@@ -187,6 +187,9 @@ public static function associate(array $arr, $path)
} elseif ($part === '->') {
if (isset($parts[++$i])) {
if ($x === null) {
$x = new \stdClass;
}
$x = &$x->{$row[$parts[$i]]};
} else {
$row = is_object($rowOrig) ? $rowOrig : (object) $row;
@@ -1,6 +1,6 @@
<?php
use function A\fn;
use function A\fun;
use const B\CNST;
class NonClassUseTest {}

0 comments on commit 74c206b

Please sign in to comment.
You can’t perform that action at this time.