Skip to content

Commit

Permalink
chore: bump Infra to 1.11
Browse files Browse the repository at this point in the history
  • Loading branch information
dkarlovi committed Jun 24, 2024
1 parent a641342 commit 78dafcb
Show file tree
Hide file tree
Showing 19 changed files with 10 additions and 36 deletions.
4 changes: 2 additions & 2 deletions composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -21,8 +21,8 @@
"nyholm/symfony-bundle-test": "^3.0",
"openspout/openspout": "^4.0",
"phpoffice/phpspreadsheet": "^2.0",
"phpunit/phpunit": "^10.5",
"sigwin/infra": "~1.9.0",
"phpunit/phpunit": "^11.2",
"sigwin/infra": "~1.11.0",
"symfony/console": "^6.4 || ^7.0",
"symfony/framework-bundle": "^6.4 || ^7.0",
"symfony/phpunit-bridge": "^6.4 || ^7.0",
Expand Down
2 changes: 1 addition & 1 deletion src/Bridge/PhpSpreadsheet/Spreadsheet.php
Original file line number Diff line number Diff line change
Expand Up @@ -122,7 +122,7 @@ private function getActiveWorksheet(): Worksheet
}
}

private function fetchCell(string $columnName, int $rowIndex): null|float|int|string
private function fetchCell(string $columnName, int $rowIndex): float|int|string|null
{
$worksheet = $this->getActiveWorksheet();

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -31,8 +31,6 @@
* @uses \Xezilaires\Serializer\ObjectSerializer
*
* @internal
*
* @small
*/
#[\PHPUnit\Framework\Attributes\Small]
#[\PHPUnit\Framework\Attributes\CoversClass(\Xezilaires\Bridge\PhpSpreadsheet\RowIterator::class)]
Expand Down
2 changes: 0 additions & 2 deletions src/Bridge/PhpSpreadsheet/Test/RowIteratorTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -23,8 +23,6 @@
* @covers \Xezilaires\Bridge\PhpSpreadsheet\RowIterator
*
* @internal
*
* @small
*/
#[\PHPUnit\Framework\Attributes\Small]
#[\PHPUnit\Framework\Attributes\CoversClass(RowIterator::class)]
Expand Down
2 changes: 1 addition & 1 deletion src/Bridge/PhpSpreadsheet/composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@
"sigwin/xezilaires": "^1.0"
},
"require-dev": {
"phpunit/phpunit": "^10.5",
"phpunit/phpunit": "^11.2",
"symfony/phpunit-bridge": "^6.4 || ^7.0",
"symfony/property-access": "^6.4 || ^7.0",
"symfony/property-info": "^6.4 || ^7.0"
Expand Down
4 changes: 0 additions & 4 deletions src/Bridge/Spout/Test/Functional/SpreadsheetIteratorTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -21,10 +21,6 @@

/**
* @internal
*
* @coversNothing
*
* @small
*/
#[\PHPUnit\Framework\Attributes\Small]
#[\PHPUnit\Framework\Attributes\CoversClass(\Xezilaires\Bridge\Spout\RowIterator::class)]
Expand Down
2 changes: 0 additions & 2 deletions src/Bridge/Spout/Test/RowIteratorTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -21,8 +21,6 @@
* @covers \Xezilaires\Bridge\Spout\RowIterator
*
* @internal
*
* @small
*/
#[\PHPUnit\Framework\Attributes\Small]
#[\PHPUnit\Framework\Attributes\CoversClass(RowIterator::class)]
Expand Down
2 changes: 0 additions & 2 deletions src/Bridge/Spout/Test/SpreadsheetTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -23,8 +23,6 @@
* @covers \Xezilaires\Bridge\Spout\Spreadsheet
*
* @internal
*
* @small
*/
#[\PHPUnit\Framework\Attributes\Small]
#[\PHPUnit\Framework\Attributes\CoversClass(Spreadsheet::class)]
Expand Down
2 changes: 1 addition & 1 deletion src/Bridge/Spout/composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@
},
"require-dev": {
"nyholm/nsa": "^1.1",
"phpunit/phpunit": "^10.5",
"phpunit/phpunit": "^11.2",
"symfony/phpunit-bridge": "^6.4 || ^7.0",
"symfony/property-access": "^6.4 || ^7.0",
"symfony/property-info": "^6.4 || ^7.0"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -15,8 +15,8 @@

use Symfony\Component\Config\FileLocator;
use Symfony\Component\DependencyInjection\ContainerBuilder;
use Symfony\Component\DependencyInjection\Extension\Extension;
use Symfony\Component\DependencyInjection\Loader;
use Symfony\Component\HttpKernel\DependencyInjection\Extension;

final class XezilairesExtension extends Extension
{
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -26,10 +26,6 @@

/**
* @internal
*
* @coversNothing
*
* @small
*/
#[\PHPUnit\Framework\Attributes\Medium]
#[\PHPUnit\Framework\Attributes\CoversClass(XezilairesExtension::class)]
Expand Down
4 changes: 0 additions & 4 deletions src/Bridge/Symfony/Test/Functional/XezilairesBundleTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -31,10 +31,6 @@

/**
* @internal
*
* @coversNothing
*
* @small
*/
#[\PHPUnit\Framework\Attributes\Medium]
#[\PHPUnit\Framework\Attributes\CoversClass(XezilairesBundle::class)]
Expand Down
2 changes: 1 addition & 1 deletion src/Bridge/Symfony/composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@
"require-dev": {
"matthiasnoback/symfony-dependency-injection-test": "^5.0",
"nyholm/symfony-bundle-test": "^3.0",
"phpunit/phpunit": "^10.5",
"phpunit/phpunit": "^11.2",
"sigwin/xezilaires-phpspreadsheet": "^1.0",
"sigwin/xezilaires-spout": "^1.0",
"symfony/phpunit-bridge": "^6.4 || ^7.0"
Expand Down
2 changes: 1 addition & 1 deletion src/Xezilaires/Metadata/Mapping.php
Original file line number Diff line number Diff line change
Expand Up @@ -72,7 +72,7 @@ public function getReferences(): array
return $this->references;
}

public function getOption(string $option): null|bool|int|string
public function getOption(string $option): bool|int|string|null
{
return $this->options[$option];
}
Expand Down
2 changes: 1 addition & 1 deletion src/Xezilaires/SpreadsheetIterator.php
Original file line number Diff line number Diff line change
Expand Up @@ -195,7 +195,7 @@ private function readArrayReference(array $row, ArrayReference $reference): arra
/**
* @param array<string, null|float|int|string> $row
*/
private function readReference(array $row, Reference $reference): null|float|int|string
private function readReference(array $row, Reference $reference): float|int|string|null
{
switch (true) {
case $reference instanceof ColumnReference:
Expand Down
2 changes: 0 additions & 2 deletions src/Xezilaires/Test/FilterIteratorTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -20,8 +20,6 @@
* @covers \Xezilaires\FilterIterator
*
* @internal
*
* @small
*/
#[\PHPUnit\Framework\Attributes\Small]
#[\PHPUnit\Framework\Attributes\CoversClass(FilterIterator::class)]
Expand Down
2 changes: 0 additions & 2 deletions src/Xezilaires/Test/Metadata/MappingTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -26,8 +26,6 @@
* @covers \Xezilaires\Metadata\Mapping
*
* @internal
*
* @small
*/
#[\PHPUnit\Framework\Attributes\Small]
#[\PHPUnit\Framework\Attributes\CoversClass(Mapping::class)]
Expand Down
2 changes: 0 additions & 2 deletions src/Xezilaires/Test/SpreadsheetIteratorTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -35,8 +35,6 @@
* @uses \Xezilaires\Metadata\HeaderReference
*
* @internal
*
* @small
*/
#[\PHPUnit\Framework\Attributes\Small]
#[\PHPUnit\Framework\Attributes\CoversClass(Mapping::class)]
Expand Down
2 changes: 1 addition & 1 deletion src/Xezilaires/composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@
"require-dev": {
"nyholm/nsa": "^1.1",
"openspout/openspout": "^4.0",
"phpunit/phpunit": "^10.5",
"phpunit/phpunit": "^11.2",
"symfony/console": "^6.4 || ^7.0",
"symfony/phpunit-bridge": "^6.4 || ^7.0",
"symfony/property-access": "^6.4 || ^7.0",
Expand Down

0 comments on commit 78dafcb

Please sign in to comment.