Skip to content

Commit 2e015a9

Browse files
authored
Merge pull request #5 from stellarwp/feature/array-intersect-key-recursive
Add Arr::intersect_key_recursive()
2 parents 3debe7c + cb39418 commit 2e015a9

File tree

10 files changed

+382
-42
lines changed

10 files changed

+382
-42
lines changed

.gitattributes

+18-4
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,20 @@
1+
# Path-based git attributes
2+
# https://mirrors.edge.kernel.org/pub/software/scm/git/docs/gitattributes.html
3+
14
* text
2-
.* export-ignore
35
composer.lock text -diff
4-
phpstan.* export-ignore
5-
phpunit.* export-ignore
6-
tests export-ignore
6+
7+
# Ignore paths when git creates an archive of this package
8+
/.gitattributes export-ignore
9+
/.gitignore export-ignore
10+
/.github export-ignore
11+
/.editorconfig export-ignore
12+
/.env.testing export-ignore
13+
/.env.testing.slic export-ignore
14+
/codeception.dist.yml export-ignore
15+
/codeception.slic.yml export-ignore
16+
/phpstan.neon.dist export-ignore
17+
/README.md export-ignore
18+
/tests export-ignore
19+
/bin export-ignore
20+
/docs export-ignore

.gitignore

+1-3
Original file line numberDiff line numberDiff line change
@@ -11,9 +11,7 @@ bin/*.phar
1111
.project
1212
.idea/
1313
.vscode/
14-
15-
# Third party dependencies
16-
vendor/
14+
.phpdoc/
1715

1816
# Tests
1917
codeception.yml

README.md

+1
Original file line numberDiff line numberDiff line change
@@ -31,6 +31,7 @@ A library for array manipulations.
3131
* [has](/docs/classes/StellarWP/Arrays/Arr.md#has)
3232
* [insert_after_key](/docs/classes/StellarWP/Arrays/Arr.md#insert_after_key)
3333
* [insert_before_key](/docs/classes/StellarWP/Arrays/Arr.md#insert_before_key)
34+
* [intersect_key_recursive](/docs/classes/StellarWP/Arrays/Arr.md#intersect_key_recursive)
3435
* [is_assoc](/docs/classes/StellarWP/Arrays/Arr.md#is_assoc)
3536
* [is_list](/docs/classes/StellarWP/Arrays/Arr.md#is_list)
3637
* [join](/docs/classes/StellarWP/Arrays/Arr.md#join)

composer.json

+2-11
Original file line numberDiff line numberDiff line change
@@ -31,24 +31,15 @@
3131
"illuminate/collections": "^8.0"
3232
},
3333
"require-dev": {
34-
"codeception/module-asserts": "^1.0",
35-
"codeception/module-cli": "^1.0",
36-
"codeception/module-db": "^1.0",
37-
"codeception/module-filesystem": "^1.0",
38-
"codeception/module-phpbrowser": "^1.0",
39-
"codeception/module-rest": "^1.0",
40-
"codeception/module-webdriver": "^1.0",
41-
"codeception/util-universalframework": "^1.0",
42-
"lucatume/wp-browser": "^3.0.14",
43-
"phpunit/phpunit": "~6.0",
34+
"lucatume/wp-browser": "^3.5 || ^4.0",
4435
"szepeviktor/phpstan-wordpress": "^1.1",
4536
"symfony/event-dispatcher-contracts": "^2.5.1",
4637
"symfony/string": "^5.4",
4738
"saggre/phpdocumentor-markdown": "^0.1.3"
4839
},
4940
"scripts": {
5041
"create-docs": [
51-
"test -f ./bin/phpDocumentor.phar || curl -o bin/phpDocumentor.phar -L -C - https://phpdoc.org/phpDocumentor.phar",
42+
"test -f ./bin/phpDocumentor.phar || curl -o bin/phpDocumentor.phar -L -C - https://github.com/phpDocumentor/phpDocumentor/releases/download/v3.3.1/phpDocumentor.phar",
5243
"@php bin/phpDocumentor.phar --directory=src --target=docs --template='vendor/saggre/phpdocumentor-markdown/themes/markdown'"
5344
],
5445
"test:analysis": [

docs/index.md docs/Home.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -23,4 +23,4 @@ This is an automatically generated documentation for **Documentation**.
2323

2424

2525
***
26-
> Automatically generated from source code comments on 2023-08-26 using [phpDocumentor](http://www.phpdoc.org/) and [saggre/phpdocumentor-markdown](https://github.com/Saggre/phpDocumentor-markdown)
26+
> Automatically generated on 2025-01-17

0 commit comments

Comments
 (0)