jjgrainger / PostTypes

Simple WordPress custom post types.
https://posttypes.jjgrainger.co.uk/
MIT License
373 stars 47 forks source link

Package ramsey/array_column is abandoned #43

Closed JoshuaCrewe closed 5 years ago

JoshuaCrewe commented 5 years ago

I have the following set up for a Wordpress install :

$ cat composer.json
{
    "name": "wordpress-install",
    "description": "A Wordpress site",
    "type": "project",
    "license": "MIT",
    "require": {
        "php": ">=5.6",
        "wp-cli/wp-cli": "^1.1",
        "vlucas/phpdotenv": "^2.4",
        "johnpbloch/wordpress": "4.8.*"
    },
    "extra": {
        "wordpress-install-dir": "public/wp"
    }
}

When installing PostTypes via composer I use the following command with the following output :

$ composer require jjgrainger/posttypes

Using version ^2.0 for jjgrainger/posttypes
./composer.json has been updated
Loading composer repositories with package information
Updating dependencies (including require-dev)
Package operations: 1 install, 0 updates, 0 removals
  - Installing jjgrainger/posttypes (2.0.1): Downloading (100%)
Package ramsey/array_column is abandoned, you should avoid using it. No replacement was suggested.
Writing lock file
Generating autoload files

$

The key notification being Package ramsey/array_column is abandoned, you should avoid using it. No replacement was suggested.

What do you reckon?

JoshuaCrewe commented 5 years ago

I think that I have misunderstood this warning and that it actually is coming from wp-cli and not this package. I got confused because it showed up when requiring this package but seems to be unrelated.

I have updated all packages and removes wp-cli from composer.json and this warning goes away.

🎉