From e7ab312d84b29543253a75688cacb7dd302d915b Mon Sep 17 00:00:00 2001 From: lubiana Date: Mon, 16 Oct 2023 18:43:01 +0200 Subject: [PATCH 01/62] 1: add forge push action file --- .forgejo/workflows/push.yml | 8 ++++++++ 1 file changed, 8 insertions(+) create mode 100644 .forgejo/workflows/push.yml diff --git a/.forgejo/workflows/push.yml b/.forgejo/workflows/push.yml new file mode 100644 index 0000000..6b60fe6 --- /dev/null +++ b/.forgejo/workflows/push.yml @@ -0,0 +1,8 @@ +on: [push] +jobs: + ls: + runs-on: docker + steps: + - uses: actions/checkout@v3 + - run: | + ls ${{ github.workspace }} From bb77a21fb82f87f77cf5954d66ebae93d0bae12c Mon Sep 17 00:00:00 2001 From: lubiana Date: Mon, 16 Oct 2023 19:03:17 +0200 Subject: [PATCH 02/62] test --- .forgejo/workflows/push.yml | 10 +++++++--- 1 file changed, 7 insertions(+), 3 deletions(-) diff --git a/.forgejo/workflows/push.yml b/.forgejo/workflows/push.yml index 6b60fe6..e4693ac 100644 --- a/.forgejo/workflows/push.yml +++ b/.forgejo/workflows/push.yml @@ -1,8 +1,12 @@ on: [push] jobs: - ls: + checkout: runs-on: docker steps: - uses: actions/checkout@v3 - - run: | - ls ${{ github.workspace }} + composer: + runs-on: docker + container: + image: git.php.fail/lubiana/container/php:82 + steps: + - run: composer install From d98ff5b3633ad364977f51cc4d3bac714122eaa6 Mon Sep 17 00:00:00 2001 From: lubiana Date: Mon, 16 Oct 2023 19:04:40 +0200 Subject: [PATCH 03/62] test --- .forgejo/workflows/push.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.forgejo/workflows/push.yml b/.forgejo/workflows/push.yml index e4693ac..40db15b 100644 --- a/.forgejo/workflows/push.yml +++ b/.forgejo/workflows/push.yml @@ -7,6 +7,6 @@ jobs: composer: runs-on: docker container: - image: git.php.fail/lubiana/container/php:82 + image: git.php.fail/lubiana/container/php:8.2 steps: - run: composer install From d03ecc5b9331f7b788f20d8333475a8b0f282c71 Mon Sep 17 00:00:00 2001 From: lubiana Date: Mon, 16 Oct 2023 19:05:29 +0200 Subject: [PATCH 04/62] test --- .forgejo/workflows/push.yml | 1 + 1 file changed, 1 insertion(+) diff --git a/.forgejo/workflows/push.yml b/.forgejo/workflows/push.yml index 40db15b..7c0eaaa 100644 --- a/.forgejo/workflows/push.yml +++ b/.forgejo/workflows/push.yml @@ -5,6 +5,7 @@ jobs: steps: - uses: actions/checkout@v3 composer: + needs: checkout runs-on: docker container: image: git.php.fail/lubiana/container/php:8.2 From 63dc61769d7f0715f720020740c0a8ef5f46b0f9 Mon Sep 17 00:00:00 2001 From: lubiana Date: Mon, 16 Oct 2023 19:08:34 +0200 Subject: [PATCH 05/62] test --- .forgejo/workflows/push.yml | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) diff --git a/.forgejo/workflows/push.yml b/.forgejo/workflows/push.yml index 7c0eaaa..e957546 100644 --- a/.forgejo/workflows/push.yml +++ b/.forgejo/workflows/push.yml @@ -1,13 +1,9 @@ on: [push] jobs: - checkout: - runs-on: docker - steps: - - uses: actions/checkout@v3 composer: - needs: checkout runs-on: docker container: image: git.php.fail/lubiana/container/php:8.2 steps: + - uses: actions/checkout@v3 - run: composer install From fcaf69c2ad35c05368c8b6bc0d199d643ab06082 Mon Sep 17 00:00:00 2001 From: lubiana Date: Mon, 16 Oct 2023 19:15:01 +0200 Subject: [PATCH 06/62] test --- .forgejo/workflows/push.yml | 24 ++++++++++++++++++------ 1 file changed, 18 insertions(+), 6 deletions(-) diff --git a/.forgejo/workflows/push.yml b/.forgejo/workflows/push.yml index e957546..043c1a4 100644 --- a/.forgejo/workflows/push.yml +++ b/.forgejo/workflows/push.yml @@ -1,9 +1,21 @@ on: [push] jobs: - composer: - runs-on: docker - container: - image: git.php.fail/lubiana/container/php:8.2 + build: + runs-on: ubuntu-latest + steps: - - uses: actions/checkout@v3 - - run: composer install + - name: Checkout code + uses: actions/checkout@v3 + + - name: Setup PHP + uses: shivammathur/setup-php@v2 + with: + php-version: '8.2' + extensions: mbstring, intl, pdo_sqlite + coverage: xdebug + + - name: Validate composer.json and composer.lock + run: composer validate + + - name: Install dependencies + run: composer install --prefer-dist --no-progress From 2679849cc471ea0529db76093976273ad64cb37b Mon Sep 17 00:00:00 2001 From: lubiana Date: Mon, 16 Oct 2023 19:16:13 +0200 Subject: [PATCH 07/62] test --- .forgejo/workflows/push.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.forgejo/workflows/push.yml b/.forgejo/workflows/push.yml index 043c1a4..f525b77 100644 --- a/.forgejo/workflows/push.yml +++ b/.forgejo/workflows/push.yml @@ -8,7 +8,7 @@ jobs: uses: actions/checkout@v3 - name: Setup PHP - uses: shivammathur/setup-php@v2 + uses: github.com/shivammathur/setup-php@v2 with: php-version: '8.2' extensions: mbstring, intl, pdo_sqlite From c86dad5c6ca9da7c41bc956f5fd86fb75e52460b Mon Sep 17 00:00:00 2001 From: lubiana Date: Mon, 16 Oct 2023 19:17:32 +0200 Subject: [PATCH 08/62] test --- .forgejo/workflows/push.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.forgejo/workflows/push.yml b/.forgejo/workflows/push.yml index f525b77..54212a4 100644 --- a/.forgejo/workflows/push.yml +++ b/.forgejo/workflows/push.yml @@ -8,7 +8,7 @@ jobs: uses: actions/checkout@v3 - name: Setup PHP - uses: github.com/shivammathur/setup-php@v2 + uses: https://github.com/shivammathur/setup-php@v2 with: php-version: '8.2' extensions: mbstring, intl, pdo_sqlite From 1e97d89a5a56dc7af4dfe117d5c86881772a13b9 Mon Sep 17 00:00:00 2001 From: lubiana Date: Mon, 16 Oct 2023 19:18:51 +0200 Subject: [PATCH 09/62] test --- .forgejo/workflows/push.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.forgejo/workflows/push.yml b/.forgejo/workflows/push.yml index 54212a4..ecd0e00 100644 --- a/.forgejo/workflows/push.yml +++ b/.forgejo/workflows/push.yml @@ -5,7 +5,7 @@ jobs: steps: - name: Checkout code - uses: actions/checkout@v3 + uses: actions/checkout@v4 - name: Setup PHP uses: https://github.com/shivammathur/setup-php@v2 From 0687c75d0ad929611c2e4a101930c4de50d74e8c Mon Sep 17 00:00:00 2001 From: lubiana Date: Mon, 16 Oct 2023 19:35:29 +0200 Subject: [PATCH 10/62] test --- .forgejo/workflows/push.yml | 22 ++++------------------ 1 file changed, 4 insertions(+), 18 deletions(-) diff --git a/.forgejo/workflows/push.yml b/.forgejo/workflows/push.yml index ecd0e00..6739d89 100644 --- a/.forgejo/workflows/push.yml +++ b/.forgejo/workflows/push.yml @@ -1,21 +1,7 @@ on: [push] jobs: - build: - runs-on: ubuntu-latest - + ls: + runs-on: docker steps: - - name: Checkout code - uses: actions/checkout@v4 - - - name: Setup PHP - uses: https://github.com/shivammathur/setup-php@v2 - with: - php-version: '8.2' - extensions: mbstring, intl, pdo_sqlite - coverage: xdebug - - - name: Validate composer.json and composer.lock - run: composer validate - - - name: Install dependencies - run: composer install --prefer-dist --no-progress + - uses: actions/checkout@v3 + - run: env From f21b18d8ac57a306174c7fcebee8ecbde2b049d5 Mon Sep 17 00:00:00 2001 From: lubiana Date: Mon, 16 Oct 2023 19:36:06 +0200 Subject: [PATCH 11/62] test --- .forgejo/workflows/push.yml | 1 - 1 file changed, 1 deletion(-) diff --git a/.forgejo/workflows/push.yml b/.forgejo/workflows/push.yml index 6739d89..eba8f1e 100644 --- a/.forgejo/workflows/push.yml +++ b/.forgejo/workflows/push.yml @@ -3,5 +3,4 @@ jobs: ls: runs-on: docker steps: - - uses: actions/checkout@v3 - run: env From a06f01d598e18e908fbe1b271a484fb2fe0da161 Mon Sep 17 00:00:00 2001 From: lubiana Date: Mon, 16 Oct 2023 19:38:06 +0200 Subject: [PATCH 12/62] test --- .forgejo/workflows/push.yml | 2 ++ 1 file changed, 2 insertions(+) diff --git a/.forgejo/workflows/push.yml b/.forgejo/workflows/push.yml index eba8f1e..f4ec051 100644 --- a/.forgejo/workflows/push.yml +++ b/.forgejo/workflows/push.yml @@ -2,5 +2,7 @@ on: [push] jobs: ls: runs-on: docker + container: + image: git.php.fail/lubiana/container/php:8.2 steps: - run: env From dbb98b1eacc0b6733db7d72490dad3262806cf23 Mon Sep 17 00:00:00 2001 From: lubiana Date: Mon, 16 Oct 2023 19:50:10 +0200 Subject: [PATCH 13/62] test --- .forgejo/workflows/push.yml | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/.forgejo/workflows/push.yml b/.forgejo/workflows/push.yml index f4ec051..33533a6 100644 --- a/.forgejo/workflows/push.yml +++ b/.forgejo/workflows/push.yml @@ -2,7 +2,7 @@ on: [push] jobs: ls: runs-on: docker - container: - image: git.php.fail/lubiana/container/php:8.2 steps: - - run: env + - uses: actions/checkout@v3 + - run: | + ls ${{ github.workspace }} From c4ae79cd69276edd9565559b9da3a5b9c097f1b6 Mon Sep 17 00:00:00 2001 From: lubiana Date: Mon, 16 Oct 2023 20:08:28 +0200 Subject: [PATCH 14/62] test --- .forgejo/workflows/push.yml | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/.forgejo/workflows/push.yml b/.forgejo/workflows/push.yml index 33533a6..8a428db 100644 --- a/.forgejo/workflows/push.yml +++ b/.forgejo/workflows/push.yml @@ -2,7 +2,7 @@ on: [push] jobs: ls: runs-on: docker + container: + image: git.php.fail/lubiana/container/php:8.2 steps: - - uses: actions/checkout@v3 - - run: | - ls ${{ github.workspace }} + - run: env | sort From 3e6e8c70b8b35645d034a65199876a987d595e45 Mon Sep 17 00:00:00 2001 From: lubiana Date: Mon, 16 Oct 2023 20:16:48 +0200 Subject: [PATCH 15/62] test --- .forgejo/workflows/push.yml | 2 ++ 1 file changed, 2 insertions(+) diff --git a/.forgejo/workflows/push.yml b/.forgejo/workflows/push.yml index 8a428db..4bdda04 100644 --- a/.forgejo/workflows/push.yml +++ b/.forgejo/workflows/push.yml @@ -6,3 +6,5 @@ jobs: image: git.php.fail/lubiana/container/php:8.2 steps: - run: env | sort + - run: /usr/bin/git init $GITHUB_WORKSPACE + - run: /usr/bin/git remote add origin $GITHUB_SERVER_URL/$GITHUB_REPOSITORY From fc554efd1360245f50640a43317f01938ab0f916 Mon Sep 17 00:00:00 2001 From: lubiana Date: Mon, 16 Oct 2023 20:23:35 +0200 Subject: [PATCH 16/62] test --- .forgejo/workflows/push.yml | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/.forgejo/workflows/push.yml b/.forgejo/workflows/push.yml index 4bdda04..3181851 100644 --- a/.forgejo/workflows/push.yml +++ b/.forgejo/workflows/push.yml @@ -8,3 +8,7 @@ jobs: - run: env | sort - run: /usr/bin/git init $GITHUB_WORKSPACE - run: /usr/bin/git remote add origin $GITHUB_SERVER_URL/$GITHUB_REPOSITORY + - run: /usr/bin/git config --local gc.auto 0 + - run: /usr/bin/git config --local http.https://git.php.fail/.extraheader AUTHORIZATION: basic $GITHUB_TOKEN + - run: /usr/bin/git -c protocol.version=2 fetch --no-tags --prune --progress --no-recurse-submodules --depth=1 origin $GITHUB_REF_NAME + From 668dd79d0708421b458ce6c9a18b9b8c0897b420 Mon Sep 17 00:00:00 2001 From: lubiana Date: Mon, 16 Oct 2023 20:25:50 +0200 Subject: [PATCH 17/62] test --- .forgejo/workflows/push.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.forgejo/workflows/push.yml b/.forgejo/workflows/push.yml index 3181851..0a9abfe 100644 --- a/.forgejo/workflows/push.yml +++ b/.forgejo/workflows/push.yml @@ -9,6 +9,6 @@ jobs: - run: /usr/bin/git init $GITHUB_WORKSPACE - run: /usr/bin/git remote add origin $GITHUB_SERVER_URL/$GITHUB_REPOSITORY - run: /usr/bin/git config --local gc.auto 0 - - run: /usr/bin/git config --local http.https://git.php.fail/.extraheader AUTHORIZATION: basic $GITHUB_TOKEN + - run: "/usr/bin/git config --local http.https://git.php.fail/.extraheader AUTHORIZATION: basic $GITHUB_TOKEN" - run: /usr/bin/git -c protocol.version=2 fetch --no-tags --prune --progress --no-recurse-submodules --depth=1 origin $GITHUB_REF_NAME From 56cf5fec2eabfe8d7784bc9ddf304e1aeb628484 Mon Sep 17 00:00:00 2001 From: lubiana Date: Mon, 16 Oct 2023 20:26:48 +0200 Subject: [PATCH 18/62] test --- .forgejo/workflows/push.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.forgejo/workflows/push.yml b/.forgejo/workflows/push.yml index 0a9abfe..b053ee1 100644 --- a/.forgejo/workflows/push.yml +++ b/.forgejo/workflows/push.yml @@ -9,6 +9,6 @@ jobs: - run: /usr/bin/git init $GITHUB_WORKSPACE - run: /usr/bin/git remote add origin $GITHUB_SERVER_URL/$GITHUB_REPOSITORY - run: /usr/bin/git config --local gc.auto 0 - - run: "/usr/bin/git config --local http.https://git.php.fail/.extraheader AUTHORIZATION: basic $GITHUB_TOKEN" + - run: "/usr/bin/git config --local http.https://git.php.fail/.extraheader \"AUTHORIZATION: basic $GITHUB_TOKEN\"" - run: /usr/bin/git -c protocol.version=2 fetch --no-tags --prune --progress --no-recurse-submodules --depth=1 origin $GITHUB_REF_NAME From d2fe65734e23eb50dadbb98f083c792c3df62818 Mon Sep 17 00:00:00 2001 From: lubiana Date: Mon, 16 Oct 2023 20:33:37 +0200 Subject: [PATCH 19/62] test --- .forgejo/workflows/push.yml | 3 +++ 1 file changed, 3 insertions(+) diff --git a/.forgejo/workflows/push.yml b/.forgejo/workflows/push.yml index b053ee1..12272b9 100644 --- a/.forgejo/workflows/push.yml +++ b/.forgejo/workflows/push.yml @@ -7,8 +7,11 @@ jobs: steps: - run: env | sort - run: /usr/bin/git init $GITHUB_WORKSPACE + - run: echo $GITHUB_WORKSPACE - run: /usr/bin/git remote add origin $GITHUB_SERVER_URL/$GITHUB_REPOSITORY + - run: echo $GITHUB_SERVER_URL/$GITHUB_REPOSITORY - run: /usr/bin/git config --local gc.auto 0 - run: "/usr/bin/git config --local http.https://git.php.fail/.extraheader \"AUTHORIZATION: basic $GITHUB_TOKEN\"" - run: /usr/bin/git -c protocol.version=2 fetch --no-tags --prune --progress --no-recurse-submodules --depth=1 origin $GITHUB_REF_NAME + - run: echo $GIHUB_REF_NAME From 0ecf1160d5236c111d02f41cd1d132fe10ad0cea Mon Sep 17 00:00:00 2001 From: lubiana Date: Mon, 16 Oct 2023 20:34:37 +0200 Subject: [PATCH 20/62] test --- .forgejo/workflows/push.yml | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/.forgejo/workflows/push.yml b/.forgejo/workflows/push.yml index 12272b9..1367737 100644 --- a/.forgejo/workflows/push.yml +++ b/.forgejo/workflows/push.yml @@ -10,8 +10,9 @@ jobs: - run: echo $GITHUB_WORKSPACE - run: /usr/bin/git remote add origin $GITHUB_SERVER_URL/$GITHUB_REPOSITORY - run: echo $GITHUB_SERVER_URL/$GITHUB_REPOSITORY + - run: echo $GIHUB_REF_NAME + - run: echo $GITHUB_TOKEN - run: /usr/bin/git config --local gc.auto 0 - run: "/usr/bin/git config --local http.https://git.php.fail/.extraheader \"AUTHORIZATION: basic $GITHUB_TOKEN\"" - run: /usr/bin/git -c protocol.version=2 fetch --no-tags --prune --progress --no-recurse-submodules --depth=1 origin $GITHUB_REF_NAME - - run: echo $GIHUB_REF_NAME From f1796b2ea1cc9c3d5470d58bc1b663e4fe73958f Mon Sep 17 00:00:00 2001 From: lubiana Date: Mon, 16 Oct 2023 20:46:39 +0200 Subject: [PATCH 21/62] test --- .forgejo/workflows/push.yml | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/.forgejo/workflows/push.yml b/.forgejo/workflows/push.yml index 1367737..af2e6bf 100644 --- a/.forgejo/workflows/push.yml +++ b/.forgejo/workflows/push.yml @@ -10,9 +10,11 @@ jobs: - run: echo $GITHUB_WORKSPACE - run: /usr/bin/git remote add origin $GITHUB_SERVER_URL/$GITHUB_REPOSITORY - run: echo $GITHUB_SERVER_URL/$GITHUB_REPOSITORY - - run: echo $GIHUB_REF_NAME + - run: echo $GITHUB_REF_NAME - run: echo $GITHUB_TOKEN - run: /usr/bin/git config --local gc.auto 0 + - run: /usr/bin/git config -l - run: "/usr/bin/git config --local http.https://git.php.fail/.extraheader \"AUTHORIZATION: basic $GITHUB_TOKEN\"" + - run: /usr/bin/git config -l - run: /usr/bin/git -c protocol.version=2 fetch --no-tags --prune --progress --no-recurse-submodules --depth=1 origin $GITHUB_REF_NAME From f1453b0c2fa7ec5577f5d69e37ca14c85e25648c Mon Sep 17 00:00:00 2001 From: lubiana Date: Mon, 16 Oct 2023 20:48:23 +0200 Subject: [PATCH 22/62] test --- .forgejo/workflows/push.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.forgejo/workflows/push.yml b/.forgejo/workflows/push.yml index af2e6bf..eded09a 100644 --- a/.forgejo/workflows/push.yml +++ b/.forgejo/workflows/push.yml @@ -14,7 +14,7 @@ jobs: - run: echo $GITHUB_TOKEN - run: /usr/bin/git config --local gc.auto 0 - run: /usr/bin/git config -l - - run: "/usr/bin/git config --local http.https://git.php.fail/.extraheader \"AUTHORIZATION: basic $GITHUB_TOKEN\"" + - run: "/usr/bin/git config --local http.extraheader \"AUTHORIZATION: basic $GITHUB_TOKEN\"" - run: /usr/bin/git config -l - run: /usr/bin/git -c protocol.version=2 fetch --no-tags --prune --progress --no-recurse-submodules --depth=1 origin $GITHUB_REF_NAME From f5f216e0e8b31f04031f44ec5311b4e7f1d7a9d4 Mon Sep 17 00:00:00 2001 From: lubiana Date: Mon, 16 Oct 2023 21:26:50 +0200 Subject: [PATCH 23/62] test --- .forgejo/workflows/push.yml | 9 ++------- 1 file changed, 2 insertions(+), 7 deletions(-) diff --git a/.forgejo/workflows/push.yml b/.forgejo/workflows/push.yml index eded09a..acd8755 100644 --- a/.forgejo/workflows/push.yml +++ b/.forgejo/workflows/push.yml @@ -6,15 +6,10 @@ jobs: image: git.php.fail/lubiana/container/php:8.2 steps: - run: env | sort + - run: /usr/bin/git config --global --add safe.directory $GITHUB_WORKSPACE - run: /usr/bin/git init $GITHUB_WORKSPACE - - run: echo $GITHUB_WORKSPACE - run: /usr/bin/git remote add origin $GITHUB_SERVER_URL/$GITHUB_REPOSITORY - - run: echo $GITHUB_SERVER_URL/$GITHUB_REPOSITORY - - run: echo $GITHUB_REF_NAME - - run: echo $GITHUB_TOKEN - run: /usr/bin/git config --local gc.auto 0 - - run: /usr/bin/git config -l - - run: "/usr/bin/git config --local http.extraheader \"AUTHORIZATION: basic $GITHUB_TOKEN\"" - - run: /usr/bin/git config -l + - run: "/usr/bin/git config --local http.extraheader \"AUTHORIZATION: basic x-access-token:$GITHUB_TOKEN\"" - run: /usr/bin/git -c protocol.version=2 fetch --no-tags --prune --progress --no-recurse-submodules --depth=1 origin $GITHUB_REF_NAME From 2a4660a7322b3d811d2547d69ff36753a60df735 Mon Sep 17 00:00:00 2001 From: lubiana Date: Mon, 16 Oct 2023 21:49:56 +0200 Subject: [PATCH 24/62] test --- .forgejo/workflows/push.yml | 10 +++------- 1 file changed, 3 insertions(+), 7 deletions(-) diff --git a/.forgejo/workflows/push.yml b/.forgejo/workflows/push.yml index acd8755..202df8f 100644 --- a/.forgejo/workflows/push.yml +++ b/.forgejo/workflows/push.yml @@ -3,13 +3,9 @@ jobs: ls: runs-on: docker container: - image: git.php.fail/lubiana/container/php:8.2 + image: git.php.fail/lubiana/container/php:8.2.11-node steps: + - uses actions/checkout@v4 - run: env | sort - - run: /usr/bin/git config --global --add safe.directory $GITHUB_WORKSPACE - - run: /usr/bin/git init $GITHUB_WORKSPACE - - run: /usr/bin/git remote add origin $GITHUB_SERVER_URL/$GITHUB_REPOSITORY - - run: /usr/bin/git config --local gc.auto 0 - - run: "/usr/bin/git config --local http.extraheader \"AUTHORIZATION: basic x-access-token:$GITHUB_TOKEN\"" - - run: /usr/bin/git -c protocol.version=2 fetch --no-tags --prune --progress --no-recurse-submodules --depth=1 origin $GITHUB_REF_NAME + - run: composer install From 766b4c2d87d2146e6607ad5580d39bb6807c60e4 Mon Sep 17 00:00:00 2001 From: lubiana Date: Mon, 16 Oct 2023 21:50:30 +0200 Subject: [PATCH 25/62] test --- .forgejo/workflows/push.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.forgejo/workflows/push.yml b/.forgejo/workflows/push.yml index 202df8f..603957c 100644 --- a/.forgejo/workflows/push.yml +++ b/.forgejo/workflows/push.yml @@ -5,7 +5,7 @@ jobs: container: image: git.php.fail/lubiana/container/php:8.2.11-node steps: - - uses actions/checkout@v4 + - uses: actions/checkout@v4 - run: env | sort - run: composer install From 66c8dc14ce09e50a22c5406321047bb85d82a83d Mon Sep 17 00:00:00 2001 From: lubiana Date: Mon, 16 Oct 2023 21:51:55 +0200 Subject: [PATCH 26/62] test --- .forgejo/workflows/push.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.forgejo/workflows/push.yml b/.forgejo/workflows/push.yml index 603957c..afcf2b8 100644 --- a/.forgejo/workflows/push.yml +++ b/.forgejo/workflows/push.yml @@ -5,7 +5,7 @@ jobs: container: image: git.php.fail/lubiana/container/php:8.2.11-node steps: - - uses: actions/checkout@v4 + - uses: actions/checkout@v3 - run: env | sort - run: composer install From ff7e416c57cb5bc8bf73061ac603d7ddb8b8f310 Mon Sep 17 00:00:00 2001 From: lubiana Date: Mon, 16 Oct 2023 21:55:59 +0200 Subject: [PATCH 27/62] test --- .forgejo/workflows/push.yml | 1 + 1 file changed, 1 insertion(+) diff --git a/.forgejo/workflows/push.yml b/.forgejo/workflows/push.yml index afcf2b8..0b64152 100644 --- a/.forgejo/workflows/push.yml +++ b/.forgejo/workflows/push.yml @@ -8,4 +8,5 @@ jobs: - uses: actions/checkout@v3 - run: env | sort - run: composer install + - run: composer fix From 9228c09d604ab8f7eedf09ea6914f1b71b5faba8 Mon Sep 17 00:00:00 2001 From: lubiana Date: Mon, 16 Oct 2023 21:59:20 +0200 Subject: [PATCH 28/62] test --- .forgejo/workflows/push.yml | 10 ++++++++++ src/Infrastructure/Finder.php | 6 ++---- 2 files changed, 12 insertions(+), 4 deletions(-) diff --git a/.forgejo/workflows/push.yml b/.forgejo/workflows/push.yml index 0b64152..e314335 100644 --- a/.forgejo/workflows/push.yml +++ b/.forgejo/workflows/push.yml @@ -9,4 +9,14 @@ jobs: - run: env | sort - run: composer install - run: composer fix + - name: GIT commit and push all changed files + env: + CI_COMMIT_MESSAGE: Continuous Integration Build Artifacts + CI_COMMIT_AUTHOR: Continuous Integration + run: | + git config --global user.name "${{ env.CI_COMMIT_AUTHOR }}" + git config --global user.email "username@users.noreply.github.com" + git commit -a -m "${{ env.CI_COMMIT_MESSAGE }}" + git push + diff --git a/src/Infrastructure/Finder.php b/src/Infrastructure/Finder.php index f7ad532..5ed9dd1 100644 --- a/src/Infrastructure/Finder.php +++ b/src/Infrastructure/Finder.php @@ -40,8 +40,7 @@ final class Finder /** * @return Listener[] */ - public function getListeners(): array - { + public function getListeners(): array { $this->populateClassnames(); return array_map( static fn (array $h): Listener @@ -53,8 +52,7 @@ final class Finder /** * @return Handler[] */ - public function getHandlers(): array - { + public function getHandlers(): array { $this->populateClassnames(); return array_map( static fn (array $h): Handler From 2eeb093f8eae2b56a7279b8afc308f93270dd2f9 Mon Sep 17 00:00:00 2001 From: Continuous Integration Date: Mon, 16 Oct 2023 19:59:40 +0000 Subject: [PATCH 29/62] Continuous Integration Build Artifacts --- src/Infrastructure/Finder.php | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/src/Infrastructure/Finder.php b/src/Infrastructure/Finder.php index 5ed9dd1..f7ad532 100644 --- a/src/Infrastructure/Finder.php +++ b/src/Infrastructure/Finder.php @@ -40,7 +40,8 @@ final class Finder /** * @return Listener[] */ - public function getListeners(): array { + public function getListeners(): array + { $this->populateClassnames(); return array_map( static fn (array $h): Listener @@ -52,7 +53,8 @@ final class Finder /** * @return Handler[] */ - public function getHandlers(): array { + public function getHandlers(): array + { $this->populateClassnames(); return array_map( static fn (array $h): Handler From 32eba7985363db374ac675dd4872746b33794c73 Mon Sep 17 00:00:00 2001 From: lubiana Date: Mon, 16 Oct 2023 22:01:09 +0200 Subject: [PATCH 30/62] test --- src/Infrastructure/Finder.php | 1 + 1 file changed, 1 insertion(+) diff --git a/src/Infrastructure/Finder.php b/src/Infrastructure/Finder.php index f7ad532..f75e3fb 100644 --- a/src/Infrastructure/Finder.php +++ b/src/Infrastructure/Finder.php @@ -72,6 +72,7 @@ final class Finder if ($this->cached === true && file_exists(self::CACHE_FILE)) { $data = file_get_contents(self::CACHE_FILE); + /** test */ if ($data === false) { return; } From b85c91b3d03c6444c11f199cae4941856e1b1f8d Mon Sep 17 00:00:00 2001 From: lubiana Date: Mon, 16 Oct 2023 22:07:41 +0200 Subject: [PATCH 31/62] test --- .forgejo/workflows/push.yml | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/.forgejo/workflows/push.yml b/.forgejo/workflows/push.yml index e314335..9098e7d 100644 --- a/.forgejo/workflows/push.yml +++ b/.forgejo/workflows/push.yml @@ -16,7 +16,9 @@ jobs: run: | git config --global user.name "${{ env.CI_COMMIT_AUTHOR }}" git config --global user.email "username@users.noreply.github.com" - git commit -a -m "${{ env.CI_COMMIT_MESSAGE }}" - git push + if [[ -z $(git status -s) ]]; then + git commit -a -m "${{ env.CI_COMMIT_MESSAGE }}" + git push + fi From c4acc2c358d9fd78f6a059eb50f8d5248ab389c1 Mon Sep 17 00:00:00 2001 From: lubiana Date: Mon, 16 Oct 2023 22:11:05 +0200 Subject: [PATCH 32/62] test --- .forgejo/workflows/push.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.forgejo/workflows/push.yml b/.forgejo/workflows/push.yml index 9098e7d..c416ab6 100644 --- a/.forgejo/workflows/push.yml +++ b/.forgejo/workflows/push.yml @@ -16,7 +16,7 @@ jobs: run: | git config --global user.name "${{ env.CI_COMMIT_AUTHOR }}" git config --global user.email "username@users.noreply.github.com" - if [[ -z $(git status -s) ]]; then + if [[ -n $(git status --porcelain) ]]; then git commit -a -m "${{ env.CI_COMMIT_MESSAGE }}" git push fi From 912dddb6fb1ad5757461a34c649993bbc8b97979 Mon Sep 17 00:00:00 2001 From: lubiana Date: Mon, 16 Oct 2023 22:12:06 +0200 Subject: [PATCH 33/62] test --- .forgejo/workflows/push.yml | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/.forgejo/workflows/push.yml b/.forgejo/workflows/push.yml index c416ab6..61dc70f 100644 --- a/.forgejo/workflows/push.yml +++ b/.forgejo/workflows/push.yml @@ -17,8 +17,7 @@ jobs: git config --global user.name "${{ env.CI_COMMIT_AUTHOR }}" git config --global user.email "username@users.noreply.github.com" if [[ -n $(git status --porcelain) ]]; then - git commit -a -m "${{ env.CI_COMMIT_MESSAGE }}" - git push + echo lol fi From b43ce75c422ed4414e455708af72b84dcd1c7266 Mon Sep 17 00:00:00 2001 From: lubiana Date: Mon, 16 Oct 2023 22:12:39 +0200 Subject: [PATCH 34/62] test --- .forgejo/workflows/push.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.forgejo/workflows/push.yml b/.forgejo/workflows/push.yml index 61dc70f..a33b227 100644 --- a/.forgejo/workflows/push.yml +++ b/.forgejo/workflows/push.yml @@ -16,7 +16,7 @@ jobs: run: | git config --global user.name "${{ env.CI_COMMIT_AUTHOR }}" git config --global user.email "username@users.noreply.github.com" - if [[ -n $(git status --porcelain) ]]; then + if [[ -z $(git status --porcelain) ]]; then echo lol fi From 0b7f70541fea9b483e16580d00df9ad319822235 Mon Sep 17 00:00:00 2001 From: lubiana Date: Mon, 16 Oct 2023 22:14:40 +0200 Subject: [PATCH 35/62] test --- .forgejo/workflows/push.yml | 2 ++ 1 file changed, 2 insertions(+) diff --git a/.forgejo/workflows/push.yml b/.forgejo/workflows/push.yml index a33b227..d1c0c2b 100644 --- a/.forgejo/workflows/push.yml +++ b/.forgejo/workflows/push.yml @@ -16,6 +16,8 @@ jobs: run: | git config --global user.name "${{ env.CI_COMMIT_AUTHOR }}" git config --global user.email "username@users.noreply.github.com" + git status --porcelain + git status -s if [[ -z $(git status --porcelain) ]]; then echo lol fi From cf25187eefb083dabd7af932fdb59f122cc67088 Mon Sep 17 00:00:00 2001 From: lubiana Date: Mon, 16 Oct 2023 22:16:28 +0200 Subject: [PATCH 36/62] test --- .forgejo/workflows/push.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.forgejo/workflows/push.yml b/.forgejo/workflows/push.yml index d1c0c2b..f9d3504 100644 --- a/.forgejo/workflows/push.yml +++ b/.forgejo/workflows/push.yml @@ -18,7 +18,7 @@ jobs: git config --global user.email "username@users.noreply.github.com" git status --porcelain git status -s - if [[ -z $(git status --porcelain) ]]; then + if [[ -n $(git status --porcelain) ]]; then echo lol fi From c769aa5fe447102173d90b8e0d2b5890f677feb8 Mon Sep 17 00:00:00 2001 From: lubiana Date: Tue, 17 Oct 2023 20:43:29 +0200 Subject: [PATCH 37/62] test --- .forgejo/workflows/push.yml | 11 ++++++++++- 1 file changed, 10 insertions(+), 1 deletion(-) diff --git a/.forgejo/workflows/push.yml b/.forgejo/workflows/push.yml index f9d3504..53e7ada 100644 --- a/.forgejo/workflows/push.yml +++ b/.forgejo/workflows/push.yml @@ -6,7 +6,16 @@ jobs: image: git.php.fail/lubiana/container/php:8.2.11-node steps: - uses: actions/checkout@v3 - - run: env | sort + - name: Get Composer Cache Directory + id: composer-cache + run: | + echo "dir=$(composer config cache-files-dir)" >> $GITHUB_OUTPUT + - uses: actions/cache@v3 + with: + path: ${{ steps.composer-cache.outputs.dir }} + key: ${{ runner.os }}-composer-${{ hashFiles('**/composer.lock') }} + restore-keys: | + ${{ runner.os }}-composer- - run: composer install - run: composer fix - name: GIT commit and push all changed files From 90ce46d9d10dac6fbfdd92fb38106c77522f74b2 Mon Sep 17 00:00:00 2001 From: lubiana Date: Tue, 17 Oct 2023 20:46:41 +0200 Subject: [PATCH 38/62] test --- .forgejo/workflows/push.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.forgejo/workflows/push.yml b/.forgejo/workflows/push.yml index 53e7ada..626da53 100644 --- a/.forgejo/workflows/push.yml +++ b/.forgejo/workflows/push.yml @@ -13,9 +13,9 @@ jobs: - uses: actions/cache@v3 with: path: ${{ steps.composer-cache.outputs.dir }} - key: ${{ runner.os }}-composer-${{ hashFiles('**/composer.lock') }} + key: gute-laune restore-keys: | - ${{ runner.os }}-composer- + gute-laune - run: composer install - run: composer fix - name: GIT commit and push all changed files From e7c1df5eb1e53c3e9dbafce8b0e23a781bb41ed7 Mon Sep 17 00:00:00 2001 From: lubiana Date: Tue, 17 Oct 2023 20:54:50 +0200 Subject: [PATCH 39/62] test --- .forgejo/workflows/push.yml | 13 +++++++++---- 1 file changed, 9 insertions(+), 4 deletions(-) diff --git a/.forgejo/workflows/push.yml b/.forgejo/workflows/push.yml index 626da53..b1cc316 100644 --- a/.forgejo/workflows/push.yml +++ b/.forgejo/workflows/push.yml @@ -10,13 +10,18 @@ jobs: id: composer-cache run: | echo "dir=$(composer config cache-files-dir)" >> $GITHUB_OUTPUT - - uses: actions/cache@v3 + - uses: actions/cache/restore@v3 + id: restore-cache with: path: ${{ steps.composer-cache.outputs.dir }} - key: gute-laune - restore-keys: | - gute-laune + key: composer-cache - run: composer install + - uses: actions/cache/save@v3 + id: save-cache + if: steps.restore-cache.outpus.cache-hit != 'true + with: + path: ${{ steps.composer-cache.outputs.dir }} + key: composer-cache - run: composer fix - name: GIT commit and push all changed files env: From 4e8953ba469e63e3ff8f4bd6325036b53d662b0a Mon Sep 17 00:00:00 2001 From: lubiana Date: Tue, 17 Oct 2023 20:57:28 +0200 Subject: [PATCH 40/62] test --- .forgejo/workflows/push.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.forgejo/workflows/push.yml b/.forgejo/workflows/push.yml index b1cc316..217239a 100644 --- a/.forgejo/workflows/push.yml +++ b/.forgejo/workflows/push.yml @@ -18,7 +18,7 @@ jobs: - run: composer install - uses: actions/cache/save@v3 id: save-cache - if: steps.restore-cache.outpus.cache-hit != 'true + if: steps.restore-cache.outputs.cache-hit != 'true with: path: ${{ steps.composer-cache.outputs.dir }} key: composer-cache From b6653526699befe0b18c994b608c11cfa6d9f69b Mon Sep 17 00:00:00 2001 From: lubiana Date: Wed, 18 Oct 2023 17:53:01 +0200 Subject: [PATCH 41/62] test --- .forgejo/workflows/push.yml | 8 +------- 1 file changed, 1 insertion(+), 7 deletions(-) diff --git a/.forgejo/workflows/push.yml b/.forgejo/workflows/push.yml index 217239a..e78aa98 100644 --- a/.forgejo/workflows/push.yml +++ b/.forgejo/workflows/push.yml @@ -10,18 +10,12 @@ jobs: id: composer-cache run: | echo "dir=$(composer config cache-files-dir)" >> $GITHUB_OUTPUT - - uses: actions/cache/restore@v3 + - uses: actions/cache@v3 id: restore-cache with: path: ${{ steps.composer-cache.outputs.dir }} key: composer-cache - run: composer install - - uses: actions/cache/save@v3 - id: save-cache - if: steps.restore-cache.outputs.cache-hit != 'true - with: - path: ${{ steps.composer-cache.outputs.dir }} - key: composer-cache - run: composer fix - name: GIT commit and push all changed files env: From 36ea1f111f4294a81de2db4358e8b8314d671607 Mon Sep 17 00:00:00 2001 From: lubiana Date: Wed, 18 Oct 2023 17:59:57 +0200 Subject: [PATCH 42/62] test --- .forgejo/workflows/push.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.forgejo/workflows/push.yml b/.forgejo/workflows/push.yml index e78aa98..db8ff67 100644 --- a/.forgejo/workflows/push.yml +++ b/.forgejo/workflows/push.yml @@ -3,7 +3,7 @@ jobs: ls: runs-on: docker container: - image: git.php.fail/lubiana/container/php:8.2.11-node + image: git.php.fail/lubiana/container/php:8.2.11-node-2 steps: - uses: actions/checkout@v3 - name: Get Composer Cache Directory From ea854064b3d01f2137a2d035c01ab64972b81b5f Mon Sep 17 00:00:00 2001 From: lubiana Date: Fri, 20 Oct 2023 18:15:38 +0200 Subject: [PATCH 43/62] test --- .forgejo/workflows/push.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.forgejo/workflows/push.yml b/.forgejo/workflows/push.yml index db8ff67..5404a28 100644 --- a/.forgejo/workflows/push.yml +++ b/.forgejo/workflows/push.yml @@ -26,7 +26,7 @@ jobs: git config --global user.email "username@users.noreply.github.com" git status --porcelain git status -s - if [[ -n $(git status --porcelain) ]]; then + if [[ -n "$(git status -s)" ]]; then echo lol fi From 919d84173ef5265fd41324bad4d1cac5f9ce722b Mon Sep 17 00:00:00 2001 From: lubiana Date: Fri, 20 Oct 2023 18:20:08 +0200 Subject: [PATCH 44/62] test --- .forgejo/workflows/push.yml | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/.forgejo/workflows/push.yml b/.forgejo/workflows/push.yml index 5404a28..3f3722f 100644 --- a/.forgejo/workflows/push.yml +++ b/.forgejo/workflows/push.yml @@ -22,12 +22,11 @@ jobs: CI_COMMIT_MESSAGE: Continuous Integration Build Artifacts CI_COMMIT_AUTHOR: Continuous Integration run: | + env | sort git config --global user.name "${{ env.CI_COMMIT_AUTHOR }}" git config --global user.email "username@users.noreply.github.com" - git status --porcelain - git status -s if [[ -n "$(git status -s)" ]]; then - echo lol + git commit -am ' fi From 1bbde50fc3cb1a41c9bbed39288a6e7b180863a3 Mon Sep 17 00:00:00 2001 From: lubiana Date: Fri, 20 Oct 2023 18:24:43 +0200 Subject: [PATCH 45/62] test --- .forgejo/workflows/push.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.forgejo/workflows/push.yml b/.forgejo/workflows/push.yml index 3f3722f..87cbcdd 100644 --- a/.forgejo/workflows/push.yml +++ b/.forgejo/workflows/push.yml @@ -26,7 +26,7 @@ jobs: git config --global user.name "${{ env.CI_COMMIT_AUTHOR }}" git config --global user.email "username@users.noreply.github.com" if [[ -n "$(git status -s)" ]]; then - git commit -am ' + echo lol fi From 8d8306ef425c46d0be0e0843177841d45c696bcb Mon Sep 17 00:00:00 2001 From: lubiana Date: Fri, 20 Oct 2023 18:29:10 +0200 Subject: [PATCH 46/62] test --- .forgejo/workflows/push.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.forgejo/workflows/push.yml b/.forgejo/workflows/push.yml index 87cbcdd..0a8708b 100644 --- a/.forgejo/workflows/push.yml +++ b/.forgejo/workflows/push.yml @@ -25,8 +25,8 @@ jobs: env | sort git config --global user.name "${{ env.CI_COMMIT_AUTHOR }}" git config --global user.email "username@users.noreply.github.com" + git log -1 --pretty=format:"%s" if [[ -n "$(git status -s)" ]]; then - echo lol fi From 4ca96eafb9a116a29b0b86934afa7fb52574b806 Mon Sep 17 00:00:00 2001 From: lubiana Date: Fri, 20 Oct 2023 18:30:16 +0200 Subject: [PATCH 47/62] test --- .forgejo/workflows/push.yml | 1 + 1 file changed, 1 insertion(+) diff --git a/.forgejo/workflows/push.yml b/.forgejo/workflows/push.yml index 0a8708b..80af1c4 100644 --- a/.forgejo/workflows/push.yml +++ b/.forgejo/workflows/push.yml @@ -27,6 +27,7 @@ jobs: git config --global user.email "username@users.noreply.github.com" git log -1 --pretty=format:"%s" if [[ -n "$(git status -s)" ]]; then + echo lol fi From a7f60358ebb272dbb954a8952dd8bbd0efbc8c9c Mon Sep 17 00:00:00 2001 From: lubiana Date: Fri, 20 Oct 2023 18:31:00 +0200 Subject: [PATCH 48/62] test --- .forgejo/workflows/push.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.forgejo/workflows/push.yml b/.forgejo/workflows/push.yml index 80af1c4..ff54af6 100644 --- a/.forgejo/workflows/push.yml +++ b/.forgejo/workflows/push.yml @@ -25,7 +25,7 @@ jobs: env | sort git config --global user.name "${{ env.CI_COMMIT_AUTHOR }}" git config --global user.email "username@users.noreply.github.com" - git log -1 --pretty=format:"%s" + echo git log -1 --pretty=format:"%s" if [[ -n "$(git status -s)" ]]; then echo lol fi From b638a0124f7cefa6a0d3895afad80eae707f2aa5 Mon Sep 17 00:00:00 2001 From: lubiana Date: Fri, 20 Oct 2023 19:08:44 +0200 Subject: [PATCH 49/62] test --- .forgejo/workflows/push.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.forgejo/workflows/push.yml b/.forgejo/workflows/push.yml index ff54af6..de8456b 100644 --- a/.forgejo/workflows/push.yml +++ b/.forgejo/workflows/push.yml @@ -25,7 +25,7 @@ jobs: env | sort git config --global user.name "${{ env.CI_COMMIT_AUTHOR }}" git config --global user.email "username@users.noreply.github.com" - echo git log -1 --pretty=format:"%s" + git log -1 if [[ -n "$(git status -s)" ]]; then echo lol fi From 14db5b36e6d90b827f35cd4292c7d6f22d57db3f Mon Sep 17 00:00:00 2001 From: lubiana Date: Fri, 20 Oct 2023 19:10:05 +0200 Subject: [PATCH 50/62] test --- .forgejo/workflows/push.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.forgejo/workflows/push.yml b/.forgejo/workflows/push.yml index de8456b..375bc31 100644 --- a/.forgejo/workflows/push.yml +++ b/.forgejo/workflows/push.yml @@ -25,7 +25,7 @@ jobs: env | sort git config --global user.name "${{ env.CI_COMMIT_AUTHOR }}" git config --global user.email "username@users.noreply.github.com" - git log -1 + git log -1 --pretty %B if [[ -n "$(git status -s)" ]]; then echo lol fi From ea7d5eff684c7727dbf4ab700c22b4a28b733bf2 Mon Sep 17 00:00:00 2001 From: lubiana Date: Fri, 20 Oct 2023 19:57:46 +0200 Subject: [PATCH 51/62] test --- .forgejo/workflows/push.yml | 11 +++++------ 1 file changed, 5 insertions(+), 6 deletions(-) diff --git a/.forgejo/workflows/push.yml b/.forgejo/workflows/push.yml index 375bc31..f722de8 100644 --- a/.forgejo/workflows/push.yml +++ b/.forgejo/workflows/push.yml @@ -19,15 +19,14 @@ jobs: - run: composer fix - name: GIT commit and push all changed files env: - CI_COMMIT_MESSAGE: Continuous Integration Build Artifacts + CI_COMMIT_MESSAGE: Continuous Integration Fixes CI_COMMIT_AUTHOR: Continuous Integration run: | - env | sort - git config --global user.name "${{ env.CI_COMMIT_AUTHOR }}" - git config --global user.email "username@users.noreply.github.com" - git log -1 --pretty %B if [[ -n "$(git status -s)" ]]; then - echo lol + git config --global user.name "${{ env.CI_COMMIT_AUTHOR }}" + git config --global user.email "gitbot@users.noreply.php.fail" + git commit -am "${{ env.CI_COMMIT_MESSAGE }}" + git push fi From 03952677f6cc7f771d8399cd2604a3596b3cb03a Mon Sep 17 00:00:00 2001 From: lubiana Date: Fri, 20 Oct 2023 20:03:44 +0200 Subject: [PATCH 52/62] add php styler --- composer.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/composer.json b/composer.json index ef0365c..55f8938 100644 --- a/composer.json +++ b/composer.json @@ -51,7 +51,7 @@ ], "style": "./vendor/bin/ecs", "fix": [ - "rector process" ,"ecs --fix", "ecs --fix" + "rector process", "php-styler apply" ,"ecs --fix", "ecs --fix" ], "rector": "./vendor/bin/rector process" }, From 5ccbc661341a90032f4efecf1af89c12b323b837 Mon Sep 17 00:00:00 2001 From: Continuous Integration Date: Fri, 20 Oct 2023 18:04:11 +0000 Subject: [PATCH 53/62] Continuous Integration Fixes --- src/Infrastructure/WebApp/Route/CachedResponse.php | 1 - src/Infrastructure/WebApp/Route/CachedRouteCollector.php | 1 - 2 files changed, 2 deletions(-) diff --git a/src/Infrastructure/WebApp/Route/CachedResponse.php b/src/Infrastructure/WebApp/Route/CachedResponse.php index d62ad19..2a9b30d 100644 --- a/src/Infrastructure/WebApp/Route/CachedResponse.php +++ b/src/Infrastructure/WebApp/Route/CachedResponse.php @@ -32,7 +32,6 @@ final class CachedResponse /** @var Response|null $response */ $response = unserialize($serialized); $event->response = $response; - $event->stopped = true; } diff --git a/src/Infrastructure/WebApp/Route/CachedRouteCollector.php b/src/Infrastructure/WebApp/Route/CachedRouteCollector.php index f5201b9..f9872b0 100644 --- a/src/Infrastructure/WebApp/Route/CachedRouteCollector.php +++ b/src/Infrastructure/WebApp/Route/CachedRouteCollector.php @@ -29,7 +29,6 @@ final class CachedRouteCollector /** @var Handler[] $routes */ $routes = unserialize(file_get_contents(self::ROUTES_DIR)); $event->routes = $routes; - $event->stopped = true; } From 0733c8456dddb2b8b0fb3a4c2abc5c222275a3c6 Mon Sep 17 00:00:00 2001 From: lubiana Date: Wed, 8 Nov 2023 17:22:36 +0100 Subject: [PATCH 54/62] also --- src/Handler/HalloDimi.php | 1 + 1 file changed, 1 insertion(+) diff --git a/src/Handler/HalloDimi.php b/src/Handler/HalloDimi.php index 8a23212..db0d70c 100644 --- a/src/Handler/HalloDimi.php +++ b/src/Handler/HalloDimi.php @@ -8,6 +8,7 @@ use Symfony\Component\HttpFoundation\JsonResponse; use Symfony\Component\HttpFoundation\Response; final class HalloDimi + { #[AsHandler(HttpMethod::GET, '/dimi')] public function hallo(): Response From 45b5b746f635dde7f7bbc51aaed7469d5bf5def2 Mon Sep 17 00:00:00 2001 From: Continuous Integration Date: Wed, 8 Nov 2023 17:11:03 +0000 Subject: [PATCH 55/62] Continuous Integration Fixes --- src/Handler/HalloDimi.php | 1 - 1 file changed, 1 deletion(-) diff --git a/src/Handler/HalloDimi.php b/src/Handler/HalloDimi.php index db0d70c..8a23212 100644 --- a/src/Handler/HalloDimi.php +++ b/src/Handler/HalloDimi.php @@ -8,7 +8,6 @@ use Symfony\Component\HttpFoundation\JsonResponse; use Symfony\Component\HttpFoundation\Response; final class HalloDimi - { #[AsHandler(HttpMethod::GET, '/dimi')] public function hallo(): Response From 2872d932b6266b7ce2ddc12574d16cdde0f4ea2c Mon Sep 17 00:00:00 2001 From: lubiana Date: Mon, 27 Nov 2023 21:44:24 +0100 Subject: [PATCH 56/62] test --- .forgejo/workflows/push.yml | 2 +- composer.json | 2 +- php-styler.php | 2 +- src/Bootstrap.php | 13 ++++++++----- src/Handler/HalloDimi.php | 5 +++++ src/Infrastructure/HttpKernel.php | 22 ++++++++++++++++++++++ 6 files changed, 38 insertions(+), 8 deletions(-) create mode 100644 src/Infrastructure/HttpKernel.php diff --git a/.forgejo/workflows/push.yml b/.forgejo/workflows/push.yml index f722de8..591622c 100644 --- a/.forgejo/workflows/push.yml +++ b/.forgejo/workflows/push.yml @@ -3,7 +3,7 @@ jobs: ls: runs-on: docker container: - image: git.php.fail/lubiana/container/php:8.2.11-node-2 + image: git.php.fail/lubiana/container/php:8.3.0-node steps: - uses: actions/checkout@v3 - name: Get Composer Cache Directory diff --git a/composer.json b/composer.json index 55f8938..81c86d1 100644 --- a/composer.json +++ b/composer.json @@ -15,7 +15,7 @@ } ], "require": { - "php": ">=8.2", + "php": ">=8.3", "ext-apcu": "*", "php-di/php-di": "^7.0.1", "nikic/fast-route": "^1.3", diff --git a/php-styler.php b/php-styler.php index 9bacf40..7a8a1a6 100644 --- a/php-styler.php +++ b/php-styler.php @@ -4,7 +4,7 @@ use PhpStyler\Files; use PhpStyler\Styler; return new Config( - files: new Files(__DIR__ . '/src'), styler: new Styler(), + files: new Files(__DIR__ . '/src'), cache: __DIR__ . '/.php-styler.cache', ); diff --git a/src/Bootstrap.php b/src/Bootstrap.php index 5045350..ca8720f 100644 --- a/src/Bootstrap.php +++ b/src/Bootstrap.php @@ -6,6 +6,7 @@ use DI\ContainerBuilder; use Lubian\AttributeMagic\Infrastructure\Event\Dispatcher; use Lubian\AttributeMagic\Infrastructure\Event\DispatcherFactory; use Lubian\AttributeMagic\Infrastructure\Finder; +use Lubian\AttributeMagic\Infrastructure\HttpKernel; use Lubian\AttributeMagic\Infrastructure\WebApp\Request\RequestEvent; use Lubian\AttributeMagic\Infrastructure\WebApp\Route\HandlerResolver; use Symfony\Component\HttpFoundation\Request; @@ -23,9 +24,11 @@ $container = (new ContainerBuilder)->addDefinitions( => new HandlerResolver($d, $cached), ], )->build(); -$dispatcher = $container->get(Dispatcher::class); -assert($dispatcher instanceof Dispatcher); -$request = new RequestEvent(Request::createFromGlobals()); -$dispatcher->dispatch($request); -$request->response?->send(); +$kernel = $container->get(HttpKernel::class); +assert($kernel instanceof HttpKernel); + +$response = $kernel->handle(Request::createFromGlobals()); + +$response->send(); + exit(); diff --git a/src/Handler/HalloDimi.php b/src/Handler/HalloDimi.php index 8a23212..b28a3d7 100644 --- a/src/Handler/HalloDimi.php +++ b/src/Handler/HalloDimi.php @@ -9,6 +9,11 @@ use Symfony\Component\HttpFoundation\Response; final class HalloDimi { + /** + * Returns a JSON response with the message "Hallo Dimi". + * + * @return Response The JSON response. + */ #[AsHandler(HttpMethod::GET, '/dimi')] public function hallo(): Response { diff --git a/src/Infrastructure/HttpKernel.php b/src/Infrastructure/HttpKernel.php new file mode 100644 index 0000000..d3e6ec0 --- /dev/null +++ b/src/Infrastructure/HttpKernel.php @@ -0,0 +1,22 @@ +dispatcher->dispatch($requestEvent); + + return $requestEvent->response ?? throw new \Exception('errror'); + } +} \ No newline at end of file From 911c0ff4b585cd06f60f445b6fc5092fe2c4a84a Mon Sep 17 00:00:00 2001 From: lubiana Date: Mon, 27 Nov 2023 21:53:24 +0100 Subject: [PATCH 57/62] lol --- .forgejo/workflows/push.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.forgejo/workflows/push.yml b/.forgejo/workflows/push.yml index 591622c..c34bcbd 100644 --- a/.forgejo/workflows/push.yml +++ b/.forgejo/workflows/push.yml @@ -3,7 +3,7 @@ jobs: ls: runs-on: docker container: - image: git.php.fail/lubiana/container/php:8.3.0-node + image: git.php.fail/lubiana/container/php:8.3.0-node-20 steps: - uses: actions/checkout@v3 - name: Get Composer Cache Directory From 70d16b7659282e838aa0333562b505e7c3f0ccd6 Mon Sep 17 00:00:00 2001 From: Continuous Integration Date: Mon, 27 Nov 2023 20:53:47 +0000 Subject: [PATCH 58/62] Continuous Integration Fixes --- src/Bootstrap.php | 4 ---- src/Infrastructure/HttpKernel.php | 14 ++++++++------ 2 files changed, 8 insertions(+), 10 deletions(-) diff --git a/src/Bootstrap.php b/src/Bootstrap.php index ca8720f..2c276d6 100644 --- a/src/Bootstrap.php +++ b/src/Bootstrap.php @@ -7,7 +7,6 @@ use Lubian\AttributeMagic\Infrastructure\Event\Dispatcher; use Lubian\AttributeMagic\Infrastructure\Event\DispatcherFactory; use Lubian\AttributeMagic\Infrastructure\Finder; use Lubian\AttributeMagic\Infrastructure\HttpKernel; -use Lubian\AttributeMagic\Infrastructure\WebApp\Request\RequestEvent; use Lubian\AttributeMagic\Infrastructure\WebApp\Route\HandlerResolver; use Symfony\Component\HttpFoundation\Request; @@ -26,9 +25,6 @@ $container = (new ContainerBuilder)->addDefinitions( )->build(); $kernel = $container->get(HttpKernel::class); assert($kernel instanceof HttpKernel); - $response = $kernel->handle(Request::createFromGlobals()); - $response->send(); - exit(); diff --git a/src/Infrastructure/HttpKernel.php b/src/Infrastructure/HttpKernel.php index d3e6ec0..6cce606 100644 --- a/src/Infrastructure/HttpKernel.php +++ b/src/Infrastructure/HttpKernel.php @@ -1,7 +1,8 @@ -dispatcher->dispatch($requestEvent); - - return $requestEvent->response ?? throw new \Exception('errror'); + return $requestEvent->response ?? throw new Exception('errror'); } -} \ No newline at end of file +} From f23b07337768e870be336301a6abd957c76132b8 Mon Sep 17 00:00:00 2001 From: lubiana Date: Wed, 29 Nov 2023 19:22:33 +0100 Subject: [PATCH 59/62] update deps --- composer.json | 2 +- composer.lock | 347 ++++++++++++++++++++++++++------------------------ 2 files changed, 183 insertions(+), 166 deletions(-) diff --git a/composer.json b/composer.json index 81c86d1..ca5a52c 100644 --- a/composer.json +++ b/composer.json @@ -24,7 +24,7 @@ }, "require-dev": { "phpstan/phpstan": "^1.9.14", - "lubiana/code-quality": "^1.1.5", + "lubiana/code-quality": "^1.1", "phpstan/extension-installer": "^1.2", "phpstan/phpstan-strict-rules": "^1.4.5", "thecodingmachine/phpstan-strict-rules": "^1.0", diff --git a/composer.lock b/composer.lock index 85bb97a..e4c8e53 100644 --- a/composer.lock +++ b/composer.lock @@ -4,7 +4,7 @@ "Read more about it at https://getcomposer.org/doc/01-basic-usage.md#installing-dependencies", "This file is @generated automatically" ], - "content-hash": "f75d5cc2d8d8feedcc2fc85fd76f1e3f", + "content-hash": "503a7b9c806d8f47fb2c0901b563c56f", "packages": [ { "name": "amphp/amp", @@ -174,16 +174,16 @@ }, { "name": "composer/pcre", - "version": "3.1.0", + "version": "3.1.1", "source": { "type": "git", "url": "https://github.com/composer/pcre.git", - "reference": "4bff79ddd77851fe3cdd11616ed3f92841ba5bd2" + "reference": "00104306927c7a0919b4ced2aaa6782c1e61a3c9" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/composer/pcre/zipball/4bff79ddd77851fe3cdd11616ed3f92841ba5bd2", - "reference": "4bff79ddd77851fe3cdd11616ed3f92841ba5bd2", + "url": "https://api.github.com/repos/composer/pcre/zipball/00104306927c7a0919b4ced2aaa6782c1e61a3c9", + "reference": "00104306927c7a0919b4ced2aaa6782c1e61a3c9", "shasum": "" }, "require": { @@ -225,7 +225,7 @@ ], "support": { "issues": "https://github.com/composer/pcre/issues", - "source": "https://github.com/composer/pcre/tree/3.1.0" + "source": "https://github.com/composer/pcre/tree/3.1.1" }, "funding": [ { @@ -241,7 +241,7 @@ "type": "tidelift" } ], - "time": "2022-11-17T09:50:14+00:00" + "time": "2023-10-11T07:11:09+00:00" }, { "name": "composer/semver", @@ -429,16 +429,16 @@ }, { "name": "doctrine/deprecations", - "version": "v1.1.1", + "version": "1.1.2", "source": { "type": "git", "url": "https://github.com/doctrine/deprecations.git", - "reference": "612a3ee5ab0d5dd97b7cf3874a6efe24325efac3" + "reference": "4f2d4f2836e7ec4e7a8625e75c6aa916004db931" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/doctrine/deprecations/zipball/612a3ee5ab0d5dd97b7cf3874a6efe24325efac3", - "reference": "612a3ee5ab0d5dd97b7cf3874a6efe24325efac3", + "url": "https://api.github.com/repos/doctrine/deprecations/zipball/4f2d4f2836e7ec4e7a8625e75c6aa916004db931", + "reference": "4f2d4f2836e7ec4e7a8625e75c6aa916004db931", "shasum": "" }, "require": { @@ -470,9 +470,9 @@ "homepage": "https://www.doctrine-project.org/", "support": { "issues": "https://github.com/doctrine/deprecations/issues", - "source": "https://github.com/doctrine/deprecations/tree/v1.1.1" + "source": "https://github.com/doctrine/deprecations/tree/1.1.2" }, - "time": "2023-06-03T09:27:29+00:00" + "time": "2023-09-27T20:04:15+00:00" }, { "name": "felixfbecker/advanced-json-rpc", @@ -638,16 +638,16 @@ }, { "name": "laravel/serializable-closure", - "version": "v1.3.1", + "version": "v1.3.3", "source": { "type": "git", "url": "https://github.com/laravel/serializable-closure.git", - "reference": "e5a3057a5591e1cfe8183034b0203921abe2c902" + "reference": "3dbf8a8e914634c48d389c1234552666b3d43754" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/laravel/serializable-closure/zipball/e5a3057a5591e1cfe8183034b0203921abe2c902", - "reference": "e5a3057a5591e1cfe8183034b0203921abe2c902", + "url": "https://api.github.com/repos/laravel/serializable-closure/zipball/3dbf8a8e914634c48d389c1234552666b3d43754", + "reference": "3dbf8a8e914634c48d389c1234552666b3d43754", "shasum": "" }, "require": { @@ -694,7 +694,7 @@ "issues": "https://github.com/laravel/serializable-closure/issues", "source": "https://github.com/laravel/serializable-closure" }, - "time": "2023-07-14T13:56:28+00:00" + "time": "2023-11-08T14:08:06+00:00" }, { "name": "netresearch/jsonmapper", @@ -910,16 +910,16 @@ }, { "name": "php-di/php-di", - "version": "7.0.5", + "version": "7.0.6", "source": { "type": "git", "url": "https://github.com/PHP-DI/PHP-DI.git", - "reference": "9ea40a5a6970bf1ca5cbe148bc16cbad6ca3db6c" + "reference": "8097948a89f6ec782839b3e958432f427cac37fd" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/PHP-DI/PHP-DI/zipball/9ea40a5a6970bf1ca5cbe148bc16cbad6ca3db6c", - "reference": "9ea40a5a6970bf1ca5cbe148bc16cbad6ca3db6c", + "url": "https://api.github.com/repos/PHP-DI/PHP-DI/zipball/8097948a89f6ec782839b3e958432f427cac37fd", + "reference": "8097948a89f6ec782839b3e958432f427cac37fd", "shasum": "" }, "require": { @@ -967,7 +967,7 @@ ], "support": { "issues": "https://github.com/PHP-DI/PHP-DI/issues", - "source": "https://github.com/PHP-DI/PHP-DI/tree/7.0.5" + "source": "https://github.com/PHP-DI/PHP-DI/tree/7.0.6" }, "funding": [ { @@ -979,7 +979,7 @@ "type": "tidelift" } ], - "time": "2023-08-10T14:57:56+00:00" + "time": "2023-11-02T10:04:50+00:00" }, { "name": "phpdocumentor/reflection-common", @@ -1151,16 +1151,16 @@ }, { "name": "phpstan/phpdoc-parser", - "version": "1.24.2", + "version": "1.24.4", "source": { "type": "git", "url": "https://github.com/phpstan/phpdoc-parser.git", - "reference": "bcad8d995980440892759db0c32acae7c8e79442" + "reference": "6bd0c26f3786cd9b7c359675cb789e35a8e07496" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/phpstan/phpdoc-parser/zipball/bcad8d995980440892759db0c32acae7c8e79442", - "reference": "bcad8d995980440892759db0c32acae7c8e79442", + "url": "https://api.github.com/repos/phpstan/phpdoc-parser/zipball/6bd0c26f3786cd9b7c359675cb789e35a8e07496", + "reference": "6bd0c26f3786cd9b7c359675cb789e35a8e07496", "shasum": "" }, "require": { @@ -1192,9 +1192,9 @@ "description": "PHPDoc parser with support for nullable, intersection and generic types", "support": { "issues": "https://github.com/phpstan/phpdoc-parser/issues", - "source": "https://github.com/phpstan/phpdoc-parser/tree/1.24.2" + "source": "https://github.com/phpstan/phpdoc-parser/tree/1.24.4" }, - "time": "2023-09-26T12:28:12+00:00" + "time": "2023-11-26T18:29:22+00:00" }, { "name": "psr/container", @@ -1368,16 +1368,16 @@ }, { "name": "spatie/array-to-xml", - "version": "3.2.0", + "version": "3.2.2", "source": { "type": "git", "url": "https://github.com/spatie/array-to-xml.git", - "reference": "f9ab39c808500c347d5a8b6b13310bd5221e39e7" + "reference": "96be97e664c87613121d073ea39af4c74e57a7f8" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/spatie/array-to-xml/zipball/f9ab39c808500c347d5a8b6b13310bd5221e39e7", - "reference": "f9ab39c808500c347d5a8b6b13310bd5221e39e7", + "url": "https://api.github.com/repos/spatie/array-to-xml/zipball/96be97e664c87613121d073ea39af4c74e57a7f8", + "reference": "96be97e664c87613121d073ea39af4c74e57a7f8", "shasum": "" }, "require": { @@ -1415,7 +1415,7 @@ "xml" ], "support": { - "source": "https://github.com/spatie/array-to-xml/tree/3.2.0" + "source": "https://github.com/spatie/array-to-xml/tree/3.2.2" }, "funding": [ { @@ -1427,47 +1427,50 @@ "type": "github" } ], - "time": "2023-07-19T18:30:26+00:00" + "time": "2023-11-14T14:08:51+00:00" }, { "name": "symfony/console", - "version": "v6.3.4", + "version": "v7.0.0", "source": { "type": "git", "url": "https://github.com/symfony/console.git", - "reference": "eca495f2ee845130855ddf1cf18460c38966c8b6" + "reference": "64e06788686633deb8d9a7c75ab31bcf4b233a26" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/symfony/console/zipball/eca495f2ee845130855ddf1cf18460c38966c8b6", - "reference": "eca495f2ee845130855ddf1cf18460c38966c8b6", + "url": "https://api.github.com/repos/symfony/console/zipball/64e06788686633deb8d9a7c75ab31bcf4b233a26", + "reference": "64e06788686633deb8d9a7c75ab31bcf4b233a26", "shasum": "" }, "require": { - "php": ">=8.1", - "symfony/deprecation-contracts": "^2.5|^3", + "php": ">=8.2", "symfony/polyfill-mbstring": "~1.0", "symfony/service-contracts": "^2.5|^3", - "symfony/string": "^5.4|^6.0" + "symfony/string": "^6.4|^7.0" }, "conflict": { - "symfony/dependency-injection": "<5.4", - "symfony/dotenv": "<5.4", - "symfony/event-dispatcher": "<5.4", - "symfony/lock": "<5.4", - "symfony/process": "<5.4" + "symfony/dependency-injection": "<6.4", + "symfony/dotenv": "<6.4", + "symfony/event-dispatcher": "<6.4", + "symfony/lock": "<6.4", + "symfony/process": "<6.4" }, "provide": { "psr/log-implementation": "1.0|2.0|3.0" }, "require-dev": { "psr/log": "^1|^2|^3", - "symfony/config": "^5.4|^6.0", - "symfony/dependency-injection": "^5.4|^6.0", - "symfony/event-dispatcher": "^5.4|^6.0", - "symfony/lock": "^5.4|^6.0", - "symfony/process": "^5.4|^6.0", - "symfony/var-dumper": "^5.4|^6.0" + "symfony/config": "^6.4|^7.0", + "symfony/dependency-injection": "^6.4|^7.0", + "symfony/event-dispatcher": "^6.4|^7.0", + "symfony/http-foundation": "^6.4|^7.0", + "symfony/http-kernel": "^6.4|^7.0", + "symfony/lock": "^6.4|^7.0", + "symfony/messenger": "^6.4|^7.0", + "symfony/process": "^6.4|^7.0", + "symfony/stopwatch": "^6.4|^7.0", + "symfony/var-dumper": "^6.4|^7.0" }, "type": "library", "autoload": { @@ -1501,7 +1504,7 @@ "terminal" ], "support": { - "source": "https://github.com/symfony/console/tree/v6.3.4" + "source": "https://github.com/symfony/console/tree/v7.0.0" }, "funding": [ { @@ -1517,11 +1520,11 @@ "type": "tidelift" } ], - "time": "2023-08-16T10:10:12+00:00" + "time": "2023-11-20T16:43:42+00:00" }, { "name": "symfony/deprecation-contracts", - "version": "v3.3.0", + "version": "v3.4.0", "source": { "type": "git", "url": "https://github.com/symfony/deprecation-contracts.git", @@ -1568,7 +1571,7 @@ "description": "A generic function and convention to trigger deprecation notices", "homepage": "https://symfony.com", "support": { - "source": "https://github.com/symfony/deprecation-contracts/tree/v3.3.0" + "source": "https://github.com/symfony/deprecation-contracts/tree/v3.4.0" }, "funding": [ { @@ -1588,20 +1591,20 @@ }, { "name": "symfony/filesystem", - "version": "v6.3.1", + "version": "v7.0.0", "source": { "type": "git", "url": "https://github.com/symfony/filesystem.git", - "reference": "edd36776956f2a6fcf577edb5b05eb0e3bdc52ae" + "reference": "7da8ea2362a283771478c5f7729cfcb43a76b8b7" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/symfony/filesystem/zipball/edd36776956f2a6fcf577edb5b05eb0e3bdc52ae", - "reference": "edd36776956f2a6fcf577edb5b05eb0e3bdc52ae", + "url": "https://api.github.com/repos/symfony/filesystem/zipball/7da8ea2362a283771478c5f7729cfcb43a76b8b7", + "reference": "7da8ea2362a283771478c5f7729cfcb43a76b8b7", "shasum": "" }, "require": { - "php": ">=8.1", + "php": ">=8.2", "symfony/polyfill-ctype": "~1.8", "symfony/polyfill-mbstring": "~1.8" }, @@ -1631,7 +1634,7 @@ "description": "Provides basic utilities for the filesystem", "homepage": "https://symfony.com", "support": { - "source": "https://github.com/symfony/filesystem/tree/v6.3.1" + "source": "https://github.com/symfony/filesystem/tree/v7.0.0" }, "funding": [ { @@ -1647,20 +1650,20 @@ "type": "tidelift" } ], - "time": "2023-06-01T08:30:39+00:00" + "time": "2023-07-27T06:33:22+00:00" }, { "name": "symfony/http-foundation", - "version": "v6.3.4", + "version": "v6.4.0", "source": { "type": "git", "url": "https://github.com/symfony/http-foundation.git", - "reference": "cac1556fdfdf6719668181974104e6fcfa60e844" + "reference": "44a6d39a9cc11e154547d882d5aac1e014440771" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/symfony/http-foundation/zipball/cac1556fdfdf6719668181974104e6fcfa60e844", - "reference": "cac1556fdfdf6719668181974104e6fcfa60e844", + "url": "https://api.github.com/repos/symfony/http-foundation/zipball/44a6d39a9cc11e154547d882d5aac1e014440771", + "reference": "44a6d39a9cc11e154547d882d5aac1e014440771", "shasum": "" }, "require": { @@ -1670,17 +1673,17 @@ "symfony/polyfill-php83": "^1.27" }, "conflict": { - "symfony/cache": "<6.2" + "symfony/cache": "<6.3" }, "require-dev": { - "doctrine/dbal": "^2.13.1|^3.0", + "doctrine/dbal": "^2.13.1|^3|^4", "predis/predis": "^1.1|^2.0", - "symfony/cache": "^5.4|^6.0", - "symfony/dependency-injection": "^5.4|^6.0", - "symfony/expression-language": "^5.4|^6.0", - "symfony/http-kernel": "^5.4.12|^6.0.12|^6.1.4", - "symfony/mime": "^5.4|^6.0", - "symfony/rate-limiter": "^5.2|^6.0" + "symfony/cache": "^6.3|^7.0", + "symfony/dependency-injection": "^5.4|^6.0|^7.0", + "symfony/expression-language": "^5.4|^6.0|^7.0", + "symfony/http-kernel": "^5.4.12|^6.0.12|^6.1.4|^7.0", + "symfony/mime": "^5.4|^6.0|^7.0", + "symfony/rate-limiter": "^5.4|^6.0|^7.0" }, "type": "library", "autoload": { @@ -1708,7 +1711,7 @@ "description": "Defines an object-oriented layer for the HTTP specification", "homepage": "https://symfony.com", "support": { - "source": "https://github.com/symfony/http-foundation/tree/v6.3.4" + "source": "https://github.com/symfony/http-foundation/tree/v6.4.0" }, "funding": [ { @@ -1724,7 +1727,7 @@ "type": "tidelift" } ], - "time": "2023-08-22T08:20:46+00:00" + "time": "2023-11-20T16:41:16+00:00" }, { "name": "symfony/polyfill-ctype", @@ -2221,16 +2224,16 @@ }, { "name": "symfony/service-contracts", - "version": "v3.3.0", + "version": "v3.4.0", "source": { "type": "git", "url": "https://github.com/symfony/service-contracts.git", - "reference": "40da9cc13ec349d9e4966ce18b5fbcd724ab10a4" + "reference": "b3313c2dbffaf71c8de2934e2ea56ed2291a3838" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/symfony/service-contracts/zipball/40da9cc13ec349d9e4966ce18b5fbcd724ab10a4", - "reference": "40da9cc13ec349d9e4966ce18b5fbcd724ab10a4", + "url": "https://api.github.com/repos/symfony/service-contracts/zipball/b3313c2dbffaf71c8de2934e2ea56ed2291a3838", + "reference": "b3313c2dbffaf71c8de2934e2ea56ed2291a3838", "shasum": "" }, "require": { @@ -2283,7 +2286,7 @@ "standards" ], "support": { - "source": "https://github.com/symfony/service-contracts/tree/v3.3.0" + "source": "https://github.com/symfony/service-contracts/tree/v3.4.0" }, "funding": [ { @@ -2299,24 +2302,24 @@ "type": "tidelift" } ], - "time": "2023-05-23T14:45:45+00:00" + "time": "2023-07-30T20:28:31+00:00" }, { "name": "symfony/string", - "version": "v6.3.2", + "version": "v7.0.0", "source": { "type": "git", "url": "https://github.com/symfony/string.git", - "reference": "53d1a83225002635bca3482fcbf963001313fb68" + "reference": "92bd2bfbba476d4a1838e5e12168bef2fd1e6620" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/symfony/string/zipball/53d1a83225002635bca3482fcbf963001313fb68", - "reference": "53d1a83225002635bca3482fcbf963001313fb68", + "url": "https://api.github.com/repos/symfony/string/zipball/92bd2bfbba476d4a1838e5e12168bef2fd1e6620", + "reference": "92bd2bfbba476d4a1838e5e12168bef2fd1e6620", "shasum": "" }, "require": { - "php": ">=8.1", + "php": ">=8.2", "symfony/polyfill-ctype": "~1.8", "symfony/polyfill-intl-grapheme": "~1.0", "symfony/polyfill-intl-normalizer": "~1.0", @@ -2326,11 +2329,11 @@ "symfony/translation-contracts": "<2.5" }, "require-dev": { - "symfony/error-handler": "^5.4|^6.0", - "symfony/http-client": "^5.4|^6.0", - "symfony/intl": "^6.2", + "symfony/error-handler": "^6.4|^7.0", + "symfony/http-client": "^6.4|^7.0", + "symfony/intl": "^6.4|^7.0", "symfony/translation-contracts": "^2.5|^3.0", - "symfony/var-exporter": "^5.4|^6.0" + "symfony/var-exporter": "^6.4|^7.0" }, "type": "library", "autoload": { @@ -2369,7 +2372,7 @@ "utf8" ], "support": { - "source": "https://github.com/symfony/string/tree/v6.3.2" + "source": "https://github.com/symfony/string/tree/v7.0.0" }, "funding": [ { @@ -2385,20 +2388,20 @@ "type": "tidelift" } ], - "time": "2023-07-05T08:41:27+00:00" + "time": "2023-11-29T08:40:23+00:00" }, { "name": "vimeo/psalm", - "version": "5.15.0", + "version": "5.16.0", "source": { "type": "git", "url": "https://github.com/vimeo/psalm.git", - "reference": "5c774aca4746caf3d239d9c8cadb9f882ca29352" + "reference": "2897ba636551a8cb61601cc26f6ccfbba6c36591" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/vimeo/psalm/zipball/5c774aca4746caf3d239d9c8cadb9f882ca29352", - "reference": "5c774aca4746caf3d239d9c8cadb9f882ca29352", + "url": "https://api.github.com/repos/vimeo/psalm/zipball/2897ba636551a8cb61601cc26f6ccfbba6c36591", + "reference": "2897ba636551a8cb61601cc26f6ccfbba6c36591", "shasum": "" }, "require": { @@ -2423,8 +2426,8 @@ "php": "^7.4 || ~8.0.0 || ~8.1.0 || ~8.2.0 || ~8.3.0", "sebastian/diff": "^4.0 || ^5.0", "spatie/array-to-xml": "^2.17.0 || ^3.0", - "symfony/console": "^4.1.6 || ^5.0 || ^6.0", - "symfony/filesystem": "^5.4 || ^6.0" + "symfony/console": "^4.1.6 || ^5.0 || ^6.0 || ^7.0", + "symfony/filesystem": "^5.4 || ^6.0 || ^7.0" }, "conflict": { "nikic/php-parser": "4.17.0" @@ -2446,7 +2449,7 @@ "psalm/plugin-phpunit": "^0.18", "slevomat/coding-standard": "^8.4", "squizlabs/php_codesniffer": "^3.6", - "symfony/process": "^4.4 || ^5.0 || ^6.0" + "symfony/process": "^4.4 || ^5.0 || ^6.0 || ^7.0" }, "suggest": { "ext-curl": "In order to send data to shepherd", @@ -2459,7 +2462,7 @@ "psalm-refactor", "psalter" ], - "type": "library", + "type": "project", "extra": { "branch-alias": { "dev-master": "5.x-dev", @@ -2491,10 +2494,11 @@ "static analysis" ], "support": { + "docs": "https://psalm.dev/docs", "issues": "https://github.com/vimeo/psalm/issues", - "source": "https://github.com/vimeo/psalm/tree/5.15.0" + "source": "https://github.com/vimeo/psalm" }, - "time": "2023-08-20T23:07:30+00:00" + "time": "2023-11-22T20:38:47+00:00" }, { "name": "webmozart/assert", @@ -2636,16 +2640,16 @@ }, { "name": "lubiana/code-quality", - "version": "1.1.9", + "version": "1.2.0", "source": { "type": "git", "url": "https://git.php.fail/lubiana/code-quality.git", - "reference": "5d731e63f9fc56c127b9f0f87049b2b52a53d687" + "reference": "3c81249b90fe838754ca3367c82d7f24bce36b95" }, "require": { - "rector/rector": "^0.18.1", - "slevomat/coding-standard": "^8.13", - "symplify/easy-coding-standard": "^12.0" + "rector/rector": "^0.18.11", + "slevomat/coding-standard": "^8.14.1", + "symplify/easy-coding-standard": "^12.0.9" }, "type": "library", "autoload": { @@ -2660,7 +2664,7 @@ "keywords": [ "dev" ], - "time": "2023-09-01T05:52:22+00:00" + "time": "2023-11-29T17:27:33+00:00" }, { "name": "phpstan/extension-installer", @@ -2708,16 +2712,16 @@ }, { "name": "phpstan/phpstan", - "version": "1.10.35", + "version": "1.10.46", "source": { "type": "git", "url": "https://github.com/phpstan/phpstan.git", - "reference": "e730e5facb75ffe09dfb229795e8c01a459f26c3" + "reference": "90d3d25c5b98b8068916bbf08ce42d5cb6c54e70" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/phpstan/phpstan/zipball/e730e5facb75ffe09dfb229795e8c01a459f26c3", - "reference": "e730e5facb75ffe09dfb229795e8c01a459f26c3", + "url": "https://api.github.com/repos/phpstan/phpstan/zipball/90d3d25c5b98b8068916bbf08ce42d5cb6c54e70", + "reference": "90d3d25c5b98b8068916bbf08ce42d5cb6c54e70", "shasum": "" }, "require": { @@ -2766,25 +2770,25 @@ "type": "tidelift" } ], - "time": "2023-09-19T15:27:56+00:00" + "time": "2023-11-28T14:57:26+00:00" }, { "name": "phpstan/phpstan-strict-rules", - "version": "1.5.1", + "version": "1.5.2", "source": { "type": "git", "url": "https://github.com/phpstan/phpstan-strict-rules.git", - "reference": "b21c03d4f6f3a446e4311155f4be9d65048218e6" + "reference": "7a50e9662ee9f3942e4aaaf3d603653f60282542" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/phpstan/phpstan-strict-rules/zipball/b21c03d4f6f3a446e4311155f4be9d65048218e6", - "reference": "b21c03d4f6f3a446e4311155f4be9d65048218e6", + "url": "https://api.github.com/repos/phpstan/phpstan-strict-rules/zipball/7a50e9662ee9f3942e4aaaf3d603653f60282542", + "reference": "7a50e9662ee9f3942e4aaaf3d603653f60282542", "shasum": "" }, "require": { "php": "^7.2 || ^8.0", - "phpstan/phpstan": "^1.10" + "phpstan/phpstan": "^1.10.34" }, "require-dev": { "nikic/php-parser": "^4.13.0", @@ -2813,34 +2817,40 @@ "description": "Extra strict and opinionated rules for PHPStan", "support": { "issues": "https://github.com/phpstan/phpstan-strict-rules/issues", - "source": "https://github.com/phpstan/phpstan-strict-rules/tree/1.5.1" + "source": "https://github.com/phpstan/phpstan-strict-rules/tree/1.5.2" }, - "time": "2023-03-29T14:47:40+00:00" + "time": "2023-10-30T14:35:06+00:00" }, { "name": "pmjones/auto-shell", - "version": "1.0.1", + "version": "1.0.2", "source": { "type": "git", "url": "https://github.com/pmjones/AutoShell.git", - "reference": "d7f1bbd434257ce663ca692c3928da7f8b963d7c" + "reference": "e38a2b38cf3e162ba82c0f5dda11cc00b5417aa0" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/pmjones/AutoShell/zipball/d7f1bbd434257ce663ca692c3928da7f8b963d7c", - "reference": "d7f1bbd434257ce663ca692c3928da7f8b963d7c", + "url": "https://api.github.com/repos/pmjones/AutoShell/zipball/e38a2b38cf3e162ba82c0f5dda11cc00b5417aa0", + "reference": "e38a2b38cf3e162ba82c0f5dda11cc00b5417aa0", "shasum": "" }, "require": { - "php": "^8.1" + "php": "^8.1 | ^8.2 | ^8.3" }, "require-dev": { "pds/composer-script-names": "^1.0", "pds/skeleton": "^1.0", "phpstan/phpstan": "^1.0", - "phpunit/phpunit": "^9.0" + "phpunit/phpunit": "^10.0", + "pmjones/php-styler": "0.x-dev" }, "type": "library", + "extra": { + "branch-alias": { + "dev-1.x": "1.x-dev" + } + }, "autoload": { "psr-4": { "AutoShell\\": "./src" @@ -2853,9 +2863,9 @@ "description": "Automatically parses command-line strings to command classes.", "support": { "issues": "https://github.com/pmjones/AutoShell/issues", - "source": "https://github.com/pmjones/AutoShell/tree/1.0.1" + "source": "https://github.com/pmjones/AutoShell/tree/1.0.2" }, - "time": "2023-05-27T15:56:15+00:00" + "time": "2023-09-26T19:51:45+00:00" }, { "name": "pmjones/php-styler", @@ -2863,19 +2873,18 @@ "source": { "type": "git", "url": "https://github.com/pmjones/php-styler.git", - "reference": "21cd3228f1fe3ea8fbce29743de9427cdcdbf13f" + "reference": "35089ec2db8d96b2d0b5bd033e58640a4522016d" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/pmjones/php-styler/zipball/21cd3228f1fe3ea8fbce29743de9427cdcdbf13f", - "reference": "21cd3228f1fe3ea8fbce29743de9427cdcdbf13f", + "url": "https://api.github.com/repos/pmjones/php-styler/zipball/35089ec2db8d96b2d0b5bd033e58640a4522016d", + "reference": "35089ec2db8d96b2d0b5bd033e58640a4522016d", "shasum": "" }, "require": { "nikic/php-parser": "^4.17", "php": "^8.1 | ^8.2 | ^8.3", - "pmjones/auto-shell": "^1.0", - "sebastian/diff": "^5.0" + "pmjones/auto-shell": "^1.0" }, "require-dev": { "pds/composer-script-names": "^1.0", @@ -2899,34 +2908,42 @@ ], "description": "Companion to PHP-Parser that rebuilds PHP code from AST.", "keywords": [ + "beautifier", + "beautify", + "code", + "coding", + "format", + "formatter", "guide", "parser", + "php", "standard", - "style" + "style", + "styler" ], "support": { "issues": "https://github.com/pmjones/php-styler/issues", - "source": "https://github.com/pmjones/php-styler/tree/0.x" + "source": "https://github.com/pmjones/php-styler/tree/0.14.0" }, - "time": "2023-09-26T16:01:54+00:00" + "time": "2023-10-28T15:50:50+00:00" }, { "name": "rector/rector", - "version": "0.18.4", + "version": "0.18.11", "source": { "type": "git", "url": "https://github.com/rectorphp/rector.git", - "reference": "d99a91176b7eb7f2b6d509a6486b3661c6dfd370" + "reference": "9621124c860066f56a4ab841349cb7c284edfaee" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/rectorphp/rector/zipball/d99a91176b7eb7f2b6d509a6486b3661c6dfd370", - "reference": "d99a91176b7eb7f2b6d509a6486b3661c6dfd370", + "url": "https://api.github.com/repos/rectorphp/rector/zipball/9621124c860066f56a4ab841349cb7c284edfaee", + "reference": "9621124c860066f56a4ab841349cb7c284edfaee", "shasum": "" }, "require": { "php": "^7.2|^8.0", - "phpstan/phpstan": "^1.10.31" + "phpstan/phpstan": "^1.10.35" }, "conflict": { "rector/rector-doctrine": "*", @@ -2956,7 +2973,7 @@ ], "support": { "issues": "https://github.com/rectorphp/rector/issues", - "source": "https://github.com/rectorphp/rector/tree/0.18.4" + "source": "https://github.com/rectorphp/rector/tree/0.18.11" }, "funding": [ { @@ -2964,36 +2981,36 @@ "type": "github" } ], - "time": "2023-09-25T17:07:54+00:00" + "time": "2023-11-27T13:27:43+00:00" }, { "name": "slevomat/coding-standard", - "version": "8.13.4", + "version": "8.14.1", "source": { "type": "git", "url": "https://github.com/slevomat/coding-standard.git", - "reference": "4b2af2fb17773656d02fbfb5d18024ebd19fe322" + "reference": "fea1fd6f137cc84f9cba0ae30d549615dbc6a926" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/slevomat/coding-standard/zipball/4b2af2fb17773656d02fbfb5d18024ebd19fe322", - "reference": "4b2af2fb17773656d02fbfb5d18024ebd19fe322", + "url": "https://api.github.com/repos/slevomat/coding-standard/zipball/fea1fd6f137cc84f9cba0ae30d549615dbc6a926", + "reference": "fea1fd6f137cc84f9cba0ae30d549615dbc6a926", "shasum": "" }, "require": { "dealerdirect/phpcodesniffer-composer-installer": "^0.6.2 || ^0.7 || ^1.0", "php": "^7.2 || ^8.0", - "phpstan/phpdoc-parser": "^1.23.0", + "phpstan/phpdoc-parser": "^1.23.1", "squizlabs/php_codesniffer": "^3.7.1" }, "require-dev": { "phing/phing": "2.17.4", "php-parallel-lint/php-parallel-lint": "1.3.2", - "phpstan/phpstan": "1.10.26", - "phpstan/phpstan-deprecation-rules": "1.1.3", - "phpstan/phpstan-phpunit": "1.3.13", + "phpstan/phpstan": "1.10.37", + "phpstan/phpstan-deprecation-rules": "1.1.4", + "phpstan/phpstan-phpunit": "1.3.14", "phpstan/phpstan-strict-rules": "1.5.1", - "phpunit/phpunit": "7.5.20|8.5.21|9.6.8|10.2.6" + "phpunit/phpunit": "8.5.21|9.6.8|10.3.5" }, "type": "phpcodesniffer-standard", "extra": { @@ -3017,7 +3034,7 @@ ], "support": { "issues": "https://github.com/slevomat/coding-standard/issues", - "source": "https://github.com/slevomat/coding-standard/tree/8.13.4" + "source": "https://github.com/slevomat/coding-standard/tree/8.14.1" }, "funding": [ { @@ -3029,7 +3046,7 @@ "type": "tidelift" } ], - "time": "2023-07-25T10:28:55+00:00" + "time": "2023-10-08T07:28:08+00:00" }, { "name": "squizlabs/php_codesniffer", @@ -3090,16 +3107,16 @@ }, { "name": "symplify/easy-coding-standard", - "version": "12.0.8", + "version": "12.0.9", "source": { "type": "git", "url": "https://github.com/easy-coding-standard/easy-coding-standard.git", - "reference": "99d87d188acc712dd6655ee946569f823cfeff69" + "reference": "24b7b28c25d698e64496c4d19c798ccd01617c7d" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/easy-coding-standard/easy-coding-standard/zipball/99d87d188acc712dd6655ee946569f823cfeff69", - "reference": "99d87d188acc712dd6655ee946569f823cfeff69", + "url": "https://api.github.com/repos/easy-coding-standard/easy-coding-standard/zipball/24b7b28c25d698e64496c4d19c798ccd01617c7d", + "reference": "24b7b28c25d698e64496c4d19c798ccd01617c7d", "shasum": "" }, "require": { @@ -3132,7 +3149,7 @@ ], "support": { "issues": "https://github.com/easy-coding-standard/easy-coding-standard/issues", - "source": "https://github.com/easy-coding-standard/easy-coding-standard/tree/12.0.8" + "source": "https://github.com/easy-coding-standard/easy-coding-standard/tree/12.0.9" }, "funding": [ { @@ -3144,7 +3161,7 @@ "type": "github" } ], - "time": "2023-09-08T10:17:14+00:00" + "time": "2023-11-29T09:35:09+00:00" }, { "name": "thecodingmachine/phpstan-strict-rules", @@ -3210,7 +3227,7 @@ "prefer-stable": true, "prefer-lowest": false, "platform": { - "php": ">=8.2", + "php": ">=8.3", "ext-apcu": "*" }, "platform-dev": [], From 4910317c38f0b8c0f5675c68322abe37bf750afd Mon Sep 17 00:00:00 2001 From: lubiana Date: Wed, 29 Nov 2023 19:34:36 +0100 Subject: [PATCH 60/62] updatecontainer --- .forgejo/workflows/push.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.forgejo/workflows/push.yml b/.forgejo/workflows/push.yml index c34bcbd..1349376 100644 --- a/.forgejo/workflows/push.yml +++ b/.forgejo/workflows/push.yml @@ -3,7 +3,7 @@ jobs: ls: runs-on: docker container: - image: git.php.fail/lubiana/container/php:8.3.0-node-20 + image: git.php.fail/lubiana/container/php:8.3.0-node-20231212 steps: - uses: actions/checkout@v3 - name: Get Composer Cache Directory From 28491fd4ea8f285a7b5fd1e73903a78580aa730b Mon Sep 17 00:00:00 2001 From: lubiana Date: Thu, 30 Nov 2023 21:14:17 +0100 Subject: [PATCH 61/62] fix arrayFilter helper function --- composer.json | 16 +- composer.lock | 2526 +++++++++++++++--------------- psalm-baseline.xml | 7 +- src/Infrastructure/functions.php | 6 +- 4 files changed, 1240 insertions(+), 1315 deletions(-) diff --git a/composer.json b/composer.json index ca5a52c..f9eb62a 100644 --- a/composer.json +++ b/composer.json @@ -17,18 +17,18 @@ "require": { "php": ">=8.3", "ext-apcu": "*", - "php-di/php-di": "^7.0.1", + "php-di/php-di": "^7.0.6", "nikic/fast-route": "^1.3", - "symfony/http-foundation": "^6.2.5", - "vimeo/psalm": "^5.6" + "symfony/http-foundation": "^7.0" }, "require-dev": { - "phpstan/phpstan": "^1.9.14", - "lubiana/code-quality": "^1.1", - "phpstan/extension-installer": "^1.2", - "phpstan/phpstan-strict-rules": "^1.4.5", + "phpstan/phpstan": "^1.10.46", + "lubiana/code-quality": "^1.2", + "phpstan/extension-installer": "^1.3.1", + "phpstan/phpstan-strict-rules": "^1.5.2", "thecodingmachine/phpstan-strict-rules": "^1.0", - "pmjones/php-styler": "0.x-dev" + "pmjones/php-styler": "^0.14.0", + "vimeo/psalm": "^5.16" }, "config": { "allow-plugins": { diff --git a/composer.lock b/composer.lock index e4c8e53..007bc2b 100644 --- a/composer.lock +++ b/composer.lock @@ -4,8 +4,624 @@ "Read more about it at https://getcomposer.org/doc/01-basic-usage.md#installing-dependencies", "This file is @generated automatically" ], - "content-hash": "503a7b9c806d8f47fb2c0901b563c56f", + "content-hash": "3c5713c257b77f6ed08cd37697fe2fa9", "packages": [ + { + "name": "laravel/serializable-closure", + "version": "v1.3.3", + "source": { + "type": "git", + "url": "https://github.com/laravel/serializable-closure.git", + "reference": "3dbf8a8e914634c48d389c1234552666b3d43754" + }, + "dist": { + "type": "zip", + "url": "https://api.github.com/repos/laravel/serializable-closure/zipball/3dbf8a8e914634c48d389c1234552666b3d43754", + "reference": "3dbf8a8e914634c48d389c1234552666b3d43754", + "shasum": "" + }, + "require": { + "php": "^7.3|^8.0" + }, + "require-dev": { + "nesbot/carbon": "^2.61", + "pestphp/pest": "^1.21.3", + "phpstan/phpstan": "^1.8.2", + "symfony/var-dumper": "^5.4.11" + }, + "type": "library", + "extra": { + "branch-alias": { + "dev-master": "1.x-dev" + } + }, + "autoload": { + "psr-4": { + "Laravel\\SerializableClosure\\": "src/" + } + }, + "notification-url": "https://packagist.org/downloads/", + "license": [ + "MIT" + ], + "authors": [ + { + "name": "Taylor Otwell", + "email": "taylor@laravel.com" + }, + { + "name": "Nuno Maduro", + "email": "nuno@laravel.com" + } + ], + "description": "Laravel Serializable Closure provides an easy and secure way to serialize closures in PHP.", + "keywords": [ + "closure", + "laravel", + "serializable" + ], + "support": { + "issues": "https://github.com/laravel/serializable-closure/issues", + "source": "https://github.com/laravel/serializable-closure" + }, + "time": "2023-11-08T14:08:06+00:00" + }, + { + "name": "nikic/fast-route", + "version": "v1.3.0", + "source": { + "type": "git", + "url": "https://github.com/nikic/FastRoute.git", + "reference": "181d480e08d9476e61381e04a71b34dc0432e812" + }, + "dist": { + "type": "zip", + "url": "https://api.github.com/repos/nikic/FastRoute/zipball/181d480e08d9476e61381e04a71b34dc0432e812", + "reference": "181d480e08d9476e61381e04a71b34dc0432e812", + "shasum": "" + }, + "require": { + "php": ">=5.4.0" + }, + "require-dev": { + "phpunit/phpunit": "^4.8.35|~5.7" + }, + "type": "library", + "autoload": { + "files": [ + "src/functions.php" + ], + "psr-4": { + "FastRoute\\": "src/" + } + }, + "notification-url": "https://packagist.org/downloads/", + "license": [ + "BSD-3-Clause" + ], + "authors": [ + { + "name": "Nikita Popov", + "email": "nikic@php.net" + } + ], + "description": "Fast request router for PHP", + "keywords": [ + "router", + "routing" + ], + "support": { + "issues": "https://github.com/nikic/FastRoute/issues", + "source": "https://github.com/nikic/FastRoute/tree/master" + }, + "time": "2018-02-13T20:26:39+00:00" + }, + { + "name": "php-di/invoker", + "version": "2.3.4", + "source": { + "type": "git", + "url": "https://github.com/PHP-DI/Invoker.git", + "reference": "33234b32dafa8eb69202f950a1fc92055ed76a86" + }, + "dist": { + "type": "zip", + "url": "https://api.github.com/repos/PHP-DI/Invoker/zipball/33234b32dafa8eb69202f950a1fc92055ed76a86", + "reference": "33234b32dafa8eb69202f950a1fc92055ed76a86", + "shasum": "" + }, + "require": { + "php": ">=7.3", + "psr/container": "^1.0|^2.0" + }, + "require-dev": { + "athletic/athletic": "~0.1.8", + "mnapoli/hard-mode": "~0.3.0", + "phpunit/phpunit": "^9.0" + }, + "type": "library", + "autoload": { + "psr-4": { + "Invoker\\": "src/" + } + }, + "notification-url": "https://packagist.org/downloads/", + "license": [ + "MIT" + ], + "description": "Generic and extensible callable invoker", + "homepage": "https://github.com/PHP-DI/Invoker", + "keywords": [ + "callable", + "dependency", + "dependency-injection", + "injection", + "invoke", + "invoker" + ], + "support": { + "issues": "https://github.com/PHP-DI/Invoker/issues", + "source": "https://github.com/PHP-DI/Invoker/tree/2.3.4" + }, + "funding": [ + { + "url": "https://github.com/mnapoli", + "type": "github" + } + ], + "time": "2023-09-08T09:24:21+00:00" + }, + { + "name": "php-di/php-di", + "version": "7.0.6", + "source": { + "type": "git", + "url": "https://github.com/PHP-DI/PHP-DI.git", + "reference": "8097948a89f6ec782839b3e958432f427cac37fd" + }, + "dist": { + "type": "zip", + "url": "https://api.github.com/repos/PHP-DI/PHP-DI/zipball/8097948a89f6ec782839b3e958432f427cac37fd", + "reference": "8097948a89f6ec782839b3e958432f427cac37fd", + "shasum": "" + }, + "require": { + "laravel/serializable-closure": "^1.0", + "php": ">=8.0", + "php-di/invoker": "^2.0", + "psr/container": "^1.1 || ^2.0" + }, + "provide": { + "psr/container-implementation": "^1.0" + }, + "require-dev": { + "friendsofphp/php-cs-fixer": "^3", + "friendsofphp/proxy-manager-lts": "^1", + "mnapoli/phpunit-easymock": "^1.3", + "phpunit/phpunit": "^9.5", + "vimeo/psalm": "^4.6" + }, + "suggest": { + "friendsofphp/proxy-manager-lts": "Install it if you want to use lazy injection (version ^1)" + }, + "type": "library", + "autoload": { + "files": [ + "src/functions.php" + ], + "psr-4": { + "DI\\": "src/" + } + }, + "notification-url": "https://packagist.org/downloads/", + "license": [ + "MIT" + ], + "description": "The dependency injection container for humans", + "homepage": "https://php-di.org/", + "keywords": [ + "PSR-11", + "container", + "container-interop", + "dependency injection", + "di", + "ioc", + "psr11" + ], + "support": { + "issues": "https://github.com/PHP-DI/PHP-DI/issues", + "source": "https://github.com/PHP-DI/PHP-DI/tree/7.0.6" + }, + "funding": [ + { + "url": "https://github.com/mnapoli", + "type": "github" + }, + { + "url": "https://tidelift.com/funding/github/packagist/php-di/php-di", + "type": "tidelift" + } + ], + "time": "2023-11-02T10:04:50+00:00" + }, + { + "name": "psr/container", + "version": "2.0.2", + "source": { + "type": "git", + "url": "https://github.com/php-fig/container.git", + "reference": "c71ecc56dfe541dbd90c5360474fbc405f8d5963" + }, + "dist": { + "type": "zip", + "url": "https://api.github.com/repos/php-fig/container/zipball/c71ecc56dfe541dbd90c5360474fbc405f8d5963", + "reference": "c71ecc56dfe541dbd90c5360474fbc405f8d5963", + "shasum": "" + }, + "require": { + "php": ">=7.4.0" + }, + "type": "library", + "extra": { + "branch-alias": { + "dev-master": "2.0.x-dev" + } + }, + "autoload": { + "psr-4": { + "Psr\\Container\\": "src/" + } + }, + "notification-url": "https://packagist.org/downloads/", + "license": [ + "MIT" + ], + "authors": [ + { + "name": "PHP-FIG", + "homepage": "https://www.php-fig.org/" + } + ], + "description": "Common Container Interface (PHP FIG PSR-11)", + "homepage": "https://github.com/php-fig/container", + "keywords": [ + "PSR-11", + "container", + "container-interface", + "container-interop", + "psr" + ], + "support": { + "issues": "https://github.com/php-fig/container/issues", + "source": "https://github.com/php-fig/container/tree/2.0.2" + }, + "time": "2021-11-05T16:47:00+00:00" + }, + { + "name": "symfony/http-foundation", + "version": "v7.0.0", + "source": { + "type": "git", + "url": "https://github.com/symfony/http-foundation.git", + "reference": "47d72323200934694def5d57083899d774a2b110" + }, + "dist": { + "type": "zip", + "url": "https://api.github.com/repos/symfony/http-foundation/zipball/47d72323200934694def5d57083899d774a2b110", + "reference": "47d72323200934694def5d57083899d774a2b110", + "shasum": "" + }, + "require": { + "php": ">=8.2", + "symfony/polyfill-mbstring": "~1.1", + "symfony/polyfill-php83": "^1.27" + }, + "conflict": { + "doctrine/dbal": "<3.6", + "symfony/cache": "<6.4" + }, + "require-dev": { + "doctrine/dbal": "^3.6|^4", + "predis/predis": "^1.1|^2.0", + "symfony/cache": "^6.4|^7.0", + "symfony/dependency-injection": "^6.4|^7.0", + "symfony/expression-language": "^6.4|^7.0", + "symfony/http-kernel": "^6.4|^7.0", + "symfony/mime": "^6.4|^7.0", + "symfony/rate-limiter": "^6.4|^7.0" + }, + "type": "library", + "autoload": { + "psr-4": { + "Symfony\\Component\\HttpFoundation\\": "" + }, + "exclude-from-classmap": [ + "/Tests/" + ] + }, + "notification-url": "https://packagist.org/downloads/", + "license": [ + "MIT" + ], + "authors": [ + { + "name": "Fabien Potencier", + "email": "fabien@symfony.com" + }, + { + "name": "Symfony Community", + "homepage": "https://symfony.com/contributors" + } + ], + "description": "Defines an object-oriented layer for the HTTP specification", + "homepage": "https://symfony.com", + "support": { + "source": "https://github.com/symfony/http-foundation/tree/v7.0.0" + }, + "funding": [ + { + "url": "https://symfony.com/sponsor", + "type": "custom" + }, + { + "url": "https://github.com/fabpot", + "type": "github" + }, + { + "url": "https://tidelift.com/funding/github/packagist/symfony/symfony", + "type": "tidelift" + } + ], + "time": "2023-11-07T15:10:37+00:00" + }, + { + "name": "symfony/polyfill-mbstring", + "version": "v1.28.0", + "source": { + "type": "git", + "url": "https://github.com/symfony/polyfill-mbstring.git", + "reference": "42292d99c55abe617799667f454222c54c60e229" + }, + "dist": { + "type": "zip", + "url": "https://api.github.com/repos/symfony/polyfill-mbstring/zipball/42292d99c55abe617799667f454222c54c60e229", + "reference": "42292d99c55abe617799667f454222c54c60e229", + "shasum": "" + }, + "require": { + "php": ">=7.1" + }, + "provide": { + "ext-mbstring": "*" + }, + "suggest": { + "ext-mbstring": "For best performance" + }, + "type": "library", + "extra": { + "branch-alias": { + "dev-main": "1.28-dev" + }, + "thanks": { + "name": "symfony/polyfill", + "url": "https://github.com/symfony/polyfill" + } + }, + "autoload": { + "files": [ + "bootstrap.php" + ], + "psr-4": { + "Symfony\\Polyfill\\Mbstring\\": "" + } + }, + "notification-url": "https://packagist.org/downloads/", + "license": [ + "MIT" + ], + "authors": [ + { + "name": "Nicolas Grekas", + "email": "p@tchwork.com" + }, + { + "name": "Symfony Community", + "homepage": "https://symfony.com/contributors" + } + ], + "description": "Symfony polyfill for the Mbstring extension", + "homepage": "https://symfony.com", + "keywords": [ + "compatibility", + "mbstring", + "polyfill", + "portable", + "shim" + ], + "support": { + "source": "https://github.com/symfony/polyfill-mbstring/tree/v1.28.0" + }, + "funding": [ + { + "url": "https://symfony.com/sponsor", + "type": "custom" + }, + { + "url": "https://github.com/fabpot", + "type": "github" + }, + { + "url": "https://tidelift.com/funding/github/packagist/symfony/symfony", + "type": "tidelift" + } + ], + "time": "2023-07-28T09:04:16+00:00" + }, + { + "name": "symfony/polyfill-php80", + "version": "v1.28.0", + "source": { + "type": "git", + "url": "https://github.com/symfony/polyfill-php80.git", + "reference": "6caa57379c4aec19c0a12a38b59b26487dcfe4b5" + }, + "dist": { + "type": "zip", + "url": "https://api.github.com/repos/symfony/polyfill-php80/zipball/6caa57379c4aec19c0a12a38b59b26487dcfe4b5", + "reference": "6caa57379c4aec19c0a12a38b59b26487dcfe4b5", + "shasum": "" + }, + "require": { + "php": ">=7.1" + }, + "type": "library", + "extra": { + "branch-alias": { + "dev-main": "1.28-dev" + }, + "thanks": { + "name": "symfony/polyfill", + "url": "https://github.com/symfony/polyfill" + } + }, + "autoload": { + "files": [ + "bootstrap.php" + ], + "psr-4": { + "Symfony\\Polyfill\\Php80\\": "" + }, + "classmap": [ + "Resources/stubs" + ] + }, + "notification-url": "https://packagist.org/downloads/", + "license": [ + "MIT" + ], + "authors": [ + { + "name": "Ion Bazan", + "email": "ion.bazan@gmail.com" + }, + { + "name": "Nicolas Grekas", + "email": "p@tchwork.com" + }, + { + "name": "Symfony Community", + "homepage": "https://symfony.com/contributors" + } + ], + "description": "Symfony polyfill backporting some PHP 8.0+ features to lower PHP versions", + "homepage": "https://symfony.com", + "keywords": [ + "compatibility", + "polyfill", + "portable", + "shim" + ], + "support": { + "source": "https://github.com/symfony/polyfill-php80/tree/v1.28.0" + }, + "funding": [ + { + "url": "https://symfony.com/sponsor", + "type": "custom" + }, + { + "url": "https://github.com/fabpot", + "type": "github" + }, + { + "url": "https://tidelift.com/funding/github/packagist/symfony/symfony", + "type": "tidelift" + } + ], + "time": "2023-01-26T09:26:14+00:00" + }, + { + "name": "symfony/polyfill-php83", + "version": "v1.28.0", + "source": { + "type": "git", + "url": "https://github.com/symfony/polyfill-php83.git", + "reference": "b0f46ebbeeeda3e9d2faebdfbf4b4eae9b59fa11" + }, + "dist": { + "type": "zip", + "url": "https://api.github.com/repos/symfony/polyfill-php83/zipball/b0f46ebbeeeda3e9d2faebdfbf4b4eae9b59fa11", + "reference": "b0f46ebbeeeda3e9d2faebdfbf4b4eae9b59fa11", + "shasum": "" + }, + "require": { + "php": ">=7.1", + "symfony/polyfill-php80": "^1.14" + }, + "type": "library", + "extra": { + "branch-alias": { + "dev-main": "1.28-dev" + }, + "thanks": { + "name": "symfony/polyfill", + "url": "https://github.com/symfony/polyfill" + } + }, + "autoload": { + "files": [ + "bootstrap.php" + ], + "psr-4": { + "Symfony\\Polyfill\\Php83\\": "" + }, + "classmap": [ + "Resources/stubs" + ] + }, + "notification-url": "https://packagist.org/downloads/", + "license": [ + "MIT" + ], + "authors": [ + { + "name": "Nicolas Grekas", + "email": "p@tchwork.com" + }, + { + "name": "Symfony Community", + "homepage": "https://symfony.com/contributors" + } + ], + "description": "Symfony polyfill backporting some PHP 8.3+ features to lower PHP versions", + "homepage": "https://symfony.com", + "keywords": [ + "compatibility", + "polyfill", + "portable", + "shim" + ], + "support": { + "source": "https://github.com/symfony/polyfill-php83/tree/v1.28.0" + }, + "funding": [ + { + "url": "https://symfony.com/sponsor", + "type": "custom" + }, + { + "url": "https://github.com/fabpot", + "type": "github" + }, + { + "url": "https://tidelift.com/funding/github/packagist/symfony/symfony", + "type": "tidelift" + } + ], + "time": "2023-08-16T06:22:46+00:00" + } + ], + "packages-dev": [ { "name": "amphp/amp", "version": "v2.6.2", @@ -390,6 +1006,84 @@ ], "time": "2022-02-25T21:32:43+00:00" }, + { + "name": "dealerdirect/phpcodesniffer-composer-installer", + "version": "v1.0.0", + "source": { + "type": "git", + "url": "https://github.com/PHPCSStandards/composer-installer.git", + "reference": "4be43904336affa5c2f70744a348312336afd0da" + }, + "dist": { + "type": "zip", + "url": "https://api.github.com/repos/PHPCSStandards/composer-installer/zipball/4be43904336affa5c2f70744a348312336afd0da", + "reference": "4be43904336affa5c2f70744a348312336afd0da", + "shasum": "" + }, + "require": { + "composer-plugin-api": "^1.0 || ^2.0", + "php": ">=5.4", + "squizlabs/php_codesniffer": "^2.0 || ^3.1.0 || ^4.0" + }, + "require-dev": { + "composer/composer": "*", + "ext-json": "*", + "ext-zip": "*", + "php-parallel-lint/php-parallel-lint": "^1.3.1", + "phpcompatibility/php-compatibility": "^9.0", + "yoast/phpunit-polyfills": "^1.0" + }, + "type": "composer-plugin", + "extra": { + "class": "PHPCSStandards\\Composer\\Plugin\\Installers\\PHPCodeSniffer\\Plugin" + }, + "autoload": { + "psr-4": { + "PHPCSStandards\\Composer\\Plugin\\Installers\\PHPCodeSniffer\\": "src/" + } + }, + "notification-url": "https://packagist.org/downloads/", + "license": [ + "MIT" + ], + "authors": [ + { + "name": "Franck Nijhof", + "email": "franck.nijhof@dealerdirect.com", + "homepage": "http://www.frenck.nl", + "role": "Developer / IT Manager" + }, + { + "name": "Contributors", + "homepage": "https://github.com/PHPCSStandards/composer-installer/graphs/contributors" + } + ], + "description": "PHP_CodeSniffer Standards Composer Installer Plugin", + "homepage": "http://www.dealerdirect.com", + "keywords": [ + "PHPCodeSniffer", + "PHP_CodeSniffer", + "code quality", + "codesniffer", + "composer", + "installer", + "phpcbf", + "phpcs", + "plugin", + "qa", + "quality", + "standard", + "standards", + "style guide", + "stylecheck", + "tests" + ], + "support": { + "issues": "https://github.com/PHPCSStandards/composer-installer/issues", + "source": "https://github.com/PHPCSStandards/composer-installer" + }, + "time": "2023-01-05T11:28:13+00:00" + }, { "name": "dnoegel/php-xdg-base-dir", "version": "v0.1.1", @@ -637,64 +1331,32 @@ "time": "2022-12-24T12:35:10+00:00" }, { - "name": "laravel/serializable-closure", - "version": "v1.3.3", + "name": "lubiana/code-quality", + "version": "1.2.0", "source": { "type": "git", - "url": "https://github.com/laravel/serializable-closure.git", - "reference": "3dbf8a8e914634c48d389c1234552666b3d43754" - }, - "dist": { - "type": "zip", - "url": "https://api.github.com/repos/laravel/serializable-closure/zipball/3dbf8a8e914634c48d389c1234552666b3d43754", - "reference": "3dbf8a8e914634c48d389c1234552666b3d43754", - "shasum": "" + "url": "https://git.php.fail/lubiana/code-quality.git", + "reference": "3c81249b90fe838754ca3367c82d7f24bce36b95" }, "require": { - "php": "^7.3|^8.0" - }, - "require-dev": { - "nesbot/carbon": "^2.61", - "pestphp/pest": "^1.21.3", - "phpstan/phpstan": "^1.8.2", - "symfony/var-dumper": "^5.4.11" + "rector/rector": "^0.18.11", + "slevomat/coding-standard": "^8.14.1", + "symplify/easy-coding-standard": "^12.0.9" }, "type": "library", - "extra": { - "branch-alias": { - "dev-master": "1.x-dev" - } - }, "autoload": { "psr-4": { - "Laravel\\SerializableClosure\\": "src/" + "Lubiana\\CodeQuality\\": "src/" } }, "notification-url": "https://packagist.org/downloads/", "license": [ "MIT" ], - "authors": [ - { - "name": "Taylor Otwell", - "email": "taylor@laravel.com" - }, - { - "name": "Nuno Maduro", - "email": "nuno@laravel.com" - } - ], - "description": "Laravel Serializable Closure provides an easy and secure way to serialize closures in PHP.", "keywords": [ - "closure", - "laravel", - "serializable" + "dev" ], - "support": { - "issues": "https://github.com/laravel/serializable-closure/issues", - "source": "https://github.com/laravel/serializable-closure" - }, - "time": "2023-11-08T14:08:06+00:00" + "time": "2023-11-29T17:27:33+00:00" }, { "name": "netresearch/jsonmapper", @@ -747,56 +1409,6 @@ }, "time": "2023-04-09T17:37:40+00:00" }, - { - "name": "nikic/fast-route", - "version": "v1.3.0", - "source": { - "type": "git", - "url": "https://github.com/nikic/FastRoute.git", - "reference": "181d480e08d9476e61381e04a71b34dc0432e812" - }, - "dist": { - "type": "zip", - "url": "https://api.github.com/repos/nikic/FastRoute/zipball/181d480e08d9476e61381e04a71b34dc0432e812", - "reference": "181d480e08d9476e61381e04a71b34dc0432e812", - "shasum": "" - }, - "require": { - "php": ">=5.4.0" - }, - "require-dev": { - "phpunit/phpunit": "^4.8.35|~5.7" - }, - "type": "library", - "autoload": { - "files": [ - "src/functions.php" - ], - "psr-4": { - "FastRoute\\": "src/" - } - }, - "notification-url": "https://packagist.org/downloads/", - "license": [ - "BSD-3-Clause" - ], - "authors": [ - { - "name": "Nikita Popov", - "email": "nikic@php.net" - } - ], - "description": "Fast request router for PHP", - "keywords": [ - "router", - "routing" - ], - "support": { - "issues": "https://github.com/nikic/FastRoute/issues", - "source": "https://github.com/nikic/FastRoute/tree/master" - }, - "time": "2018-02-13T20:26:39+00:00" - }, { "name": "nikic/php-parser", "version": "v4.17.1", @@ -853,134 +1465,6 @@ }, "time": "2023-08-13T19:53:39+00:00" }, - { - "name": "php-di/invoker", - "version": "2.3.4", - "source": { - "type": "git", - "url": "https://github.com/PHP-DI/Invoker.git", - "reference": "33234b32dafa8eb69202f950a1fc92055ed76a86" - }, - "dist": { - "type": "zip", - "url": "https://api.github.com/repos/PHP-DI/Invoker/zipball/33234b32dafa8eb69202f950a1fc92055ed76a86", - "reference": "33234b32dafa8eb69202f950a1fc92055ed76a86", - "shasum": "" - }, - "require": { - "php": ">=7.3", - "psr/container": "^1.0|^2.0" - }, - "require-dev": { - "athletic/athletic": "~0.1.8", - "mnapoli/hard-mode": "~0.3.0", - "phpunit/phpunit": "^9.0" - }, - "type": "library", - "autoload": { - "psr-4": { - "Invoker\\": "src/" - } - }, - "notification-url": "https://packagist.org/downloads/", - "license": [ - "MIT" - ], - "description": "Generic and extensible callable invoker", - "homepage": "https://github.com/PHP-DI/Invoker", - "keywords": [ - "callable", - "dependency", - "dependency-injection", - "injection", - "invoke", - "invoker" - ], - "support": { - "issues": "https://github.com/PHP-DI/Invoker/issues", - "source": "https://github.com/PHP-DI/Invoker/tree/2.3.4" - }, - "funding": [ - { - "url": "https://github.com/mnapoli", - "type": "github" - } - ], - "time": "2023-09-08T09:24:21+00:00" - }, - { - "name": "php-di/php-di", - "version": "7.0.6", - "source": { - "type": "git", - "url": "https://github.com/PHP-DI/PHP-DI.git", - "reference": "8097948a89f6ec782839b3e958432f427cac37fd" - }, - "dist": { - "type": "zip", - "url": "https://api.github.com/repos/PHP-DI/PHP-DI/zipball/8097948a89f6ec782839b3e958432f427cac37fd", - "reference": "8097948a89f6ec782839b3e958432f427cac37fd", - "shasum": "" - }, - "require": { - "laravel/serializable-closure": "^1.0", - "php": ">=8.0", - "php-di/invoker": "^2.0", - "psr/container": "^1.1 || ^2.0" - }, - "provide": { - "psr/container-implementation": "^1.0" - }, - "require-dev": { - "friendsofphp/php-cs-fixer": "^3", - "friendsofphp/proxy-manager-lts": "^1", - "mnapoli/phpunit-easymock": "^1.3", - "phpunit/phpunit": "^9.5", - "vimeo/psalm": "^4.6" - }, - "suggest": { - "friendsofphp/proxy-manager-lts": "Install it if you want to use lazy injection (version ^1)" - }, - "type": "library", - "autoload": { - "files": [ - "src/functions.php" - ], - "psr-4": { - "DI\\": "src/" - } - }, - "notification-url": "https://packagist.org/downloads/", - "license": [ - "MIT" - ], - "description": "The dependency injection container for humans", - "homepage": "https://php-di.org/", - "keywords": [ - "PSR-11", - "container", - "container-interop", - "dependency injection", - "di", - "ioc", - "psr11" - ], - "support": { - "issues": "https://github.com/PHP-DI/PHP-DI/issues", - "source": "https://github.com/PHP-DI/PHP-DI/tree/7.0.6" - }, - "funding": [ - { - "url": "https://github.com/mnapoli", - "type": "github" - }, - { - "url": "https://tidelift.com/funding/github/packagist/php-di/php-di", - "type": "tidelift" - } - ], - "time": "2023-11-02T10:04:50+00:00" - }, { "name": "phpdocumentor/reflection-common", "version": "2.2.0", @@ -1149,6 +1633,50 @@ }, "time": "2023-08-12T11:01:26+00:00" }, + { + "name": "phpstan/extension-installer", + "version": "1.3.1", + "source": { + "type": "git", + "url": "https://github.com/phpstan/extension-installer.git", + "reference": "f45734bfb9984c6c56c4486b71230355f066a58a" + }, + "dist": { + "type": "zip", + "url": "https://api.github.com/repos/phpstan/extension-installer/zipball/f45734bfb9984c6c56c4486b71230355f066a58a", + "reference": "f45734bfb9984c6c56c4486b71230355f066a58a", + "shasum": "" + }, + "require": { + "composer-plugin-api": "^2.0", + "php": "^7.2 || ^8.0", + "phpstan/phpstan": "^1.9.0" + }, + "require-dev": { + "composer/composer": "^2.0", + "php-parallel-lint/php-parallel-lint": "^1.2.0", + "phpstan/phpstan-strict-rules": "^0.11 || ^0.12 || ^1.0" + }, + "type": "composer-plugin", + "extra": { + "class": "PHPStan\\ExtensionInstaller\\Plugin" + }, + "autoload": { + "psr-4": { + "PHPStan\\ExtensionInstaller\\": "src/" + } + }, + "notification-url": "https://packagist.org/downloads/", + "license": [ + "MIT" + ], + "description": "Composer plugin for automatic installation of PHPStan extensions", + "support": { + "issues": "https://github.com/phpstan/extension-installer/issues", + "source": "https://github.com/phpstan/extension-installer/tree/1.3.1" + }, + "time": "2023-05-24T08:59:17+00:00" + }, { "name": "phpstan/phpdoc-parser", "version": "1.24.4", @@ -1197,57 +1725,220 @@ "time": "2023-11-26T18:29:22+00:00" }, { - "name": "psr/container", - "version": "2.0.2", + "name": "phpstan/phpstan", + "version": "1.10.46", "source": { "type": "git", - "url": "https://github.com/php-fig/container.git", - "reference": "c71ecc56dfe541dbd90c5360474fbc405f8d5963" + "url": "https://github.com/phpstan/phpstan.git", + "reference": "90d3d25c5b98b8068916bbf08ce42d5cb6c54e70" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/php-fig/container/zipball/c71ecc56dfe541dbd90c5360474fbc405f8d5963", - "reference": "c71ecc56dfe541dbd90c5360474fbc405f8d5963", + "url": "https://api.github.com/repos/phpstan/phpstan/zipball/90d3d25c5b98b8068916bbf08ce42d5cb6c54e70", + "reference": "90d3d25c5b98b8068916bbf08ce42d5cb6c54e70", "shasum": "" }, "require": { - "php": ">=7.4.0" + "php": "^7.2|^8.0" }, + "conflict": { + "phpstan/phpstan-shim": "*" + }, + "bin": [ + "phpstan", + "phpstan.phar" + ], "type": "library", + "autoload": { + "files": [ + "bootstrap.php" + ] + }, + "notification-url": "https://packagist.org/downloads/", + "license": [ + "MIT" + ], + "description": "PHPStan - PHP Static Analysis Tool", + "keywords": [ + "dev", + "static analysis" + ], + "support": { + "docs": "https://phpstan.org/user-guide/getting-started", + "forum": "https://github.com/phpstan/phpstan/discussions", + "issues": "https://github.com/phpstan/phpstan/issues", + "security": "https://github.com/phpstan/phpstan/security/policy", + "source": "https://github.com/phpstan/phpstan-src" + }, + "funding": [ + { + "url": "https://github.com/ondrejmirtes", + "type": "github" + }, + { + "url": "https://github.com/phpstan", + "type": "github" + }, + { + "url": "https://tidelift.com/funding/github/packagist/phpstan/phpstan", + "type": "tidelift" + } + ], + "time": "2023-11-28T14:57:26+00:00" + }, + { + "name": "phpstan/phpstan-strict-rules", + "version": "1.5.2", + "source": { + "type": "git", + "url": "https://github.com/phpstan/phpstan-strict-rules.git", + "reference": "7a50e9662ee9f3942e4aaaf3d603653f60282542" + }, + "dist": { + "type": "zip", + "url": "https://api.github.com/repos/phpstan/phpstan-strict-rules/zipball/7a50e9662ee9f3942e4aaaf3d603653f60282542", + "reference": "7a50e9662ee9f3942e4aaaf3d603653f60282542", + "shasum": "" + }, + "require": { + "php": "^7.2 || ^8.0", + "phpstan/phpstan": "^1.10.34" + }, + "require-dev": { + "nikic/php-parser": "^4.13.0", + "php-parallel-lint/php-parallel-lint": "^1.2", + "phpstan/phpstan-deprecation-rules": "^1.1", + "phpstan/phpstan-phpunit": "^1.0", + "phpunit/phpunit": "^9.5" + }, + "type": "phpstan-extension", "extra": { - "branch-alias": { - "dev-master": "2.0.x-dev" + "phpstan": { + "includes": [ + "rules.neon" + ] } }, "autoload": { "psr-4": { - "Psr\\Container\\": "src/" + "PHPStan\\": "src/" } }, "notification-url": "https://packagist.org/downloads/", "license": [ "MIT" ], - "authors": [ - { - "name": "PHP-FIG", - "homepage": "https://www.php-fig.org/" + "description": "Extra strict and opinionated rules for PHPStan", + "support": { + "issues": "https://github.com/phpstan/phpstan-strict-rules/issues", + "source": "https://github.com/phpstan/phpstan-strict-rules/tree/1.5.2" + }, + "time": "2023-10-30T14:35:06+00:00" + }, + { + "name": "pmjones/auto-shell", + "version": "1.0.2", + "source": { + "type": "git", + "url": "https://github.com/pmjones/AutoShell.git", + "reference": "e38a2b38cf3e162ba82c0f5dda11cc00b5417aa0" + }, + "dist": { + "type": "zip", + "url": "https://api.github.com/repos/pmjones/AutoShell/zipball/e38a2b38cf3e162ba82c0f5dda11cc00b5417aa0", + "reference": "e38a2b38cf3e162ba82c0f5dda11cc00b5417aa0", + "shasum": "" + }, + "require": { + "php": "^8.1 | ^8.2 | ^8.3" + }, + "require-dev": { + "pds/composer-script-names": "^1.0", + "pds/skeleton": "^1.0", + "phpstan/phpstan": "^1.0", + "phpunit/phpunit": "^10.0", + "pmjones/php-styler": "0.x-dev" + }, + "type": "library", + "extra": { + "branch-alias": { + "dev-1.x": "1.x-dev" } + }, + "autoload": { + "psr-4": { + "AutoShell\\": "./src" + } + }, + "notification-url": "https://packagist.org/downloads/", + "license": [ + "MIT" ], - "description": "Common Container Interface (PHP FIG PSR-11)", - "homepage": "https://github.com/php-fig/container", + "description": "Automatically parses command-line strings to command classes.", + "support": { + "issues": "https://github.com/pmjones/AutoShell/issues", + "source": "https://github.com/pmjones/AutoShell/tree/1.0.2" + }, + "time": "2023-09-26T19:51:45+00:00" + }, + { + "name": "pmjones/php-styler", + "version": "0.14.0", + "source": { + "type": "git", + "url": "https://github.com/pmjones/php-styler.git", + "reference": "35089ec2db8d96b2d0b5bd033e58640a4522016d" + }, + "dist": { + "type": "zip", + "url": "https://api.github.com/repos/pmjones/php-styler/zipball/35089ec2db8d96b2d0b5bd033e58640a4522016d", + "reference": "35089ec2db8d96b2d0b5bd033e58640a4522016d", + "shasum": "" + }, + "require": { + "nikic/php-parser": "^4.17", + "php": "^8.1 | ^8.2 | ^8.3", + "pmjones/auto-shell": "^1.0" + }, + "require-dev": { + "pds/composer-script-names": "^1.0", + "pds/skeleton": "^1.0", + "phpstan/phpstan": "^1.10", + "phpunit/phpunit": "^10.0" + }, + "bin": [ + "bin/php-styler" + ], + "type": "library", + "autoload": { + "psr-4": { + "PhpStyler\\": "src/" + } + }, + "notification-url": "https://packagist.org/downloads/", + "license": [ + "BSD-3-Clause" + ], + "description": "Companion to PHP-Parser that rebuilds PHP code from AST.", "keywords": [ - "PSR-11", - "container", - "container-interface", - "container-interop", - "psr" + "beautifier", + "beautify", + "code", + "coding", + "format", + "formatter", + "guide", + "parser", + "php", + "standard", + "style", + "styler" ], "support": { - "issues": "https://github.com/php-fig/container/issues", - "source": "https://github.com/php-fig/container/tree/2.0.2" + "issues": "https://github.com/pmjones/php-styler/issues", + "source": "https://github.com/pmjones/php-styler/tree/0.14.0" }, - "time": "2021-11-05T16:47:00+00:00" + "time": "2023-10-28T15:50:50+00:00" }, { "name": "psr/log", @@ -1299,6 +1990,62 @@ }, "time": "2021-07-14T16:46:02+00:00" }, + { + "name": "rector/rector", + "version": "0.18.11", + "source": { + "type": "git", + "url": "https://github.com/rectorphp/rector.git", + "reference": "9621124c860066f56a4ab841349cb7c284edfaee" + }, + "dist": { + "type": "zip", + "url": "https://api.github.com/repos/rectorphp/rector/zipball/9621124c860066f56a4ab841349cb7c284edfaee", + "reference": "9621124c860066f56a4ab841349cb7c284edfaee", + "shasum": "" + }, + "require": { + "php": "^7.2|^8.0", + "phpstan/phpstan": "^1.10.35" + }, + "conflict": { + "rector/rector-doctrine": "*", + "rector/rector-downgrade-php": "*", + "rector/rector-phpunit": "*", + "rector/rector-symfony": "*" + }, + "bin": [ + "bin/rector" + ], + "type": "library", + "autoload": { + "files": [ + "bootstrap.php" + ] + }, + "notification-url": "https://packagist.org/downloads/", + "license": [ + "MIT" + ], + "description": "Instant Upgrade and Automated Refactoring of any PHP code", + "keywords": [ + "automation", + "dev", + "migration", + "refactoring" + ], + "support": { + "issues": "https://github.com/rectorphp/rector/issues", + "source": "https://github.com/rectorphp/rector/tree/0.18.11" + }, + "funding": [ + { + "url": "https://github.com/tomasvotruba", + "type": "github" + } + ], + "time": "2023-11-27T13:27:43+00:00" + }, { "name": "sebastian/diff", "version": "5.0.3", @@ -1366,6 +2113,71 @@ ], "time": "2023-05-01T07:48:21+00:00" }, + { + "name": "slevomat/coding-standard", + "version": "8.14.1", + "source": { + "type": "git", + "url": "https://github.com/slevomat/coding-standard.git", + "reference": "fea1fd6f137cc84f9cba0ae30d549615dbc6a926" + }, + "dist": { + "type": "zip", + "url": "https://api.github.com/repos/slevomat/coding-standard/zipball/fea1fd6f137cc84f9cba0ae30d549615dbc6a926", + "reference": "fea1fd6f137cc84f9cba0ae30d549615dbc6a926", + "shasum": "" + }, + "require": { + "dealerdirect/phpcodesniffer-composer-installer": "^0.6.2 || ^0.7 || ^1.0", + "php": "^7.2 || ^8.0", + "phpstan/phpdoc-parser": "^1.23.1", + "squizlabs/php_codesniffer": "^3.7.1" + }, + "require-dev": { + "phing/phing": "2.17.4", + "php-parallel-lint/php-parallel-lint": "1.3.2", + "phpstan/phpstan": "1.10.37", + "phpstan/phpstan-deprecation-rules": "1.1.4", + "phpstan/phpstan-phpunit": "1.3.14", + "phpstan/phpstan-strict-rules": "1.5.1", + "phpunit/phpunit": "8.5.21|9.6.8|10.3.5" + }, + "type": "phpcodesniffer-standard", + "extra": { + "branch-alias": { + "dev-master": "8.x-dev" + } + }, + "autoload": { + "psr-4": { + "SlevomatCodingStandard\\": "SlevomatCodingStandard/" + } + }, + "notification-url": "https://packagist.org/downloads/", + "license": [ + "MIT" + ], + "description": "Slevomat Coding Standard for PHP_CodeSniffer complements Consistence Coding Standard by providing sniffs with additional checks.", + "keywords": [ + "dev", + "phpcs" + ], + "support": { + "issues": "https://github.com/slevomat/coding-standard/issues", + "source": "https://github.com/slevomat/coding-standard/tree/8.14.1" + }, + "funding": [ + { + "url": "https://github.com/kukulich", + "type": "github" + }, + { + "url": "https://tidelift.com/funding/github/packagist/slevomat/coding-standard", + "type": "tidelift" + } + ], + "time": "2023-10-08T07:28:08+00:00" + }, { "name": "spatie/array-to-xml", "version": "3.2.2", @@ -1429,6 +2241,63 @@ ], "time": "2023-11-14T14:08:51+00:00" }, + { + "name": "squizlabs/php_codesniffer", + "version": "3.7.2", + "source": { + "type": "git", + "url": "https://github.com/squizlabs/PHP_CodeSniffer.git", + "reference": "ed8e00df0a83aa96acf703f8c2979ff33341f879" + }, + "dist": { + "type": "zip", + "url": "https://api.github.com/repos/squizlabs/PHP_CodeSniffer/zipball/ed8e00df0a83aa96acf703f8c2979ff33341f879", + "reference": "ed8e00df0a83aa96acf703f8c2979ff33341f879", + "shasum": "" + }, + "require": { + "ext-simplexml": "*", + "ext-tokenizer": "*", + "ext-xmlwriter": "*", + "php": ">=5.4.0" + }, + "require-dev": { + "phpunit/phpunit": "^4.0 || ^5.0 || ^6.0 || ^7.0" + }, + "bin": [ + "bin/phpcs", + "bin/phpcbf" + ], + "type": "library", + "extra": { + "branch-alias": { + "dev-master": "3.x-dev" + } + }, + "notification-url": "https://packagist.org/downloads/", + "license": [ + "BSD-3-Clause" + ], + "authors": [ + { + "name": "Greg Sherwood", + "role": "lead" + } + ], + "description": "PHP_CodeSniffer tokenizes PHP, JavaScript and CSS files and detects violations of a defined set of coding standards.", + "homepage": "https://github.com/squizlabs/PHP_CodeSniffer", + "keywords": [ + "phpcs", + "standards", + "static analysis" + ], + "support": { + "issues": "https://github.com/squizlabs/PHP_CodeSniffer/issues", + "source": "https://github.com/squizlabs/PHP_CodeSniffer", + "wiki": "https://github.com/squizlabs/PHP_CodeSniffer/wiki" + }, + "time": "2023-02-22T23:07:41+00:00" + }, { "name": "symfony/console", "version": "v7.0.0", @@ -1522,73 +2391,6 @@ ], "time": "2023-11-20T16:43:42+00:00" }, - { - "name": "symfony/deprecation-contracts", - "version": "v3.4.0", - "source": { - "type": "git", - "url": "https://github.com/symfony/deprecation-contracts.git", - "reference": "7c3aff79d10325257a001fcf92d991f24fc967cf" - }, - "dist": { - "type": "zip", - "url": "https://api.github.com/repos/symfony/deprecation-contracts/zipball/7c3aff79d10325257a001fcf92d991f24fc967cf", - "reference": "7c3aff79d10325257a001fcf92d991f24fc967cf", - "shasum": "" - }, - "require": { - "php": ">=8.1" - }, - "type": "library", - "extra": { - "branch-alias": { - "dev-main": "3.4-dev" - }, - "thanks": { - "name": "symfony/contracts", - "url": "https://github.com/symfony/contracts" - } - }, - "autoload": { - "files": [ - "function.php" - ] - }, - "notification-url": "https://packagist.org/downloads/", - "license": [ - "MIT" - ], - "authors": [ - { - "name": "Nicolas Grekas", - "email": "p@tchwork.com" - }, - { - "name": "Symfony Community", - "homepage": "https://symfony.com/contributors" - } - ], - "description": "A generic function and convention to trigger deprecation notices", - "homepage": "https://symfony.com", - "support": { - "source": "https://github.com/symfony/deprecation-contracts/tree/v3.4.0" - }, - "funding": [ - { - "url": "https://symfony.com/sponsor", - "type": "custom" - }, - { - "url": "https://github.com/fabpot", - "type": "github" - }, - { - "url": "https://tidelift.com/funding/github/packagist/symfony/symfony", - "type": "tidelift" - } - ], - "time": "2023-05-23T14:45:45+00:00" - }, { "name": "symfony/filesystem", "version": "v7.0.0", @@ -1652,83 +2454,6 @@ ], "time": "2023-07-27T06:33:22+00:00" }, - { - "name": "symfony/http-foundation", - "version": "v6.4.0", - "source": { - "type": "git", - "url": "https://github.com/symfony/http-foundation.git", - "reference": "44a6d39a9cc11e154547d882d5aac1e014440771" - }, - "dist": { - "type": "zip", - "url": "https://api.github.com/repos/symfony/http-foundation/zipball/44a6d39a9cc11e154547d882d5aac1e014440771", - "reference": "44a6d39a9cc11e154547d882d5aac1e014440771", - "shasum": "" - }, - "require": { - "php": ">=8.1", - "symfony/deprecation-contracts": "^2.5|^3", - "symfony/polyfill-mbstring": "~1.1", - "symfony/polyfill-php83": "^1.27" - }, - "conflict": { - "symfony/cache": "<6.3" - }, - "require-dev": { - "doctrine/dbal": "^2.13.1|^3|^4", - "predis/predis": "^1.1|^2.0", - "symfony/cache": "^6.3|^7.0", - "symfony/dependency-injection": "^5.4|^6.0|^7.0", - "symfony/expression-language": "^5.4|^6.0|^7.0", - "symfony/http-kernel": "^5.4.12|^6.0.12|^6.1.4|^7.0", - "symfony/mime": "^5.4|^6.0|^7.0", - "symfony/rate-limiter": "^5.4|^6.0|^7.0" - }, - "type": "library", - "autoload": { - "psr-4": { - "Symfony\\Component\\HttpFoundation\\": "" - }, - "exclude-from-classmap": [ - "/Tests/" - ] - }, - "notification-url": "https://packagist.org/downloads/", - "license": [ - "MIT" - ], - "authors": [ - { - "name": "Fabien Potencier", - "email": "fabien@symfony.com" - }, - { - "name": "Symfony Community", - "homepage": "https://symfony.com/contributors" - } - ], - "description": "Defines an object-oriented layer for the HTTP specification", - "homepage": "https://symfony.com", - "support": { - "source": "https://github.com/symfony/http-foundation/tree/v6.4.0" - }, - "funding": [ - { - "url": "https://symfony.com/sponsor", - "type": "custom" - }, - { - "url": "https://github.com/fabpot", - "type": "github" - }, - { - "url": "https://tidelift.com/funding/github/packagist/symfony/symfony", - "type": "tidelift" - } - ], - "time": "2023-11-20T16:41:16+00:00" - }, { "name": "symfony/polyfill-ctype", "version": "v1.28.0", @@ -1976,252 +2701,6 @@ ], "time": "2023-01-26T09:26:14+00:00" }, - { - "name": "symfony/polyfill-mbstring", - "version": "v1.28.0", - "source": { - "type": "git", - "url": "https://github.com/symfony/polyfill-mbstring.git", - "reference": "42292d99c55abe617799667f454222c54c60e229" - }, - "dist": { - "type": "zip", - "url": "https://api.github.com/repos/symfony/polyfill-mbstring/zipball/42292d99c55abe617799667f454222c54c60e229", - "reference": "42292d99c55abe617799667f454222c54c60e229", - "shasum": "" - }, - "require": { - "php": ">=7.1" - }, - "provide": { - "ext-mbstring": "*" - }, - "suggest": { - "ext-mbstring": "For best performance" - }, - "type": "library", - "extra": { - "branch-alias": { - "dev-main": "1.28-dev" - }, - "thanks": { - "name": "symfony/polyfill", - "url": "https://github.com/symfony/polyfill" - } - }, - "autoload": { - "files": [ - "bootstrap.php" - ], - "psr-4": { - "Symfony\\Polyfill\\Mbstring\\": "" - } - }, - "notification-url": "https://packagist.org/downloads/", - "license": [ - "MIT" - ], - "authors": [ - { - "name": "Nicolas Grekas", - "email": "p@tchwork.com" - }, - { - "name": "Symfony Community", - "homepage": "https://symfony.com/contributors" - } - ], - "description": "Symfony polyfill for the Mbstring extension", - "homepage": "https://symfony.com", - "keywords": [ - "compatibility", - "mbstring", - "polyfill", - "portable", - "shim" - ], - "support": { - "source": "https://github.com/symfony/polyfill-mbstring/tree/v1.28.0" - }, - "funding": [ - { - "url": "https://symfony.com/sponsor", - "type": "custom" - }, - { - "url": "https://github.com/fabpot", - "type": "github" - }, - { - "url": "https://tidelift.com/funding/github/packagist/symfony/symfony", - "type": "tidelift" - } - ], - "time": "2023-07-28T09:04:16+00:00" - }, - { - "name": "symfony/polyfill-php80", - "version": "v1.28.0", - "source": { - "type": "git", - "url": "https://github.com/symfony/polyfill-php80.git", - "reference": "6caa57379c4aec19c0a12a38b59b26487dcfe4b5" - }, - "dist": { - "type": "zip", - "url": "https://api.github.com/repos/symfony/polyfill-php80/zipball/6caa57379c4aec19c0a12a38b59b26487dcfe4b5", - "reference": "6caa57379c4aec19c0a12a38b59b26487dcfe4b5", - "shasum": "" - }, - "require": { - "php": ">=7.1" - }, - "type": "library", - "extra": { - "branch-alias": { - "dev-main": "1.28-dev" - }, - "thanks": { - "name": "symfony/polyfill", - "url": "https://github.com/symfony/polyfill" - } - }, - "autoload": { - "files": [ - "bootstrap.php" - ], - "psr-4": { - "Symfony\\Polyfill\\Php80\\": "" - }, - "classmap": [ - "Resources/stubs" - ] - }, - "notification-url": "https://packagist.org/downloads/", - "license": [ - "MIT" - ], - "authors": [ - { - "name": "Ion Bazan", - "email": "ion.bazan@gmail.com" - }, - { - "name": "Nicolas Grekas", - "email": "p@tchwork.com" - }, - { - "name": "Symfony Community", - "homepage": "https://symfony.com/contributors" - } - ], - "description": "Symfony polyfill backporting some PHP 8.0+ features to lower PHP versions", - "homepage": "https://symfony.com", - "keywords": [ - "compatibility", - "polyfill", - "portable", - "shim" - ], - "support": { - "source": "https://github.com/symfony/polyfill-php80/tree/v1.28.0" - }, - "funding": [ - { - "url": "https://symfony.com/sponsor", - "type": "custom" - }, - { - "url": "https://github.com/fabpot", - "type": "github" - }, - { - "url": "https://tidelift.com/funding/github/packagist/symfony/symfony", - "type": "tidelift" - } - ], - "time": "2023-01-26T09:26:14+00:00" - }, - { - "name": "symfony/polyfill-php83", - "version": "v1.28.0", - "source": { - "type": "git", - "url": "https://github.com/symfony/polyfill-php83.git", - "reference": "b0f46ebbeeeda3e9d2faebdfbf4b4eae9b59fa11" - }, - "dist": { - "type": "zip", - "url": "https://api.github.com/repos/symfony/polyfill-php83/zipball/b0f46ebbeeeda3e9d2faebdfbf4b4eae9b59fa11", - "reference": "b0f46ebbeeeda3e9d2faebdfbf4b4eae9b59fa11", - "shasum": "" - }, - "require": { - "php": ">=7.1", - "symfony/polyfill-php80": "^1.14" - }, - "type": "library", - "extra": { - "branch-alias": { - "dev-main": "1.28-dev" - }, - "thanks": { - "name": "symfony/polyfill", - "url": "https://github.com/symfony/polyfill" - } - }, - "autoload": { - "files": [ - "bootstrap.php" - ], - "psr-4": { - "Symfony\\Polyfill\\Php83\\": "" - }, - "classmap": [ - "Resources/stubs" - ] - }, - "notification-url": "https://packagist.org/downloads/", - "license": [ - "MIT" - ], - "authors": [ - { - "name": "Nicolas Grekas", - "email": "p@tchwork.com" - }, - { - "name": "Symfony Community", - "homepage": "https://symfony.com/contributors" - } - ], - "description": "Symfony polyfill backporting some PHP 8.3+ features to lower PHP versions", - "homepage": "https://symfony.com", - "keywords": [ - "compatibility", - "polyfill", - "portable", - "shim" - ], - "support": { - "source": "https://github.com/symfony/polyfill-php83/tree/v1.28.0" - }, - "funding": [ - { - "url": "https://symfony.com/sponsor", - "type": "custom" - }, - { - "url": "https://github.com/fabpot", - "type": "github" - }, - { - "url": "https://tidelift.com/funding/github/packagist/symfony/symfony", - "type": "tidelift" - } - ], - "time": "2023-08-16T06:22:46+00:00" - }, { "name": "symfony/service-contracts", "version": "v3.4.0", @@ -2390,6 +2869,119 @@ ], "time": "2023-11-29T08:40:23+00:00" }, + { + "name": "symplify/easy-coding-standard", + "version": "12.0.9", + "source": { + "type": "git", + "url": "https://github.com/easy-coding-standard/easy-coding-standard.git", + "reference": "24b7b28c25d698e64496c4d19c798ccd01617c7d" + }, + "dist": { + "type": "zip", + "url": "https://api.github.com/repos/easy-coding-standard/easy-coding-standard/zipball/24b7b28c25d698e64496c4d19c798ccd01617c7d", + "reference": "24b7b28c25d698e64496c4d19c798ccd01617c7d", + "shasum": "" + }, + "require": { + "php": ">=7.2" + }, + "conflict": { + "friendsofphp/php-cs-fixer": "<3.0", + "squizlabs/php_codesniffer": "<3.6", + "symplify/coding-standard": "<11.3" + }, + "bin": [ + "bin/ecs" + ], + "type": "library", + "autoload": { + "files": [ + "bootstrap.php" + ] + }, + "notification-url": "https://packagist.org/downloads/", + "license": [ + "MIT" + ], + "description": "Use Coding Standard with 0-knowledge of PHP-CS-Fixer and PHP_CodeSniffer", + "keywords": [ + "Code style", + "automation", + "fixer", + "static analysis" + ], + "support": { + "issues": "https://github.com/easy-coding-standard/easy-coding-standard/issues", + "source": "https://github.com/easy-coding-standard/easy-coding-standard/tree/12.0.9" + }, + "funding": [ + { + "url": "https://www.paypal.me/rectorphp", + "type": "custom" + }, + { + "url": "https://github.com/tomasvotruba", + "type": "github" + } + ], + "time": "2023-11-29T09:35:09+00:00" + }, + { + "name": "thecodingmachine/phpstan-strict-rules", + "version": "v1.0.0", + "source": { + "type": "git", + "url": "https://github.com/thecodingmachine/phpstan-strict-rules.git", + "reference": "2ba8fa8b328c45f3b149c05def5bf96793c594b6" + }, + "dist": { + "type": "zip", + "url": "https://api.github.com/repos/thecodingmachine/phpstan-strict-rules/zipball/2ba8fa8b328c45f3b149c05def5bf96793c594b6", + "reference": "2ba8fa8b328c45f3b149c05def5bf96793c594b6", + "shasum": "" + }, + "require": { + "php": "^7.1|^8.0", + "phpstan/phpstan": "^1.0" + }, + "require-dev": { + "php-coveralls/php-coveralls": "^2.1", + "phpunit/phpunit": "^7.1" + }, + "type": "phpstan-extension", + "extra": { + "branch-alias": { + "dev-master": "1.0-dev" + }, + "phpstan": { + "includes": [ + "phpstan-strict-rules.neon" + ] + } + }, + "autoload": { + "psr-4": { + "TheCodingMachine\\PHPStan\\": "src/" + } + }, + "notification-url": "https://packagist.org/downloads/", + "license": [ + "MIT" + ], + "authors": [ + { + "name": "David Négrier", + "email": "d.negrier@thecodingmachine.com" + } + ], + "description": "A set of additional rules for PHPStan based on best practices followed at TheCodingMachine", + "support": { + "issues": "https://github.com/thecodingmachine/phpstan-strict-rules/issues", + "source": "https://github.com/thecodingmachine/phpstan-strict-rules/tree/v1.0.0" + }, + "time": "2021-11-08T09:10:49+00:00" + }, { "name": "vimeo/psalm", "version": "5.16.0", @@ -2559,671 +3151,9 @@ "time": "2022-06-03T18:03:27+00:00" } ], - "packages-dev": [ - { - "name": "dealerdirect/phpcodesniffer-composer-installer", - "version": "v1.0.0", - "source": { - "type": "git", - "url": "https://github.com/PHPCSStandards/composer-installer.git", - "reference": "4be43904336affa5c2f70744a348312336afd0da" - }, - "dist": { - "type": "zip", - "url": "https://api.github.com/repos/PHPCSStandards/composer-installer/zipball/4be43904336affa5c2f70744a348312336afd0da", - "reference": "4be43904336affa5c2f70744a348312336afd0da", - "shasum": "" - }, - "require": { - "composer-plugin-api": "^1.0 || ^2.0", - "php": ">=5.4", - "squizlabs/php_codesniffer": "^2.0 || ^3.1.0 || ^4.0" - }, - "require-dev": { - "composer/composer": "*", - "ext-json": "*", - "ext-zip": "*", - "php-parallel-lint/php-parallel-lint": "^1.3.1", - "phpcompatibility/php-compatibility": "^9.0", - "yoast/phpunit-polyfills": "^1.0" - }, - "type": "composer-plugin", - "extra": { - "class": "PHPCSStandards\\Composer\\Plugin\\Installers\\PHPCodeSniffer\\Plugin" - }, - "autoload": { - "psr-4": { - "PHPCSStandards\\Composer\\Plugin\\Installers\\PHPCodeSniffer\\": "src/" - } - }, - "notification-url": "https://packagist.org/downloads/", - "license": [ - "MIT" - ], - "authors": [ - { - "name": "Franck Nijhof", - "email": "franck.nijhof@dealerdirect.com", - "homepage": "http://www.frenck.nl", - "role": "Developer / IT Manager" - }, - { - "name": "Contributors", - "homepage": "https://github.com/PHPCSStandards/composer-installer/graphs/contributors" - } - ], - "description": "PHP_CodeSniffer Standards Composer Installer Plugin", - "homepage": "http://www.dealerdirect.com", - "keywords": [ - "PHPCodeSniffer", - "PHP_CodeSniffer", - "code quality", - "codesniffer", - "composer", - "installer", - "phpcbf", - "phpcs", - "plugin", - "qa", - "quality", - "standard", - "standards", - "style guide", - "stylecheck", - "tests" - ], - "support": { - "issues": "https://github.com/PHPCSStandards/composer-installer/issues", - "source": "https://github.com/PHPCSStandards/composer-installer" - }, - "time": "2023-01-05T11:28:13+00:00" - }, - { - "name": "lubiana/code-quality", - "version": "1.2.0", - "source": { - "type": "git", - "url": "https://git.php.fail/lubiana/code-quality.git", - "reference": "3c81249b90fe838754ca3367c82d7f24bce36b95" - }, - "require": { - "rector/rector": "^0.18.11", - "slevomat/coding-standard": "^8.14.1", - "symplify/easy-coding-standard": "^12.0.9" - }, - "type": "library", - "autoload": { - "psr-4": { - "Lubiana\\CodeQuality\\": "src/" - } - }, - "notification-url": "https://packagist.org/downloads/", - "license": [ - "MIT" - ], - "keywords": [ - "dev" - ], - "time": "2023-11-29T17:27:33+00:00" - }, - { - "name": "phpstan/extension-installer", - "version": "1.3.1", - "source": { - "type": "git", - "url": "https://github.com/phpstan/extension-installer.git", - "reference": "f45734bfb9984c6c56c4486b71230355f066a58a" - }, - "dist": { - "type": "zip", - "url": "https://api.github.com/repos/phpstan/extension-installer/zipball/f45734bfb9984c6c56c4486b71230355f066a58a", - "reference": "f45734bfb9984c6c56c4486b71230355f066a58a", - "shasum": "" - }, - "require": { - "composer-plugin-api": "^2.0", - "php": "^7.2 || ^8.0", - "phpstan/phpstan": "^1.9.0" - }, - "require-dev": { - "composer/composer": "^2.0", - "php-parallel-lint/php-parallel-lint": "^1.2.0", - "phpstan/phpstan-strict-rules": "^0.11 || ^0.12 || ^1.0" - }, - "type": "composer-plugin", - "extra": { - "class": "PHPStan\\ExtensionInstaller\\Plugin" - }, - "autoload": { - "psr-4": { - "PHPStan\\ExtensionInstaller\\": "src/" - } - }, - "notification-url": "https://packagist.org/downloads/", - "license": [ - "MIT" - ], - "description": "Composer plugin for automatic installation of PHPStan extensions", - "support": { - "issues": "https://github.com/phpstan/extension-installer/issues", - "source": "https://github.com/phpstan/extension-installer/tree/1.3.1" - }, - "time": "2023-05-24T08:59:17+00:00" - }, - { - "name": "phpstan/phpstan", - "version": "1.10.46", - "source": { - "type": "git", - "url": "https://github.com/phpstan/phpstan.git", - "reference": "90d3d25c5b98b8068916bbf08ce42d5cb6c54e70" - }, - "dist": { - "type": "zip", - "url": "https://api.github.com/repos/phpstan/phpstan/zipball/90d3d25c5b98b8068916bbf08ce42d5cb6c54e70", - "reference": "90d3d25c5b98b8068916bbf08ce42d5cb6c54e70", - "shasum": "" - }, - "require": { - "php": "^7.2|^8.0" - }, - "conflict": { - "phpstan/phpstan-shim": "*" - }, - "bin": [ - "phpstan", - "phpstan.phar" - ], - "type": "library", - "autoload": { - "files": [ - "bootstrap.php" - ] - }, - "notification-url": "https://packagist.org/downloads/", - "license": [ - "MIT" - ], - "description": "PHPStan - PHP Static Analysis Tool", - "keywords": [ - "dev", - "static analysis" - ], - "support": { - "docs": "https://phpstan.org/user-guide/getting-started", - "forum": "https://github.com/phpstan/phpstan/discussions", - "issues": "https://github.com/phpstan/phpstan/issues", - "security": "https://github.com/phpstan/phpstan/security/policy", - "source": "https://github.com/phpstan/phpstan-src" - }, - "funding": [ - { - "url": "https://github.com/ondrejmirtes", - "type": "github" - }, - { - "url": "https://github.com/phpstan", - "type": "github" - }, - { - "url": "https://tidelift.com/funding/github/packagist/phpstan/phpstan", - "type": "tidelift" - } - ], - "time": "2023-11-28T14:57:26+00:00" - }, - { - "name": "phpstan/phpstan-strict-rules", - "version": "1.5.2", - "source": { - "type": "git", - "url": "https://github.com/phpstan/phpstan-strict-rules.git", - "reference": "7a50e9662ee9f3942e4aaaf3d603653f60282542" - }, - "dist": { - "type": "zip", - "url": "https://api.github.com/repos/phpstan/phpstan-strict-rules/zipball/7a50e9662ee9f3942e4aaaf3d603653f60282542", - "reference": "7a50e9662ee9f3942e4aaaf3d603653f60282542", - "shasum": "" - }, - "require": { - "php": "^7.2 || ^8.0", - "phpstan/phpstan": "^1.10.34" - }, - "require-dev": { - "nikic/php-parser": "^4.13.0", - "php-parallel-lint/php-parallel-lint": "^1.2", - "phpstan/phpstan-deprecation-rules": "^1.1", - "phpstan/phpstan-phpunit": "^1.0", - "phpunit/phpunit": "^9.5" - }, - "type": "phpstan-extension", - "extra": { - "phpstan": { - "includes": [ - "rules.neon" - ] - } - }, - "autoload": { - "psr-4": { - "PHPStan\\": "src/" - } - }, - "notification-url": "https://packagist.org/downloads/", - "license": [ - "MIT" - ], - "description": "Extra strict and opinionated rules for PHPStan", - "support": { - "issues": "https://github.com/phpstan/phpstan-strict-rules/issues", - "source": "https://github.com/phpstan/phpstan-strict-rules/tree/1.5.2" - }, - "time": "2023-10-30T14:35:06+00:00" - }, - { - "name": "pmjones/auto-shell", - "version": "1.0.2", - "source": { - "type": "git", - "url": "https://github.com/pmjones/AutoShell.git", - "reference": "e38a2b38cf3e162ba82c0f5dda11cc00b5417aa0" - }, - "dist": { - "type": "zip", - "url": "https://api.github.com/repos/pmjones/AutoShell/zipball/e38a2b38cf3e162ba82c0f5dda11cc00b5417aa0", - "reference": "e38a2b38cf3e162ba82c0f5dda11cc00b5417aa0", - "shasum": "" - }, - "require": { - "php": "^8.1 | ^8.2 | ^8.3" - }, - "require-dev": { - "pds/composer-script-names": "^1.0", - "pds/skeleton": "^1.0", - "phpstan/phpstan": "^1.0", - "phpunit/phpunit": "^10.0", - "pmjones/php-styler": "0.x-dev" - }, - "type": "library", - "extra": { - "branch-alias": { - "dev-1.x": "1.x-dev" - } - }, - "autoload": { - "psr-4": { - "AutoShell\\": "./src" - } - }, - "notification-url": "https://packagist.org/downloads/", - "license": [ - "MIT" - ], - "description": "Automatically parses command-line strings to command classes.", - "support": { - "issues": "https://github.com/pmjones/AutoShell/issues", - "source": "https://github.com/pmjones/AutoShell/tree/1.0.2" - }, - "time": "2023-09-26T19:51:45+00:00" - }, - { - "name": "pmjones/php-styler", - "version": "0.x-dev", - "source": { - "type": "git", - "url": "https://github.com/pmjones/php-styler.git", - "reference": "35089ec2db8d96b2d0b5bd033e58640a4522016d" - }, - "dist": { - "type": "zip", - "url": "https://api.github.com/repos/pmjones/php-styler/zipball/35089ec2db8d96b2d0b5bd033e58640a4522016d", - "reference": "35089ec2db8d96b2d0b5bd033e58640a4522016d", - "shasum": "" - }, - "require": { - "nikic/php-parser": "^4.17", - "php": "^8.1 | ^8.2 | ^8.3", - "pmjones/auto-shell": "^1.0" - }, - "require-dev": { - "pds/composer-script-names": "^1.0", - "pds/skeleton": "^1.0", - "phpstan/phpstan": "^1.10", - "phpunit/phpunit": "^10.0" - }, - "default-branch": true, - "bin": [ - "bin/php-styler" - ], - "type": "library", - "autoload": { - "psr-4": { - "PhpStyler\\": "src/" - } - }, - "notification-url": "https://packagist.org/downloads/", - "license": [ - "BSD-3-Clause" - ], - "description": "Companion to PHP-Parser that rebuilds PHP code from AST.", - "keywords": [ - "beautifier", - "beautify", - "code", - "coding", - "format", - "formatter", - "guide", - "parser", - "php", - "standard", - "style", - "styler" - ], - "support": { - "issues": "https://github.com/pmjones/php-styler/issues", - "source": "https://github.com/pmjones/php-styler/tree/0.14.0" - }, - "time": "2023-10-28T15:50:50+00:00" - }, - { - "name": "rector/rector", - "version": "0.18.11", - "source": { - "type": "git", - "url": "https://github.com/rectorphp/rector.git", - "reference": "9621124c860066f56a4ab841349cb7c284edfaee" - }, - "dist": { - "type": "zip", - "url": "https://api.github.com/repos/rectorphp/rector/zipball/9621124c860066f56a4ab841349cb7c284edfaee", - "reference": "9621124c860066f56a4ab841349cb7c284edfaee", - "shasum": "" - }, - "require": { - "php": "^7.2|^8.0", - "phpstan/phpstan": "^1.10.35" - }, - "conflict": { - "rector/rector-doctrine": "*", - "rector/rector-downgrade-php": "*", - "rector/rector-phpunit": "*", - "rector/rector-symfony": "*" - }, - "bin": [ - "bin/rector" - ], - "type": "library", - "autoload": { - "files": [ - "bootstrap.php" - ] - }, - "notification-url": "https://packagist.org/downloads/", - "license": [ - "MIT" - ], - "description": "Instant Upgrade and Automated Refactoring of any PHP code", - "keywords": [ - "automation", - "dev", - "migration", - "refactoring" - ], - "support": { - "issues": "https://github.com/rectorphp/rector/issues", - "source": "https://github.com/rectorphp/rector/tree/0.18.11" - }, - "funding": [ - { - "url": "https://github.com/tomasvotruba", - "type": "github" - } - ], - "time": "2023-11-27T13:27:43+00:00" - }, - { - "name": "slevomat/coding-standard", - "version": "8.14.1", - "source": { - "type": "git", - "url": "https://github.com/slevomat/coding-standard.git", - "reference": "fea1fd6f137cc84f9cba0ae30d549615dbc6a926" - }, - "dist": { - "type": "zip", - "url": "https://api.github.com/repos/slevomat/coding-standard/zipball/fea1fd6f137cc84f9cba0ae30d549615dbc6a926", - "reference": "fea1fd6f137cc84f9cba0ae30d549615dbc6a926", - "shasum": "" - }, - "require": { - "dealerdirect/phpcodesniffer-composer-installer": "^0.6.2 || ^0.7 || ^1.0", - "php": "^7.2 || ^8.0", - "phpstan/phpdoc-parser": "^1.23.1", - "squizlabs/php_codesniffer": "^3.7.1" - }, - "require-dev": { - "phing/phing": "2.17.4", - "php-parallel-lint/php-parallel-lint": "1.3.2", - "phpstan/phpstan": "1.10.37", - "phpstan/phpstan-deprecation-rules": "1.1.4", - "phpstan/phpstan-phpunit": "1.3.14", - "phpstan/phpstan-strict-rules": "1.5.1", - "phpunit/phpunit": "8.5.21|9.6.8|10.3.5" - }, - "type": "phpcodesniffer-standard", - "extra": { - "branch-alias": { - "dev-master": "8.x-dev" - } - }, - "autoload": { - "psr-4": { - "SlevomatCodingStandard\\": "SlevomatCodingStandard/" - } - }, - "notification-url": "https://packagist.org/downloads/", - "license": [ - "MIT" - ], - "description": "Slevomat Coding Standard for PHP_CodeSniffer complements Consistence Coding Standard by providing sniffs with additional checks.", - "keywords": [ - "dev", - "phpcs" - ], - "support": { - "issues": "https://github.com/slevomat/coding-standard/issues", - "source": "https://github.com/slevomat/coding-standard/tree/8.14.1" - }, - "funding": [ - { - "url": "https://github.com/kukulich", - "type": "github" - }, - { - "url": "https://tidelift.com/funding/github/packagist/slevomat/coding-standard", - "type": "tidelift" - } - ], - "time": "2023-10-08T07:28:08+00:00" - }, - { - "name": "squizlabs/php_codesniffer", - "version": "3.7.2", - "source": { - "type": "git", - "url": "https://github.com/squizlabs/PHP_CodeSniffer.git", - "reference": "ed8e00df0a83aa96acf703f8c2979ff33341f879" - }, - "dist": { - "type": "zip", - "url": "https://api.github.com/repos/squizlabs/PHP_CodeSniffer/zipball/ed8e00df0a83aa96acf703f8c2979ff33341f879", - "reference": "ed8e00df0a83aa96acf703f8c2979ff33341f879", - "shasum": "" - }, - "require": { - "ext-simplexml": "*", - "ext-tokenizer": "*", - "ext-xmlwriter": "*", - "php": ">=5.4.0" - }, - "require-dev": { - "phpunit/phpunit": "^4.0 || ^5.0 || ^6.0 || ^7.0" - }, - "bin": [ - "bin/phpcs", - "bin/phpcbf" - ], - "type": "library", - "extra": { - "branch-alias": { - "dev-master": "3.x-dev" - } - }, - "notification-url": "https://packagist.org/downloads/", - "license": [ - "BSD-3-Clause" - ], - "authors": [ - { - "name": "Greg Sherwood", - "role": "lead" - } - ], - "description": "PHP_CodeSniffer tokenizes PHP, JavaScript and CSS files and detects violations of a defined set of coding standards.", - "homepage": "https://github.com/squizlabs/PHP_CodeSniffer", - "keywords": [ - "phpcs", - "standards", - "static analysis" - ], - "support": { - "issues": "https://github.com/squizlabs/PHP_CodeSniffer/issues", - "source": "https://github.com/squizlabs/PHP_CodeSniffer", - "wiki": "https://github.com/squizlabs/PHP_CodeSniffer/wiki" - }, - "time": "2023-02-22T23:07:41+00:00" - }, - { - "name": "symplify/easy-coding-standard", - "version": "12.0.9", - "source": { - "type": "git", - "url": "https://github.com/easy-coding-standard/easy-coding-standard.git", - "reference": "24b7b28c25d698e64496c4d19c798ccd01617c7d" - }, - "dist": { - "type": "zip", - "url": "https://api.github.com/repos/easy-coding-standard/easy-coding-standard/zipball/24b7b28c25d698e64496c4d19c798ccd01617c7d", - "reference": "24b7b28c25d698e64496c4d19c798ccd01617c7d", - "shasum": "" - }, - "require": { - "php": ">=7.2" - }, - "conflict": { - "friendsofphp/php-cs-fixer": "<3.0", - "squizlabs/php_codesniffer": "<3.6", - "symplify/coding-standard": "<11.3" - }, - "bin": [ - "bin/ecs" - ], - "type": "library", - "autoload": { - "files": [ - "bootstrap.php" - ] - }, - "notification-url": "https://packagist.org/downloads/", - "license": [ - "MIT" - ], - "description": "Use Coding Standard with 0-knowledge of PHP-CS-Fixer and PHP_CodeSniffer", - "keywords": [ - "Code style", - "automation", - "fixer", - "static analysis" - ], - "support": { - "issues": "https://github.com/easy-coding-standard/easy-coding-standard/issues", - "source": "https://github.com/easy-coding-standard/easy-coding-standard/tree/12.0.9" - }, - "funding": [ - { - "url": "https://www.paypal.me/rectorphp", - "type": "custom" - }, - { - "url": "https://github.com/tomasvotruba", - "type": "github" - } - ], - "time": "2023-11-29T09:35:09+00:00" - }, - { - "name": "thecodingmachine/phpstan-strict-rules", - "version": "v1.0.0", - "source": { - "type": "git", - "url": "https://github.com/thecodingmachine/phpstan-strict-rules.git", - "reference": "2ba8fa8b328c45f3b149c05def5bf96793c594b6" - }, - "dist": { - "type": "zip", - "url": "https://api.github.com/repos/thecodingmachine/phpstan-strict-rules/zipball/2ba8fa8b328c45f3b149c05def5bf96793c594b6", - "reference": "2ba8fa8b328c45f3b149c05def5bf96793c594b6", - "shasum": "" - }, - "require": { - "php": "^7.1|^8.0", - "phpstan/phpstan": "^1.0" - }, - "require-dev": { - "php-coveralls/php-coveralls": "^2.1", - "phpunit/phpunit": "^7.1" - }, - "type": "phpstan-extension", - "extra": { - "branch-alias": { - "dev-master": "1.0-dev" - }, - "phpstan": { - "includes": [ - "phpstan-strict-rules.neon" - ] - } - }, - "autoload": { - "psr-4": { - "TheCodingMachine\\PHPStan\\": "src/" - } - }, - "notification-url": "https://packagist.org/downloads/", - "license": [ - "MIT" - ], - "authors": [ - { - "name": "David Négrier", - "email": "d.negrier@thecodingmachine.com" - } - ], - "description": "A set of additional rules for PHPStan based on best practices followed at TheCodingMachine", - "support": { - "issues": "https://github.com/thecodingmachine/phpstan-strict-rules/issues", - "source": "https://github.com/thecodingmachine/phpstan-strict-rules/tree/v1.0.0" - }, - "time": "2021-11-08T09:10:49+00:00" - } - ], "aliases": [], "minimum-stability": "dev", - "stability-flags": { - "pmjones/php-styler": 20 - }, + "stability-flags": [], "prefer-stable": true, "prefer-lowest": false, "platform": { diff --git a/psalm-baseline.xml b/psalm-baseline.xml index f4f4b6f..c9e0af7 100644 --- a/psalm-baseline.xml +++ b/psalm-baseline.xml @@ -1,13 +1,8 @@ - + require_once (string) $file - - - $callable - - diff --git a/src/Infrastructure/functions.php b/src/Infrastructure/functions.php index 114513f..140f65f 100644 --- a/src/Infrastructure/functions.php +++ b/src/Infrastructure/functions.php @@ -7,9 +7,9 @@ use function array_values; /** * @template T - * @param array $input - * @param callable(mixed, mixed=):scalar $callable - * @return array + * @param T[] $input + * @param callable(T):bool $callable + * @return T[] */ function arrayFilter(array $input, callable $callable): array { From 23d37db8f6a4a6846132d194391be1549b3a537c Mon Sep 17 00:00:00 2001 From: Continuous Integration Date: Thu, 30 Nov 2023 20:39:40 +0000 Subject: [PATCH 62/62] Continuous Integration Fixes --- src/Bootstrap.php | 8 ++++---- src/Handler/Lol.php | 3 +-- src/Infrastructure/Event/AsListener.php | 3 +-- src/Infrastructure/Event/Dispatcher.php | 7 +++---- src/Infrastructure/Event/DispatcherFactory.php | 3 +-- src/Infrastructure/Event/Listener.php | 3 +-- src/Infrastructure/Finder.php | 7 +++---- src/Infrastructure/HttpKernel.php | 3 +-- src/Infrastructure/Route/AsHandler.php | 3 +-- src/Infrastructure/Route/Handler.php | 3 +-- src/Infrastructure/WebApp/Request/RequestEvent.php | 3 +-- .../WebApp/Route/AttributeRouteCollector.php | 3 +-- src/Infrastructure/WebApp/Route/CollectRoutes.php | 3 +-- src/Infrastructure/WebApp/Route/HandlerCaller.php | 3 +-- src/Infrastructure/WebApp/Route/HandlerResolver.php | 3 +-- src/Listener/LauschEvent.php | 3 +-- 16 files changed, 23 insertions(+), 38 deletions(-) diff --git a/src/Bootstrap.php b/src/Bootstrap.php index 2c276d6..18af894 100644 --- a/src/Bootstrap.php +++ b/src/Bootstrap.php @@ -14,12 +14,12 @@ use function assert; require_once __DIR__ . '/../vendor/autoload.php'; $cached = false; -$container = (new ContainerBuilder)->addDefinitions( +$container = (new ContainerBuilder())->addDefinitions( [ - Finder::class => static fn (): Finder => new Finder(__DIR__, [], $cached), - Dispatcher::class => static fn (DispatcherFactory $f): Dispatcher + Finder::class => static fn(): Finder => new Finder(__DIR__, [], $cached), + Dispatcher::class => static fn(DispatcherFactory $f): Dispatcher => $f->getDispatcher($cached), - HandlerResolver::class => static fn (Dispatcher $d): HandlerResolver + HandlerResolver::class => static fn(Dispatcher $d): HandlerResolver => new HandlerResolver($d, $cached), ], )->build(); diff --git a/src/Handler/Lol.php b/src/Handler/Lol.php index 9fe9a4d..4ee87b2 100644 --- a/src/Handler/Lol.php +++ b/src/Handler/Lol.php @@ -11,8 +11,7 @@ final readonly class Lol { public function __construct( private Dispatcher $dispatcher - ) { - } + ) {} #[AsHandler(HttpMethod::GET, '/')] public function lol(): void diff --git a/src/Infrastructure/Event/AsListener.php b/src/Infrastructure/Event/AsListener.php index 0f04636..41ee17c 100644 --- a/src/Infrastructure/Event/AsListener.php +++ b/src/Infrastructure/Event/AsListener.php @@ -14,6 +14,5 @@ final readonly class AsListener public function __construct( public string $eventClass, public int $priority = 0 - ) { - } + ) {} } diff --git a/src/Infrastructure/Event/Dispatcher.php b/src/Infrastructure/Event/Dispatcher.php index c2ebef8..5b514c6 100644 --- a/src/Infrastructure/Event/Dispatcher.php +++ b/src/Infrastructure/Event/Dispatcher.php @@ -15,8 +15,7 @@ final class Dispatcher public function __construct( private readonly InvokerInterface $invoker, private array $listeners = [], - ) { - } + ) {} public function addListener(Listener $listener): void { @@ -30,7 +29,7 @@ final class Dispatcher { return arrayFilter( $this->listeners, - static fn (Listener $l): bool => $l->eventClass === $event::class, + static fn(Listener $l): bool => $l->eventClass === $event::class, ); } @@ -42,7 +41,7 @@ final class Dispatcher $filtered = $this->getListenerForEvent($event); usort( $filtered, - static fn (Listener $a, Listener $b): int => $a->priority <=> $b->priority, + static fn(Listener $a, Listener $b): int => $a->priority <=> $b->priority, ); return $filtered; } diff --git a/src/Infrastructure/Event/DispatcherFactory.php b/src/Infrastructure/Event/DispatcherFactory.php index b7b8062..7381e14 100644 --- a/src/Infrastructure/Event/DispatcherFactory.php +++ b/src/Infrastructure/Event/DispatcherFactory.php @@ -18,8 +18,7 @@ final readonly class DispatcherFactory public function __construct( private Finder $finder, private InvokerInterface $invoker, - ) { - } + ) {} public function getDispatcher(bool $cached = false): Dispatcher { diff --git a/src/Infrastructure/Event/Listener.php b/src/Infrastructure/Event/Listener.php index 077fd62..e0aa2a2 100644 --- a/src/Infrastructure/Event/Listener.php +++ b/src/Infrastructure/Event/Listener.php @@ -15,6 +15,5 @@ final readonly class Listener public int $priority, public string $listenerClass, public string $listenerMethod, - ) { - } + ) {} } diff --git a/src/Infrastructure/Finder.php b/src/Infrastructure/Finder.php index f75e3fb..d0ec0c2 100644 --- a/src/Infrastructure/Finder.php +++ b/src/Infrastructure/Finder.php @@ -34,8 +34,7 @@ final class Finder private readonly string $path, private array $classNames = [], private readonly bool $cached = false, - ) { - } + ) {} /** * @return Listener[] @@ -44,7 +43,7 @@ final class Finder { $this->populateClassnames(); return array_map( - static fn (array $h): Listener + static fn(array $h): Listener => new Listener($h[0]->eventClass, $h[0]->priority, $h[1], $h[2]), iterator_to_array($this->getAttributes(AsListener::class)), ); @@ -57,7 +56,7 @@ final class Finder { $this->populateClassnames(); return array_map( - static fn (array $h): Handler + static fn(array $h): Handler => new Handler($h[0]->method, $h[0]->path, $h[1], $h[2]), iterator_to_array($this->getAttributes(AsHandler::class)), ); diff --git a/src/Infrastructure/HttpKernel.php b/src/Infrastructure/HttpKernel.php index 6cce606..30da8c4 100644 --- a/src/Infrastructure/HttpKernel.php +++ b/src/Infrastructure/HttpKernel.php @@ -12,8 +12,7 @@ class HttpKernel { public function __construct( private readonly Dispatcher $dispatcher - ) { - } + ) {} public function handle(Request $request): Response { diff --git a/src/Infrastructure/Route/AsHandler.php b/src/Infrastructure/Route/AsHandler.php index 0e42d7f..dca15ed 100644 --- a/src/Infrastructure/Route/AsHandler.php +++ b/src/Infrastructure/Route/AsHandler.php @@ -13,6 +13,5 @@ final readonly class AsHandler public function __construct( public HttpMethod $method, public string $path - ) { - } + ) {} } diff --git a/src/Infrastructure/Route/Handler.php b/src/Infrastructure/Route/Handler.php index c14604a..7695c8c 100644 --- a/src/Infrastructure/Route/Handler.php +++ b/src/Infrastructure/Route/Handler.php @@ -13,6 +13,5 @@ final readonly class Handler public string $path, public string $handlerClass, public string $handlerMethod, - ) { - } + ) {} } diff --git a/src/Infrastructure/WebApp/Request/RequestEvent.php b/src/Infrastructure/WebApp/Request/RequestEvent.php index 592359e..3c59a1a 100644 --- a/src/Infrastructure/WebApp/Request/RequestEvent.php +++ b/src/Infrastructure/WebApp/Request/RequestEvent.php @@ -13,6 +13,5 @@ final class RequestEvent extends GenericEvent public Request $request, public Response|null $response = null, public Handler|null $handler = null, - ) { - } + ) {} } diff --git a/src/Infrastructure/WebApp/Route/AttributeRouteCollector.php b/src/Infrastructure/WebApp/Route/AttributeRouteCollector.php index fd6d6f2..5f1a6a7 100644 --- a/src/Infrastructure/WebApp/Route/AttributeRouteCollector.php +++ b/src/Infrastructure/WebApp/Route/AttributeRouteCollector.php @@ -9,8 +9,7 @@ final readonly class AttributeRouteCollector { public function __construct( private Finder $finder - ) { - } + ) {} #[AsListener(CollectRoutes::class)] public function collect(CollectRoutes $event): void diff --git a/src/Infrastructure/WebApp/Route/CollectRoutes.php b/src/Infrastructure/WebApp/Route/CollectRoutes.php index 15b8c13..e07e9ed 100644 --- a/src/Infrastructure/WebApp/Route/CollectRoutes.php +++ b/src/Infrastructure/WebApp/Route/CollectRoutes.php @@ -14,6 +14,5 @@ final class CollectRoutes extends GenericEvent public function __construct( public readonly bool $cached = false - ) { - } + ) {} } diff --git a/src/Infrastructure/WebApp/Route/HandlerCaller.php b/src/Infrastructure/WebApp/Route/HandlerCaller.php index 88c20fe..89b85ad 100644 --- a/src/Infrastructure/WebApp/Route/HandlerCaller.php +++ b/src/Infrastructure/WebApp/Route/HandlerCaller.php @@ -14,8 +14,7 @@ final readonly class HandlerCaller { public function __construct( private InvokerInterface $invoker - ) { - } + ) {} #[AsListener(RequestEvent::class, -50)] public function callHandler(RequestEvent $event): void diff --git a/src/Infrastructure/WebApp/Route/HandlerResolver.php b/src/Infrastructure/WebApp/Route/HandlerResolver.php index 8638ef5..9206201 100644 --- a/src/Infrastructure/WebApp/Route/HandlerResolver.php +++ b/src/Infrastructure/WebApp/Route/HandlerResolver.php @@ -21,8 +21,7 @@ final readonly class HandlerResolver public function __construct( private Dispatcher $dispatcher, private bool $cached = false, - ) { - } + ) {} #[AsListener(RequestEvent::class, -90)] public function resolveHandler(RequestEvent $event): void diff --git a/src/Listener/LauschEvent.php b/src/Listener/LauschEvent.php index 22e463a..3b8e3e4 100644 --- a/src/Listener/LauschEvent.php +++ b/src/Listener/LauschEvent.php @@ -8,6 +8,5 @@ final class LauschEvent extends GenericEvent { public function __construct( public string $message - ) { - } + ) {} }