Ecosyste.ms: OpenCollective

An open API service for software projects hosted on Open Collective.

github.com/voku/phpstan-rules

Provides additional rules for phpstan
https://github.com/voku/phpstan-rules

Merge pull request #36 from voku/renovate/actions-checkout-4.x

Update actions/checkout action to v4

639f08edcc058ecefc9e2e475c7ab9bf27c94c2b authored over 1 year ago by Lars Moelleken <[email protected]>
Update actions/checkout action to v4

8ac4f83f2aa089037fdd377c104f01bb668c6a7a authored over 1 year ago by renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
[*]: update the changelog

9da053090131436b77418da207daf5578a272e7d authored over 1 year ago by Lars Moelleken <[email protected]>
[+]: implemented "do not compare boolean and array"

69320fe108516505e82302d7c9e59a13b1f9b79b authored over 1 year ago by Lars Moelleken <[email protected]>
[*]: update the changelog

f9e27e1a42d2d61a09cc79abe43fd8e77fe9a504 authored almost 2 years ago by Lars Moelleken <[email protected]>
[+]: "IfConditionHelper" -> Do not report possible insane comparison between e.g. 'NULL' and 'NULL'|int|null

INFO: maybe there should be a new check for multi union-type values?

ff1581d83e1790ae339f1680c107c83a890288a9 authored almost 2 years ago by Lars Moelleken <[email protected]>
[*]: test only current version of phpstan for different php versions

7bbbbfa6a13a89ae0ddd6d3e555e0d6e5ead7f34 authored almost 2 years ago by Lars Moelleken <[email protected]>
[+]: fix tests for php7.4

4f8c9859aad2d59c28bed12b9e2cb94bbf64ce9d authored almost 2 years ago by Lars Moelleken <[email protected]>
Merge pull request #33 from voku/renovate/actions-cache-3.x

Update actions/cache action to v3.2.6

79927c16ae73aae843637414beec6039c0d67300 authored almost 2 years ago by Lars Moelleken <[email protected]>
Update actions/cache action to v3.2.6

487761f46092511f285b1abbaf694845dc66b022 authored almost 2 years ago by renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
[*]: update the changelog

640c9d0b31377145fd687bab2c9494c2e7339b8d authored almost 2 years ago by Lars Moelleken <[email protected]>
[+]: allow Yoda conditios for more cases

3a80e4060381888559c1a786627e81027fa75451 authored almost 2 years ago by Lars Moelleken <[email protected]>
[*]: update the changelog

5ceade0cf8ed90755dd103b0545b1594c32fd3c0 authored almost 2 years ago by Lars Moelleken <[email protected]>
[+]: allow Yoda conditios for concat

aa128d7a4a09a542aa890d610b35d8714a034c75 authored almost 2 years ago by Lars Moelleken <[email protected]>
[*]: update the changelog

8c37ce45c2ed5a1115760aecbfa05eb62b5d4aed authored almost 2 years ago by Lars Moelleken <[email protected]>
[+]: allow "Yoda"-conditions for "Ternary"-conditions :P

37e90c8257f4a1f515676f414f7af8d6312360d5 authored almost 2 years ago by Lars Moelleken <[email protected]>
Merge branch 'master' of ssh://github.com/voku/phpstan-rules

* 'master' of ssh://github.com/voku/phpstan-rules:
Update actions/cache action to v3.2.3
Upd...

8ea26ddb059bdd50096d67410284c1406489be7a authored almost 2 years ago by Lars Moelleken <[email protected]>
[*]: update the changelog

550e052bf99d25e418c13d8e9285914ee74982e4 authored almost 2 years ago by Lars Moelleken <[email protected]>
[+]: "rules.neon" -> add missing config

-> unit tests passed, but config was missing :P

18618097c9c8f473a7113ab9e99943abe1347a00 authored almost 2 years ago by Lars Moelleken <[email protected]>
Merge pull request #30 from voku/renovate/shivammathur-setup-php-2.x

Update shivammathur/setup-php action to v2.23.0

