Mercurial > hg > isophonics-drupal-site
comparison vendor/psy/psysh/test/VersionUpdater/GitHubCheckerTest.php @ 17:129ea1e6d783
Update, including to Drupal core 8.6.10
author | Chris Cannam |
---|---|
date | Thu, 28 Feb 2019 13:21:36 +0000 |
parents | 5fb285c0d0e3 |
children |
comparison
equal
deleted
inserted
replaced
16:c2387f117808 | 17:129ea1e6d783 |
---|---|
50 * @return array | 50 * @return array |
51 */ | 51 */ |
52 public function jsonResults() | 52 public function jsonResults() |
53 { | 53 { |
54 return [ | 54 return [ |
55 [false, json_decode('{"tag_name":"v9.0.0"}')], | 55 [false, \json_decode('{"tag_name":"v9.0.0"}')], |
56 [true, json_decode('{"tag_name":"v' . Shell::VERSION . '"}')], | 56 [true, \json_decode('{"tag_name":"v' . Shell::VERSION . '"}')], |
57 [true, json_decode('{"tag_name":"v0.0.1"}')], | 57 [true, \json_decode('{"tag_name":"v0.0.1"}')], |
58 [true, json_decode('{"tag_name":"v0.4.1-alpha"}')], | 58 [true, \json_decode('{"tag_name":"v0.4.1-alpha"}')], |
59 [true, json_decode('{"tag_name":"v0.4.2-beta3"}')], | 59 [true, \json_decode('{"tag_name":"v0.4.2-beta3"}')], |
60 [true, json_decode('{"tag_name":"v0.0.1"}')], | 60 [true, \json_decode('{"tag_name":"v0.0.1"}')], |
61 [true, json_decode('{"tag_name":""}')], | 61 [true, \json_decode('{"tag_name":""}')], |
62 ]; | 62 ]; |
63 } | 63 } |
64 | 64 |
65 /** | 65 /** |
66 * @return array | 66 * @return array |
69 { | 69 { |
70 return [ | 70 return [ |
71 [null], | 71 [null], |
72 [false], | 72 [false], |
73 [true], | 73 [true], |
74 [json_decode('{"foo":"bar"}')], | 74 [\json_decode('{"foo":"bar"}')], |
75 [json_decode('{}')], | 75 [\json_decode('{}')], |
76 [json_decode('[]')], | 76 [\json_decode('[]')], |
77 [[]], | 77 [[]], |
78 [json_decode('{"tag_name":false"}')], | 78 [\json_decode('{"tag_name":false"}')], |
79 [json_decode('{"tag_name":true"}')], | 79 [\json_decode('{"tag_name":true"}')], |
80 ]; | 80 ]; |
81 } | 81 } |
82 } | 82 } |