Warning: file_get_contents(/data/phpspider/zhask/data//catemap/1/php/258.json): failed to open stream: No such file or directory in /data/phpspider/zhask/libs/function.php on line 167

Warning: Invalid argument supplied for foreach() in /data/phpspider/zhask/libs/tag.function.php on line 1116

Notice: Undefined index: in /data/phpspider/zhask/libs/function.php on line 180

Warning: array_chunk() expects parameter 1 to be array, null given in /data/phpspider/zhask/libs/function.php on line 181

Warning: file_get_contents(/data/phpspider/zhask/data//catemap/7/symfony/6.json): failed to open stream: No such file or directory in /data/phpspider/zhask/libs/function.php on line 167

Warning: Invalid argument supplied for foreach() in /data/phpspider/zhask/libs/tag.function.php on line 1116

Notice: Undefined index: in /data/phpspider/zhask/libs/function.php on line 180

Warning: array_chunk() expects parameter 1 to be array, null given in /data/phpspider/zhask/libs/function.php on line 181
Php '&引用&引用';尝试更新composer时出现无法识别的错误_Php_Symfony_Composer Php - Fatal编程技术网

Php '&引用&引用';尝试更新composer时出现无法识别的错误

Php '&引用&引用';尝试更新composer时出现无法识别的错误,php,symfony,composer-php,Php,Symfony,Composer Php,我正在运行PHPstorm和Symfony项目,当我尝试“编写器更新”时,它返回错误:“”“”未被识别为内部或外部命令、可操作程序或批处理文件 所有的PHPstorm设置都很好,我将php设置为默认解释器,而且所有到composer的路径都很好。 My composer.json文件: { "name": "root/my_project_name", "license": "proprietary", "type": "project", "autoload":

我正在运行PHPstorm和Symfony项目,当我尝试“编写器更新”时,它返回错误:
“”“”未被识别为内部或外部命令、可操作程序或批处理文件
所有的PHPstorm设置都很好,我将php设置为默认解释器,而且所有到composer的路径都很好。 My composer.json文件:

{
    "name": "root/my_project_name",
    "license": "proprietary",
    "type": "project",
    "autoload": {
        "psr-4": {
            "": "src/"
        },
        "classmap": [
            "app/AppKernel.php",
            "app/AppCache.php"
        ]
    },
    "autoload-dev": {
        "psr-4": {
            "Tests\\": "tests/"
        }
    },
    "require": {
        "php": ">=5.5.9",
        "symfony/symfony": "3.3.*",
        "doctrine/orm": "^2.5",
        "paragonie/random_compat": "1.2.*",
        "doctrine/doctrine-bundle": "^1.6",
        "doctrine/doctrine-cache-bundle": "^1.2",
        "symfony/swiftmailer-bundle": "^2.3",
        "symfony/monolog-bundle": "^2.8",
        "sensio/distribution-bundle": "^5.0",
        "sensio/framework-extra-bundle": "^3.0.2",
        "incenteev/composer-parameter-handler": "^2.0",
        "liuggio/excelbundle": "^2.0"
    },
    "require-dev": {
        "sensio/generator-bundle": "^3.0",
        "symfony/phpunit-bridge": "^3.0"
    },
    "scripts": {
        "post-install-cmd": [
            "Incenteev\\ParameterHandler\\ScriptHandler::buildParameters",
            "Sensio\\Bundle\\DistributionBundle\\Composer\\ScriptHandler::buildBootstrap",
            "Sensio\\Bundle\\DistributionBundle\\Composer\\ScriptHandler::clearCache",
            "Sensio\\Bundle\\DistributionBundle\\Composer\\ScriptHandler::installAssets",
            "Sensio\\Bundle\\DistributionBundle\\Composer\\ScriptHandler::installRequirementsFile",
            "Sensio\\Bundle\\DistributionBundle\\Composer\\ScriptHandler::prepareDeploymentTarget"
        ],
        "post-update-cmd": [
            "Incenteev\\ParameterHandler\\ScriptHandler::buildParameters",
            "Sensio\\Bundle\\DistributionBundle\\Composer\\ScriptHandler::buildBootstrap",
            "Sensio\\Bundle\\DistributionBundle\\Composer\\ScriptHandler::clearCache",
            "Sensio\\Bundle\\DistributionBundle\\Composer\\ScriptHandler::installAssets",
            "Sensio\\Bundle\\DistributionBundle\\Composer\\ScriptHandler::installRequirementsFile",
            "Sensio\\Bundle\\DistributionBundle\\Composer\\ScriptHandler::prepareDeploymentTarget"
        ]
    },
    "extra": {
        "symfony-app-dir": "app",
        "symfony-bin-dir": "bin",
        "symfony-var-dir": "var",
        "symfony-web-dir": "web",
        "symfony-tests-dir": "tests",
        "symfony-assets-install": "relative",
        "incenteev-parameters": {
            "file": "app/config/parameters.yml"
        }
    }
}

“卷曲引号”使您看起来好像是在某个地方复制/粘贴了一些代码,这些代码周围都有漂亮的引号it@Hollings,我重新启动了PHP storm,它仍然给我一个错误。PHPStorm与composer无关,即使您使用的是SSH Shell。Composer命令应该在命令行上运行。@aynber我正在从内部终端使用它。在我将PHPstorm更新到2017.1.4之前,它与git和composer配合得很好。你能分享你的
composer.json吗?“卷曲引号”让人觉得你可能是在某个有奇特引号的地方复制/粘贴了一些代码it@Hollings,我重新启动了PHP风暴,它仍然给我一个错误。PHPStorm与composer无关,即使您使用的是SSH Shell。Composer命令应该在命令行上运行。@aynber我正在从内部终端使用它。在我将PHPstorm更新到2017.1.4之前,它与git和composer配合得很好。您可以共享您的
composer.json