8204fea2e5fea7c8c6ce32dd70f2cb71bbec4f7b authored almost 2 years ago by Lars Moelleken <[email protected]>
Merge pull request #31 from voku/renovate/actions-cache-3.x

Update actions/cache action to v3.2.3

b6c13fdc7b6dbdfdfb216686471fe0b2cd887590 authored almost 2 years ago by Lars Moelleken <[email protected]>
[+]: update the changelog

92f463181a2c8bbd13a091eb34726d2aa4468861 authored almost 2 years ago by Lars Moelleken <[email protected]>
[+]: "rules.neon" -> fix typo only

7e5865f8781ae05f5e8aa979f4ae11ff0552e36b authored almost 2 years ago by Lars Moelleken <[email protected]>
[+]: update the changelog

6e41316cfbf97aab47a8a2796f0b092844f2fea6 authored almost 2 years ago by Lars Moelleken <[email protected]>
[+]: check "assignments" and "Yoda conditions"

-> code is mostly copied from "https://github.com/odan/phpstan-rules/" but modified for e.g. "el...

076ce2b1e24a1ffe43fa54a68ccd564b61be6331 authored almost 2 years ago by Lars Moelleken <[email protected]>
Update actions/cache action to v3.2.3

6ad2c427afe667713dbfd37589ddb75fa0f49959 authored almost 2 years ago by renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Update shivammathur/setup-php action to v2.23.0

cc4e45517ba4560292dd798fa2f7cd47514fb3f2 authored almost 2 years ago by renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
[*]: update the changelog

9ff3e372c351d8982d035369a7d8b3422c80b065 authored about 2 years ago by Lars Moelleken <[email protected]>
[+]: fixes for phpstan 1.9.x v2

ccccbddbc8bcf48144293045f8987bebce96e0cb authored about 2 years ago by Lars Moelleken <[email protected]>
Merge branch 'master' of ssh://github.com/voku/phpstan-rules

* 'master' of ssh://github.com/voku/phpstan-rules:
Update actions/cache action to v3.0.11
Up...

bef919216d6e1b9e164d90900a3699558aad7c75 authored about 2 years ago by Lars Moelleken <[email protected]>
[*]: update the changelog

330971874bac2f6137b7d3271f671b7d19d0cae7 authored about 2 years ago by Lars Moelleken <[email protected]>
[+]: fixes for phpstan 1.9.x

12e1e9063a450f5b82b4bc8a00b532bbbd08e6a4 authored about 2 years ago by Lars Moelleken <[email protected]>
Merge pull request #29 from voku/renovate/actions-cache-3.x

Update actions/cache action to v3.0.11

e5d9ec13ff66292e654c6d5d319d19d971b00fb3 authored about 2 years ago by Lars Moelleken <[email protected]>
Update actions/cache action to v3.0.11

f6e13115e89cd98eb865ed56b7aa554b3627f9a9 authored about 2 years ago by renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Merge pull request #28 from voku/renovate/actions-cache-3.x

Update actions/cache action to v3.0.10

a7bedb439f22cf88e0c46c7803d4cce97e3d1960 authored about 2 years ago by Lars Moelleken <[email protected]>
Update actions/cache action to v3.0.10

1722d568bc043a1f1cc1f7060534b9544fab4a7b authored about 2 years ago by renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
[*]: update the changelog

128661dbd2cd01d0f6f8dc1b8a77bc9e8d85ac7a authored over 2 years ago by Lars Moelleken <[email protected]>
[+]: try to fix issue #26 v2

0103cdc47d0297b22d4adeaccb4af6dd1192493f authored over 2 years ago by Lars Moelleken <[email protected]>
[*]: update the changelog

367454e0db6bf81c41545d8b6eb42b987b5e3c2e authored over 2 years ago by Lars Moelleken <[email protected]>
[+]: try to fix issue #26

-> "Do not compare objects directly" -> but allow compare with interfaces

64177e021400386650e02670f6e76f0ee08f20b9 authored over 2 years ago by Lars Moelleken <[email protected]>
[*]: update the changelog

921f6381c78d65dfed12c69e1301eeadda1b089a authored over 2 years ago by Lars Moelleken <[email protected]>
[+]: fix for "double negative integer conditions"

