simPod
Repos
161
Followers
46
Following
58

Grafana datasource to load JSON data over your arbitrary HTTP backend

263
55

PHP ClickHouse Client over HTTP

9
1

Set of utilities to power up your development with webonyx/graphql

11
3

PHP factory for creating JSON RPC 2.0 PSR-7 requests

0
0

PHP Kafka boilerplate wrapper around RdKafka

1
0

Test Utils for PHP to facilitate writing tests

1
2

Events

Update dependency phpstan/phpstan to v1.8.7 (#1228)

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>

Created at 6 hours ago
delete branch
simPod delete branch renovate/phpstan
Created at 6 hours ago
pull request closed
Update dependency phpstan/phpstan to v1.8.7

Mend Renovate

This PR contains the following updates:

| Package | Type | Update | Change | |---|---|---|---| | phpstan/phpstan | require-dev | patch | 1.8.6 -> 1.8.7 |


Release Notes

v1.8.7

Compare Source

Improvements 🔧

  • Update Roave/BetterReflection to v6 (https://github.com/Roave/BetterReflection/releases/tag/6.0.0)
  • PHP 8.2: Support for readonly classes, RFC (https://github.com/phpstan/phpstan-src/commit/c52eb5792c6e9b7c2d060cafa256b19997552a15)
  • PHP 8.2: Support for DNF types, (RFC)
  • Improve TypeCombinator::reduceArrays() performance with retained type completeness (#​1741), thanks @​rvanvelzen!
  • Improve unsetting constant offsets on array (#​1760), thanks @​rvanvelzen!
  • @readonly property allows private mutation (#​1610), #​7778, thanks @​zonuexe!
  • Readonly properties cannot be static (https://github.com/phpstan/phpstan-src/commit/3e383fc9620a46173651402049a8e8c4904591b6)
  • Do not call CollectedDataNode rules if internal errors are present (https://github.com/phpstan/phpstan-src/commit/877835002a2daa758a82a8e0d5502881e7e25aa3)
  • Universal object crate classes now respect @property annotations (#​1786), thanks @​mad-briller!
  • Add tip message to JSON error formatter (#​1727), thanks @​staabm!

Bugfixes 🐛

  • Fix supertype checks between int range and constant int union (#​1742), #​3383, #​6356, #​7594, thanks @​rvanvelzen!
  • Fix resolving docblocks in global namespace (using namespace {}) (#​1758), thanks @​rvanvelzen!
  • Fix ignoreErrors (#​1769), thanks @​MartinMystikJonas!
  • ignoreErrors: fix reportUnmatched without path/paths (#​1773), thanks @​MartinMystikJonas!
  • Fix potential assert failures - use getRawArgs() instead (https://github.com/phpstan/phpstan-src/commit/6cd3d5d61db965f2d4d59e2e860201b9afb1d8fc), #​8078
  • Fix ArrowFunctionArgVisitor (https://github.com/phpstan/phpstan-src/commit/3758d9d5d5a8c792149238de289ab0e05f11de0e), #​8072
  • Fix ClosureArgVisitor (https://github.com/phpstan/phpstan-src/commit/e753dfd4a4d7f67192cd83e7117f39ebdd6e3ceb)
  • Fix circular parent class reference thanks to BetterReflection v6 (https://github.com/phpstan/phpstan-src/commit/8f6392f4521d1d4109e2a79598e820b7ce367a67), #​7787
  • Fix infinite loop of global constants referencing each other (https://github.com/phpstan/phpstan-src/commit/33771e5d8ee8b6dbae4f42ce3f8b424a81f68dc9), #​8054
  • Fix CURLOPT_POSTFIELDS param type (#​1782), thanks @​ahmedash95!
  • Remove IssetCheck/MutatingScope::issetCheck deviations and remove too early exits (#​1784), thanks @​herndlm!
  • Fix issue around generics and MethodsClassReflectionExtension/PropertiesClassReflectionExtension (https://github.com/phpstan/phpstan-src/commit/c052aace4efa157d9594f13fb748965cbfc43be2), #​8008
  • Make array access on possible false tolerant with isset (#​1791), #​8068, thanks @​ahmedash95!

Function signature fixes 🤖

Internals 🔍

  • Compile PHAR on PHP 8.1 (#​1481)
  • phpstan-src: Require PHP 8.1, use readonly properties (#​1767)
  • phpstan-src: Use intersection type (https://github.com/phpstan/phpstan-src/commit/376449e2d4744ec8ee3810321b33a963e89e8280)

Configuration

📅 Schedule: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined).

🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.

Rebasing: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.

🔕 Ignore: Close this PR and you won't be reminded about this update again.


  • [ ] If you want to rebase/retry this PR, click this checkbox.

This PR has been generated by Mend Renovate. View repository job log here.

Created at 6 hours ago
delete branch
simPod delete branch 82
Created at 9 hours ago
pull request opened
chore(deps): bump upstream cs
Created at 11 hours ago
create branch
simPod create branch canary
Created at 11 hours ago

feat: match constant names pattern (#87)

Created at 11 hours ago
delete branch
simPod delete branch constant-name-sniff
Created at 11 hours ago
pull request closed
feat: match constant names pattern

Inspiration https://github.com/squizlabs/PHP_CodeSniffer/blob/9445108a57b46f4e84a890788de5d2388346460a/src/Standards/Generic/Sniffs/NamingConventions/UpperCaseConstantNameSniff.php

Created at 11 hours ago
Add support for PnP

but since this tool is relying on binaries you probably want to unplug it.

I don't understand why. Works ok when plugged. 🤔

Created at 12 hours ago
issue comment
ci: run tests on php 8.2

Build failures are irrelevant. I don't have permission to rerun them.

Created at 16 hours ago

ci: run tests on php 8.2

Created at 16 hours ago
pull request opened
ci: run tests on php 8.2
Created at 16 hours ago
create branch
simPod create branch 82
Created at 16 hours ago
pull request opened
ci: disable on cron schedule

After some time on inactivity in the repo it disables the action so it has to be manually enabled. Meanwhile it's not running for new PRs

Created at 16 hours ago
create branch
simPod create branch cron
Created at 16 hours ago

Drop Travis as it's replaced by Github Actions

Test on PHP8.1

Raise min PHP version to 7.3

Fix composer install on appveyor

Improve CI triggers

  • do not run on push expect when branch is master to prevent double runs in PRs
  • run CI automatically daily

Fix composer install on appveyor

Fix composer install on appveyor

Fix composer install on appveyor

Fix composer install on appveyor

Merge pull request #185 from simPod/appveyor

Fix composer install on appveyor

Merge pull request #183 from simPod/min-7.3

Raise min PHP version to 7.3

Merge pull request #181 from simPod/ci-push

Improve CI triggers

Merge pull request #180 from simPod/test-8.1

Test on PHP8.1

Merge pull request #182 from simPod/travis

Drop Travis as it's replaced by Github Actions

Replace Travis badge by GA badge

Merge pull request #186 from simPod/badge

Replace Travis badge by GA badge

fix prototypes for PHP 8.1

Merge pull request #187 from remicollet/issue-php81

fix prototypes for PHP 8.1

Bump tests to use 1.4.0

Bump version to 1.4.0 ahead of tag

Created at 16 hours ago
simPod delete branch patch-1
Created at 1 day ago
closed issue
Cannot read properties of undefined (reading 'split')

I'm trying to setup graphiql v2

import { createGraphiQLFetcher } from '@graphiql/toolkit';
import { GraphiQL } from 'graphiql';

const fetcher = createGraphiQLFetcher({ url: 'https://my.endpoint' });

function MyComponent() {
  return (
    <GraphiQL fetcher={fetcher} />
  );
}

I have this simple code. It compiles and I can see the graphiql component rendered.

However, when I enter any query and Execute query it, it gives me this

{
  "errors": [
    {
      "message": "Cannot read properties of undefined (reading 'split')",
      "stack": "TypeError: Cannot read properties of undefined (reading 'split')\n    at splitLinesAuto (https://localhost/webpack-dev-server/dist/vendors-_yarn___virtual___graphiql-react-virtual-b20b6f5284_0_cache_graphiql-react-npm-0_13_2-4d8b7d.js:776:21)\n    at Object.splitLines (https://localhost/webpack-dev-server/dist/vendors-_yarn___virtual___graphiql-react-virtual-b20b6f5284_0_cache_graphiql-react-npm-0_13_2-4d8b7d.js:7167:16)\n    at Object.<anonymous> (https://localhost/webpack-dev-server/dist/vendors-_yarn___virtual___graphiql-react-virtual-b20b6f5284_0_cache_graphiql-react-npm-0_13_2-4d8b7d.js:6698:22)\n    at Object.setValue (https://localhost/webpack-dev-server/dist/vendors-_yarn___virtual___graphiql-react-virtual-b20b6f5284_0_cache_graphiql-react-npm-0_13_2-4d8b7d.js:4482:20)\n    at CodeMirror2.setValue (https://localhost/webpack-dev-server/dist/vendors-_yarn___virtual___graphiql-react-virtual-b20b6f5284_0_cache_graphiql-react-npm-0_13_2-4d8b7d.js:11101:27)\n    at setResponse (https://localhost/webpack-dev-server/dist/App.js:19870:22)\n    at handleResponse (https://localhost/webpack-dev-server/dist/App.js:19964:11)\n    at https://localhost/webpack-dev-server/dist/App.js:20012:9"
    }
  ]
}

it's kind of impossible to debug for me, the stack trace is not very helpful to target the issue.

Created at 2 days ago
issue comment
Cannot read properties of undefined (reading 'split')

Omg! Years ago, when I implemented graphiql v1 it had no types so there was declare module 'graphiql'; somewhere in my project. That efficiently disabled typescript on v2 so did not notice. Thanks!

Created at 2 days ago
issue comment
Cannot read properties of undefined (reading 'split')

Seems I reproduced it here

https://codesandbox.io/s/festive-borg-jpkmev?file=/src/index.tsx

Created at 2 days ago
Created at 4 days ago
delete branch
simPod delete branch logging
Created at 4 days ago
issue comment
2.13.2 breaks all queries with object hydration for entities using Enum fields

cc @greg0ire do you have a ETA on a hotfix release?

Created at 4 days ago
issue comment
Cannot read properties of undefined (reading 'split')

@jonathanawesome I thought it might be maybe something in my schema but graphiql does not issue an introspection query so e.g. https://api.spacex.land/graphql has no effect either.

Created at 4 days ago
issue comment
@graphiql/toolkit tried to access graphql-ws (a peer dependency) but it isn't provided by its ancestors

Yes, in v2 this issue is no more

Created at 4 days ago
issue comment
Cannot read properties of undefined (reading 'split')

@thomasheyenbrock 👋🏾. No. no requests are issued at all.

Created at 5 days ago
Created at 5 days ago