Skip to content

Conversation

staabm
Copy link

@staabm staabm commented Jan 21, 2022

No description provided.

@private-packagist
Copy link
Contributor

private-packagist bot commented Jan 21, 2022

composer.lock

Package changes

Package Operation From To Changes
composer/composer upgrade 2.3.x-dev cd34886 2.3.x-dev 3ae1111 diff
composer/pcre upgrade 1.0.0 1.0.1 diff
laminas/laminas-stdlib upgrade 3.7.0 3.7.1 diff
pagerfanta/core upgrade v3.5.1 v3.5.2 diff
pagerfanta/doctrine-orm-adapter upgrade v3.5.1 v3.5.2 diff
pagerfanta/twig upgrade v3.5.1 v3.5.2 diff
symfony/flex upgrade v1.18.1 v1.18.3 diff

Dev Package changes

Package Operation From To Changes
doctrine/data-fixtures upgrade 1.5.1 1.5.2 diff
phpstan/phpstan-doctrine upgrade 1.1.1 1.2.7 diff
phpunit/phpunit upgrade 9.5.11 9.5.13 diff
staabm/phpstan-dba upgrade 0.2.2 dev-main 4a95735 diff

Settings · Docs · Powered by Private Packagist

/**
* @param string $name
* @param int $offset
* @param int $limit
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

you could use actual parameter types rather than phpdoc

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Yes please go wild with PHP 8 syntax in this repo 😄

@private-packagist
Copy link
Contributor

The composer.lock diff comment has been updated to reflect new changes in this PR.

@private-packagist
Copy link
Contributor

The composer.lock diff comment has been updated to reflect new changes in this PR.

@@ -469,6 +469,9 @@ public function getDependents(string $name, int $offset = 0, int $limit = 15, st
return $this->getEntityManager()->getConnection()->fetchAllAssociative($sql, $args);
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Interesting failure here, it seems to pick up the conditional d.total usage but not the join declaring it? TBH this is quite messy code and I don't expect perfect handling here, but it should at least ignore it rather than error I guess.

Copy link
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

will investigate in staabm/phpstan-dba#188

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Cool, no rush, glad to provide this repo as playground :) I have another project with hundreds of pure SQL queries I could run the extension on once it matured a bit, but sadly it's private.

* - id (version id, can be null for newly created versions)
* - version (normalized version from the composer package)
* - object (Version instance if it was updated)
* @return array{updated: bool, id: int|null, version: string, object: Version|null}
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Maybe better would be array{updated: true, id: int|null, version: string, object: Version}|array{updated: false, id: int|null, version: string, object: null}. It's a bit messy with duplication but it would fix the error above I hope.

Copy link
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

ok, lets see whether this works

@private-packagist
Copy link
Contributor

The composer.lock diff comment has been updated to reflect new changes in this PR.

@private-packagist
Copy link
Contributor

The composer.lock diff comment has been updated to reflect new changes in this PR.

@private-packagist
Copy link
Contributor

The composer.lock diff comment has been updated to reflect new changes in this PR.

@private-packagist
Copy link
Contributor

The composer.lock diff comment has been updated to reflect new changes in this PR.

@private-packagist
Copy link
Contributor

The composer.lock diff comment has been updated to reflect new changes in this PR.

@private-packagist
Copy link
Contributor

The composer.lock diff comment has been updated to reflect new changes in this PR.

@staabm staabm deleted the patch-1 branch February 1, 2022 11:01
@staabm staabm restored the patch-1 branch May 20, 2022 15:45
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants