Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 3 additions & 0 deletions .github/workflows/docs.yml
Original file line number Diff line number Diff line change
Expand Up @@ -37,6 +37,9 @@ jobs:
coverage: "none"
extensions: ':psr, bcmath, curl, dom, hash, json, mbstring, pdo_sqlite, xml, xmlwriter, xmlreader, zip, zlib'
cache-key-suffix: "-locked"
extra-working-directory: "web/landing"
extra-cache-key-suffix: "-website"
extra-composer-file: "web/landing/composer.lock"

- name: "Build Docs"
run: "just docs"
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/job-mutation-tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,7 @@ jobs:
BASE_REF: ${{ github.base_ref }}
run: |
if [ "$EVENT_NAME" = "pull_request" ]; then
just test-mutation --git-diff-filter=AM --git-diff-base="origin/$BASE_REF" --logger-github=false --log-verbosity=none
just test-mutation --git-diff-filter=AM --git-diff-base="origin/$BASE_REF" --ignore-msi-with-no-mutations --logger-github=false --log-verbosity=none
else
just test-mutation --logger-github=false --log-verbosity=none
fi
4 changes: 3 additions & 1 deletion Justfile
Original file line number Diff line number Diff line change
Expand Up @@ -125,10 +125,12 @@ optimize-images:
docker:
docker buildx build -t flow-php/flow:latest . --progress=plain --load

# Dump DSL and API JSON used by the landing site.
# Dump DSL, API and PHP JSON used by the landing site, and the playground completion built from them.
docs:
bin/docs.php dsl:dump web/landing/resources/dsl.json
bin/docs.php api:dump web/landing/resources/api.json
bin/docs.php php:dump web/landing/resources/php.json
web/landing/bin/console app:generate:code-completion

# Generate phpDocumentor API docs for every package config under phpdoc/.
docs-api:
Expand Down
277 changes: 210 additions & 67 deletions bin/docs.php

Large diffs are not rendered by default.

3 changes: 2 additions & 1 deletion composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -65,8 +65,9 @@
"nyholm/psr7": "^1.8",
"php-http/curl-client": "^2.2",
"php-http/mock-client": "^1.5",
"phpstan/phpstan": "^2.1",
"phpstan/phpstan": "^2.1.34",
"ramsey/uuid": "^4.5",
"roave/better-reflection": "^6.69",
"symfony/cache": "^6.4 || ^7.4 || ^8.0",
"symfony/clock": "^6.4 || ^7.4 || ^8.0",
"symfony/dotenv": "^6.4 || ^7.4 || ^8.0",
Expand Down
115 changes: 114 additions & 1 deletion composer.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

47 changes: 0 additions & 47 deletions monorepo-builder.php
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,6 @@

declare(strict_types=1);

use Symplify\MonorepoBuilder\ComposerJsonManipulator\ValueObject\ComposerJsonSection;
use Symplify\MonorepoBuilder\Config\MBConfig;

return static function (MBConfig $config): void {
Expand All @@ -14,50 +13,4 @@
__DIR__ . '/src/bridge',
__DIR__ . '/src/lib',
]);

$config->dataToAppend([
ComposerJsonSection::SCRIPTS => [
"build" => [
"@static:analyze",
"@test",
"@test:mutation"
],
"test" => [
"tools/phpunit/vendor/bin/phpunit"
],
"test:mutation" => [
"tools/infection/vendor/bin/infection -j2"
],
"static:analyze" => [
"tools/psalm/vendor/bin/psalm.phar --output-format=compact",
"tools/phpstan/vendor/bin/phpstan analyze -c phpstan.neon",
"tools/cs-fixer/vendor/bin/php-cs-fixer fix --dry-run"
],
"cs:php:fix" => [
"tools/cs-fixer/vendor/bin/php-cs-fixer fix"
],
"post-install-cmd" => [
"@tools:install"
],
"post-update-cmd" => [
"@tools:install"
],
"tools:install" => [
"composer install --working-dir=./tools/cs-fixer",
"composer install --working-dir=./tools/infection",
"composer install --working-dir=./tools/monorepo",
"composer install --working-dir=./tools/psalm",
"composer install --working-dir=./tools/phpunit"
]
]
]);

$config->dataToRemove([
ComposerJsonSection::REQUIRE_DEV => [
"phpunit/phpunit" => "*",
"infection/infection" => "*",
"friendsofphp/php-cs-fixer" => "*",
"vimeo/psalm" => "*",
]
]);
};
2 changes: 0 additions & 2 deletions src/adapter/etl-adapter-avro/.gitattributes
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,4 @@
/tools/ export-ignore
/.gitattributes export-ignore
/.gitignore export-ignore
/.php-cs-fixer.php export-ignore
/phpstan.neon export-ignore
/phpunit.xml export-ignore
2 changes: 0 additions & 2 deletions src/adapter/etl-adapter-chartjs/.gitattributes
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,4 @@
/tools/ export-ignore
/.gitattributes export-ignore
/.gitignore export-ignore
/.php-cs-fixer.php export-ignore
/phpstan.neon export-ignore
/phpunit.xml export-ignore
2 changes: 0 additions & 2 deletions src/adapter/etl-adapter-csv/.gitattributes
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,4 @@
/tools/ export-ignore
/.gitattributes export-ignore
/.gitignore export-ignore
/.php-cs-fixer.php export-ignore
/phpstan.neon export-ignore
/phpunit.xml export-ignore
2 changes: 0 additions & 2 deletions src/adapter/etl-adapter-doctrine/.gitattributes
Original file line number Diff line number Diff line change
Expand Up @@ -5,10 +5,8 @@
/tests export-ignore
/tools export-ignore

/.php_cs export-ignore
/composer.lock export-ignore
/infection.json export-ignore
/phpstan.neon export-ignore
/phpunit.xml.dist export-ignore
/README.md export-ignore

Expand Down
2 changes: 0 additions & 2 deletions src/adapter/etl-adapter-excel/.gitattributes
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,4 @@
/tools/ export-ignore
/.gitattributes export-ignore
/.gitignore export-ignore
/.php-cs-fixer.php export-ignore
/phpstan.neon export-ignore
/phpunit.xml export-ignore
2 changes: 0 additions & 2 deletions src/adapter/etl-adapter-google-sheet/.gitattributes
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,4 @@
/tools/ export-ignore
/.gitattributes export-ignore
/.gitignore export-ignore
/.php-cs-fixer.php export-ignore
/phpstan.neon export-ignore
/phpunit.xml export-ignore
2 changes: 0 additions & 2 deletions src/adapter/etl-adapter-http/.gitattributes
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,5 @@
/tools/ export-ignore
/.gitattributes export-ignore
/.gitignore export-ignore
/.php_cs export-ignore
/phpstan.neon export-ignore
/phpunit.xml export-ignore
/infection.json export-ignore
2 changes: 0 additions & 2 deletions src/adapter/etl-adapter-json/.gitattributes
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,5 @@
/tools/ export-ignore
/.gitattributes export-ignore
/.gitignore export-ignore
/.php_cs export-ignore
/phpstan.neon export-ignore
/phpunit.xml export-ignore
/infection.json export-ignore
2 changes: 0 additions & 2 deletions src/adapter/etl-adapter-logger/.gitattributes
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,5 @@
/tools/ export-ignore
/.gitattributes export-ignore
/.gitignore export-ignore
/.php_cs export-ignore
/phpstan.neon export-ignore
/phpunit.xml export-ignore
/infection.json export-ignore
2 changes: 0 additions & 2 deletions src/adapter/etl-adapter-parquet/.gitattributes
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,4 @@
/tools/ export-ignore
/.gitattributes export-ignore
/.gitignore export-ignore
/.php-cs-fixer.php export-ignore
/phpstan.neon export-ignore
/phpunit.xml export-ignore
2 changes: 0 additions & 2 deletions src/adapter/etl-adapter-postgresql/.gitattributes
Original file line number Diff line number Diff line change
Expand Up @@ -5,10 +5,8 @@
/tests export-ignore
/tools export-ignore

/.php_cs export-ignore
/composer.lock export-ignore
/infection.json export-ignore
/phpstan.neon export-ignore
/phpunit.xml.dist export-ignore
/README.md export-ignore

Expand Down
2 changes: 0 additions & 2 deletions src/adapter/etl-adapter-seal/.gitattributes
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,5 @@
/tools/ export-ignore
/.gitattributes export-ignore
/.gitignore export-ignore
/.php_cs export-ignore
/phpstan.neon export-ignore
/phpunit.xml export-ignore
/infection.json export-ignore
2 changes: 0 additions & 2 deletions src/adapter/etl-adapter-text/.gitattributes
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,4 @@
/tools/ export-ignore
/.gitattributes export-ignore
/.gitignore export-ignore
/.php-cs-fixer.php export-ignore
/phpstan.neon export-ignore
/phpunit.xml export-ignore
2 changes: 0 additions & 2 deletions src/adapter/etl-adapter-xml/.gitattributes
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,5 @@
/tools/ export-ignore
/.gitattributes export-ignore
/.gitignore export-ignore
/.php_cs export-ignore
/phpstan.neon export-ignore
/phpunit.xml export-ignore
/infection.json export-ignore
2 changes: 1 addition & 1 deletion src/bridge/phpstan/types/composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@
"flow-php/types": "self.version"
},
"require-dev": {
"phpstan/phpstan": "^2.1"
"phpstan/phpstan": "^2.1.34"
},
"autoload": {
"psr-4": {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -291,7 +291,7 @@ public function withProxy(string $proxy): self
* fast/local backend the pending request completes within the budget (sub-millisecond) and the
* tick returns early; against a slow/remote backend the tick returns once the budget elapses and
* the request stays pending for the next pump. `0` degrades to a single non-blocking
* `curl_multi_exec` round (legacy behaviour) — usually too little to complete a request in one
* `curl_multi_exec` round (legacy behaviour) - usually too little to complete a request in one
* tick.
*
* @param int $milliseconds Bounded pump budget; must be non-negative
Expand Down
2 changes: 1 addition & 1 deletion src/core/etl/src/Flow/ETL/Values/Column/Column.php
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ public function isNull(int $i): bool;
public function nullCount(): int;

/**
* PHYSICAL cell: int|float|bool|string|array|null - never a DateTimeImmutable, Uuid, Json …
* PHYSICAL cell: int|float|bool|string|array|null - never a DateTimeImmutable, Uuid, Json ...
*/
public function at(int $i): mixed;

Expand Down
2 changes: 0 additions & 2 deletions src/lib/array-dot/.gitattributes
Original file line number Diff line number Diff line change
Expand Up @@ -5,10 +5,8 @@
/docs export-ignore
/tests export-ignore

/.php_cs export-ignore
/composer.lock export-ignore
/infection.json export-ignore
/phpstan.neon export-ignore
/phpunit.xml export-ignore
/README.md export-ignore

Expand Down
Loading
Loading