Comments (7)
Are you referring to these deprecation notices? #41
from wordpress-stubs.
π Thanks I'll take a look.
I'll manage
from wordpress-stubs.
Yes
from wordpress-stubs.
I would gladly include a bunch of sed
commands.
from wordpress-stubs.
That's not a bad idea. I'll see if I can fix that this week.
from wordpress-stubs.
Like this one.
https://github.com/php-stubs/acf-pro-stubs/blob/7e44b653bd72e5eebf725f3af6b5afaae3039dcf/generate.sh#L30-L43
It is easier to work on WordPress source before stubs generation.
from wordpress-stubs.
You find the Requests v1 package in wp-includes/Requests/
sed -i -e 's|^\s*public function unserialize(|#\t[\\ReturnTypeWillChange]\n&|' source/wordpress/wp-includes/Requests/Utility/FilteredIterator.php
something ....
from wordpress-stubs.
Related Issues (20)
- Include `wp-includes/compat.php` HOT 10
- PHP Deprecated: Return type of Requests_* on 8.1 with PHPStan HOT 13
- Expand `$args` array parameters that are described in other functions HOT 1
- Handle `@type` tags without static keys HOT 2
- Create releases of tags HOT 3
- False positive when slashing data for wp_insert_post() and wp_update_post() HOT 7
- PHPStan documentation of wp_update_post() seems to be too restrictive HOT 5
- Fix page link types HOT 2
- Incorrect stubs since >5.9.3 + mismatch between packagist.org and GitHub HOT 17
- DocblockTypeContradiction with get_settings_errors() HOT 4
- Does anyone know when Request v2 will be part of core? HOT 2
- Test with new nikic/php-parser HOT 2
- Why globals are not included? HOT 5
- Improve types for `WP_REST_Request` HOT 3
- Check if function exists in wordpress-stubs.php HOT 7
- WordPress 6.2 in WordPress any more HOT 7
- functionMap.php wrong HOT 4
- `WP_Filesystem_Base::dirlist` returns an array<array> HOT 6
- OndΕej says: It doesn't make sense to combine void with something else in a union type. HOT 5
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
π Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. πππ
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google β€οΈ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from wordpress-stubs.