Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

deps: bump rekapager to 0.17 #137

Merged
merged 1 commit into from
Sep 1, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 4 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,9 @@
# Changelog

## 0.11.3

* deps: bump rekapager to 0.17

## 0.11.2

* fix: `PrecountingStrategy` now accepts null as the underlying data
Expand Down
64 changes: 32 additions & 32 deletions composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -9,61 +9,61 @@
"email": "[email protected]"
}
],
"autoload": {
"psr-4": {
"Rekalogika\\Collections\\ORM\\": "packages/collections-orm/src/",
"Rekalogika\\Contracts\\Collections\\": "packages/collections-contracts/src/",
"Rekalogika\\Domain\\Collections\\": "packages/collections-domain/src/",
"Rekalogika\\Domain\\Collections\\Common\\": "packages/collections-common/src/"
}
},
"autoload-dev": {
"psr-4": {
"Doctrine\\Tests\\Common\\Collections\\": "tests/doctrine/",
"Rekalogika\\Collections\\Tests\\": "tests/src/"
}
},
"require": {
"doctrine/collections": "^2.2.2 || ^2.3",
"doctrine/orm": "^2.14 || ^3.0",
"php": "^8.2",
"rekalogika/rekapager-contracts": "^0.15",
"rekalogika/rekapager-doctrine-collections-adapter": "^0.15",
"rekalogika/rekapager-doctrine-orm-adapter": "^0.15",
"rekalogika/rekapager-keyset-pagination": "^0.15"
"rekalogika/rekapager-contracts": "^0.17",
"rekalogika/rekapager-doctrine-collections-adapter": "^0.17",
"rekalogika/rekapager-doctrine-orm-adapter": "^0.17",
"rekalogika/rekapager-keyset-pagination": "^0.17"
},
"require-dev": {
"bnf/phpstan-psr-container": "^1.0",
"dama/doctrine-test-bundle": "^8.2",
"doctrine/doctrine-bundle": "^2.11",
"doctrine/doctrine-fixtures-bundle": "^3.6",
"doctrine/persistence": "^3.1",
"ekino/phpstan-banned-code": "^1.0 || ^2.0",
"phpstan/phpstan": "^1.10.66 || ^1.11",
"phpstan/phpstan-deprecation-rules": "^1.1",
"phpstan/phpstan-phpunit": "^1.4",
"phpunit/phpunit": "^10.1",
"psalm/plugin-phpunit": "^0.18.4 || ^0.19.0",
"symfony/var-dumper": "^6.4 || ^7.1",
"symplify/monorepo-builder": "^11.2.20 || ^11.3",
"vimeo/psalm": "^5.15",
"symfony/http-kernel": "^6.4 || ^7.1",
"psalm/plugin-symfony": "^5.2",
"rector/rector": "^1.2",
"symfony/debug-bundle": "^7.1",
"symfony/framework-bundle": "^6.4 || ^7.1",
"doctrine/doctrine-bundle": "^2.11",
"symfony/http-kernel": "^6.4 || ^7.1",
"symfony/maker-bundle": "^1.60",
"symfony/runtime": "^6.4 || ^7.1",
"symfony/uid": "^7.1",
"zenstruck/foundry": "^2.0",
"symfony/maker-bundle": "^1.60",
"doctrine/doctrine-fixtures-bundle": "^3.6",
"symfony/var-dumper": "^6.4 || ^7.1",
"symfony/yaml": "^6.4 || ^7.1",
"doctrine/persistence": "^3.1",
"bnf/phpstan-psr-container": "^1.0",
"psalm/plugin-symfony": "^5.2",
"symfony/debug-bundle": "^7.1",
"dama/doctrine-test-bundle": "^8.2",
"rector/rector": "^1.2"
"symplify/monorepo-builder": "^11.2.20 || ^11.3",
"vimeo/psalm": "^5.15",
"zenstruck/foundry": "^2.0"
},
"replace": {
"rekalogika/collections-common": "0.11.2",
"rekalogika/collections-contracts": "0.11.2",
"rekalogika/collections-domain": "0.11.2",
"rekalogika/collections-orm": "0.11.2"
},
"autoload": {
"psr-4": {
"Rekalogika\\Collections\\ORM\\": "packages/collections-orm/src/",
"Rekalogika\\Contracts\\Collections\\": "packages/collections-contracts/src/",
"Rekalogika\\Domain\\Collections\\": "packages/collections-domain/src/",
"Rekalogika\\Domain\\Collections\\Common\\": "packages/collections-common/src/"
}
},
"autoload-dev": {
"psr-4": {
"Doctrine\\Tests\\Common\\Collections\\": "tests/doctrine/",
"Rekalogika\\Collections\\Tests\\": "tests/src/"
}
},
"config": {
"allow-plugins": {
"symfony/runtime": true
Expand Down
2 changes: 1 addition & 1 deletion packages/collections-common/composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -35,6 +35,6 @@
"require": {
"php": "^8.2",
"doctrine/collections": "^2.2.2 || ^2.3",
"rekalogika/rekapager-contracts": "^0.15"
"rekalogika/rekapager-contracts": "^0.17"
}
}
2 changes: 1 addition & 1 deletion packages/collections-contracts/composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -35,6 +35,6 @@
"require": {
"php": "^8.2",
"doctrine/collections": "^2.2.2 || ^2.3",
"rekalogika/rekapager-contracts": "^0.15"
"rekalogika/rekapager-contracts": "^0.17"
}
}
6 changes: 3 additions & 3 deletions packages/collections-domain/composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -37,8 +37,8 @@
"doctrine/collections": "^2.2.2 || ^2.3",
"rekalogika/collections-common": "^0.11.2",
"rekalogika/collections-contracts": "^0.11.2",
"rekalogika/rekapager-contracts": "^0.15",
"rekalogika/rekapager-doctrine-collections-adapter": "^0.15",
"rekalogika/rekapager-keyset-pagination": "^0.15"
"rekalogika/rekapager-contracts": "^0.17",
"rekalogika/rekapager-doctrine-collections-adapter": "^0.17",
"rekalogika/rekapager-keyset-pagination": "^0.17"
}
}
6 changes: 3 additions & 3 deletions packages/collections-orm/composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -39,8 +39,8 @@
"rekalogika/collections-common": "^0.11.2",
"rekalogika/collections-contracts": "^0.11.2",
"rekalogika/collections-domain": "^0.11.2",
"rekalogika/rekapager-contracts": "^0.15",
"rekalogika/rekapager-doctrine-orm-adapter": "^0.15",
"rekalogika/rekapager-keyset-pagination": "^0.15"
"rekalogika/rekapager-contracts": "^0.17",
"rekalogika/rekapager-doctrine-orm-adapter": "^0.17",
"rekalogika/rekapager-keyset-pagination": "^0.17"
}
}
3 changes: 3 additions & 0 deletions phpstan.neon.dist
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,9 @@ parameters:
- tests/var/*
- packages/collections-domain/src/Internal/DirectClosureExpressionVisitor.php
ignoreErrors:
-
message: '#Property .* is never assigned .+ so it can be removed from the property type.#'
reportUnmatched: false

includes:
- vendor/phpstan/phpstan-phpunit/extension.neon
Expand Down
3 changes: 3 additions & 0 deletions tests/src/App/DataFixtures/AppFixtures.php
Original file line number Diff line number Diff line change
Expand Up @@ -31,6 +31,7 @@ public function load(ObjectManager $manager): void

// large set

/** @psalm-suppress InvalidArgument */
$countrySy = CountryFactory::createOne([
'name' => 'Syldavia',
'code' => 'SY',
Expand All @@ -53,6 +54,7 @@ public function load(ObjectManager $manager): void

// medium set

/** @psalm-suppress InvalidArgument */
$countrySt = CountryFactory::createOne([
'name' => 'San Theodoros',
'code' => 'ST',
Expand All @@ -75,6 +77,7 @@ public function load(ObjectManager $manager): void

// small set

/** @psalm-suppress InvalidArgument */
$countrySd = CountryFactory::createOne([
'name' => 'Sondonesia',
'code' => 'SD',
Expand Down
1 change: 1 addition & 0 deletions tests/src/App/Factory/CitizenFactory.php
Original file line number Diff line number Diff line change
Expand Up @@ -44,6 +44,7 @@ public static function class(): string
#[\Override]
protected function defaults(): array
{
/** @psalm-suppress TooManyTemplateParams */
return [
'country' => CountryFactory::new(),
'name' => self::faker()->name(),
Expand Down