File tree Expand file tree Collapse file tree 5 files changed +8
-2
lines changed Expand file tree Collapse file tree 5 files changed +8
-2
lines changed Original file line number Diff line number Diff line change 1010 strategy :
1111 matrix :
1212 php :
13+ - 8.1
1314 - 8.0
1415 - 7.4
1516 - 7.3
Original file line number Diff line number Diff line change @@ -119,7 +119,7 @@ See also the [CHANGELOG](CHANGELOG.md) for details about version upgrades.
119119This project aims to run on any platform and thus does not require any PHP
120120extensions and supports running on legacy PHP 5.3 through current PHP 8+ and
121121HHVM.
122- It's * highly recommended to use PHP 7+ * for this project.
122+ It's * highly recommended to use the latest supported PHP version * for this project.
123123
124124You may also want to install some of the [ additional components] ( #components ) .
125125A list of all official components can be found in the [ graphp project] ( https://github.com/graphp ) .
Original file line number Diff line number Diff line change 44<phpunit xmlns : xsi =" http://www.w3.org/2001/XMLSchema-instance"
55 xsi : noNamespaceSchemaLocation =" https://schema.phpunit.de/9.3/phpunit.xsd"
66 bootstrap =" vendor/autoload.php"
7+ cacheResult =" false"
78 colors =" true"
8- cacheResult = " false " >
9+ convertDeprecationsToExceptions = " true " >
910 <testsuites >
1011 <testsuite name =" Graph test suite" >
1112 <directory >./tests/</directory >
Original file line number Diff line number Diff line change @@ -383,6 +383,7 @@ public function getVector()
383383 * @return int
384384 * @see self::isEmpty()
385385 */
386+ #[\ReturnTypeWillChange]
386387 public function count ()
387388 {
388389 return count ($ this ->edges );
@@ -409,6 +410,7 @@ public function isEmpty()
409410 *
410411 * @return \IteratorIterator
411412 */
413+ #[\ReturnTypeWillChange]
412414 public function getIterator ()
413415 {
414416 return new \IteratorIterator (new \ArrayIterator ($ this ->edges ));
Original file line number Diff line number Diff line change @@ -411,6 +411,7 @@ public function getVector()
411411 * @return int
412412 * @see self::isEmpty()
413413 */
414+ #[\ReturnTypeWillChange]
414415 public function count ()
415416 {
416417 return count ($ this ->vertices );
@@ -448,6 +449,7 @@ public function hasDuplicates()
448449 *
449450 * @return \IteratorIterator
450451 */
452+ #[\ReturnTypeWillChange]
451453 public function getIterator ()
452454 {
453455 return new \IteratorIterator (new \ArrayIterator ($ this ->vertices ));
You can’t perform that action at this time.
0 commit comments