Repository navigation
Add support template types - #218
Conversation
022ee96 to
006cb2a
Compare
Requires: ReactiveX/RxPHP#218
9c0ae45 to
63ee9a6
Compare
|
|
||
| paths: | ||
| - src/ | ||
| - test/types/ |
There was a problem hiding this comment.
Didn't widen this to include the entire test directory because that would add 1752 errors to solve. This PR alone was already almost 1K.
63ee9a6 to
973a382
Compare
e0d57b2 to
af34b8d
Compare
|
@davidwdan && @mbonneau This covers the basics ( 😅 ) and is ready for review. Is there anything you want me to add in the |
Requires: ReactiveX/RxPHP#218
Requires: ReactiveX/RxPHP#218
|
The first package update was successful based on this branch: |
Requires: ReactiveX/RxPHP#218
71c425e to
02173c9
Compare
Requires: ReactiveX/RxPHP#218
Requires: ReactiveX/RxPHP#218
f61049c to
6dfed01
Compare
65f47f6 to
e54162d
Compare
mbonneau
left a comment
There was a problem hiding this comment.
Thanks for doing all this work.
The only thing I see is the InternalPriorityQueue item. Right now, PriorityQueue.php always loads first, but anything that autoloads InternalPriorityQueue directly (optimized classmap, reflection, PHPStan) will get an error.
Once that is updated, everything else looks good to me.
There was a problem hiding this comment.
It looks like this class was an internal class pulled out of PriorityQueue, but a copy is still left there. We should probably just remove that copy and mark this one internal.
There was a problem hiding this comment.
Removed the old copy 👍
| "react/promise": "^3 || ~2.2" | ||
| }, | ||
| "require-dev": { | ||
| "satooshi/php-coveralls": "~1.0", |
There was a problem hiding this comment.
This dev dependency got removed because attempting to install it yields this error:
our requirements could not be resolved to an installable set of packages.
Problem 1
- Root composer.json requires satooshi/php-coveralls ~1.0 -> satisfiable by satooshi/php-coveralls[v1.0.0, v1.0.1, v1.0.2, v1.1.0].
- satooshi/php-coveralls v1.0.0 requires symfony/yaml ^2.1|^3.0 -> found symfony/yaml[v2.1.0, ..., v2.8.52, v3.0.0, ..., v3.4.47] but these were not loaded, because they are affected by security advisories ("PKSA-v5yj-8nmz-sk2q", "PKSA-ft77-7h5f-p3r6", "PKSA-b14r-zh1d-vdrc", "PKSA-xxgb-wq2d-7gpg"). Go to https://packagist.org/security-advisories/ to find advisory details. To ignore the advisories, add their IDs to the "policy.advisories.ignore-id" config or add the package to "policy.advisories.ignore". To turn the feature off entirely, you can set "policy.advisories.block" to false.
- satooshi/php-coveralls v1.0.1 requires symfony/yaml ^2.0|^3.0 -> found symfony/yaml[2.0.4, ..., v2.8.52, v3.0.0, ..., v3.4.47] but these were not loaded, because they are affected by security advisories ("PKSA-v5yj-8nmz-sk2q", "PKSA-ft77-7h5f-p3r6", "PKSA-b14r-zh1d-vdrc", "PKSA-xxgb-wq2d-7gpg", "PKSA-4y51-dgkc-x4zc"). Go to https://packagist.org/security-advisories/ to find advisory details. To ignore the advisories, add their IDs to the "policy.advisories.ignore-id" config or add the package to "policy.advisories.ignore". To turn the feature off entirely, you can set "policy.advisories.block" to false.
- satooshi/php-coveralls[v1.0.2, ..., v1.1.0] require php ^5.3.3 || ^7.0 -> your php version (8.6.0-dev) does not satisfy that requirement.
There is a v2 but the whole package is marked abadoned and suggests https://packagist.org/packages/php-coveralls/php-coveralls instead. But I can't find any usage in this repository for it except the readme badge. Do you want me to swap it out with the new package or leave it out?
* Add template types, making observables usable as generics * Introduce PHPStan (v2) * Added type tests under `tests/types/` * Run PHPStan at `max` level and put everything not related to the template types into a baseline * Add PHP8.6 to the CI test matrix * Removed unused Coveralls package
e54162d to
c947648
Compare
Np! Addressed that PriorityQueue issue; added one comment about coveralls and pushed my latest changes. |
Requires: ReactiveX/RxPHP#218
Requires: ReactiveX/RxPHP#218
Requires: ReactiveX/RxPHP#218
Depends on #217
tests/types/maxlevel and put everything not related to the template types into a baseline