Skip to content

Commit

Permalink
PHP 8.1 minimum version readiness
Browse files Browse the repository at this point in the history
  • Loading branch information
rotimi committed May 9, 2023
1 parent 5e455a2 commit 99e02dd
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 5 deletions.
10 changes: 6 additions & 4 deletions phpunit.xml
Original file line number Diff line number Diff line change
@@ -1,9 +1,6 @@
<?xml version="1.0" encoding="UTF-8"?>
<phpunit xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" bootstrap="./tests/bootstrap.php" colors="true" xsi:noNamespaceSchemaLocation="https://schema.phpunit.de/9.3/phpunit.xsd">
<phpunit xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" bootstrap="./tests/bootstrap.php" colors="true" xsi:noNamespaceSchemaLocation="https://schema.phpunit.de/10.1/phpunit.xsd">
<coverage>
<include>
<directory suffix=".php">./src</directory>
</include>
<report>
<clover outputFile="build/logs/clover.xml"/>
<html outputDirectory="build/coverage" lowUpperBound="35" highLowerBound="70"/>
Expand All @@ -17,4 +14,9 @@
<logging>
<junit outputFile="build/logs/junit.xml"/>
</logging>
<source>
<include>
<directory suffix=".php">./src</directory>
</include>
</source>
</phpunit>
2 changes: 1 addition & 1 deletion src/GDAO/Model/RecordInterface.php
Original file line number Diff line number Diff line change
Expand Up @@ -172,7 +172,7 @@ public function &getNonTableColAndNonRelatedDataByRef(): array;
*
* @return $this
*/
public function setRelatedData($key, array|RecordInterface|CollectionInterface $value): static;
public function setRelatedData(string $key, array|RecordInterface|CollectionInterface $value): static;

/**
* Get the model object that saves and reads data to and from the db on behalf of this record
Expand Down

0 comments on commit 99e02dd

Please sign in to comment.