orklah
4895e61d6b
[Math] don't perform operations on possible numeric-string ( #220 )
2021-07-24 11:23:08 +01:00
Claas Augner
46391a446c
[Regex] fix replace_with() signature ( #219 )
...
* [Regex] Change replace_with $callback to accept string[]
The $matches array that is passed to `preg_replace_callback()`'s $callback
can have string keys when the pattern uses named capture groups.
See: https://github.com/vimeo/psalm/pull/5608
2021-07-10 21:20:14 +01:00
azjezz
6f5c992f40
[Iter] don't shuffle values
...
Signed-off-by: azjezz <azjezz@protonmail.com>
2021-07-10 03:20:03 +01:00
azjezz
0d1d182576
[RandomSequence] Introduce random sequence component
...
Signed-off-by: azjezz <azjezz@protonmail.com>
2021-07-10 03:16:29 +01:00
Toon Verwerft
87e0a73c00
[Fun] add lazy() for doing lazy evaluations ( #215 )
...
Co-authored-by: Saif Eddin Gmati <29315886+azjezz@users.noreply.github.com>
2021-07-10 03:09:46 +01:00
azjezz
4bef07dd32
stop testing on windows
...
Signed-off-by: azjezz <azjezz@protonmail.com>
2021-07-10 03:01:37 +01:00
azjezz
3d6930b126
update documentation
...
Signed-off-by: azjezz <azjezz@protonmail.com>
2021-07-10 02:48:45 +01:00
azjezz
aacfcf691a
[Str][Byte] remove unnecessary @var annotation
...
Signed-off-by: azjezz <azjezz@protonmail.com>
2021-07-10 02:46:53 +01:00
azjezz
6e67f03366
chore: update make file
...
Signed-off-by: azjezz <azjezz@protonmail.com>
2021-07-10 02:46:28 +01:00
azjezz
2d0b3c537a
Introduce Ref class
...
Signed-off-by: azjezz <azjezz@protonmail.com>
2021-07-10 02:46:15 +01:00
Harm van Tilborg
b4ea14824e
[Vec] fix example of reproduce() ( #218 )
2021-07-09 17:55:31 +01:00
Bruce Weirdan
051cae99d9
Suggest Psalm plugin ( #217 )
2021-07-04 22:05:09 +01:00
Saif Eddin Gmati
9aef574325
add FUNDING.yml ( #209 )
2021-06-14 10:24:46 +01:00
Václav Vaník
3d9bb5bb7e
Filesystem - add argument values into InvariantViolationException message ( #205 )
2021-06-03 17:15:03 +01:00
Nat Zimmermann
ef5457f464
[Type] correct dict string ( #203 )
2021-05-29 22:07:14 +01:00
Nat Zimmermann
0fceb1407e
[Type] add non_empty_dict ( #201 )
2021-05-29 22:06:41 +01:00
Nat Zimmermann
0a3919fffd
[Type] add non_empty_vec ( #200 )
2021-05-29 22:03:08 +01:00
Nat Zimmermann
f648becd5a
[Type] correct vec string
2021-05-29 21:56:37 +01:00
Saif Eddin Gmati
b4669e5f4a
Merge pull request #199 from azjezz/dependabot/github_actions/actions/cache-2.1.6
...
[ga]: Bump actions/cache from 2.1.5 to 2.1.6
2021-05-28 18:44:08 +01:00
dependabot[bot]
6485300e73
[ga]: Bump actions/cache from 2.1.5 to 2.1.6
...
Bumps [actions/cache](https://github.com/actions/cache ) from 2.1.5 to 2.1.6.
- [Release notes](https://github.com/actions/cache/releases )
- [Commits](https://github.com/actions/cache/compare/v2.1.5...v2.1.6 )
Signed-off-by: dependabot[bot] <support@github.com>
2021-05-28 06:14:32 +00:00
azjezz
dcee017320
Merge branch '1.7.x' into 1.8.x
...
Signed-off-by: azjezz <azjezz@protonmail.com>
2021-05-24 21:36:48 +01:00
Dragos Protung
0a2149e427
fixed mismatching psalm assert variables ( #197 )
2021-05-24 21:30:20 +01:00
Saif Eddin Gmati
ec6c1699f5
add cii badge
2021-05-23 19:09:30 +01:00
azjezz
edf5ba8c9b
Merge branch '1.6.x' into 1.7.x
2021-05-19 12:55:09 +01:00
Saif Eddin Gmati
60683bf0f7
fix strict type ignored when mapping or filtering arrays ( #196 )
2021-05-19 12:49:49 +01:00
azjezz
1e1831efb3
[Type] remove redundant scalar type assertation.
2021-05-15 20:35:11 +01:00
Saif Eddin Gmati
62632502a7
Improve functions signature using union types and mixed ( #191 )
2021-05-15 19:47:10 +01:00
azjezz
cdadc62674
Introduce Class, Trait, and Interface components
2021-05-14 18:03:29 +01:00
azjezz
bff689c862
require php 8.0
2021-05-14 18:03:29 +01:00
Zaur
336653fabb
[Type] add support for variadic intersection types ( #185 )
2021-04-28 21:46:54 +01:00
Zaur
e187467a83
[Type] add support for variadic union types ( #184 )
2021-04-27 20:12:02 +01:00
dependabot[bot]
2f0601cf1c
[ga]: Bump actions/cache from v2.1.4 to v2.1.5 ( #181 )
...
Bumps [actions/cache](https://github.com/actions/cache ) from v2.1.4 to v2.1.5.
- [Release notes](https://github.com/actions/cache/releases )
- [Commits](https://github.com/actions/cache/compare/v2.1.4...1a9e2138d905efd099035b49d8b7a3888c653ca8 )
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2021-04-13 09:10:28 +01:00
Saif Eddin Gmati
53f657273b
add static analysis tests ( #180 )
2021-04-11 17:12:01 +01:00
Toon Verwerft
5a7fde29a5
[Regex] add first_match() and every_match() functions ( #151 )
2021-04-09 20:24:01 +01:00
Toon Verwerft
0753087409
add getting started to contributing.md ( #179 )
2021-04-09 13:15:21 +01:00
Michael Petri
963a0bb6fd
[Type] add positive-int type ( #177 )
2021-04-07 09:13:18 +01:00
Saif Eddin Gmati
eee8390be7
remove usage of closure generics. ( #176 )
2021-03-29 07:54:16 +01:00
Saif Eddin Gmati
590e9d5363
fix basepath for php-codesniffer
2021-03-28 10:36:35 +01:00
dependabot[bot]
5cea47b1f1
[ga]: Bump actions/cache from v2 to v2.1.4
...
Bumps [actions/cache](https://github.com/actions/cache ) from v2 to v2.1.4.
- [Release notes](https://github.com/actions/cache/releases )
- [Commits](https://github.com/actions/cache/compare/v2...26968a09c0ea4f3e233fdddbafd1166051a095f6 )
Signed-off-by: dependabot[bot] <support@github.com>
2021-03-28 09:44:39 +01:00
azjezz
51f8ee2e49
add contributors guidlines
2021-03-28 09:29:08 +01:00
azjezz
aa7b5779b3
move tools to a sub directory
2021-03-28 09:29:08 +01:00
Saif Eddin Gmati
28eb34e788
recommand using the psalm-plugin package over builtin integration ( #170 )
2021-03-27 20:10:18 +01:00
Saif Eddin Gmati
a521ed909b
[Dict/Vec] optimize functions by using builtin array functions when possible ( #169 )
2021-03-26 09:14:11 +01:00
pencil-dog
dcb13b9586
[Dict] add unique_scalar() function to avoid performance penalty hit when using Dict\unique() on large scalar arrays ( #168 )
...
Co-authored-by: yivi <ivan@yivoff.com>
2021-03-25 11:36:08 +01:00
Anatoly Pashin
903aab0360
replace @use
annotation by @see
( #155 )
2021-03-25 08:23:52 +01:00
Nat Zimmermann
9b1a24ebfb
use non-empty-string annoation ( #162 )
2021-03-24 13:35:04 +01:00
Saif Eddin Gmati
887324a0c3
remove unused function call suppression ( #165 )
...
* remove unused function call suppression
* run static analysis every 3 hours ( with latest psalm version )
2021-03-24 09:23:04 +01:00
Saif Eddin Gmati
2f65c9f878
fix psalm issues ( #163 )
2021-03-23 22:58:56 +01:00
Nat Zimmermann
5482786dac
[Str][Byte] simplify reverse implementation ( #160 )
2021-03-21 02:22:54 +01:00
Nat Zimmermann
3830bc0d26
[Str] improve metaphone error handling ( #159 )
2021-03-20 20:24:24 +01:00