02cce4be27f7836de4d07c7b5683e5b35bc18714 authored over 2 years ago by Lars Moelleken <[email protected]>
[*]: update the changelog

dd0d18ea458f72703672ccb9120652171af9339b authored over 2 years ago by Lars Moelleken <[email protected]>
[+]: check array vs. non-array usage (fix for "non-empty-array") v2.1

e.g. Plus: array (array<Kunde>) in combination with non-array (non-empty-array<int<0, 4294967295...

ad6ef532827a1ad83a9f6df76d6c8f68cd35196c authored over 2 years ago by Lars Moelleken <[email protected]>
[+]: check array vs. non-array usage (fix for "non-empty-array") v2

e.g. Plus: array (array<Kunde>) in combination with non-array (non-empty-array<int<0, 4294967295...

9886fd82e2859ad759240514a0c3fa3ca3a6ce97 authored over 2 years ago by Lars Moelleken <[email protected]>
[+]: check array vs. non-array usage (fix for "non-empty-array")

64d67fe833665ff358179216034335872a98be7c authored over 2 years ago by Lars Moelleken <[email protected]>
[+]: check array vs. non-array usage

e38c43b5aa8326a964a02edd1ecdc25649fa9fad authored over 2 years ago by Lars Moelleken <[email protected]>
[*]: update the readme

07c257e1c0ffdaa7df6765a9ee507924880c4a06 authored over 2 years ago by Lars Moelleken <[email protected]>
Merge branch 'master' of ssh://github.com/voku/phpstan-rules

* 'master' of ssh://github.com/voku/phpstan-rules:
Update actions/cache action to v3.0.8
Upd...

b2c11e7e44df1961ebcb4900fe1830a13887dff7 authored over 2 years ago by Lars Moelleken <[email protected]>
[+]: add new error message: "Do not cast objects magically, please use `__toString` here ..."

ref: issue #16

-> now we have a new error message, whenever there is a "__toString" method in use

485a5715b15e351e3815d223e942db1818f5f2db authored over 2 years ago by Lars Moelleken <[email protected]>
Merge pull request #24 from voku/renovate/actions-cache-3.x

Update actions/cache action to v3.0.8

5a587da0f48f1e38128219b9f196f11edbbd203c authored over 2 years ago by Lars Moelleken <[email protected]>
Merge pull request #25 from voku/renovate/shivammathur-setup-php-2.x

Update shivammathur/setup-php action to v2.21.2

792468d84b548239d77227c72cc69bb599d161b9 authored over 2 years ago by Lars Moelleken <[email protected]>
[+]: "WrongCastRule" -> added

1e3924d37b3bb5230d082ffb2d61c026cf5149f4 authored over 2 years ago by Lars Moelleken <[email protected]>
Update actions/cache action to v3.0.8

de1ea88979941272f13fa4923fe917df0c89aedf authored over 2 years ago by renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Update shivammathur/setup-php action to v2.21.2

4779bb2577a2e782a021e07f6cc3066f19769f2e authored over 2 years ago by renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Merge branch 'master' of ssh://github.com/voku/phpstan-rules

* 'master' of ssh://github.com/voku/phpstan-rules:
Update shivammathur/setup-php action to v2....

0da03170abdbade8441e830a1238ed7e3fefc9f4 authored over 2 years ago by Lars Moelleken <[email protected]>
[+]: fix config only

abfa3921a7a615943393da6c04ed63c55cc188c1 authored over 2 years ago by Lars Moelleken <[email protected]>
[+]: add "ExtendedBinaryOpRule"

-> This rule will check "+", "*", "/", "-", ... (operators) and "." (concatenation) for compatib...

150b6c6dd51bfec890b7193d61eece3d4fae755a authored over 2 years ago by Lars Moelleken <[email protected]>
Merge pull request #23 from voku/renovate/shivammathur-setup-php-2.x

Update shivammathur/setup-php action to v2.21.1

1c70d7248657bf85e90104d19058b8bbfc66a4b3 authored over 2 years ago by Lars Moelleken <[email protected]>
Update shivammathur/setup-php action to v2.21.1

38b0bd7338ec0d9c837a86b016d706764b334287 authored over 2 years ago by renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Update README.md

cd29b21243b69841d3e6ae904569808388169bda authored over 2 years ago by Lars Moelleken <[email protected]>
Update README.md

59018d9acb669d43c85b7bf3a630d0482ca3fbba authored over 2 years ago by Lars Moelleken <[email protected]>
Update README.md

bf1bb268f1389acfbba0689fdbdddc2547381848 authored over 2 years ago by Lars Moelleken <[email protected]>
Merge pull request #21 from voku/renovate/shivammathur-setup-php-2.x

Update shivammathur/setup-php action to v2.21.0

1375001ce3668959a9a2605225a76e4d08de7f3f authored over 2 years ago by Lars Moelleken <[email protected]>
Merge branch 'master' of ssh://github.com/voku/phpstan-rules

* 'master' of ssh://github.com/voku/phpstan-rules:
Update README.md

5561f36bd7cf6fa465da87e44c53f9f67669d61d authored over 2 years ago by Lars Moelleken <[email protected]>
[~]: testing only

ba282e297e0b3e29e4e3d53f96f7fa326ef18d2f authored over 2 years ago by Lars Moelleken <[email protected]>
Update README.md

4168f80205157547f7035fce0c0cb6807657255f authored over 2 years ago by Lars Moelleken <[email protected]>
[*]: update the changelog

ba0ef6dddedbe3b9eb443c53b775f6c990e2456d authored over 2 years ago by Lars Moelleken <[email protected]>
[!]: check more comparisons

- also for non-typical "if"-conditions e.g. `foo($a && $b)

632ed0456581f49ba1e77c7599d7afc659ca0eff authored over 2 years ago by Lars Moelleken <[email protected]>
[*]: update the changelog

ef6a58c3b4a77ac1a5ed57452876765d6556fa0d authored over 2 years ago by Lars Moelleken <[email protected]>
[+]: add checks for possible insane comparisons

-> ref: https://github.com/phpstan/phpstan-src/pull/423

7072df29235e57b3f419855fec92d6671bf3c954 authored over 2 years ago by Lars Moelleken <[email protected]>
[+]: add check for PHP 8 (https://3v4l.org/lBFHI) v2

78ccd873505164bf76795a7d170d2faafc297ffb authored over 2 years ago by Lars Moelleken <[email protected]>
[+]: add check for PHP 8 (https://3v4l.org/lBFHI)

779992ca1bd1e6e761ea0b130b9a0cf961fd3518 authored over 2 years ago by Lars Moelleken <[email protected]>
Update shivammathur/setup-php action to v2.21.0

8bc82268e707bfab6d74f0320c0ecee9ff42eff2 authored over 2 years ago by renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
[*]: update the changelog

2adeeb27dd6bd694cb231428e58d9b66c0a71662 authored over 2 years ago by Lars Moelleken <[email protected]>
[+]: add some simple array rules, fix for !$array

f632a2ed1be9af142b3141085a35a46aea035ff6 authored over 2 years ago by Lars Moelleken <[email protected]>
[+]: add some simple array rules v3

- use "count()" instead of something like `elseif (!$a)`

1124329acd84a58d25dea94efdec114f207732b6 authored over 2 years ago by Lars Moelleken <[email protected]>
Merge branch 'master' of ssh://github.com/voku/phpstan-rules

* 'master' of ssh://github.com/voku/phpstan-rules:
Update actions/cache action to v3.0.5

a7ab65e36943fcc30dc68fcf54aa2279a0d34fd9 authored over 2 years ago by Lars Moelleken <[email protected]>
[+]: add some simple array rules v2

- use "count()" instead of something like `if (!$a)`

b67a3b93b6acb3880e2da647d89376740beadd5e authored over 2 years ago by Lars Moelleken <[email protected]>
Merge pull request #22 from voku/renovate/actions-cache-3.x

Update actions/cache action to v3.0.5

af733c991d5555b3aa9d94b9b5b0a24a0272fb83 authored over 2 years ago by Lars Moelleken <[email protected]>
Update actions/cache action to v3.0.5

aaa310a0ce51d42505a0874bb2270c182f120193 authored over 2 years ago by renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Merge branch 'master' of ssh://github.com/voku/phpstan-rules

* 'master' of ssh://github.com/voku/phpstan-rules:
Update actions/cache action to v3.0.4
Upd...

e609e33931d2914673062ded8d30642485e655b1 authored over 2 years ago by Lars Moelleken <[email protected]>
[*]: update the changelog

3d63ef0e55b2077ba4c35b22931239957038e739 authored over 2 years ago by Lars Moelleken <[email protected]>
[+]: add some simple array rules

- use "count()" instead of something like `if ($a)`
- check non-empty array is never empty

a46d6f4de736e5e9605b9976296a28b9264190d4 authored over 2 years ago by Lars Moelleken <[email protected]>
Merge pull request #20 from voku/renovate/actions-cache-3.x

Update actions/cache action to v3.0.4

0f10d884f62d7be4b81ef122871f0346170f45ba authored over 2 years ago by Lars Moelleken <[email protected]>
Merge pull request #19 from voku/renovate/shivammathur-setup-php-2.x

Update shivammathur/setup-php action to v2.19.1

751e1b2932cdb2235439cc1dc9fe1aa1c72d7507 authored over 2 years ago by Lars Moelleken <[email protected]>
Update actions/cache action to v3.0.4

6b82127840f368928a42b775903b6561aaca66b7 authored over 2 years ago by Renovate Bot <[email protected]>
Update shivammathur/setup-php action to v2.19.1

e9ca60c16b8b232715a1a49544e2166f8132fcbd authored over 2 years ago by Renovate Bot <[email protected]>
Merge pull request #14 from voku/renovate/actions-checkout-3.x

Update actions/checkout action to v3

af1871dcd639b354531a6fdb8a623e6989f69767 authored over 2 years ago by Lars Moelleken <[email protected]>
Merge pull request #15 from voku/renovate/codecov-codecov-action-3.x

Update codecov/codecov-action action to v3

a95edb63890d716bb7f60dc9f03447bd737cdcea authored over 2 years ago by Lars Moelleken <[email protected]>
Merge pull request #13 from voku/renovate/actions-cache-3.x

Update actions/cache action to v3

697120382b1404af7869173829261f1dda01ed62 authored over 2 years ago by Lars Moelleken <[email protected]>
Update codecov/codecov-action action to v3

78a3a5e3693b175f1e2e518b1b4fe089b4f120f7 authored over 2 years ago by Renovate Bot <[email protected]>
Update actions/checkout action to v3

752b8d017f67d4ce8216e26e86bcbeba1535fff0 authored over 2 years ago by Renovate Bot <[email protected]>
Update actions/cache action to v3

65a9d5a5f47945fbba0ff2920dedaf5c4a4ab354 authored over 2 years ago by Renovate Bot <[email protected]>
Merge pull request #11 from voku/renovate/shivammathur-setup-php-2.x

Update shivammathur/setup-php action to v2.18.1

b4cf858b135125f7ecdf71ed9afabd6a2e3da64a authored over 2 years ago by Lars Moelleken <[email protected]>
[*]: update "renovate"-settings

280dcb435b207e64f78038e02214e02360a5580c authored over 2 years ago by Lars Moelleken <[email protected]>
Update shivammathur/setup-php action to v2.18.1

077c43308707715ff85fe31454147eff6321aad2 authored over 2 years ago by Renovate Bot <[email protected]>
Merge pull request #4 from voku/renovate/configure

Configure Renovate

8859eb07828cd9ee1c64b04ad2446ea2dcb443f1 authored over 2 years ago by Lars Moelleken <[email protected]>
[*]: update the changelog

00c39ce36866419ba6c71719082844c58a553270 authored over 2 years ago by Lars Moelleken <[email protected]>
[+]: fix false-positive errors

-> restore some code for "Boolean"-conditions
-> "Do not compare objects directly": ignore objec...

7e348feb444d6c833393b8190ab0647978fd7bf9 authored over 2 years ago by Lars Moelleken <[email protected]>